GRADE 10 · Mathematics · CHAPTER 1 · TAMIL NADU SAMACHEER

Relations and Functions

Build Cartesian products and relations, decide whether a rule is a function and of what type, and combine two functions by composition.

Original learning companion

Original learning companion for selected outcomes of this chapter: Cartesian products and relations, functions with their domain, range and types (one-one, onto, bijection), and composition of functions. It does not reproduce the textbook, its examples or its exercise solutions.

Watch: Relations and Functions in three lessons

Silent animation. The same steps are explained in the lessons below.

Concept animations

Cartesian products and relations · Lesson 1
Functions and their types · Lesson 2
Composition of functions · Lesson 3

Silent animations of one idea each. An animation is shared by every lesson that teaches the idea.

Solution animations

Every problem of this chapter, solved step by step. Try the problem first, then watch.

Lesson 1 · Cartesian products and relations (9)
Lesson 2 · Functions and their types (9)
Lesson 3 · Composition of functions (9)

Read all lessons

These explanations remain available without JavaScript. The separate learner and solution pages can be printed on A4.

LESSON 1

Cartesian products and relations

Write the Cartesian product of two sets, pick out a relation from it and count the possible relations.

Cartesian products and relations
Cartesian products and relations

A set is a collection of distinct objects, and n(A) is the number of elements in set A. A point on a graph is written as an ordered pair (x, y).

  1. Order matters in a pair

    The pairs (2, 5) and (5, 2) use the same two numbers but mark different points: 2 right and 5 up, or 5 right and 2 up. Two ordered pairs are equal only when first equals first and second equals second.

    01234560123456(2, 5)(5, 2)xy
  2. Pair every element with every element

    Let A = {1, 2} and B = {x, y, z}. Pair each element of A with each element of B. That gives 2 rows of 3 pairs, so A × B has 2 × 3 = 6 ordered pairs. In general n(A × B) = n(A) × n(B).

    A × Bxyz1(1, x)(1, y)(1, z)2(2, x)(2, y)(2, z)
  3. A relation picks some pairs

    Let A = {1, 2, 3} and B = {2, 4, 6}. The rule b = 2a keeps only (1, 2), (2, 4) and (3, 6) out of the 9 pairs in A × B. This subset is a relation R. Its domain is {1, 2, 3} and its range is {2, 4, 6}.

    a in Ab = 2apair in R12(1, 2)24(2, 4)36(3, 6)
  4. Count all possible relations

    Every relation is a subset of A × B. For each pair you choose 'in' or 'out', so with n(A) = 2 and n(B) = 3 there are 2⁶ = 64 relations, including the empty relation. In general there are 2 to the power n(A) × n(B).

    n(A) = 2, n(B) = 3n(A × B) = 2 × 3 = 6each pair: in or outrelations = 2⁶ = 64

Worked example: Kavin has 3 shirts (red, blue, white) and 2 trousers (black, grey). Outfits are the ordered pairs in Shirts × Trousers: (red, black), (red, grey), (blue, black), (blue, grey), (white, black), (white, grey). That is 3 × 2 = 6 outfits.

Watch for this: A × B is not the same as B × A. With A = {1} and B = {7}, A × B = {(1, 7)} but B × A = {(7, 1)}. They have the same number of pairs but different pairs, unless A = B.

Discuss: A × B has 15 elements and n(A) = 3. What is n(B)? Could A have had 2 elements instead? Explain using n(A × B) = n(A) × n(B).

LESSON 2

Functions and their types

Test whether a relation is a function, find its range, and decide if it is one-one, onto or a bijection.

Functions and their types
Functions and their types

A relation from A to B is a set of ordered pairs (a, b) with a in A and b in B. Its range is the set of second elements used.

  1. One input, exactly one output

    Let A = {1, 2, 3, 4}, B = {4, 5, 6, 7, 8} and f(x) = x + 3. Each element of A gets exactly one image: 4, 5, 6, 7. So f is a function. The codomain is B, but the range is only {4, 5, 6, 7}.

    x in Af(x) = x + 314253647
  2. Spot a relation that is not a function

    A relation fails to be a function if some input has two images, or if some input has none. On a graph this is the vertical line test: a vertical line must not cut the graph twice.

    Function{(1, 5), (2, 6), (3, 5)}1, 2, 3 each used onceSharing the output 5 isallowedNot a function{(1, 5), (1, 6), (2, 7)}1 has two images, 5 and 6Or an input with no image atall
  3. Test one-one and onto

    For f(x) = x + 3 from step 1, different inputs give different outputs, so f is one-one. But 8 in B has no input (x would be 5, which is not in A), so f is not onto.

    f(1), f(2), f(3), f(4) = 4, 5, 6, 7all different → one-one8 = x + 3 needs x = 5, not in A8 is missed → not onto
  4. A bijection does both

    f: {1, 2, 3} → {2, 4, 6} with f(x) = 2x gives 2, 4, 6. The images are all different and they cover B, so f is one-one and onto: a bijection. Each element of A is matched with exactly one element of B, and none is left over.

    One-oneDifferent inputs → differentoutputsNo output is sharedOntoEvery element of B is reachedRange = codomain

Worked example: f: {−2, −1, 0, 1, 2} → {0, 1, 2, 3, 4} with f(x) = x². Images: 4, 1, 0, 1, 4, so the range is {0, 1, 4}. f(−2) = f(2), so f is not one-one. 2 and 3 are never reached, so f is not onto. It is still a function, because every input has exactly one image.

Watch for this: Two inputs sharing the same output does not stop a rule being a function. f(−2) = f(2) = 4 for f(x) = x² is allowed; such a function is simply not one-one. What is forbidden is one input having two outputs.

Discuss: Think of two rules on your class: each student → their roll number, and each student → their birth month. Which rule is one-one? Could either be onto the set of 12 months? Discuss.

LESSON 3

Composition of functions

Find g∘f and f∘g for given functions and see that the order of composition matters.

Composition of functions
Composition of functions

For a function f, f(a) means the image of a: substitute a for x in the rule. If f(x) = x + 2, then f(4) = 6.

  1. Chain two machines

    Let f(x) = x + 2 and g(x) = 3x. Put 4 into f to get 6, then put 6 into g to get 18. This chain is (g∘f)(4) = g(f(4)) = g(6) = 18.

    x = 4into ff: add 2 → 6into gg: times 3 → 18
  2. Find the formula

    Replace x in g by the whole of f(x): g(f(x)) = 3(x + 2) = 3x + 6. Check with x = 4: 3 × 4 + 6 = 18, the same as step 1.

    g(f(x)) = g(x + 2)= 3(x + 2)= 3x + 6check: 3 × 4 + 6 = 18
  3. Swap the order

    Now apply g first: f(g(x)) = 3x + 2. At x = 4 this gives 14, not 18. So f∘g and g∘f are usually different: composition is not commutative.

    g∘f: f first4 → 6 → 18formula 3x + 6f∘g: g first4 → 12 → 14formula 3x + 2
  4. Grouping does not matter

    Add h(x) = x − 1. With x = 5: h gives 4, g gives 12, f gives 14. Whether you first join f and g, or first join g and h, the answer is 14. Composition is associative: f∘(g∘h) = (f∘g)∘h.

    x = 5h: subtract 1→ 4g: times 3 →12f: add 2 → 14

Worked example: f(x) = 2x + 1 and g(x) = x². f∘g(x) = f(x²) = 2x² + 1. g∘f(x) = g(2x + 1) = (2x + 1)² = 4x² + 4x + 1. At x = 1: f∘g gives 3 but g∘f gives 9, so the two compositions differ.

Watch for this: In g∘f the function written first, g, is not applied first. The rightmost function acts first: (g∘f)(x) = g(f(x)) means do f, then g.

Discuss: Find two functions f and g, different from each other, for which f∘g = g∘f. Try f(x) = x + 2 with g(x) = x + 5 and explain why the order does not matter there.

Continue on paper

Sources and coverage

Original learning companion for selected outcomes of this chapter: Cartesian products and relations, functions with their domain, range and types (one-one, onto, bijection), and composition of functions. It does not reproduce the textbook, its examples or its exercise solutions.

Original HelioLearn teaching and questions, aligned to the listed Tamil Nadu Samacheer topics. It is not an official publication of the board or a textbook solution bank. Independent teacher review is pending.