Office hour Thursday 4 - 5pm 356 Linde hall
Sets. Wednesday - Monday.
Definition: Set#
A set is a collection X of objects called elements.
→ If x belongs to X, write x∈X
→X={x1,x2,x3,…}∅: empty set. Set with no elements.
∀: for any.
∃: exists
Two sets A, B#
Union of A & B
A∪B={x∣x∈A or x∈B}Intersection.
A∩B={x∣x∈A and x∈B}If C is subset of A → C⊆A
C⊂A → Proper subset.
Set Difference#
A∖B={x∣x∈A and x∈/B}Definition. The cardinality of finite set A#
∣A∣ or #A. is the number of elements in A.
If A,B are finite sets.
∣A∪B∣=∣A∣+∣B∣−∣A∩B∣→ The simplest case of. Inclusion exclusion principal.
Examples#
Set of natural numbers. N.
Set of Integers. Z
Set of rational numbers.
Q={ba∣a,b∈Z and b=0}set of real numbers R
Two Statements A, B#
A false Statement implies any Statement.
A→B. A implies B.
A↔B. A is equivalent to B. A iff B.
¬A ∼A. Negation of A.
fact. (A→B)↔(∼B→∼A). Contrapositive.
Methods of proofs#
1. Proof by direct verification#
Example. for all x,y∈R, we have.
x2+y2≥2xy.Proof. (x−y)2≥0.
x2−2xy+y2≥0.□2. Proof by contrapositive#
Example. n2 is odd → n is odd.
↪ proof n is even → n2 is even.
n=2m.n2=4m2.□3. Proof by Contradiction#
Assume desired conclusion is false & deduce smth impossible.
Example. eq. x2+y2=1 has no solution in positive integers x & y
proof. Assume x,y∈Z+ such that x2+y2=1.
(x+y)(x−y)=1.So x+y=x−y=1 or −1.
→y=−y=0.□Same result through direct verification.
If x>y are positive integers. then x2−y2≥3.
Proof. x>y→x≥y+1.
x2−y2≥(y+1)2−y2=2y+1≥3.□Theorem. There’s no rational number x satisfy x2=2#
Proof otherwise, Assume x=ba, x2=2, a,b∈Z, b=0
gcd(a,b)=1.a2=2b2 → a2 is even → a is even
assume. a=2a1
4a12=2b2. → b is even.
→ 2 is a common divisor of 2. □.