Lesson 3 of 8 · 17 min
Domain and range
Find the domain and range of a function from its graph or its rule, including implied domains, and write them in interval and set notation.
What you will be able to do
- Define the domain and range of a relation.
- Write sets of numbers as inequalities, in interval notation and in set notation, with open and closed endpoints.
- Find the range of a function on a restricted domain from its graph and its turning point.
- State the implied domain of a rule by avoiding division by zero and square roots of negative numbers.
A function has a set of inputs it accepts and a set of outputs it produces. A taxi meter accepts distances from km upwards; a calculator refuses and . Describing these sets precisely — the domain and the range — is part of describing any function.
Definition
Domain and range
The domain of a relation is the set of all its input values (-values).
The range is the set of all output values (-values) that the relation actually takes.
On a graph, the domain is the shadow the graph casts on the -axis, and the range is the shadow it casts on the -axis.
| In words | Inequality | Interval notation | Set notation |
|---|---|---|---|
| From to , both included | |||
| Greater than | |||
| At most | |||
| Above , up to and including | |||
| All real numbers | — | ||
| All real numbers except |
The interval , which is . The closed dot at is included; the open circle at is not.
Tip
Brackets match dots
A square bracket means the endpoint is included — a closed dot on a graph or number line. A round bracket means it is excluded — an open circle. Infinity is not a number you can reach, so it always takes a round bracket: .
Write in interval notation.
To read the domain and range from a graph, look along each axis for the lowest and highest values the graph reaches. Check three things: the endpoints (and whether they are open or closed), any turning points, and anywhere the graph runs off forever or approaches an asymptote.
The domain is fixed at . The lowest output comes from the turning point, but the highest comes from an endpoint — so you need both to state the range.
Common mistake
The range is not just the endpoint values
For on , the endpoints give and . It is tempting to say the range is , but the turning point is lower than both. The range is .
Always look for a turning point inside the domain before using the endpoints.
Worked example
Find the range of for
Find the range of on the domain .
Step 1: Find the turning point
Complete the square: . The turning point is a minimum, because the parabola opens upwards.
Step 2: Check the turning point is in the domain
, so the minimum value is reached.
If the turning point were outside the domain, the range would come from the endpoints alone.
Step 3: Evaluate at the endpoints
, which is reached, since is in the domain. , from an excluded endpoint.
Step 4: Decide about the open endpoint
The output is still reached, at , so it belongs to the range even though does not belong to the domain.
The range is the set of outputs that occur, whichever input produces them.
Step 5: State the range
The outputs run from the minimum up to , both included.
Try it yourself first, then check the working one step at a time.
Answer
The range is , or .
Method
Find the turning point (complete the square) and check it lies in the domain.
Evaluate the function at both endpoints, noting which are included.
The range runs from the smallest to the largest output; decide each bracket by whether that output is actually reached.
Watch out for
Using only the endpoints, and so missing the minimum at the turning point.
Writing because is excluded, when is reached at .
Often a function is given by a rule with no domain stated. Then its domain is the largest set of real numbers the rule can accept: the implied domain (also called the maximal or natural domain). In this course two things restrict it — you cannot divide by zero, and you cannot take the square root of a negative number.
Finding the implied domain
Look for division
Any denominator must not be zero. Solve "denominator " and exclude those values.
Look for square roots
The expression under a square root must be zero or positive. Solve "inside ".
Watch for both at once
A square root in a denominator must be strictly positive: solve "inside ".
Combine and write it neatly
Put the conditions together and write the domain as an interval, in set notation or with .
State the implied domain of .
Worked example
Find implied domains and ranges
State the implied domain and the range of each function.
(a) (b)
Step 1: (a) Keep the square root defined
The expression under a square root must be zero or positive.
Step 2: (a) Write the domain
Domain: , or .
Step 3: (a) Find the range
On this domain, takes every value from (at ) upwards. Adding shifts these to every value from upwards. Range: .
A square root is never negative, and here it can equal any non-negative number.
Step 4: (b) A square root in a denominator
We need for the square root, and for the division. Together, , so . Domain: .
At the denominator would be .
Step 5: (b) Find the range
takes every positive value, so takes every positive value too: large when is just above , close to when is large. Range: .
Try it yourself first, then check the working one step at a time.
Answer
(a) Domain , range . (b) Domain , range .
Method
Denominators: exclude the values that make them zero.
Square roots: the inside must be ; in a denominator, .
Combine the conditions and write the domain with the right brackets.
Find the range from the smallest and largest outputs on that domain.
Watch out for
Reversing the inequality: gives , not .
Including in (b), which would divide by zero.
Which values of are excluded from the implied domain of ?
Exam tip
Writing domains and ranges in an exam
Interval notation, set notation and inequalities all describe the same set, so use whichever the question uses. What earns the mark is the right endpoints with the right brackets. Label which set is which ("domain: ; range: "), and never put a square bracket next to .
Summary
The domain is the set of inputs; the range is the set of outputs the function actually takes.
Square brackets (closed dots) include an endpoint; round brackets (open circles) exclude it; always takes a round bracket.
For the range on a restricted domain, compare the turning point with the endpoint values.
The implied domain is every real number the rule accepts: no zero denominators and no negatives under a square root.
Write "all real numbers except " as or .
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.