Algebra 1-Chapter-2
Table of contents
- Chapter 2 Sets and Mappings
1. Chapter 2 Sets and Mappings
1.1 The set
A set is a collection of objects, referred to as its elements. Elements are denoted as belonging to a set using the symbol '∈'.
Common sets include the natural numbers (N), integers (Z), rational numbers (Q), real numbers (R), and complex numbers (C). The empty set, denoted by '∅', contains no elements.
The cardinality of a finite set, denoted Card(A), is the number of elements it contains.
- N={0,1,2,…} is the set of natural numbers.
- Z={0,±1,±2,±3,…} is the set of integers.
- Q={p/q∣p,q∈Z,q=0} is the set of rational numbers.
- R is the set of real numbers.
- C is the set of complex numbers.
- ∅ is the empty set.
- For a finite set A, Card(A) represents the number of elements in A.
- Card(∅) = 0 2.
1.2 Operations on sets
Set operations allow us to combine or compare sets. Inclusion (or subset) means all elements of one set are in another.
Two sets are equal if they contain exactly the same elements. The difference between two sets (A∖B) includes elements in A but not in B.
The complement of a set A within a universal set E (CEA) contains elements of E not in A. The intersection (A∩B) contains elements common to both A and B.
The union (A∪B) contains elements from either A or B (or both). The symmetric difference (AΔB) contains elements in either A or B, but not both.
The Cartesian product (A×B) is the set of all ordered pairs (a,b) where a∈A and b∈B.
- Set A is a subset of set B (A⊆B) if every element of A is also an element of B.
- If A⊆B and B⊆A, then A=B.
- The difference A∖B is the set of elements x such that x∈A and x∈/B 3.
- The complement of A in E, denoted CEA, is the set of elements x∈E such that x∈/A.
- The intersection A∩B is the set of elements x such that x∈A and x∈B 4.
- The union A∪B is the set of elements x such that x∈A or x∈B.
- The symmetric difference AΔB is the set of elements that belong to (A∖B) or (B∖A) 5.
- The Cartesian product A×B is the set of all ordered pairs (a,b) such that a∈A and b∈B 6.
📝 If A={1,0,2} and B={3,1,4}, then A∖B={0,2} 3.
1.3 Set Operations Examples
- If A={1,0,2} and B={3,1,4}, then A∖B={0,2}.
- If A={1,0,2} and B={3,1,4}, then B∖A={3,4}.
- Let E={3,1,0,2,4,7,9,12}, A={1,0,2}, and B={3,1,4}. Then CEA={3,4,7,9,12} and CEB={0,2,7,9,12} 4.
- If A={1,0,2} and B={3,1,4}, then A∩B={1}.
- If A={1,0,2} and B={3,1,4}, then A∪B={1,0,2,3,4} 5.
- If A={1,0,2} and B={3,1,4}, then AΔB={0,2}∪{3,4}={0,2,3,4}.
- For finite sets A and B, Card(A×B) = Card(A) × Card(B).
- A×B is generally not equal to B×A.
- If A=∅ or B=∅, then A×B=∅.
- If a=b, then the ordered pair (a,b)=(b,a).
- Let A={1,0,2} and B={3,1,4}. Then A×B={(1,3),(1,1),(1,4),(0,3),(0,1),(0,4),(2,3),(2,1),(2,4)}.
- Let A={1,0,2} and B={3,1,4}. Then B×A={(3,1),(3,0),(3,2),(1,1),(1,0),(1,2),(4,1),(4,0),(4,2)} 6.
1.4 Set Properties 7
| Property | Description |
|---|---|
| Idempotence | A \cap A = A and A \cup A = A |
| Commutativity | A \cap B = B \cap A and A \cup B = B \cup A |
| Associativity | (A \cap B) \cap C = A \cap (B \cap C) and (A \cup B) \cup C = A \cup (B \cup C) |
| Distributivity | (A \cap B) \cup C = (A \cup C) \cap (B \cup C) and (A \cup B) \cap C = (A \cap C) \cup (B \cap C) |
| Identity | A \cap \emptyset = \emptyset and A \cup \emptyset = A |
| Complement Laws | If A \subseteq E, then A \setminus C_E^A = \emptyset and A \cup C_E^A = E |
| De Morgan's Laws | If A, B \subseteq E, then C_E^{A \cap B} = C_E^A \cup C_E^B and C_E^{A \cup B} = C_E^A \cap C_E^B |
| Complement of Subset | If A \subseteq B, then C_E^B \subseteq C_E^A |
1.5 Definition of mapping
A mapping f:E→F is a relation between a starting set E and an arriving set F where each element x∈E has exactly one unique image f(x)∈F. This is formally stated as: for every x∈E, there exists a unique y∈F such that y=f(x).
Mappings that do not satisfy this condition are not considered valid mappings.
- A mapping requires that every element in the domain (E) maps to precisely one element in the codomain (F).
- f1 and f4 are mappings, while f2 and f3 are not.
- f2:R→R defined by f2(x)=1/x is not a mapping because f2(0) is undefined.
- f3:R→R defined by f3(x)=x is not a mapping for negative real numbers as their square roots are not real.
- f1:R→R+ defined by f1(x)=x2+1 is a mapping.
- f4:R→R+ defined by f4(x)=x2 is a mapping 8.
1.6 Direct image and inverse image
For a mapping f:E→F, the direct image of a subset A⊆E, denoted f(A), is the set of all images of elements in A. The inverse image of a subset B⊆F, denoted f−1(B), is the set of all elements in E whose images are in B.
- The direct image f(A) is a subset of the codomain F, i.e., f(A)⊆F.
- The inverse image f−1(B) is a subset of the domain E, i.e., f−1(B)⊆E.
- f(∅)=∅ and f−1(∅)=∅.
- For distinct elements a,b∈E, f({a,b})={f(a),f(b)}.
- For disjoint subsets B1,B2⊆F, f−1(B1∪B2)=f−1(B1)∪f−1(B2) 11.
1.7 Direct and Inverse Image Examples
- Let E=[0,1], F=[1,1], and G=[0,2]. Define f:E→G by f(x)=23−x and g:F→G by g(x)=x2+1.
- f−1(∅)=∅.
- f−1({0})=∅ because x=3/2 is not in E.
- g−1([1/2,0])=[1,5/4].
- g−1([0,3])=[−1,1] 10.
- g−1([3/2,2])=[−1,−1/2]∪[1/2,1] 11.
1.8 Injective, Surjective, and Bijective Mappings
- A mapping f:E→F is injective (or one-to-one) if distinct elements in E map to distinct elements in F. Formally, if f(x1)=f(x2), then x1=x2 11.
- An equivalent condition for injectivity is: if x1=x2, then f(x1)=f(x2).
- A mapping f:E→F is surjective (or onto) if every element in F is the image of at least one element in E. Formally, for every y∈F, there exists an x∈E such that f(x)=y.
- A mapping f:E→F is bijective if it is both injective and surjective. This means for every y∈F, there exists exactly one x∈E such that f(x)=y 12.
1.9 Injectivity, Surjectivity, and Bijectivity Examples
- f(x)=x+2 from R to R is injective.
- f(x)=x2 from R to R+ is not injective because f(x)=f(−x).
- f(x)=x2 from R to R+ is surjective because for any y∈R+, x=±y are real solutions.
- f(x)=ex from R to R+ is not surjective because y=0 has no solution for ex=0.
- f(x)=x2 from R to R+ is not bijective because it is not injective.
- f(x)=1/x from R∖{0} to R∖{0} is bijective 12.
📝 For g(x)=x2+1, g−1([0,3])=[−1,1] 10.
1.10 Inverse mapping
The identity mapping IdE:E→E is defined by IdE(x)=x for all x∈E. If f:E→F is a bijective mapping, its inverse mapping f−1:F→E is characterized by f(x)=y⟺x=f−1(y).
The inverse mapping f−1 is also a bijection, and f(f−1(y))=y and f−1(f(x))=x.
- The inverse mapping f−1 exists only if f is bijective.
- f(f−1(y))=y and f−1(f(x))=x 13.
1.11 Inverse Mapping Examples
- The mapping f:R→R with f(x)=2x+2 is bijective, and its inverse is f−1:R→R with f−1(y)=y/2.
- The inverse mapping of ln(x) from R+ to R is ex from R to R+ 13.
1.12 Composition of mappings
The composition of two mappings f:E→F and g:F→G, denoted g∘f, is a mapping from E to G defined by (g∘f)(x)=g(f(x)). Composition of mappings is associative: (h∘g)∘f=h∘(g∘f).
- If f and g are injective, then g∘f is injective.
- If f and g are surjective, then g∘f is surjective.
- If f and g are bijective, then g∘f is bijective, and (g∘f)−1=f−1∘g−1.
- If g∘f is injective, then f is injective.
- If g∘f is surjective, then g is surjective 14.
1.13 Composition of Mappings Example
- Let E=F=G=R, f(x)=sin(x), and g(x)=x3+1. Then (g∘f)(x)=(sin(x))3+1, and (f∘g)(x)=sin(x3+1). This demonstrates that g∘f=f∘g in general 13.
© 2026 Maeve. All rights reserved. This content is protected by copyright.