Why Relations and Functions Matter in Your ISC Maths
Ever wondered how a smartphone maps a tap to an app, or how a vending machine knows which snack you chose? That's the magic of relations and functions – the language behind every input‑output pairing you see in daily life and in your exam paper.
💡 In Simple Words: A relation is just a list of paired items, like a match‑making list. If each item on the left side pairs with only one item on the right, the list becomes a function. Think of a school locker system – each student (left) gets exactly one locker (right).
What is a Relation?
A relation is any set of ordered pairs (a, b) where a comes from one set (call it domain) and b comes from another set (call it range). No rule is required; you can just write down whatever pairs you like.
Example: Let A={1,2,3} and B={a,b}. The relation R={(1,a),(2,b),(3,a)} simply says 1 goes to a, 2 goes to b, and 3 goes to a.
When Does a Relation Become a Function?
A function is a special kind of relation where every element of the domain appears exactly once on the left side – in other words, each input has only one output.
Imagine a water pipe system: the water (input) can travel through many branches, but if you put a valve that forces the water to go through only one outlet for each pipe, you’ve made a “function‑like” flow.
Common Types of Functions You Must Know
| Function Type | Definition (first time explained) | Quick Test |
|---|---|---|
| One‑to‑One (Injective) | Every element of the range is hit by at most one element of the domain – like assigning each student a unique locker. | Different inputs give different outputs. |
| Onto (Surjective) | Every element of the range gets hit by at least one element of the domain – like a teacher giving every grade letter at least one student. | All possible outputs appear. |
| Bijective | A function that is both one‑to‑one and onto – a perfect one‑to‑one match between two sets, like pairing each shoe with exactly one foot. | Both tests above pass. |
Worked Example: Is This Relation a Function?
Given the relation S={(−2,4),(0,0),(2,4),(4,8)} on the set of integers, decide if S is a function.
- List the first elements: −2, 0, 2, 4 – all are different.
- Since no first element repeats with a different second element, the relation passes the function test.
Therefore, S is a function. Its rule can be written as f(x)=x²/1? Actually here f(x)=x²/1 gives (−2,4),(0,0),(2,4),(4,16) – not a perfect match, so the rule is simply “output is twice the input for positive numbers and zero for zero,” but the key is that the definition of a function does not require a simple formula.
Key Properties at a Glance
- Domain: all possible inputs.
- Range: all outputs that actually appear.
- Codomain: the larger set you *could* output to, even if some elements never appear.
- Vertical line test (graphical way): if a vertical line crosses the graph more than once, the relation is not a function.
- Composite function (f∘g): apply g first, then f.
Quick Checklist Before the Exam
- Identify domain and range correctly.
- Use the “no repeated first element” rule to test for function.
- Remember the three special function types and their everyday analogies.
- Be comfortable drawing a small graph and applying the vertical line test.
📝 Likely Exam Questions
- Question: Given R={(1,2),(2,3),(3,4),(4,5)}, state the domain, range, and decide if R is a function.
Answer: Domain={1,2,3,4}; Range={2,3,4,5}. Each first element appears once, so R is a function. - Question: Define a one‑to‑one function and give an example using the set {a,b,c}.
Answer: One‑to‑one means different inputs give different outputs. Example: f(a)=1, f(b)=2, f(c)=3. - Question: Sketch the graph of f(x)=x² and use the vertical line test to explain why it is not a one‑to‑one function.
Answer: The parabola opens upward; a vertical line at x=1 meets the curve at (1,1) and (−1,1), so two inputs share the same output – not one‑to‑one. - Question: Determine whether the relation T={(0,0),(1,2),(1,3)} is a function and justify.
Answer: The first element 1 appears with two different second elements (2 and 3). Hence T is not a function. - Question: Explain the difference between range and codomain with a short example.
Answer: For f:{1,2,3}→{a,b,c,d}, if f(1)=a, f(2)=b, f(3)=c, then the codomain is {a,b,c,d} (the set we allowed outputs to come from) while the range is {a,b,c} (the values actually produced).