Domain and Range
Domain and range: values left out because of a zero denominator or a negative square root, the range of a squared function, and the range of an inverse.
In the exam for Edexcel IGCSE Maths 4MA1, Cambridge IGCSE Maths 0580, Cambridge O Level Maths 4024 · 19 real past-paper questions below
اقرأ هذا الدرس مشروحاً بالعربي ←
Domain and Range
A function is a machine. The domain is the inputs you are allowed to put in. The range is the outputs that can come out.
Key idea
Most questions ask which x must be left out. Two things break a function: dividing by 0, and the square root of a negative.
You Cannot Divide by Zero (Higher)
If x is in the bottom of a fraction, find the x that makes the bottom 0. That x is left out.
Worked example
- 1
— Look at the bottom of the fraction. Only the bottom can cause trouble.
- 2
— A fraction with 0 on the bottom has no value, so find the x that makes the bottom 0.
- 3
— Take 9 from both sides. Putting in x = −9 would put 0 on the bottom.
- 4
— Write the answer as x ≠ −9. Every other value of x is allowed.
Worked example
- 1
— A second one, with a minus in front of the x. Look at the bottom again.
- 2
— Set the bottom equal to 0.
- 3
— Take 3 from both sides.
- 4
— Divide both sides by −4. A negative divided by a negative is positive.
- 5
— Leave out x = 3/4, or 0.75.
Common mistake
Setting the top to 0. The top can be 0; only the bottom cannot.
No Square Root of a Negative (Higher)
If x is inside a square root, the inside must be 0 or more.
Worked example
- 1
— Look at what is inside the root.
- 2
— You cannot take the square root of a negative, so the inside must be 0 or more.
- 3
— Add 2x to both sides. This avoids dividing by a negative number later.
- 4
— Divide both sides by 2.
- 5
— Read it the other way round: x can be 4 or smaller.
- 6
— The question asks which values cannot be used, so give the opposite: anything above 4.
The Range (Higher)
The range asks which outputs are possible. A square is never negative.
Worked example
- 1
— A squared bracket.
- 2
— A square is never negative, so the squared bracket is 0 or more.
- 3
— The lowest value is 0. It happens when the bracket is 0, at x = −2.
- 4
— There is no top limit, because x can be as large as you like. Write the range with f(x).
Common mistake
Writing the range with x. The range is about outputs, so use f(x) or y.
Range of a Shifted Square (Higher)
Exams often add a number to the square, or give it as . Write it as a squared bracket first, then read off the lowest value.
Worked example
- 1
— A squared bracket, plus 5.
- 2
— A square is never negative.
- 3
— Add 5 to both sides, so the whole function is 5 or more.
- 4
— Write the range with f(x).
Worked example
- 1
— Complete the square first, to find the lowest point.
- 2
— Half of 4 is 2, so use (x + 2)². That bracket adds an extra 4, so take 4 away.
- 3
— The domain starts at x = −2, exactly where the bracket is 0. So −4 is the lowest value.
- 4
— The values rise from −4 with no top limit.
Common mistake
Ignoring the domain. For with the lowest value is , not −4, because x never reaches −2.
Range from a Set of Inputs
When the domain is a short list of numbers, the range is just the list of answers.
Worked example
- 1
— Put each number of the domain in, one at a time.
- 2
— Replace x with −2. Use a bracket to keep the negative sign.
- 3
— −3 × −2 = +6, because a minus times a minus is a plus.
- 4
— Replace x with 0.
- 5
— Replace x with 3, then work out 4 − 9.
- 6
— List the outputs, smallest first. These three numbers are the whole range.
Common mistake
Writing −5 ≤ y ≤ 10. With a list of inputs only these three outputs are possible, so list them.
Range of an Inverse (Higher)
An inverse swaps inputs and outputs. So the range of the inverse is the domain of the function.
Worked example
- 1
— The function and its domain.
- 2
— An inverse swaps inputs and outputs, so the inputs of h become the outputs of the inverse.
- 3
— The domain of h starts at −2, so every output of the inverse is −2 or more.
Which Method? Read the Question
Look for a fraction, a root or a square.
| You see | You do |
| x in the bottom | bottom = 0 is left out |
| x in a square root | inside must be 0 or more |
| Range of a square | 0 or more |
| Range of an inverse | the domain of the function |
| Find f(3) or fg(x) | Composite Functions |
Key idea
Domain uses x. Range uses f(x) or y.
Practise domain and range now
Interactive visual aids, then real past-paper questions marked on your working like the exam. Free to start.
Practise free on LemmaraReal past-paper questions on domain and range
Each with a full worked solution.
Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.