Domain and range of functions
Introduced
7:09
Topic 1: Functions
A function gives exactly one output for each input. The domain is the set of inputs you are allowed to use, and the range is the set of outputs you get. When a…
English narration · English and 中文 subtitles you can switch
In this lesson
| English | Meaning |
|---|---|
| range/reɪndʒ/ | The set of output values actually attained by a function on its stated domain. |
| check/tʃek/ | |
| domain/dəˈmeɪn/ | The set of input values for which a function is defined. |
| turning point/ˈtɜːnɪŋ pɔɪnt/ | |
| completing the square/kəmˈpliːtɪŋ ðə skweə/ | Rewriting a quadratic expression as a squared linear expression plus or minus a constant. |
| root/ruːt/ | Values of a variable that make an equation or polynomial expression equal to zero. |
Where most marks are lost
- "State the range" seems easy, but candidates often check 检验 only the ends of the domain and miss a turning point 极值点.
- Always look at the whole domain.
The range on a domain

- Sketch the graph over the domain only, then find its lowest and highest points: the ends and any turning point 极值点 inside.
- Here $f(0) = 5$, $f(5) = 10$, but the turning point gives 1: range $1 \leqslant f(x) \leqslant 10$.
$f(x) = (x - 2)^2 + 1$ for $0 \leqslant x \leqslant 5$. What is the range?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
The turning point at $x = 2$ gives the least value 1, inside the domain.
Completing the square 配方法
- Write a quadratic as $(x + p)^2 + q$. A square is never negative, so the least value is $q$.
$x^2 - 8x + 3 = (x - 4)^2 - 16 + 3 = (x - 4)^2 - 13$, so $f(x) \geqslant -13$.
$f(x) = x^2 - 8x + 3$ for $x \in \mathbb{R}$. The range is $f(x) \geqslant k$. Find $k$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$(x - 4)^2 - 13$, so the least value is $-13$.
Which inputs are allowed
- $e^x > 0$ for every $x$, never 0, so $3e^x + 2 > 2$ with a strict $>$.
- A square root 根 needs a non-negative number; $\ln x$ needs $x > 0$. So $\sqrt{x - 3}$ needs $x \geqslant 3$.
What is the range of $3e^x + 2$ for $x \in \mathbb{R}$?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$e^x > 0$ but never reaches 0, so the inequality is strict.
The largest domain of $h(x) = \sqrt{x - 3}$ is $x \geqslant k$. Find $k$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$x - 3 \geqslant 0$.
Inverses swap domain and range
- Domain 定义域 of $f^{-1}$ = range of $f$; range of $f^{-1}$ = domain of $f$.
- $f(x) = (x - 2)^2 + 1$, $x \geqslant 2$: $f^{-1}$ has domain $x \geqslant 1$ and range $f^{-1}(x) \geqslant 2$.
$f(x) = (x - 2)^2 + 1$ for $x \geqslant 2$. The domain of $f^{-1}$ is $x \geqslant k$. Find $k$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
Domain of $f^{-1}$ = range of $f$, which is $f(x) \geqslant 1$.
When does $gf$ exist?
- $gf$ exists only if the range of $f$ lies inside the domain of $g$.
- To find the range 值域 of $gf$, put the range of $f$ into $g$: $f(x) \geqslant 2$ and $g(2) = 5$ give $gf(x) \geqslant 5$.
$f(x) = x^2 + 2$ and $g(x) = 3x - 1$, both for $x \in \mathbb{R}$. The range of $gf$ is $gf(x) \geqslant k$. Find $k$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
Range of $f$ is $f(x) \geqslant 2$; $g(2) = 5$ and $g$ is increasing.
Explain when the composite function $gf$ exists.
Follow the outputs of $f$.
Check for a turning point inside the domain. The ends alone gave $5 \leqslant f(x) \leqslant 10$, which is wrong.
Find a range from the graph over the domain: ends and turning points 极值点. Complete the square for quadratics; watch strict inequalities. Inverses swap domain and range; $gf$ needs range of $f$ ⊆ domain of $g$.
What went wrong? Only the site team sees this.