Relations and Functions
Counting relations and functions, one-one and onto maps, reflexive and symmetric relations, composition and inverse.
Learn: notes, formulas, solved examples and question book
Sample questions with solutions
1. If f(x) = (2x + 1)/(3x + 4), what is f⁻¹(−1) ?
- 3/5
- 0
- 1
- −1
Answer: D. Show solution
- Put f(x) = −1 and solve for x:
- 2x + 1 = −3x − 4
- 5x = −5 → x = −1
So the value is −1.
Shortcut: f⁻¹(k) is the x for which f(x) = k: solve f(x) = k.
2. How many reflexive relations are there on a set with 3 elements ?
- 512
- 9
- 8
- 64
Answer: D. Show solution
- All 3 pairs (a, a) must be present; each of the other 9 − 3 = 6 pairs may or may not be.
- 2⁶ = 64
So the number is 64.
Shortcut: n(A) = m, n(B) = n: relations A → B = 2ᵐⁿ, functions = nᵐ, one-one functions = n!/(n − m)! (m ≤ n). On a set of n elements: reflexive relations 2ⁿ⁽ⁿ⁻¹⁾, symmetric 2ⁿ⁽ⁿ⁺¹⁾ᐟ².
3. If f(x) = −x + 5 and g(x) = x² + 4, what is (g∘f)(3) ?
- 26
- 15
- 8
- −8
Answer: C. Show solution
- (g∘f)(x) = g(f(x)): first f(3) = 2.
- g(2) = 8
So the value is 8.
Shortcut: (f∘g)(x) = f(g(x)): apply g first, then f. In general f∘g ≠ g∘f.
Press Start above for fresh questions every time, each with the answer and a full solution.