MTHSC 3190 Section 2.9 Sets a first look

Similar documents
Discrete Mathematics. Spring 2017

Kevin James. MTHSC 412 Section 3.4 Cyclic Groups

y 2 . = x 1y 1 + x 2 y x + + x n y n 2 7 = 1(2) + 3(7) 5(4) = 3. x x = x x x2 n.

CSE 20 DISCRETE MATH WINTER

CSE 20 DISCRETE MATH SPRING

1.7 Proof Methods and Strategy

Climbing an Infinite Ladder

Homework 5 Solutions

Complete Induction and the Well- Ordering Principle

We want to show P (n) is true for all integers

CSE 20 DISCRETE MATH WINTER

Kevin James. MTHSC 206 Section 12.5 Equations of Lines and Planes

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma.

Part V. Chapter 19. Congruence of integers

A lower bound for X is an element z F such that

1.4 Cardinality. Tom Lewis. Fall Term Tom Lewis () 1.4 Cardinality Fall Term / 9

CS 2336 Discrete Mathematics

y 1 y 2 . = x 1y 1 + x 2 y x + + x n y n y n 2 7 = 1(2) + 3(7) 5(4) = 4.

2. Sets. 2.1&2.2: Sets and Subsets. Combining Sets. c Dr Oksana Shatalov, Spring

ICS141: Discrete Mathematics for Computer Science I

CSE 20 DISCRETE MATH. Winter

Selected exercises from Abstract Algebra by Dummit and Foote (3rd edition).

8 Further theory of function limits and continuity

Contradiction MATH Contradiction. Benjamin V.C. Collins, James A. Swenson MATH 2730

Equivalence of Propositions

Lecture 6 Special Subgroups

Kevin James. MTHSC 412 Section 3.1 Definition and Examples of Rings

Basic properties of the Integers

Climbing an Infinite Ladder

Prof. Ila Varma HW 8 Solutions MATH 109. A B, h(i) := g(i n) if i > n. h : Z + f((i + 1)/2) if i is odd, g(i/2) if i is even.

Sets. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007

Discrete Mathematics: Lectures 6 and 7 Sets, Relations, Functions and Counting Instructor: Arijit Bishnu Date: August 4 and 6, 2009

Hence, (f(x) f(x 0 )) 2 + (g(x) g(x 0 )) 2 < ɛ

Mathematical Logic (IX)

Sets. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006

The Real Number System

M381 Number Theory 2004 Page 1

Homework 5 Solutions

PRINCIPLE OF MATHEMATICAL INDUCTION

Introduction to proofs. Niloufar Shafiei

CHAPTER 9. Embedding theorems

MAS 6217 (Fall 2017) Number Theory and Cryptography (Yiu) Class Notes, October 10. Construction of Pythagorean triangles By a Pythagorean triangle we

Definitions Chapter 1 Proof Technique (Pg.1): Proof (Pg.2): Statement (Pg.2): Conditional Statement/Implication (Pg3.): Hypothesis(Pg.

Solutions to Homework Set 1

Section II.1. Free Abelian Groups

A lower bound for X is an element z F such that

COMBINATORIAL COUNTING

SETS AND FUNCTIONS JOSHUA BALLEW

MATH 102 INTRODUCTION TO MATHEMATICAL ANALYSIS. 1. Some Fundamentals

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

CHAPTEER - TWO SUBGROUPS. ( Z, + ) is subgroup of ( R, + ). 1) Find all subgroups of the group ( Z 8, + 8 ).

Sets. Introduction to Set Theory ( 2.1) Basic notations for sets. Basic properties of sets CMSC 302. Vojislav Kecman

Discrete Mathematics. (c) Marcin Sydow. Sets. Set operations. Sets. Set identities Number sets. Pair. Power Set. Venn diagrams

In Exercises 1 12, list the all of the elements of the given set. 2. The set of all positive integers whose square roots are less than or equal to 3

4. Sets The language of sets. Describing a Set. c Oksana Shatalov, Fall

Matroids. Start with a set of objects, for example: E={ 1, 2, 3, 4, 5 }

What is a Linear Space/Vector Space?

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

Today s topics. Introduction to Set Theory ( 1.6) Naïve set theory. Basic notations for sets

2.2 Some Consequences of the Completeness Axiom

Harvard CS 121 and CSCI E-207 Lecture 6: Regular Languages and Countability

Solutions for Chapter Solutions for Chapter 17. Section 17.1 Exercises

Writing proofs for MATH 51H Section 2: Set theory, proofs of existential statements, proofs of uniqueness statements, proof by cases

Generell Topologi. Richard Williamson. May 6, 2013

Discrete Mathematics, Spring 2004 Homework 4 Sample Solutions

With Question/Answer Animations. Chapter 2

Section 2: Classes of Sets

Self-Dual Cyclic Codes

Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya

Complete Partial Orders, PCF, and Control

Mathematical Structures Combinations and Permutations

4. Sets The language of sets. Describing a Set. c Oksana Shatalov, Fall Set-builder notation (a more precise way of describing a set)

PROBABILITY VITTORIA SILVESTRI

Chapter 5: The Integers

Exercises from other sources REAL NUMBERS 2,...,

Mathematical Induction. Section 5.1

MATH FINAL EXAM REVIEW HINTS

In N we can do addition, but in order to do subtraction we need to extend N to the integers

THE REAL NUMBERS Chapter #4

When is n a member of a Pythagorean Triple?

In N we can do addition, but in order to do subtraction we need to extend N to the integers

The primitive root theorem

Mathematical Induction

Sets McGraw-Hill Education

5 Set Operations, Functions, and Counting

xy xyy 1 = ey 1 = y 1 i.e.

Announcements. Read Section 2.1 (Sets), 2.2 (Set Operations) and 5.1 (Mathematical Induction) Existence Proofs. Non-constructive

Topics in Logic and Proofs

Propositional Logic, Predicates, and Equivalence

2.1 Sets. Definition 1 A set is an unordered collection of objects. Important sets: N, Z, Z +, Q, R.

Unit equations in characteristic p. Peter Koymans

PROBABILITY. Contents Preface 1 1. Introduction 2 2. Combinatorial analysis 5 3. Stirling s formula 8. Preface

0 Logical Background. 0.1 Sets

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Lecture 2. (1) Every P L A (M) has a maximal element, (2) Every ascending chain of submodules stabilizes (ACC).

Locally maximal product-free sets of size 3

Chapter 6 Cardinal Numbers and Cardinal Arithmetic

Chapter 1 The Real Numbers

2. Introduction to commutative rings (continued)

Lecture 8: Equivalence Relations

Transcription:

MTHSC 3190 Section 2.9 Sets a first look

Definition A set is a repetition free unordered collection of objects called elements.

Definition A set is a repetition free unordered collection of objects called elements. Notation If an object x is in a set S then we write x S (read x is in S). Otherwise, we write x S.

Definition A set is a repetition free unordered collection of objects called elements. Notation If an object x is in a set S then we write x S (read x is in S). Otherwise, we write x S. 1 {1, 2, 3}, {1, 5, 7}, {A, B, 2, γ, Z} are sets. 2 Let S = {1, 2, 3}. Then 1 S, 2 S but 5 S. 3 = {} is the empty set.

Definition A set is a repetition free unordered collection of objects called elements. Notation If an object x is in a set S then we write x S (read x is in S). Otherwise, we write x S. 1 {1, 2, 3}, {1, 5, 7}, {A, B, 2, γ, Z} are sets. 2 Let S = {1, 2, 3}. Then 1 S, 2 S but 5 S. 3 = {} is the empty set. Note Given and object x and a set S, either x S or x S. There is no concept of x being in S multiple times. For example, S = {1, 2, 1} is a set of size 2.

Definition If A is a set, then the number A of elements in A is the cardinality of A. This is also denoted #A.

Definition If A is a set, then the number A of elements in A is the cardinality of A. This is also denoted #A. Set Notation We typically define sets using set notation which looks like: S = variable including type of allowable objects (-e.g. integers) : condition list This notation means all instances of the variables which satisfy the condition list are in the set S. That is, the condition list is a membership test.

1 E = {x Z : 2 x} denotes the set of even integers. 2 N E = {x Z : 2 x} denotes the set of integers which are not even. (One might expect that this is the same as the set of odd integers, but we have not yet proved this). 3 O = {x Z : x = 2k + 1 for some k Z} denotes the set of odd integers.

Set Equality Two sets S and T are equal provided that for all (reasonable objects) x, x S x T.

Set Equality Two sets S and T are equal provided that for all (reasonable objects) x, x S x T. Subset Given two sets S and T, we say that S is a subset of T provided that x S x T. In this case, we may write S T.

Set Equality Two sets S and T are equal provided that for all (reasonable objects) x, x S x T. Subset Given two sets S and T, we say that S is a subset of T provided that x S x T. In this case, we may write S T. Suppose that S = {1, 3, 5, 7} T = {2, 4, 6, 8} R = {1, 2, 3, 4, 5, 6, 7, 8} W = {z Z : 1 z 8} Which of these sets are equal or subsets?

Note If S = {x, y, z} then we can write x S or {x} S.

Note If S = {x, y, z} then we can write x S or {x} S. Proof Template for Subset Given two sets A and B we show A B as follows. 1 First choose an arbitrary (undetermined) element x A. We indicate this with a statement like Let x A. 2 We conclude the proof by deducing that x B and note that this implies that A B. We indicate this with statements like Therefore, x B. Thus A B. 3 Expand from the definition of A what it means to be in A. 4 Expand from the bottom by explaining what it means to be in B. 5 Connect the two ends.

Let S = {x Z : 5 x} and T = {x Z : 50 x}. Show that T S.

Let S = {x Z : 5 x} and T = {x Z : 50 x}. Show that T S. Proposition Let A be a set. Then x A {x} A. Proof. Exercise

Proof Template for Set Equality Let A and B be sets. To show that A = B we must show that 1 A B, 2 B A.

Proof Template for Set Equality Let A and B be sets. To show that A = B we must show that 1 A B, 2 B A. Proposition Let E = {x Z : x is even} and F = {z Z : z = a + b where a, b are odd}. Then E = F. Proof. Exercise

Definition (Pythagorean Triple) A list of 3 integers (a, b, c) is called a Pythagorean triple provided that a 2 + b 2 = c 2.

Definition (Pythagorean Triple) A list of 3 integers (a, b, c) is called a Pythagorean triple provided that a 2 + b 2 = c 2. (3, 4, 5) and (5, 12, 13) are Pythagorean triples

Definition (Pythagorean Triple) A list of 3 integers (a, b, c) is called a Pythagorean triple provided that a 2 + b 2 = c 2. (3, 4, 5) and (5, 12, 13) are Pythagorean triples Proposition Let P denote the set of all Pythagorean triples (-i.e. P = {(a, b, c) : a, b, c Z; a 2 + b 2 = c 2 }). Let T = {(p, q, r) : p, q, r Z; p = x 2 y 2, q = 2xy and r = x 2 + y 2 where x, y, z Z}. (We could also write T = {(x 2 y 2, 2xy, x 2 + y 2 ) : x, y, z Z}. Then T P. Proof. Exercise.

Let A = {1, 2, 3}. List the subsets of A.

Let A = {1, 2, 3}. List the subsets of A. Size of subsets Subsets Number of subsets of this size 0 1 1 {1}, {2}, {3} 3 2 {1, 2}, {1, 3}, {2, 3} 3 3 {1, 2, 3} 1 Total = 8

Let A = {1, 2, 3}. List the subsets of A. Size of subsets Subsets Number of subsets of this size 0 1 1 {1}, {2}, {3} 3 2 {1, 2}, {1, 3}, {2, 3} 3 3 {1, 2, 3} 1 Total = 8 Theorem Let A be a finite set. The number of subsets of A is 2 A.

Definition (Power Set) Let A be a set. The power set of A is denoted 2 A and is defined to be the set of all subsets of A.

Definition (Power Set) Let A be a set. The power set of A is denoted 2 A and is defined to be the set of all subsets of A. Let A = {1, 2}. Then 2 A = {, {1}, {2}, {1, 2}}.

Definition (Power Set) Let A be a set. The power set of A is denoted 2 A and is defined to be the set of all subsets of A. Let A = {1, 2}. Then 2 A = {, {1}, {2}, {1, 2}}. Note In our example {1} 2 A and {{1}} 2 A.

Definition (Power Set) Let A be a set. The power set of A is denoted 2 A and is defined to be the set of all subsets of A. Let A = {1, 2}. Then 2 A = {, {1}, {2}, {1, 2}}. Note In our example {1} 2 A and {{1}} 2 A. Corollary If A is a finite set, then 2 A = 2 A.