3G

Powers, square roots, cubics and circles

Sketch y = x^n, y = √x, cubics from their factors, and circles and semicircles, including completing the square to find centre and radius.

Parabolas are only the start. This section adds the other graphs you are expected to sketch from memory. Most later sketching, including the transformations in Chapter 5, starts from one of these basic shapes.

The square root curve

Square both sides of $y = \sqrt x$ and you get $y^2 = x$, a parabola lying on its side. But $\sqrt x$ means the root that is not negative, so only the top half of that parabola is kept. The domain is $x \ge 0$ and the range is $y \ge 0$. It passes through $(0, 0)$, $(1, 1)$, $(4, 2)$ and $(9, 3)$, rising more and more slowly.

Powers of $x$

$y = x^3$ is negative for negative $x$, zero at $0$ and positive for positive $x$. Near the origin it is very flat: $x = 0.1$ gives $y = 0.001$. The curve flattens out at the origin and keeps going in the same direction. This is called a horizontal inflection.

$y = x^4$ is never negative, so the origin is a turning point, like the vertex of $y = x^2$ but flatter.

Odd powers $x^3, x^5, \ldots$

Through $(-1, -1)$, $(0, 0)$, $(1, 1)$. Bottom-left to top-right. Horizontal inflection at $O$.

Even powers $x^2, x^4, \ldots$

Through $(-1, 1)$, $(0, 0)$, $(1, 1)$. Both ends up. Turning point at $O$.

Compare powers of x

Orange: y = xⁿ. Faint blue: y = x² for comparison.

Try this
  • Predict first: for $0 \lt x \lt 1$, is $x^5$ above or below $x^2$? Check with $n = 5$.
  • Now look at $x \gt 1$. Why does the order flip at $x = 1$?

The reason: for $0 \lt x \lt 1$, multiplying by $x$ makes a number smaller, so higher powers are smaller. For $x \gt 1$ multiplying by $x$ makes it bigger.

Sketching a factored cubic

For a cubic such as $y = (x + 1)(x - 2)(x - 4)$ we can't find the turning points yet (that needs calculus), but the factors give the zeroes, and a cubic has no breaks. So it can only change sign at a zero. A table of signs, using test values between the zeroes, gives the shape.

Example 1●●

Sketch $y = (x + 1)(x - 2)(x - 4)$.

Zeroes $-1$, $2$, $4$. $y$-intercept: $(1)(-2)(-4) = 8$.
Each factor gives a zero.
Between the zeroes, $y$ is negative at $x = -2$, positive at $x = 0$, negative at $x = 3$ and positive at $x = 5$.
Pick test values that dodge the zeroes. The signs are in the table below.
Draw a smooth curve: up through $-1$, over a hump, down through $2$, a dip, then up through $4$.
Expanding would give +x³, so it rises from bottom-left to top-right, crossing at each zero.
$x$$-2$$-1$$0$$2$$3$$4$$5$
$y$$-24$$0$$8$$0$$-4$$0$$18$
sign$-$$0$$+$$0$$-$$0$$+$

A squared factor gives a double zero. The sign does not change there, so the curve touches the axis and turns back, just as a parabola does at a double zero.

Cubics from their zeroes

It starts on y = −½(x − 1)²(x − 4), which has a double zero at x = 1.

Try this
  • What does the curve do at the double zero $x = 1$? Now pull $\beta$ away to $2$. What changes?
  • Make all three zeroes equal. What happens at that point?
  • Make $a$ positive. Which ends of the graph change?

Circles and semicircles

A point $(x, y)$ is on the circle with centre $O$ and radius $r$ exactly when its distance from $O$ is $r$. Pythagoras turns that into an equation:

Circles
$$x^2 + y^2 = r^2 \quad \text{(centre } O\text{)} \qquad (x - h)^2 + (y - k)^2 = r^2 \quad \text{(centre } (h, k)\text{)}$$

A circle fails the vertical line test. Solving $x^2 + y^2 = r^2$ for $y$ or for $x$ splits it into four semicircles:

EquationHalfDomainRangeFunction?
$y = \sqrt{r^2 - x^2}$upper$[-r, r]$$[0, r]$yes
$y = -\sqrt{r^2 - x^2}$lower$[-r, r]$$[-r, 0]$yes
$x = \sqrt{r^2 - y^2}$right$[0, r]$$[-r, r]$no
$x = -\sqrt{r^2 - y^2}$left$[-r, 0]$$[-r, r]$no
Example 2●●

Find the centre and radius of $x^2 + y^2 + 6x - 2y - 15 = 0$.

$x^2 + 6x + y^2 - 2y = 15$
Group the x terms and the y terms, and move the constant across.
$(x^2 + 6x + 9) + (y^2 - 2y + 1) = 15 + 9 + 1$
Complete the square in x (add 9) and in y (add 1). Add both to the right side to keep it balanced.
$(x + 3)^2 + (y - 1)^2 = 25$, so the centre is $(-3, 1)$ and the radius is $5$.

Your turn

Sketch $y = x^2(x - 3)$ by finding the zeroes and testing signs.

Show the working

Zeroes: $x = 0$ (double) and $x = 3$ (single). Test: $x = -1$ gives $-4$, $x = 1$ gives $-2$, $x = 4$ gives $16$. So the curve comes up from bottom-left, touches the axis at $O$ and turns back down, then rises to cross at $x = 3$.

Flashcards
Domain and range of $y = sqrt x$
Domain $x \ge 0$, range $y \ge 0$.
Circle, centre $(h, k)$, radius $r$
$(x - h)^2 + (y - k)^2 = r^2$
Double zero on a cubic
The curve touches the $x$-axis and turns back.
Practice
  1. Which graph passes through $(-1, 1)$?

  2. Find the radius of the circle $x^2 + y^2 = 1.44$.

  3. Find the $y$-intercept of $y = (x + 1)(x - 2)(x - 4)$.

  4. For $2 \lt x \lt 4$, the cubic $y = (x + 1)(x - 2)(x - 4)$ is:

  5. At $x = 1$, the graph of $y = -(x - 1)^2(x - 4)$:

  6. Find the minimum value in the range of $y = -\sqrt{25 - x^2}$.

  7. Find the centre of $x^2 + y^2 + 6x - 2y - 15 = 0$. Enter it as $x, y$.

  8. Find the radius of $x^2 + y^2 - 8y = 0$.

  9. Exam style: the cubic $y = a(x + 2)(x - 1)(x - 3)$ has $y$-intercept $12$. Find $a$.

  10. Exam style: the graph of $x = \sqrt{9 - y^2}$ is:

Formula sheet