Completing the square and the graph
Complete the square for monic and non-monic quadratics, read the vertex from vertex form, and sketch any parabola, with a live vertex-form graph.
Factoring only works when the zeroes are nice numbers. Completing the square works for every quadratic, and it gives you the vertex first, which is exactly what you need for maximum and minimum problems.
Completing the square when $a = 1$
You did this for equations in 1D. For a function the idea is the same: since $(x + p)^2 = x^2 + 2px + p^2$, adding the square of half the coefficient of $x$ turns $x^2 + bx$ into a perfect square. To keep the function unchanged, add that number and subtract it again.
Write $y = x^2 - 8x + 3$ in the form $y = (x - h)^2 + k$.
Reading the vertex
Finding the zeroes
Put $y = 0$, move the constant across and take square roots. The completed square shows at once how many zeroes there are.
Find the zeroes of (a) $y = x^2 - 4x - 1$ (b) $y = x^2 + 6x + 11$ (c) $y = x^2 - 10x + 25$.
When $a \ne 1$
Take $a$ out of the $x^2$ and $x$ terms only, complete the square inside the bracket, then multiply back out.
Complete the square for $y = 2x^2 - 12x + 7$ and state the vertex.
Quadratics with a given vertex
Every parabola with vertex $(h, k)$ has the form $y = a(x - h)^2 + k$. Changing $a$ changes the width and direction but not the vertex, so you need one more point to find $a$.
The vertex stays at (2, −8) as a changes.
Find the value of $a$ that makes the parabola pass through $(0, 4)$. Then check it algebraically: substitute $x = 0$ and $y = 4$ into $y = a(x - 2)^2 - 8$.
Your turn
Complete the square for $y = x^2 + 5x + 2$, and find its zeroes in exact form.
Show the working
Half of $5$ is $\tfrac52$, and $\left(\tfrac52\right)^2 = \tfrac{25}{4}$. So $y = \left(x + \tfrac52\right)^2 - \tfrac{25}{4} + 2 = \left(x + \tfrac52\right)^2 - \tfrac{17}{4}$. The vertex is $\left(-\tfrac52, -\tfrac{17}{4}\right)$.
Zeroes: $\left(x + \tfrac52\right)^2 = \tfrac{17}{4}$, so $x + \tfrac52 = \pm\tfrac{\sqrt{17}}{2}$ and $x = \dfrac{-5 \pm \sqrt{17}}{2}$.
What number must be added to $x^2 + 10x$ to make a perfect square?
Half of $10$ is $5$, and $5^2 = 25$: $x^2 + 10x + 25 = (x + 5)^2$.
$x^2 - 8x + 3 =$
Add and subtract $16$: $(x^2 - 8x + 16) - 16 + 3 = (x - 4)^2 - 13$.
Find the vertex of $y = (x + 3)^2 - 5$. Enter it as $x, y$.
$(x + 3)^2 = (x - (-3))^2$, so $h = -3$ and $k = -5$.
$y = x^2 - 4x - 1$. Find the larger zero, correct to 2 decimal places.
$y = (x - 2)^2 - 5$. Setting $y = 0$: $x = 2 \pm \sqrt5$. The larger is $2 + \sqrt5 \approx 4.24$.
The vertex of $y = x^2 + x + 1$ is:
Half of $1$ is $\tfrac12$: $y = \left(x + \tfrac12\right)^2 - \tfrac14 + 1 = \left(x + \tfrac12\right)^2 + \tfrac34$. The vertex is above the axis and the curve opens up, so there are no zeroes.
$2x^2 - 12x + 7 = 2(x - 3)^2 + k$. Find $k$.
$2(x^2 - 6x + 9 - 9) + 7 = 2(x - 3)^2 - 18 + 7$, so $k = -11$.
The range of $y = -(x - 1)^2 + 4$ is:
$a = -1 \lt 0$, so the vertex $(1, 4)$ is a maximum.
Complete the square for $y = 3x^2 + 6x + 1$. Enter the $y$-coordinate of the vertex.
$y = 3(x^2 + 2x + 1 - 1) + 1 = 3(x + 1)^2 - 3 + 1 = 3(x + 1)^2 - 2$. The vertex is $(-1, -2)$.
Exam style: a parabola has vertex $(2, -8)$ and passes through $(0, 4)$. Its equation is $y = a(x - 2)^2 - 8$. Find $a$.
Substitute $(0, 4)$: $4 = a(0 - 2)^2 - 8 = 4a - 8$, so $4a = 12$ and $a = 3$.
Exam style: $y = x^2 + px + q$ has vertex $(3, -4)$. Find $q$.
A monic quadratic with vertex $(3, -4)$ is $y = (x - 3)^2 - 4 = x^2 - 6x + 9 - 4 = x^2 - 6x + 5$. So $p = -6$ and $q = 5$.
Coaching Centre