1: Sets and functions | Course - StudyGenius | StudyGenius

Course Progress

Victories 0/57
Finished 0/57

StudyGenius Logo

1: Sets and functions

Choose your name

BBQ Pitmaster

Your opponent is:

BBQ Pitmaster

2,188 pts

2 days ago

Choose your name

BBQ Pitmaster

Your opponent is

BBQ Pitmaster

2,188 pts
2 days ago
The quiz will be on the following text — learn it for the best chance to win.

Section 1: Mathematical Preliminaries: Sets and Functions

Sets and functions form the foundational language of abstract algebra. A set is a well-defined collection of distinct objects, called elements or members. Sets are typically denoted by capital letters (e.g., A,BA, B) and elements by lowercase letters (e.g., a,ba, b). We write aAa \in A to indicate "a is an element of A". Common sets include the natural numbers N\mathbb{N}, integers Z\mathbb{Z}, rational numbers Q\mathbb{Q}, real numbers R\mathbb{R}, and complex numbers C\mathbb{C}.

Key Set Operations:

  • Union (ABA \cup B): Elements in AA, BB, or both. AB={xxA or xB}A \cup B = \{ x \mid x \in A \text{ or } x \in B \}.
  • Intersection (ABA \cap B): Elements common to both AA and BB. AB={xxA and xB}A \cap B = \{ x \mid x \in A \text{ and } x \in B \}.
  • Set Difference (ABA \setminus B or ABA - B): Elements in AA but not in BB. AB={xxA and xB}A \setminus B = \{ x \mid x \in A \text{ and } x \notin B \}.
  • Complement (AcA^c): Elements not in AA (relative to a universal set UU). Ac=UAA^c = U \setminus A.
  • Cartesian Product (A×BA \times B): Set of all ordered pairs (a,b)(a, b) where aAa \in A and bBb \in B.

A function (or mapping) ff from a set AA (the domain) to a set BB (the codomain), denoted f:ABf: A \to B, assigns to each element aAa \in A exactly one element bBb \in B, written b=f(a)b = f(a). The element bb is the image of aa. The set of all images {f(a)aA}B\{ f(a) \mid a \in A \} \subseteq B is the range (or image) of ff.

Function Properties:

  • Injective (One-to-One): Distinct inputs produce distinct outputs. Formally: if f(a1)=f(a2)f(a_1) = f(a_2) then a1=a2a_1 = a_2 for all a1,a2Aa_1, a_2 \in A.
  • Surjective (Onto): Every element in the codomain is an image of some element in the domain. Formally: for every bBb \in B, there exists aAa \in A such that f(a)=bf(a) = b (i.e., the range equals the codomain).
  • Bijective: A function is bijective if it is both injective and surjective. Bijective functions have inverse functions f1:BAf^{-1}: B \to A, defined by f1(b)=af^{-1}(b) = a if and only if f(a)=bf(a) = b.

Given functions f:ABf: A \to B and g:BCg: B \to C, their composition is the function gf:ACg \circ f: A \to C defined by (gf)(a)=g(f(a))(g \circ f)(a) = g(f(a)) for all aAa \in A. Composition is associative: h(gf)=(hg)fh \circ (g \circ f) = (h \circ g) \circ f. For a bijective function ff, the inverse satisfies f1f=idAf^{-1} \circ f = \text{id}_A and ff1=idBf \circ f^{-1} = \text{id}_B, where id\text{id} denotes the identity function.