Relationship between y = f(x) and y = |f(x)|
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 |
|---|---|
| modulus/ˈmɒdjʊləs/ | The non-negative magnitude of a number; for a real number, its distance from zero. |
| cubic/ˈkjuːbɪk/ | |
| reflect/rɪˈflekt/ | |
| vertex/ˈvɜːteks/ | A corner or meeting point of edges, a turning point of a parabola, or a node in a graph, depending on the context. |
| solution/səˈluːʃn/ | A value, set of values or function that satisfies an equation, inequality or other mathematical condition. |
| coordinates/kəʊˈɔːdɪnəts/ | Ordered values specifying the position of a point relative to a chosen system. |
One rule for every modulus 模 graph
- A modulus graph looks new, but it is the old graph with one change.
- Learn the rule once and use it for lines, quadratics, cubics 三次函数 and trigonometric graphs.
The rule
- The modulus $|a|$ is the size of $a$ without its sign, so $|f(x)|$ is never negative.
- Sketch $y = f(x)$, keep the parts on or above the $x$-axis, and reflect 作对称变换 the parts below it: $(a, -b)$ moves to $(a, b)$. Label axis points and turning points.
$|-7| + |3|$ = ?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$7 + 3 = 10$.
A line and a quadratic

- $|2x - 4|$ is a V with vertex 顶点 $(2, 0)$ and $y$-intercept 4.
- $|(x - 1)(x - 5)|$: the minimum $(3, -4)$ becomes a maximum $(3, 4)$; $y$-intercept 5.
Where is the vertex of the graph $y = |2x - 4|$?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$2x - 4 = 0$ at $x = 2$.
$y = (x - 1)(x - 5)$ has minimum $(3, -4)$. What is the point on $y = |(x - 1)(x - 5)|$?
Difficulty 1/5 · 100 coins + a small bonus on first completion today
The part below the axis is reflected, so the minimum becomes a maximum.
Counting solutions 解 of $|f(x)| = k$
- Draw $y = k$ and count the crossings.
| $k$ | $0$ | $0 < k < 4$ | $4$ | $k > 4$ |
|---|---|---|---|---|
| solutions | 2 | 4 | 3 | 2 |
- The count changes at the height of the reflected turning point.
How many solutions does $|(x - 1)(x - 5)| = 2$ have?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$0 < 2 < 4$, so the line $y = 2$ crosses the graph four times.
How many solutions does $|(x - 1)(x - 5)| = 4$ have?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
The line touches the reflected maximum once and crosses the two outer branches.
Trigonometric graphs

- $y = 2\cos x - 1$ dips to $-3$; reflected 作对称变换, $(\pi, -3)$ becomes $(\pi, 3)$.
- Range: $0 \leqslant |2\cos x - 1| \leqslant 3$.
The range of $y = |2\cos x - 1|$ for $0 \leqslant x \leqslant 2\pi$ is $0 \leqslant y \leqslant k$. Find $k$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
The minimum $-3$ is reflected to $3$.
A reflected minimum becomes a maximum. Label its new coordinates 坐标; examiners look for them.
To sketch $y = |f(x)|$, reflect every part below the $x$-axis. Count solutions of $|f(x)| = k$ with a horizontal line; the count changes at turning-point heights.
What went wrong? Only the site team sees this.