425 words
2 minutes
ma1a_1

Office hour Thursday 4 - 5pm 356 Linde hall

Sets. Wednesday - Monday.

Definition: Set#

A set is a collection XX of objects called elements.

→\rightarrow If xx belongs to XX, write x∈Xx \in X

→X={x1,x2,x3,…}\rightarrow X = \{x_1, x_2, x_3, \ldots\}

∅\varnothing: empty set. Set with no elements.

∀\forall: for any.

∃\exists: exists

Two sets A, B#

Union of A & B

A∪B={x∣x∈A or x∈B}A \cup B = \{x \mid x \in A \text{ or } x \in B\}

Intersection.

A∩B={x∣x∈A and x∈B}A \cap B = \{x \mid x \in A \text{ and } x \in B\}

If CC is subset of AA →\rightarrow C⊆AC \subseteq A

C⊂AC \subset A →\rightarrow Proper subset.

Set Difference#

A∖B={x∣x∈A and x∉B}A \setminus B = \{x \mid x \in A \text{ and } x \notin B\}

Definition. The cardinality of finite set A#

∣A∣|A| or #A\#A. is the number of elements in AA.

If A,BA, B are finite sets.

∣A∪B∣=∣A∣+∣B∣−∣A∩B∣|A \cup B| = |A| + |B| - |A \cap B|

→\rightarrow The simplest case of. Inclusion exclusion principal.

Examples#

Set of natural numbers. N\mathbb{N}.

Set of Integers. Z\mathbb{Z}

Set of rational numbers.

Q={ab∣a,b∈Z and b≠0}\mathbb{Q} = \left\{\frac{a}{b} \mid a, b \in \mathbb{Z} \text{ and } b \ne 0\right\}

set of real numbers R\mathbb{R}

Two Statements A, B#

A false Statement implies any Statement.

A→BA \rightarrow B. A implies B.

A↔BA \leftrightarrow B. A is equivalent to B. A iff B.

¬A\neg A ∼A\sim A. Negation of A.

fact. (A→B)↔(∼B→∼A)(A \rightarrow B) \leftrightarrow (\sim B \rightarrow \sim A). Contrapositive.

Methods of proofs#

1. Proof by direct verification#

Example. for all x,y∈Rx, y \in \mathbb{R}, we have.

x2+y2≥2xy.x^2 + y^2 \ge 2xy.

Proof. (x−y)2≥0(x - y)^2 \ge 0.

x2−2xy+y2≥0.□x^2 - 2xy + y^2 \ge 0. \quad \square

2. Proof by contrapositive#

Example. n2n^2 is odd →\rightarrow nn is odd.

↪\hookrightarrow proof nn is even →\rightarrow n2n^2 is even.

n=2m.n = 2m.n2=4m2.□n^2 = 4m^2. \quad \square

3. Proof by Contradiction#

Assume desired conclusion is false & deduce smth impossible.

Example. eq. x2+y2=1x^2 + y^2 = 1 has no solution in positive integers xx & yy

proof. Assume x,y∈Z+x, y \in \mathbb{Z}^+ such that x2+y2=1x^2 + y^2 = 1.

(x+y)(x−y)=1.(x + y)(x - y) = 1.

So x+y=x−y=1x + y = x - y = 1 or −1-1.

→y=−y=0.□\rightarrow y = -y = 0. \quad \square

Same result through direct verification.

If x>yx > y are positive integers. then x2−y2≥3x^2 - y^2 \ge 3.

Proof. x>y→x≥y+1x > y \rightarrow x \ge y + 1.

x2−y2≥(y+1)2−y2=2y+1≥3.□x^2 - y^2 \ge (y + 1)^2 - y^2 = 2y + 1 \ge 3. \quad \square

Theorem. There’s no rational number x satisfy x2=2x^2 = 2#

Proof otherwise, Assume x=abx = \dfrac{a}{b}, x2=2x^2 = 2, a,b∈Za, b \in \mathbb{Z}, b≠0b \ne 0

gcd⁡(a,b)=1.\gcd(a, b) = 1.

a2=2b2a^2 = 2b^2 →\rightarrow a2a^2 is even →\rightarrow aa is even

assume. a=2a1a = 2a_1

4a12=2b24a_1^2 = 2b^2. →\rightarrow bb is even.

→\rightarrow 2 is a common divisor of 2. □\square.

ma1a_1
https://mashiroisasleep.github.io/posts/ma1a_1/
Author
Mashiro
Published at
2026-09-28