1: Sets and Functions | Course - StudyGenius | StudyGenius

Course Progress

Victories 0/51
Finished 0/51

StudyGenius Logo

1: Sets and Functions

Choose your name

pulse

Your opponent is:

pulse

1,696 pts

3 days ago

Choose your name

pulse

Your opponent is

pulse

1,696 pts
3 days ago
The quiz will be on the following text — learn it for the best chance to win.
Section 1: Foundations
1: Sets and Functions

Sets form the bedrock of mathematical structures. A set is a collection of distinct objects (elements), denoted as A={a,b,c}A = \{a, b, c\}. Key operations include:

  • Union (ABA \cup B): Elements in AA, BB, or both.
  • Intersection (ABA \cap B): Elements common to both sets.
  • Complement (AcA^c): Elements not in AA relative to a universal set.
  • Cartesian Product (A×BA \times B): Ordered pairs (a,b)(a, b) where aAa \in A, bBb \in B.

A relation RR between sets AA and BB is a subset of A×BA \times B. An equivalence relation on AA satisfies:

  1. Reflexivity: aaa \sim a for all aAa \in A.
  2. Symmetry: If aba \sim b, then bab \sim a.
  3. Transitivity: If aba \sim b and bcb \sim c, then aca \sim c.
    Equivalence relations partition sets into disjoint equivalence classes.

Functions map elements from a domain XX to a codomain YY, denoted f:XYf: X \to Y. Each xXx \in X maps to exactly one f(x)Yf(x) \in Y. The range (or image) is the set {f(x)xX}Y\{ f(x) \mid x \in X \} \subseteq Y.

Function Types:

  • Injective (one-to-one): If f(x1)=f(x2)f(x_1) = f(x_2) implies x1=x2x_1 = x_2. (No two distinct inputs map to the same output.)
  • Surjective (onto): Range equals codomain. (Every element in YY is mapped to by some xXx \in X.)
  • Bijective: Both injective and surjective. (Permits a well-defined inverse.)

Composition: For f:XYf: X \to Y and g:YZg: Y \to Z, the composite gf:XZg \circ f: X \to Z is defined by (gf)(x)=g(f(x))(g \circ f)(x) = g(f(x)). Composition preserves injectivity and surjectivity.

Inverse Functions: A bijective f:XYf: X \to Y has an inverse f1:YXf^{-1}: Y \to X such that f1(f(x))=xf^{-1}(f(x)) = x and f(f1(y))=yf(f^{-1}(y)) = y.

Images and Preimages: For f:XYf: X \to Y:

  • Image of AXA \subseteq X: f(A)={f(x)xA}f(A) = \{ f(x) \mid x \in A \}.
  • Preimage of BYB \subseteq Y: f1(B)={xXf(x)B}f^{-1}(B) = \{ x \in X \mid f(x) \in B \}.
    Note: f1(B)f^{-1}(B) is defined even when ff lacks an inverse. Preimages preserve set operations:
f1(B1B2)=f1(B1)f1(B2),f1(B1B2)=f1(B1)f1(B2).f^{-1}(B_1 \cap B_2) = f^{-1}(B_1) \cap f^{-1}(B_2), \quad f^{-1}(B_1 \cup B_2) = f^{-1}(B_1) \cup f^{-1}(B_2).

Images only preserve unions: f(A1A2)=f(A1)f(A2)f(A_1 \cup A_2) = f(A_1) \cup f(A_2).