Domain and Range of Common Functions
Six graphs cover almost every domain and range question at this level. Learning them as shapes, together with the reason each has the domain and range it does, turns a calculation into a recognition.
Sketch $y = x^2$ and $y = |x|$ on the same axes, roughly. They have the same domain and the same range. Say what is genuinely different about them, and then say what that tells you about how much domain and range describe a function.
Six shapes account for nearly every question: linear, quadratic, cubic, square root, reciprocal, absolute value. Each has a domain and a range that follow from one structural feature of its rule.
$$y = x, \quad x^2, \quad x^3, \quad \sqrt{x}, \quad \tfrac{1}{x}, \quad |x|$$
One question separates them all: does the rule destroy sign, and does it forbid anything? Squaring and absolute value destroy sign, so their ranges are one-sided. Roots forbid negatives and reciprocals forbid zero, so their domains are cut.
Know
- The domain and range of the six standard shapes
- Which structural feature of each rule produces its domain and range
- That domain and range do not determine a function
Understand
- Why even powers give one-sided ranges and odd powers do not
- Why a translation shifts a domain or range without changing its shape
Can Do
- State the domain and range of any of the six shapes and of translated versions of them
- Match a graph to its domain and range
- Justify a domain or range from the structure of the rule
Linear, $y = x$. Domain all real numbers; range all real numbers. Nothing is forbidden going in, and the line reaches every height, so nothing is missed coming out. The same holds for any $y = mx + c$ with $m \neq 0$.
Cubic, $y = x^3$. Domain all real numbers; range all real numbers. Cubing accepts every input and, crucially, keeps the sign: a negative input gives a negative output. So negative outputs are reachable and nothing is missed.
Quadratic, $y = x^2$. Domain all real numbers; range $y \geq 0$. Squaring accepts every input but destroys the sign, so no negative output is ever produced.
The contrast between the last two is the single most useful idea in this lesson:
$$\text{odd power: sign kept, range all reals} \qquad \text{even power: sign destroyed, range one-sided}$$
The domain is identical in all three cases; only the ranges differ, and only because of what the power does to a negative.
Square root, $y = \sqrt{x}$. Domain $x \geq 0$; range $y \geq 0$.
The domain is cut because no real number squares to a negative, so a negative input has no output. The range is one-sided because the symbol $\sqrt{\ }$ denotes the non-negative root by convention. Both restrictions are half-lines, and both include their endpoint, since $\sqrt{0} = 0$ is perfectly well defined.
Reciprocal, $y = \dfrac{1}{x}$. Domain all real numbers except $0$; range all real numbers except $0$.
The domain excludes $0$ because division by zero is undefined. The range excludes $0$ for a different reason: $\dfrac{1}{x} = 0$ has no solution, since a fraction is zero only when its numerator is, and this numerator is $1$.
The graph comes in two separate branches, one in each of the regions where $x$ is positive and where it is negative, and it never crosses either axis. The two axes are asymptotes: lines the curve approaches without ever reaching. The vertical one sits at the excluded input; the horizontal one sits at the missing output.
$y = |x|$. Domain all real numbers; range $y \geq 0$.
The absolute value of a number is its size with the sign discarded: $|5| = 5$ and $|-5| = 5$. Every input is acceptable, and the output is never negative, so the domain and range match those of $y = x^2$ exactly.
The graphs are not the same, though. $y = |x|$ is two straight half-lines meeting at a sharp corner at the origin; $y = x^2$ is a smooth curve that flattens as it approaches the origin. Near $x = 0.5$ they differ noticeably: $|0.5| = 0.5$ while $0.5^2 = 0.25$.
This is worth stating plainly because it is easy to slide past. Domain and range do not determine a function. They are a coarse description, useful for checking an answer and for knowing what a question can sensibly ask, but two very different functions can share both.
The six, gathered:
$y = x$: domain all reals, range all reals.
$y = x^2$: domain all reals, range $y \geq 0$.
$y = x^3$: domain all reals, range all reals.
$y = \sqrt{x}$: domain $x \geq 0$, range $y \geq 0$.
$y = \dfrac{1}{x}$: domain $x \neq 0$, range $y \neq 0$.
$y = |x|$: domain all reals, range $y \geq 0$.
Translations move these without changing their shape, and the arithmetic is direct.
Adding a constant outside shifts the range by that amount: $y = x^2 + 5$ has range $y \geq 5$, and its domain is untouched.
Adding a constant inside shifts the domain: $y = \sqrt{x - 4}$ has domain $x \geq 4$, and its range stays $y \geq 0$.
A minus sign in front reflects the range about zero: $y = -\sqrt{x}$ has domain $x \geq 0$ and range $y \leq 0$, with the inequality reversed.
Combining them is just applying each step in turn: $y = -\sqrt{x-4} + 1$ has domain $x \geq 4$, and its range starts from $\sqrt{x-4} \geq 0$, becomes $-\sqrt{x-4} \leq 0$, then $\leq 1$ after the $+1$. So the range is $y \leq 1$.
Watch Me Solve It · 3 examples
-
1Identify the base shapeIt is a square-root function, so the base is $y = \sqrt{x}$ with domain $x \geq 0$ and range $y \geq 0$.
-
2Handle the inside change for the domain$x + 5 \geq 0 \ \Rightarrow \ x \geq -5$The $+5$ is inside the root, so it changes which inputs are permitted.
-
3Handle the outside change for the range$\sqrt{x+5} \geq 0 \ \Rightarrow \ \sqrt{x+5} - 2 \geq -2$The $-2$ is applied to the output, so it lowers the whole range by $2$.
-
4Check the boundary is attained$f(-5) = 0 - 2 = -2$The value $-2$ is reached, so it is included. Domain $[-5,\infty)$, range $[-2,\infty)$.
-
1Domain from the denominator$x - 3 = 0 \ \Rightarrow \ x = 3 \ \text{excluded}$Domain is all real numbers except $3$.
-
2Range from the missing output$\frac{1}{x-3} \neq 0$The reciprocal part never equals zero, since its numerator is $1$.
-
3Apply the outside shift$\frac{1}{x-3} + 4 \neq 4$Adding $4$ moves the missing output from $0$ to $4$. So the range is all real numbers except $4$.
-
4Name the asymptotesThe vertical asymptote is $x = 3$, at the excluded input; the horizontal asymptote is $y = 4$, at the missing output. Each asymptote corresponds to one exclusion, which is a reliable way to check both answers at once.
-
1Range all real numbers$f(x) = x^3$Cubing keeps the sign and grows without limit in both directions, so every real value is produced. Any linear function with non-zero gradient also works.
-
2Range $y \geq 0$$f(x) = |x|$Absolute value accepts every input and never returns a negative, and $f(0) = 0$ so the boundary is attained. $x^2$ and $x^4$ also work.
-
3Range $y \leq 3$$f(x) = 3 - x^2$Since $x^2 \geq 0$, subtracting it from $3$ gives at most $3$, and $f(0) = 3$ is attained. The parabola opens downward with vertex at $(0,3)$.
-
4Note that the answers are not uniqueEach description is satisfied by infinitely many functions, since domain and range are a coarse description. $3 - |x|$ and $3 - x^4$ both also answer the third part.
Brain Trainer · 5 problems
Five items on the standard shapes. Work each one, then reveal the answer.
-
1 State the range of $y = x^4$.
An even power destroys the sign.$y \geq 0$ -
2 State the range of $y = x^5$.
An odd power keeps the sign.All real numbers -
3 State the domain of $y = \sqrt{x-7}$.
Solve $x - 7 \geq 0$.$x \geq 7$ -
4 State the range of $y = |x| + 2$.
The absolute value is at least zero, so add $2$.$y \geq 2$ -
5 State the range of $y = \dfrac{1}{x} - 6$.
The reciprocal never gives zero, so the shifted version never gives $-6$.All real numbers except $-6$
Multiple Choice · 5 questions
Which of these has range all real numbers?
The domain and range of $y = \dfrac{1}{x}$ are:
The range of $y = \sqrt{x-6}$ is:
The range of $y = -x^2 + 7$ is:
$y = x^2$ and $y = |x|$ have:
Short Answer · 3 questions
(a) $f(x) = x^3 - 8$
(b) $f(x) = (x-2)^2$
(c) $f(x) = \sqrt{9-x}$
(d) $f(x) = \dfrac{2}{x+1}$
(a) State the domain and range of $y = f(x) + 3$.
(b) State the domain and range of $y = f(x-3)$.
(c) State the domain and range of $y = -f(x)$.
(d) State the domain and range of $y = 5 - \sqrt{x+2}$, showing your reasoning step by step.
(b) Explain why the graph of $y = \dfrac{1}{x}$ has two asymptotes and say what each one corresponds to.
(c) Give two functions with domain all real numbers and range $y \leq -1$, and say what makes them different.
(d) Explain why no function of the six standard shapes has domain all real numbers and range a single number, and give a function that does.
(b) Explain why finding a range has no comparable general procedure, and describe the two techniques that usually work.
(c) Find the range of $f(x) = \dfrac{1}{x^2+1}$, showing your reasoning.
Odd powers
All inputs, all outputs
Even powers
All inputs, outputs one-sided
Roots and reciprocals
Cut domains, and matching cut ranges
Inside or outside
Inside moves the domain, outside moves the range
Your Badges
0 of 6Mark lesson as complete
Tick when you've finished Learn, Practice and the Stretch. Earns +90 XP and +25 coins.