← Relations and functions

Class 12 Maths · 10 worked problems

Study the worked examples below, or retry these problems as a revision test.

Take topic test →

Testing mappings and relations

Check a definition on the specified domain and codomain. For a failed universal condition, one counterexample is enough.

Practise with worked solutions

Problem 1

f: ℝ → ℝ is f(x) = x2x^{2}. Is f injective?

Worked solution
  1. Choose the ruleInjectivity requires different inputs to give different images.
  2. Why it appliesCheck a definition on the specified domain and codomain. For a failed universal condition, one counterexample is enough.
  3. Work it out1 and −1 have equal squares.
  4. ResultNo.
Problem 2

On integers, aRb means 5 divides a − b. Is R transitive?

Worked solution
  1. Choose the ruleTransitivity needs aRb and bRc to imply aRc.
  2. Why it appliesCheck a definition on the specified domain and codomain. For a failed universal condition, one counterexample is enough.
  3. Work it outAdd a − b and b − c, both multiples of 5.
  4. ResultYes.
Problem 3

f: ℝ → ℝ is f(x) = 2x − 7. Find f−1f^{-1}.

Worked solution
  1. Choose the ruleSolve y = f(x) for a unique x.
  2. Why it appliesCheck a definition on the specified domain and codomain. For a failed universal condition, one counterexample is enough.
  3. Work it outy + 7 = 2x.
  4. Resultf−1f^{-1}(y) = (y + 7)/2.
Problem 4

On real numbers aRb means a ≤ b. Is R symmetric?

Worked solution
  1. Choose the ruleSymmetry would turn every a ≤ b into b ≤ a.
  2. Why it appliesCheck a definition on the specified domain and codomain. For a failed universal condition, one counterexample is enough.
  3. Work it out1 ≤ 2 but 2 ≤ 1 is false.
  4. ResultNo.
Problem 5

f(x) = x + 1 and g(x) = 3x on ℝ. Find f ∘ g.

Worked solution
  1. Choose the ruleApply the inner function first.
  2. Why it appliesCheck a definition on the specified domain and codomain. For a failed universal condition, one counterexample is enough.
  3. Work it outApply f to 3x.
  4. Result3x + 1.
Problem 6

Follows on from: Is f injective?

f: ℝ → ℝ is f(x) = x2x^{2}. Can restricting both domain and codomain to [0,∞) make it bijective?

Worked solution
  1. Choose the ruleA bijection requires a unique preimage for every element of the chosen codomain.
  2. Why it appliesCheck a definition on the specified domain and codomain. For a failed universal condition, one counterexample is enough.
  3. Work it outEvery nonnegative y has exactly one nonnegative square root.
  4. ResultYes, its inverse is √y.
Problem 7

Follows on from: Is R transitive?

On integers, aRb means 5 divides a − b. How many equivalence classes result?

Worked solution
  1. Choose the ruleAn equivalence relation partitions the domain into disjoint classes.
  2. Why it appliesCheck a definition on the specified domain and codomain. For a failed universal condition, one counterexample is enough.
  3. Work it outReflexivity and symmetry also follow from divisibility. Each class is one remainder mod 5.
  4. ResultFive classes.
Problem 8

Follows on from: Find f−1f^{-1}.

f: ℝ → ℝ is f(x) = 2x − 7. Verify f−1f^{-1}(f(3)).

Worked solution
  1. Choose the ruleAn inverse undoes the mapping on its stated domain.
  2. Why it appliesCheck a definition on the specified domain and codomain. For a failed universal condition, one counterexample is enough.
  3. Work it outf(3) = −1 and f−1f^{-1}(−1) = 62\frac{6}{2}.
  4. Result3.
Problem 9

Follows on from: Is R symmetric?

On real numbers aRb means a ≤ b. Is R reflexive and transitive?

Worked solution
  1. Choose the ruleTest reflexivity on each element and transitivity on pairs of linked relations.
  2. Why it appliesCheck a definition on the specified domain and codomain. For a failed universal condition, one counterexample is enough.
  3. Work it outa ≤ a always, and inequalities a ≤ b ≤ c imply a ≤ c.
  4. ResultBoth properties hold.
Problem 10

Follows on from: Find f ∘ g.

f(x) = x + 1 and g(x) = 3x on ℝ. When does f ∘ g equal g ∘ f at a real input?

Worked solution
  1. Choose the ruleCompute both composites at the same x and solve their equality.
  2. Why it appliesCheck a definition on the specified domain and codomain. For a failed universal condition, one counterexample is enough.
  3. Work it outThe reverse composition is 3x + 3. Equality would require 1 = 3.
  4. ResultThere is no real solution.