CSEC Mathematics · relations, functions and graphs
Concepts of Relations: Domain, Codomain, Range, and Image
1. What is a Relation?
A relation is a connection or rule that links members of one set to members of another set. We take an input value from a first set, apply a rule, and get an output value in a second set.
\nWe can represent relations in several ways:
- Ordered pairs: written as (x,y), where x is the input and y is the output. For example: {(1,3),(2,5),(3,7)}.
- A table of values: listing inputs in one column and outputs in the next.
- An equation / formula: such as y=2x+1.
- A graph: plotting the ordered pairs (x,y) on a Cartesian plane.
Worked example
A relation R pairs a student's score on Quiz 1 with their score on Quiz 2 as ordered pairs: R={(10,14),(12,16),(15,19),(18,22)}. Write down the set of all input values and the set of all output values.
- The input values are the first numbers in each ordered pair (x,y): 10,12,15,18.
- The output values are the second numbers in each ordered pair (x,y): 14,16,19,22.
Answer: Input set = {10,12,15,18}, Output set = {14,16,19,22}
Quick check
Which set of ordered pairs represents the rule y=3x−1 for the inputs x∈{1,2,3}?
2. Domain, Codomain, Range, and Image
When working with relations and functions in CSEC Mathematics, you must know four precise terms:
- Domain: The set of all possible or permitted input values (x-values).
- Codomain: The target set of all allowable outputs (often specified as a universal set, such as the set of all integers Z or all real numbers R).
- Range: The set of actual outputs produced when every element of the domain is put into the relation. The range is always a subset of (or equal to) the codomain.
- Image: The specific output linked to a particular input. If an input x gives an output y, we say that **y is the image of x** under the relation.
*Note on sets:* In set notation, we never repeat duplicate values. For instance, if squaring both −2 and 2 gives 4, the number 4 is written only once in the range.
Worked example
A relation is defined by y=x2−3, where the domain is D={−2,−1,0,1,2} and the codomain is the set of integers Z.
(a) Find the image of −2.
(b) State the range of the relation.
- To find the image of −2, substitute x=−2 into the rule: (−2)2−3=4−3=1. So the image of −2 is 1.
- Calculate the output for every element in the domain:
- For x=−2: y=(−2)2−3=1
- For x=−1: y=(−1)2−3=−2
- For x=0: y=(0)2−3=−3
- For x=1: y=(1)2−3=−2
- For x=2: y=(2)2−3=1
- Collect all unique outputs into a set: {−3,−2,1}.
Answer: (a) The image of −2 is 1. (b) The range is {−3,−2,1}.
Quick check
If the domain of the relation f(x)=x3 is {−2,−1,0,1,2}, what is the range?
3. Restricted Domains: Values That Cannot Be Inputs
In CSEC exams, you are often asked to state a value of x that cannot be in the domain of a given formula.
\nIn real arithmetic, division by zero is undefined. Therefore, any input value that causes a denominator to become zero must be excluded from the domain.
\nTo find the excluded value:
1. Set the denominator equal to 0.
2. Solve the linear equation for x.
3. State that this value of x cannot be in the domain.
Worked example
A relation is defined by g(x)=3x−127. State the value of x that CANNOT be in the domain of g.
- Identify the denominator of the algebraic fraction: 3x−12.
- Division by zero is undefined, so the denominator cannot equal zero.
- Set the denominator to zero: 3x−12=0.
- Solve for x: 3x=12⟹x=4.
Answer: x=4 cannot be in the domain because it makes the denominator zero.
Quick check
State the value of x that CANNOT be included in the domain of h(x)=2x+65.
Common mistakes
- Confusing codomain with range: The codomain is the set of all possible allowed outputs (like all real numbers), whereas the range consists only of the actual outputs generated by the domain elements.
- Repeating values in the range set: When listing the elements of a range, write each output value only once (e.g. write {1,4}, not {1,4,1,4}).
- Setting the numerator to zero instead of the denominator when finding excluded domain values: A fraction equals zero when its numerator is zero, but it is undefined only when its denominator is zero.
In the exam
- For Paper 1 questions asking for the range of a power like x2 or x4, watch negative signs carefully: (−2)2=4, not −4.
- When explaining why a value cannot be in the domain on Paper 2, always state clearly: 'Division by zero is undefined' after showing your working.
- Pay attention to domain notation: if the domain is a discrete set like {1,2,3}, the range is written with curly brackets {...}; if given as an inequality like 1≤x≤4, the range must be written as an inequality.
Key terms
- Relation
- A rule or relationship that connects elements of an input set to elements of an output set.
- Domain
- The set of all permissible input values (x-values) for a relation.
- Codomain
- The set containing all permissible or target output values.
- Range
- The set of all actual output values (y-values) obtained from the elements of the domain.
- Image
- The specific output value paired with a particular input value under a relation.
Practice
Easier to harder. Use paper for your working.
Practice 1
The range of the relation f(x)=x2+1 for the domain {−2,−1,0,1,2} is:
Practice 2
A function is defined by f(x)=31x−2 with domain A={3,6,9}. Explain why 4 cannot be in the range of f(x).
Practice 3
A relation is given by y=x218 for the continuous domain 1≤x≤3. State the range of the relation in the form a≤y≤b.
Now try real past-paper questions
3 Paper 2 questions and 3 Paper 1 multiple-choice on this topic. Quelpr marks your working point by point, like an examiner.
- Mathematics Q8 8(a)(i) · 1 markThe functions f and g are defined by f(x) = 9 / (2x + 1) and g(x) = x - 3. State a value of x that CANNOT be in the domain of f.
- Mathematics Q4 4(a)(iv) · 1 markThe function f with domain, A = {1, 2, 3} is given by f(x) = (1/2)x - 3. Explain why f(x) ≠ 5 for the function specified on page 13.
- Mathematics Q9 9(a)(ii) · 2 marksThe function is f(x) = \frac{12}{x^2}, where 1 \le x \le 4. State the range of f(x) in the form a \le y \le b, where a and b are constants and y = f(x).
Finished the lesson?
0 of 6 checks right on this device.
Read more
- Collins - Concise Revision Course for CSEC Mathematics, p. 342
- CXC Study Guide - Mathematics for CSEC, pp. 112, 113
- Mathematics for CSEC, p. 122
- algebra-and-trigonometry-2e_-_WEB, pp. 211, 489
- precalculus-2e_-_WEB, p. 357