Types of relations#
A relation R on set A is a subset of A × A.
| Type | Condition |
|---|---|
| Empty | R = ∅ |
| Universal | R = A × A |
| Reflexive | (a, a) ∈ R for every a ∈ A |
| Symmetric | (a, b) ∈ R ⇒ (b, a) ∈ R |
| Transitive | (a, b), (b, c) ∈ R ⇒ (a, c) ∈ R |
| Equivalence | reflexive + symmetric + transitive |
An equivalence relation splits A into disjoint equivalence classes.
R = {(a, b) : a − b is divisible by 3} on ℤ. Reflexive: a − a = 0 ✓. Symmetric: if 3 | (a − b) then 3 | (b − a) ✓. Transitive: (a − b) + (b − c) = a − c ✓. So R is an equivalence relation with classes [0], [1], [2].
स्वतुल्य (reflexive): हर a के लिए (a, a) ∈ R। सममित (symmetric): (a, b) ∈ R हो तो (b, a) ∈ R। संक्रामक (transitive): (a, b) और (b, c) ∈ R हों तो (a, c) ∈ R। तीनों गुण हों तो संबंध तुल्यता संबंध (equivalence) कहलाता है।
Types of functions#
| Type | Meaning | Test |
|---|---|---|
| One-one (injective) | different inputs → different outputs | f(x₁) = f(x₂) ⇒ x₁ = x₂ |
| Onto (surjective) | every element of codomain has a pre-image | range = codomain |
| Bijective | one-one and onto | both |
- f : ℝ → ℝ, f(x) = 2x + 3 is bijective.
- f : ℝ → ℝ, f(x) = x² is neither (f(−1) = f(1); negative numbers have no pre-image).
- For finite sets with equal number of elements, one-one ⇔ onto.
एकैकी (one-one) फलन में अलग-अलग इनपुट के आउटपुट अलग होते हैं। आच्छादक (onto) फलन में सहप्रांत (codomain) का हर अवयव किसी न किसी का प्रतिबिंब होता है। दोनों हों तो फलन एकैकी आच्छादी (bijective) कहलाता है।
Counting facts#
- Number of relations from A (m elements) to B (n elements) = 2^(mn).
- Number of functions from A to B = nᵐ.
- Number of bijections from A to A (n elements) = n!.
Exam tips#
- Always check all three properties separately with a clear "Let (a, b) ∈ R …".
- To show "not onto", produce one element of the codomain without a pre-image.