Cubics and transformations of graphs
Graphs of y = x³ and factorised cubics, x- and y-intercepts, and translations, reflections and dilations of any graph.
Once you know a few basic shapes, you don't need a new method for every equation. Most graphs are a basic shape moved, flipped or stretched. This section adds the cubic to your collection, then gives the rules for moving any graph around.
The cubic $y = x^3$
$y = x^3$ passes through $(-2, -8)$, $(-1, -1)$, $(0, 0)$, $(1, 1)$ and $(2, 8)$. It rises from bottom left to top right, flattening out at the origin before rising again. That flat point is a point of inflection, where the curve changes the way it bends.
$y = (x - h)^3 + k$ is the same shape with its point of inflection moved to $(h, k)$. $y = -x^3$ is reflected, so it falls from top left to bottom right.
Factorised cubics
For $y = a(x - p)(x - q)(x - r)$:
- The $x$-intercepts are $p$, $q$ and $r$, because each bracket can be zero.
- The $y$-intercept comes from putting $x = 0$.
- If $a \gt 0$ the graph starts low on the left and ends high on the right. If $a \lt 0$ it starts high and ends low.
Sketch $y = (x - 1)(x + 2)(x - 3)$.
A repeated factor such as $(x - 2)^2$ means the graph touches the $x$-axis at $x = 2$ and turns back, instead of crossing. For example, $y = (x - 2)^2(x + 1)$ crosses at $-1$ and touches at $2$.
Transformations
Why does $f(x - h)$ move the graph right? The new graph reaches each height $h$ units later. For example, $y = (x - 3)^2$ only reaches $0$ when $x = 3$, while $y = x^2$ reaches $0$ at $x = 0$.
Faint: y = f(x) = x³ − 3x, with turning points (−1, 2) and (1, −2). Orange: y = a f(x − h) + k.
Predict first: where does the turning point $(1, -2)$ end up for $y = f(x - 2) + 3$? Set the sliders to check. Then set $a = -1$ with $h = k = 0$. Which turning point is now the maximum?
The graph of $y = x^2$ is reflected in the $x$-axis, then shifted $1$ left and $3$ up. Find its equation and turning point.
Your turn
Sketch $y = -(x + 2)(x - 1)^2$: find the intercepts and describe the shape.
Show the working
$x$-intercepts: $-2$ (crosses) and $1$ (touches, because of the squared bracket). $y$-intercept: $-(2)(1) = -2$. The $x^3$ term is negative, so the graph starts high on the left, comes down through $-2$, turns below the axis, rises to touch the axis at $1$, then falls away to the right.
Which describes $y = x^3$?
Negative $x$ gives negative $y$ and positive $x$ gives positive $y$, with a point of inflection at $(0, 0)$.
Find the $x$-intercepts of $y = (x - 1)(x + 2)(x - 3)$. Enter all three separated by &.
Each bracket can be zero: $x = 1$, $x = -2$, $x = 3$.
Find the $y$-intercept of $y = 2(x + 1)(x - 3)(x - 4)$.
Put $x = 0$: $2(1)(-3)(-4) = 24$.
The graph of $y = -(x + 1)(x - 2)(x - 4)$:
The leading coefficient is $-1$, so the cubic starts high and ends low. All three factors are different, so it crosses the axis at each.
The graph of $y = (x - 2)^2(x + 1)$ at $x = 2$:
The factor $(x - 2)$ is squared, so the graph touches the axis there without crossing.
Find the point of inflection of $y = (x - 2)^3 + 5$. Enter it as $x, y$.
It is $y = x^3$ shifted $2$ right and $5$ up, so the point of inflection moves from $(0, 0)$ to $(2, 5)$.
The graph of $y = f(x + 3)$ is the graph of $y = f(x)$:
$f(x + 3) = f(x - (-3))$, so $h = -3$: a shift left.
$y = f(x)$ has a turning point at $(1, -2)$. What is the $y$-coordinate of the matching turning point on $y = f(x) + 4$?
Adding $4$ moves every point up $4$: $-2 + 4 = 2$.
Challenge: $y = x^2$ is shifted $3$ left, then reflected in the $x$-axis, then shifted $4$ up. Find the turning point of the new graph. Enter it as $x, y$.
$y = (x + 3)^2$, then $y = -(x + 3)^2$, then $y = -(x + 3)^2 + 4$. Turning point $(-3, 4)$.
Challenge: $y = f(x)$ has a turning point at $(2, 5)$. Find the matching point on $y = -f(x + 3)$. Enter it as $x, y$.
$f(x + 3)$ shifts left $3$: $(2, 5) \to (-1, 5)$. The minus sign reflects in the $x$-axis: $(-1, 5) \to (-1, -5)$.
Coaching Centre