From general form to vertex form
Leans on
Quick review (2 minutes)
The big picture: You will rewrite a quadratic so its vertex is visible.
General form: f(x) = a + bx + c, with a ≠ 0. Completing the square turns it into f(x) = a(x + + c − . So the vertex (h, k) has h = − and k = f(h). The number a is the same in both forms.
Use the completing-the-square rule on f(x) = 2 − 12x + 13. Factor 2 from the two x terms to get 2( − 6x) + 13. Completing the square needs a bare inside the parentheses; the 13 stays outside.
Find the missing term: half of −6 is −3, and (−3 = 9. Since (x − 3 = − 6x + 9, adding 9 completes the square.
Preserve the value by adding and subtracting the same number: 2( − 6x + 9 − 9) + 13. The added 9 and subtracted 9 cancel.
Rewrite the square and distribute the outside 2: 2(x − 3 − 18 + 13. The subtracted 9 becomes −18 because it was inside the factor of 2.
Combine −18 + 13 = −5 to get 2(x − 3 − 5. By the vertex form rule, h = 3 and k = −5, so the vertex is (3, −5).
Check by expanding: 2(x − 3 − 5 = 2( − 6x + 9) − 5 = 2 − 12x + 13. The original formula is recovered. The shortcut also gives h = = 3 and k = f(3) = −5.
Rewrite f(x) = 2 − 12x + 13 in vertex form and name the vertex.
f(x) = 2(x − 3 − 5
Vertex: (3, −5)
Wrong: move the subtracted square outside unchanged. Right: multiply it by a as it leaves the bracket.
Read a, b and c with their signs.
Factor a out of the first two terms; leave c outside.
Halve the coefficient of x inside, then square that half.
Add and subtract that square inside the bracket.
Rewrite the perfect square, then multiply the remaining inside constant by a.
Combine constants, read (h, k), and expand to check.
Read a and b, including their signs.
Compute h as negative b divided by twice a.
Substitute h into the original function to find k.
Write (h, k); use the same a to form a(x − h + k if requested.
Expand the vertex form to check the original coefficients.
quadratic function
A function whose highest power of x is . Its rule can be written f(x) = a + bx + c with a not zero, and its graph is a parabola.
parabola
The U-shaped curve that a quadratic function draws. It has one turning point, and its left half is the mirror image of its right half.
vertex
The turning point of a parabola: the lowest point when it opens up, the highest point when it opens down. In vertex form it is (h, k).
axis of symmetry
The vertical line through the vertex. Fold the parabola along it and the two halves land on each other. Its equation is x = h.
vertex form
A quadratic function written as f(x) = a(x − h + k. The vertex (h, k) and the way the parabola opens can be read straight from the rule.
general form
A quadratic function written as f(x) = a + bx + c, fully multiplied out. The number c is the y-intercept, and the vertex takes one short calculation.
minimum value
The smallest output a quadratic function reaches. It exists only when the parabola opens up, and it equals k, the y-value of the vertex.
1 In plain words
The big picture: You will rewrite a quadratic so its vertex is visible. Completing the square keeps every output the same. This uses the vertex form from the last lesson. Next, the vertex will tell you which outputs are possible.
A suitcase can hold the same clothes in two arrangements. General form, a + bx + c, shows the coefficients. Vertex form, a(x − h + k, puts the turning point in view. Completing the square rearranges the same function without changing its outputs.
2 Picture it
Reminder
Reminder: Completing the square, Factoring a number out, Distributing, Sign rules, Half of an odd number, and squaring a fraction, Adding a whole number to a fraction, Expanding a square, Reading h from vertex form, Evaluating a function, A minus in front of a square
- Completing the square. Half the number on x, then square it. + 6x = (x + 3 − 9, because half of 6 is 3 and = 9.
- Factoring a number out. Divide each term by the number and write it in front: 2 − 12x = 2( − 6x). Distribute back to test it.
- Distributing. A number in front of parentheses multiplies every term inside: 2( − 9) = 2 − 18.
- Sign rules. A negative times a negative is positive: (−2)(−9) = 18. A negative divided by a negative is positive: = 3.
- Half of an odd number, and squaring a fraction. Half of 5 is . To square a fraction, square the top and the bottom: ( = .
- Adding a whole number to a fraction. Write the whole number with the same bottom: − + 1 = − + = −.
- Expanding a square. (x − 3 means (x − 3)(x − 3) = − 6x + 9. It is not − 9 and not + 9.
- Reading h from vertex form. The form subtracts h. (x − 3 gives h = 3. (x + 2 is (x − (−2), so h = −2.
- Evaluating a function. f(3) means put 3 wherever x is. Square before multiplying: 2(3 = 2 × 9 = 18, not = 36.
- A minus in front of a square. − means −(). At x = 3 it is −9, not 9.
3 Why
Adding a number and subtracting it right away changes nothing, so the function stays the same while its look on the page changes. Factor a out of the first two terms: a( + x) + c. Half of is , and its square is . Add and subtract that square inside the parentheses. The first three terms fold into (x + . The subtracted square leaves the parentheses multiplied by a, as −. The result is a(x + + c − . Matching it to a(x − h + k gives h = −.
4 The rule
General form: , with .
Completing the square turns it into . So the vertex (h, k) has and . The number a is the same in both forms.
The same idea, five ways
Say the general form as: f of x equals a x squared, plus b x, plus c. Say the vertex formula as: h equals negative b over two a.
The general form of a quadratic function lists an term, an x term and a plain number. Completing the square rewrites it as a times a square plus a number, which is the vertex form, and the vertex sits at x equal to the opposite of b divided by twice a.
One suitcase packed two ways: the same contents, but in the second packing the thing you need, the vertex, is on top.
General form: f(x) = a + bx + c
Vertex form: f(x) = a(x − h + k
k = f(h)
Same a in both forms
The same idea, other ways
Draw + 4x as a square, x by x, with two strips beside it, each x long and 2 wide. Together they almost make a bigger square with side x + 2. One corner is missing: a 2 by 2 piece with area 4. Add the corner and you have (x + 2. Take the 4 away again so nothing has changed: + 4x = (x + 2 − 4. The side of the corner is always half the number on x.
You are 9 short of finishing a square, so you borrow 9 and pay it back in the same breath. Your balance has not changed, but now the square is finished. When a number a stands in front of the parentheses, the loan happened inside, where everything counts a times. So the payback that leaves the parentheses is a times as large. In 2( − 6x + 9 − 9), the −9 leaves as −18.
Take f(x) = 2 − 12x + 13. At x = 0 the output is 13. The output is 13 again wherever 2 − 12x = 0. Factor: 2x(x − 6) = 0, so x = 0 or x = 6. Two points at the same height sit as mirror images across the axis of symmetry, so the axis is halfway between them: halfway between 0 and 6 is 3. In letters the two points are x = 0 and x = −, and halfway between them is −. When b = 0 the two are one point, x = 0, and the axis is x = 0, which is −.
Expand the vertex form and compare it to the general form. (x − h = − 2hx + , so a(x − h + k = a − 2ahx + a + k. For this to equal a + bx + c, the x terms must match: −2ah = b. Divide both sides by −2a to get h = −. The plain numbers must match too: a + k = c, so k = c − a. With a = 2, b = −12, c = 13: h = 3 and k = 13 − 2(9) = −5.
Opposite of b, over twice a. That is the x-value of the vertex. Then put that x back into the function to get the y-value. For f(x) = 2 − 12x + 13: the opposite of −12 is 12, twice a is 4, and 12 ÷ 4 = 3. Then f(3) = 18 − 36 + 13 = −5. The vertex is (3, −5), found without completing the square.
| Step | With numbers: 2 − 12x + 13 | With letters: a + bx + c |
|---|---|---|
| Factor a out of the first two terms | ||
| Half of the number on x | ||
| The square of that half | 9 | |
| Add and subtract the square inside | ||
| Fold the square, move the leftover out times a | ||
| Read h | h = 3 | |
| Read k |
Part 1: Complete a square
What it asks: Rewrite a quadratic without changing its value.
The plan
- Read a, b and c with their signs.
- Factor a out of the first two terms; leave c outside.
- Halve the coefficient of x inside, then square that half.
- Add and subtract that square inside the bracket.
- Rewrite the perfect square, then multiply the remaining inside constant by a.
- Combine constants, read (h, k), and expand to check.
Tips and tricks
- Wrong: halve b before factoring out a. Right: halve the coefficient inside the bracket.
- Trick: a stays the same in both forms.
Part 2: Find only the vertex
What it asks: Use the coefficients when the question asks for the turning point.
The plan
- Read a and b, including their signs.
- Compute h as negative b divided by twice a.
- Substitute h into the original function to find k.
- Write (h, k); use the same a to form a(x − h + k if requested.
- Expand the vertex form to check the original coefficients.
Tips and tricks
- Wrong: give h as the maximum or minimum value. Right: that value is k = f(h).
- Trick: when only the vertex is needed, this route avoids completing the square.
5 How
- Use the completing-the-square rule on f(x) = 2 − 12x + 13. Factor 2 from the two x terms to get 2( − 6x) + 13. Completing the square needs a bare inside the parentheses; the 13 stays outside.
- Find the missing term: half of −6 is −3, and (−3 = 9. Since (x − 3 = − 6x + 9, adding 9 completes the square.
- Preserve the value by adding and subtracting the same number: 2( − 6x + 9 − 9) + 13. The added 9 and subtracted 9 cancel.
- Rewrite the square and distribute the outside 2: 2(x − 3 − 18 + 13. The subtracted 9 becomes −18 because it was inside the factor of 2.
- Combine −18 + 13 = −5 to get 2(x − 3 − 5. By the vertex form rule, h = 3 and k = −5, so the vertex is (3, −5).
- Check by expanding: 2(x − 3 − 5 = 2( − 6x + 9) − 5 = 2 − 12x + 13. The original formula is recovered. The shortcut also gives h = = 3 and k = f(3) = −5.
6 Worked example
Worked example
Completing the square with a number in front
Rewrite f(x) = 2 − 12x + 13 in vertex form and name the vertex.
What it asks. Rewrite the same function so its vertex is visible.
Show the steps and the answer
The plan. Factor out the leading coefficient, complete the square inside, then combine constants and read the vertex.
- Plan. Factor out the leading coefficient, complete the square inside, then combine constants and read the vertex.
- Read .The signs belong to the numbers. The x term is −12x, so b is −12.
- Factor 2 out of the first two terms only: .Completing the square needs a bare inside the parentheses. 2 ÷ 2 = and −12x ÷ 2 = −6x. The 13 stays outside.
- Take half of −6, which is −3, and square it: .(x − 3 expands to − 6x + 9, so 9 is the piece that − 6x is missing.
- Add and subtract 9 inside the parentheses: .Adding 9 and subtracting 9 together add 0, so the function is unchanged.
- Fold the first three terms into a square and move the −9 out, multiplied by 2: . − 6x + 9 = (x − 3. The −9 sat inside parentheses that are multiplied by 2, so it leaves as 2 × (−9) = −18.
- Combine the plain numbers: . So .Start at −18 on the number line and move up 13. You land on −5.
- Read the vertex: and .The pattern is a(x − h + k. Here x − 3 shows h = 3, and the number added at the end is k = −5.
- Vertex: (3, −5)
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 7
No number in front, no constant
Rewrite f(x) = + 4x in vertex form and name the vertex.
What it asks. Convert general form to vertex form and name the vertex.
Show the steps and the answer
The plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
- Plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
- Read .The number in front of is 1, so nothing needs factoring out. There is no plain number, so c = 0.
- Half of 4 is 2. Square it: .(x + 2 expands to + 4x + 4, so 4 is the piece that + 4x is missing.
- Add and subtract 4: .Adding 4 and taking 4 away leaves the function unchanged.
- Fold the first three terms: .
- Read the vertex: is , so and .Vertex form subtracts h, so a plus sign inside the square means h is negative.
- Vertex: (−2, −4)
Rung 2 of 7
A negative b and a constant
Rewrite f(x) = − 8x + 10 in vertex form and name the vertex.
What it asks. Convert general form to vertex form and name the vertex.
Show the steps and the answer
The plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
- Plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
- Read .The x term is −8x, so b carries the minus sign.
- Half of −8 is −4. Square it: .(x − 4 expands to − 8x + 16, so 16 completes the square.
- Add and subtract 16 right after the x term: .The +16 and −16 cancel, so the function is unchanged. The 10 waits at the end.
- Fold the first three terms: .
- Combine . So .Start at −16 and move up 10 to land on −6.
- Read the vertex: .x − 4 shows h = 4, and the number at the end is k.
- Vertex: (4, −6)
Rung 3 of 7
An odd b, so fractions appear
Rewrite f(x) = + 5x + 1 in vertex form and name the vertex.
What it asks. Convert general form to vertex form and name the vertex.
Show the steps and the answer
The plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
- Plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
- Read .No factoring is needed because a = 1.
- Half of 5 is . Square it: .Squaring a fraction squares the top and the bottom: = 25 and = 4. Keep the fraction exact, do not round.
- Add and subtract : .The two fractions cancel, so the function is unchanged.
- Fold the first three terms: .
- Combine .To add a whole number to quarters, write 1 as . Then −25 + 4 = −21 on top.
- Write and read .A plus sign inside the square means h is negative.
- Vertex: (−, −)
Rung 4 of 7
A number in front of
Rewrite f(x) = 3 + 12x + 7 in vertex form and name the vertex.
What it asks. Convert general form to vertex form and name the vertex.
Show the steps and the answer
The plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
- Plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
- Read .Now a is not 1, so one extra step is needed.
- Factor 3 out of the first two terms only: .3 ÷ 3 = and 12x ÷ 3 = 4x. The 7 stays outside.
- Half of 4 is 2. Square it: .Halve the number on x inside the parentheses, which is 4. Do not halve the original 12.
- Add and subtract 4 inside: .Inside the parentheses, +4 − 4 adds 0.
- Fold the square and move the −4 out times 3: . + 4x + 4 = (x + 2, and 3 × (−4) = −12.
- Combine . So , and the vertex is .x + 2 is x − (−2), so h = −2. The number at the end is k.
- Vertex: (−2, −5)
Rung 5 of 7
A negative in front
Rewrite f(x) = − + 6x − 4 in vertex form and name the vertex.
What it asks. Convert general form to vertex form and name the vertex.
Show the steps and the answer
The plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
- Plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
- Read .− means −1 times , so a = −1.
- Factor −1 out of the first two terms: .− ÷ (−1) = and 6x ÷ (−1) = −6x. Distribute back to test it: −( − 6x) = − + 6x.
- Half of −6 is −3. Square it: .(x − 3 expands to − 6x + 9.
- Add and subtract 9 inside: .Inside the parentheses, +9 − 9 adds 0.
- Fold the square and move the −9 out times −1: .(−1) × (−9) = +9. A negative times a negative is positive.
- Combine . So , and the vertex is (3, 5).x − 3 shows h = 3, and the number at the end is k = 5. Since a is negative, the parabola opens down.
- Vertex: (3, 5)
Rung 6 of 7
A negative in front and fractions
Rewrite f(x) = −2 + 6x + 1 in vertex form and name the vertex.
What it asks. Convert general form to vertex form and name the vertex.
Show the steps and the answer
The plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
- Plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
- Read .Each number keeps its sign.
- Factor −2 out of the first two terms: .−2 ÷ (−2) = and 6x ÷ (−2) = −3x.
- Half of is . Square it: .A negative squared is positive, and squaring a fraction squares top and bottom.
- Add and subtract inside: .Inside the parentheses the two fractions add 0.
- Fold the square and move out times : .(−2) × (−) = = . A negative times a negative is positive.
- Combine . So .Write 1 as so both numbers are in halves.
- Read the vertex: .x − shows h, and the number at the end is k.
- Vertex: (, )
Rung 7 of 7
The formula first, then the vertex form
For f(x) = − 3x + 2, find the vertex with h = −, then write the vertex form.
What it asks. Find the vertex directly and use it to write vertex form.
Show the steps and the answer
The plan. Compute h as negative b divided by twice a. Evaluate f(h) for k and keep the original a.
- Plan. Compute h as negative b divided by twice a. Evaluate f(h) for k and keep the original a.
- Read .The formula needs a and b with their signs.
- Compute .This finds the x-value of the vertex. The opposite of −3 is 3, and 2 × = 1.
- Compute .The vertex is a point on the graph, so its y-value is the output when the input is 3. Write 7 as to subtract in halves.
- Write the vertex form: .The a is the same in both forms, and h and k go into their slots.
- Vertex: (3, −)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- For the vertex alone, use h = − and k = f(h).
- The leading coefficient a stays the same in both forms.
- Check x = 0 in both forms. Expanding checks every coefficient.
7 The trap
Wrong: move the subtracted square outside unchanged. Right: multiply it by a as it leaves the bracket.
Flash cards
Say the answer out loud, then flip.
General form and vertex form are like one suitcase packed two ways. What stays the same, and what changes?
- The function stays the same, and so does the number a.
- Only the look changes: vertex form puts the vertex (h, k) on top.
Use the shortcut to find the vertex of f(x) = 2 − 12x + 13.
- Vertex: (3, −5)
In 2( − 6x + 9 − 9) + 13, what does the −9 become when it leaves the parentheses?
- It becomes −18, not −9.
- Everything inside the parentheses is multiplied by 2, so it leaves as 2 × (−9). Times a on the way out.
A vertex form reads f(x) = (x + 4 − 6. What is the vertex?
- The form is a(x − h + k, so a plus sign inside the square means h is negative: x + 4 is x − (−4).
From earlier
The vertex form f(x) = a(x - h)^2 + k
Show answer
The axis of symmetry is x = 2.
Reason: x = 2 makes the bracket 0, so h = 2. The number outside the bracket is + 7, so k = 7. Think of the bowl slid 2 to the right and lifted 7.
The vertex form f(x) = a(x - h)^2 + k
Show answer
h = −5, because x = −5 makes the bracket 0.
k = −1, read as written.
The vertex is (−5, −1). Since a is negative, the bowl is turned upside down: it opens down and the vertex is the highest point.