Sets, Relations & Functions
समुच्चय, संबंध और फलन
Sets and their algebra
Operations
| Operation | Meaning |
|---|---|
| A ∪ B | elements in A or B or both |
| A ∩ B | elements in both |
| A − B | in A but not in B |
| A′ | the complement, U − A |
De Morgan's laws — (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′.
Counting — n(A ∪ B) = n(A) + n(B) − n(A ∩ B); for three sets, add the three, subtract the three pairwise intersections, and add back n(A ∩ B ∩ C).
Example — in a class of 60, 35 take Hindi, 30 take Urdu and 12 take both; those taking at least one = 35 + 30 − 12 = 53, and 7 take neither.
The trap: a 4-element set has 16 subsets — 15 is the count of proper subsets.
समुच्चय, संबंध और फलन
Relations
Types of relation on a set A
| Type | Condition |
|---|---|
| reflexive | (a, a) ∈ R for every a in A |
| symmetric | (a, b) ∈ R ⇒ (b, a) ∈ R |
| transitive | (a, b), (b, c) ∈ R ⇒ (a, c) ∈ R |
| equivalence | all three together |
The trap: the number of relations from A to B is 2^(pq), not pq — pq counts the ordered pairs.
समुच्चय, संबंध और फलन
Functions
| Kind | Meaning |
|---|---|
| one-one (injective) | different inputs give different outputs |
| onto (surjective) | every element of B is an output |
| bijective | both — and only a bijection has an inverse |
Counting functions — with n(A) = m and n(B) = n:
Standard real functions
| Function | Domain | Range |
|---|---|---|
| modulus, ∣x∣ | ℝ | [0, ∞) |
| signum | ℝ | {−1, 0, 1} |
| greatest integer, [x] | ℝ | the integers |
| 1/x | ℝ − {0} | ℝ − {0} |
Composition — (g ∘ f)(x) = g(f(x)); in general g ∘ f ≠ f ∘ g. If f(x) = x + 1 and g(x) = x², then (g ∘ f)(x) = (x + 1)² but (f ∘ g)(x) = x² + 1.
The trap: nᵐ counts functions from an m-element set into an n-element set — the exponent is the size of the domain.
समुच्चय, संबंध और फलन
Inverse trigonometric functions
The trigonometric functions are not one-one on ℝ, so each is restricted to a principal value branch before it is inverted.
| Function | Domain | Principal range |
|---|---|---|
| sin⁻¹ x | [−1, 1] | [−π/2, π/2] |
| cos⁻¹ x | [−1, 1] | [0, π] |
| tan⁻¹ x | ℝ | (−π/2, π/2) |
| cot⁻¹ x | ℝ | (0, π) |
Identities
Working through a principal value — sin⁻¹(sin 2π/3) is not 2π/3, because 2π/3 lies outside [−π/2, π/2]. Since sin 2π/3 = √3/2, the answer is the angle in the principal range with that sine: π/3.
The trap: sin⁻¹(sin θ) = θ only when θ is already in [−π/2, π/2] — otherwise, find the principal-range angle with the same sine.
समुच्चय, संबंध और फलन
Points to Remember