Home / Notes / Class 11 / Mathematics / Sets, functions and groups
Sets and their operations, Venn diagrams, relations, functions and their types, inverse and composite functions, binary operations, and the idea of a group with simple examples and properties.
A set is a well defined collection of objects, called its elements or members. We write a ∈ A when a is in A and a ∉ A when it is not. A set can be written in tabular form, A = {1, 2, 3}, or in set builder form, A = {x | x is a natural number less than 4}. The set with no elements is the empty set ∅. A set with one element is a singleton.
A is a subset of B, written A ⊆ B, if every element of A is in B. If A ⊆ B and A ≠ B, then A is a proper subset. A set with n elements has 2ⁿ subsets, and 2ⁿ − 1 of them are proper. The set of all subsets of A is the power set P(A). The universal set U contains all the elements under discussion. Two sets are equal when they have the same elements, and they are equivalent when they have the same number of elements.
Operations on sets:
The laws of sets are like the laws of numbers. Commutative: A ∪ B = B ∪ A and A ∩ B = B ∩ A. Associative: (A ∪ B) ∪ C = A ∪ (B ∪ C). Distributive: A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C) and A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C). De Morgan's laws: (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′.
A Venn diagram shows the universal set as a rectangle and each set as a circle inside it. Shading the overlap of two circles shows A ∩ B, and shading both circles shows A ∪ B. For finite sets, n(A ∪ B) = n(A) + n(B) − n(A ∩ B). This rule is used to solve problems on groups of people with common interests.
The ordered pair (a, b) is a pair in which the order matters, so (a, b) ≠ (b, a) unless a = b. The Cartesian product A × B is the set of all ordered pairs (a, b) with a in A and b in B. If A has m elements and B has n elements, then A × B has mn elements. A relation from A to B is any subset of A × B. Its domain is the set of first entries and its range is the set of second entries.
A function f from A to B is a relation in which every element of A is related to exactly one element of B. We write f: A → B and y = f(x). A is the domain, B is the codomain, and the set of actual outputs is the range. A graph represents a function if no vertical line cuts it at more than one point. For f(x) = √(x − 3) the domain is x ≥ 3, because the square root of a negative number is not real.
Types of functions:
For f: A → B and g: B → C, the composite function g∘f is defined by (g∘f)(x) = g(f(x)). In general g∘f ≠ f∘g. The inverse f⁻¹ undoes f, so f⁻¹(f(x)) = x. To find it, write y = f(x), solve for x in terms of y, and then swap the letters. The graph of f⁻¹ is the reflection of the graph of f in the line y = x.
A binary operation * on a set S gives, for any two elements a and b of S, another element a * b of S. This property is called closure. The operation is commutative if a * b = b * a and associative if (a * b) * c = a * (b * c). An element e is the identity if a * e = e * a = a for all a. The inverse of a is the element a′ with a * a′ = e.
A group (G, *) is a set G with a binary operation that satisfies four conditions: closure, associativity, an identity element in G, and an inverse in G for every element. If the operation is also commutative, the group is abelian. Examples are the integers under addition (identity 0, inverse of a is −a) and the non zero rational numbers under multiplication (identity 1, inverse of a is 1/a). The natural numbers under addition do not form a group, since there is no identity or inverse in the set. In a group the identity is unique, and each element has only one inverse.
Study tip: Draw a Venn diagram for every word problem on sets and fill in the overlap first, then the rest. For groups, write the four conditions in a list and tick them off one by one with a short check for each. Always state the identity and the inverse clearly, because most marks go to those two checks.
Say the meaning first, then open the card to check.
A well defined collection of objects.
The set of all subsets of a set. It has 2ⁿ elements.
The set A × B of all ordered pairs (a, b) with a in A and b in B.
The set of all inputs of a function or relation.
A function that is both one to one and onto.
The result of the operation on any two elements of the set is again in the set.
An element e with a * e = e * a = a for every a.
A group in which the operation is commutative.
| Name | Formula | What it means |
|---|---|---|
| Union count | n(A ∪ B) = n(A) + n(B) − n(A ∩ B) | Used for two finite sets. |
| Number of subsets | 2ⁿ | A set with n elements. |
| Size of a product | n(A × B) = n(A) × n(B) | Number of ordered pairs. |
| De Morgan's laws | (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′ | Complement of a union or an intersection. |
| Composite function | (g∘f)(x) = g(f(x)) | Apply f first, then g. |
These are the kind of questions asked for 2, 3 and 5 marks. Try each one before opening the answer.
The number of subsets is 2⁴ = 16. The number of proper subsets is 16 − 1 = 15, because the set itself is not a proper subset.
For any sets A and B, (A ∪ B)′ = A′ ∩ B′. Also (A ∩ B)′ = A′ ∪ B′. The complement of a union is the intersection of the complements, and the complement of an intersection is the union of the complements.
A function f from A to B is a rule that assigns to each element of A exactly one element of B. It has an inverse only when it is bijective. One to one means no two inputs share an output, and onto means every element of B is an output. Then each y in B comes from exactly one x in A, so the rule can be reversed.
A × B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c)}. It has 2 × 3 = 6 elements. A relation is any subset of A × B, so the number of relations is 2⁶ = 64.
The conditions are closure, associativity, an identity and inverses. For the integers: the sum of two integers is an integer, so closure holds. (a + b) + c = a + (b + c), so addition is associative. The identity is 0, since a + 0 = a. The inverse of a is −a, which is an integer, since a + (−a) = 0. So the integers form a group under addition, and it is abelian because a + b = b + a.
A function is one to one if f(x₁) = f(x₂) forces x₁ = x₂. It is onto if every element of the codomain is the image of some element of the domain. Take f: R → R with f(x) = x². It is not one to one, since f(2) = f(−2) = 4. It is not onto, since negative numbers are never outputs. In contrast, f(x) = 2x + 1 from R to R is both one to one and onto.
Answer: A ∪ B = {1, 2, 3, 4, 5, 6, 7, 8}, A ∩ B = {4, 5, 6}, A − B = {1, 2, 3}, and the formula checks.
Answer: 8 students like both games, and 17 like cricket only.
Answer: f⁻¹(x) = (x − 3)/2, and f(f⁻¹(7)) = 7.
Answer: The identity is 1 and the inverse of 5 is −3.
Previous: Number systems and complex numbers Next: Matrices and determinants