Domain and range
Studying this course? Keep your progress in one place.
Key facts
- The domain is the set of allowed inputs (); the range is the set of outputs ().
- Write them with inequalities or set notation such as .
- You cannot divide by zero or take the square root of a negative number.
- Restricting the domain can change the range.
- Check whether a vertex lies inside the domain.
Domain and range
The domain is the set of allowed inputs; the range is the set of outputs the function produces.
For with the domain is . Since and , the range is .
Which of x and y does the domain describe?
Writing domain and range
Use inequalities or set notation; for a mapping, list the outputs once each.
Set notation: , where is the set of real numbers. The symbols and include the end value; and do not.
For a mapping, has range , because repeated outputs are listed once.
Write the range of the mapping , , .
Domain from a rule
If no domain is given, use the largest set of real numbers that works, avoiding division by zero and square roots of negatives.
- Division by zero: for the domain is .
- Square root of a negative: for we need , so .
What is the domain of ?
Restricting a domain
Work out the function at both ends, and check whether a lowest or highest point lies inside the domain.
For the range is for all real . But for the range is : the greatest value is at and the least at .
Find the range of for .
Range of linear and quadratic functions
A quadratic has a vertex: complete the square to find the least or greatest value.
A linear function on all real numbers has range all real numbers (unless it is constant). A quadratic that opens downwards has its vertex as the greatest value.
In context, write domain and range with units and explain what they mean.
Worked example
Find the range of for all real .
- 1
Complete the square: .
- 2
A square is never negative, so the least value is , when .
- 3
The parabola opens upwards, so there is no greatest value.
Find the range of .
Try an exam question
Find the range of for all real .
[3 marks]
- [1]Complete the square: (x − 3)² − 4.
- [1]A square is never negative, so the least value is −4 when x = 3.
- [1]The range is f(x) ≥ −4.
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find the range of .
1 mark, marked against the mark scheme
Find the range of .
1 mark, marked against the mark scheme