Quarry School

From general form to vertex form

Subject: MathematicsLeans on: Completing the squareLeans on: Factoring a number outLeans on: DistributingLeans on: Sign rulesLeans on: Half of an odd number, and squaring a fractionLeans on: Adding a whole number to a fractionLeans on: Expanding a squareLeans on: Reading h from vertex formLeans on: Evaluating a functionLeans on: A minus in front of a square
Level 1 · FoundationsAbout 19 min read4 new termsKeystone idea. Later lessons build on this one.
How this was estimated

Programmatic estimate. Rung levels, worked steps, prerequisites, terms and sentence length contribute to this level. It describes the lesson, not your ability.

Reading counts the whole lesson, including folded explanations, at 180 words a minute. Practice allows two minutes per item. These are planning assumptions; take the time you need.

AI estimate unavailable.

Path to here

Open the unit’s lesson list to follow the lesson order.

    Leans on

    Quick review (2 minutes)

    In plain words

    The big picture: You will rewrite a quadratic so its vertex is visible.

    Rule

    General form: f(x) = ax2 + bx + c, with a ≠ 0. Completing the square turns it into f(x) = a(x + b2a)2 + c − b24a. So the vertex (h, k) has h = −b2a and k = f(h). The number a is the same in both forms.

    Step

    1. Use the completing-the-square rule on f(x) = 2x2 − 12x + 13. Factor 2 from the two x terms to get 2(x2 − 6x) + 13. Completing the square needs a bare x2 inside the parentheses; the 13 stays outside.

    2. Find the missing term: half of −6 is −3, and (−3)2 = 9. Since (x − 3)2 = x2 − 6x + 9, adding 9 completes the square.

    3. Preserve the value by adding and subtracting the same number: 2(x2 − 6x + 9 − 9) + 13. The added 9 and subtracted 9 cancel.

    4. Rewrite the square and distribute the outside 2: 2(x − 3)2 − 18 + 13. The subtracted 9 becomes −18 because it was inside the factor of 2.

    5. Combine −18 + 13 = −5 to get 2(x − 3)2 − 5. By the vertex form rule, h = 3 and k = −5, so the vertex is (3, −5).

    6. Check by expanding: 2(x − 3)2 − 5 = 2(x2 − 6x + 9) − 5 = 2x2 − 12x + 13. The original formula is recovered. The shortcut also gives h = −(−12)2×2 = 3 and k = f(3) = −5.

    Question

    Rewrite f(x) = 2x2 − 12x + 13 in vertex form and name the vertex.

    Answer

    f(x) = 2(x − 3)2 − 5
    Vertex: (3, −5)

    Trap

    Wrong: move the subtracted square outside unchanged. Right: multiply it by a as it leaves the bracket.

    Strategy

    1. Read a, b and c with their signs.

    2. Factor a out of the first two terms; leave c outside.

    3. Halve the coefficient of x inside, then square that half.

    4. Add and subtract that square inside the bracket.

    5. Rewrite the perfect square, then multiply the remaining inside constant by a.

    6. Combine constants, read (h, k), and expand to check.

    Strategy

    1. Read a and b, including their signs.

    2. Compute h as negative b divided by twice a.

    3. Substitute h into the original function to find k.

    4. Write (h, k); use the same a to form a(x − h)2 + k if requested.

    5. Expand the vertex form to check the original coefficients.

    Term

    quadratic function

    Definition

    A function whose highest power of x is x2. Its rule can be written f(x) = ax2 + bx + c with a not zero, and its graph is a parabola.

    Term

    parabola

    Definition

    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.

    Term

    vertex

    Definition

    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).

    Term

    axis of symmetry

    Definition

    The vertical line through the vertex. Fold the parabola along it and the two halves land on each other. Its equation is x = h.

    Term

    vertex form

    Definition

    A quadratic function written as f(x) = a(x − h)2 + k. The vertex (h, k) and the way the parabola opens can be read straight from the rule.

    Term

    general form

    Definition

    A quadratic function written as f(x) = ax2 + bx + c, fully multiplied out. The number c is the y-intercept, and the vertex takes one short calculation.

    Term

    minimum value

    Definition

    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, ax2 + bx + c, shows the coefficients. Vertex form, a(x − h)2 + k, puts the turning point in view. Completing the square rearranges the same function without changing its outputs.

    2 Picture it

    (3, −5)(0, 13)(6, 13)246−44812(3, −5)(0, 13)(6, 13)−11234567−44812
    y=2(x−3)2−5.

    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. x2 + 6x = (x + 3)2 − 9, because half of 6 is 3 and 32 = 9.
    • Factoring a number out. Divide each term by the number and write it in front: 2x2 − 12x = 2(x2 − 6x). Distribute back to test it.
    • Distributing. A number in front of parentheses multiplies every term inside: 2(x2 − 9) = 2x2 − 18.
    • Sign rules. A negative times a negative is positive: (−2)(−9) = 18. A negative divided by a negative is positive: −6−2 = 3.
    • Half of an odd number, and squaring a fraction. Half of 5 is 52. To square a fraction, square the top and the bottom: (52)2 = 254.
    • Adding a whole number to a fraction. Write the whole number with the same bottom: −254 + 1 = −254 + 44 = −214.
    • Expanding a square. (x − 3)2 means (x − 3)(x − 3) = x2 − 6x + 9. It is not x2 − 9 and not x2 + 9.
    • Reading h from vertex form. The form subtracts h. (x − 3)2 gives h = 3. (x + 2)2 is (x − (−2))2, so h = −2.
    • Evaluating a function. f(3) means put 3 wherever x is. Square before multiplying: 2(3)2 = 2 × 9 = 18, not 62 = 36.
    • A minus in front of a square. −x2 means −(x2). 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(x2 + bax) + c. Half of ba is b2a, and its square is b24a2. Add and subtract that square inside the parentheses. The first three terms fold into (x + b2a)2. The subtracted square leaves the parentheses multiplied by a, as −b24a. The result is a(x + b2a)2 + c − b24a. Matching it to a(x − h)2 + k gives h = −b2a.

    4 The rule

    General form: f(x)=ax2+bx+c, with a≠0.

    Completing the square turns it into f(x)=a(x+b2a)2+c−b24a. So the vertex (h, k) has h=−b2a and k=f(h). The number a is the same in both forms.

    The same idea, five ways

    Say it

    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.

    Write it

    The general form of a quadratic function lists an x2 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.

    In math
    • f(x)=ax2+bx+c,a≠0
    • f(x)=a(x−h)2+k
    • h=−b2a
    • k=f(h)=c−b24a
    • ax2+bx+c=a(x+b2a)2+c−b24a
    Like

    One suitcase packed two ways: the same contents, but in the second packing the thing you need, the vertex, is on top.

    See it

    General form: f(x) = ax2 + bx + c

    Vertex form: f(x) = a(x − h)2 + k

    h=−b2a

    k = f(h)

    Same a in both forms

    The same idea, other ways

    As a picture

    Draw x2 + 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)2. Take the 4 away again so nothing has changed: x2 + 4x = (x + 2)2 − 4. The side of the corner is always half the number on x.

    x²2xx2x42x2
    The square x2 and the two strips 2x make x2 + 4x. The corner 4 completes the big square with side x + 2.
    As a story

    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(x2 − 6x + 9 − 9), the −9 leaves as −18.

    With small numbers

    Take f(x) = 2x2 − 12x + 13. At x = 0 the output is 13. The output is 13 again wherever 2x2 − 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 = −ba, and halfway between them is −b2a. When b = 0 the two are one point, x = 0, and the axis is x = 0, which is −b2a.

    (3, −5)(0, 13)(6, 13)246−44812
    The points (0, 13) and (6, 13) are at the same height, and the vertex sits halfway between them at x = 3.
    Why it must be true

    Expand the vertex form and compare it to the general form. (x − h)2 = x2 − 2hx + h2, so a(x − h)2 + k = ax2 − 2ahx + ah2 + k. For this to equal ax2 + bx + c, the x terms must match: −2ah = b. Divide both sides by −2a to get h = −b2a. The plain numbers must match too: ah2 + k = c, so k = c − ah2. With a = 2, b = −12, c = 13: h = 3 and k = 13 − 2(9) = −5.

    As a rule of thumb

    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) = 2x2 − 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.

    StepWith numbers: 2x2 − 12x + 13With letters: ax2 + bx + c
    Factor a out of the first two terms2(x2−6x)+13a(x2+bax)+c
    Half of the number on x−3b2a
    The square of that half9b24a2
    Add and subtract the square inside2(x2−6x+9−9)+13a(x2+bax+b24a2−b24a2)+c
    Fold the square, move the leftover out times a2(x−3)2−18+13a(x+b2a)2−b24a+c
    Read hh = 3h=−b2a
    Read kk=−5k=c−b24a

    Part 1: Complete a square

    What it asks: Rewrite a quadratic without changing its value.

    The plan

    1. Read a, b and c with their signs.
    2. Factor a out of the first two terms; leave c outside.
    3. Halve the coefficient of x inside, then square that half.
    4. Add and subtract that square inside the bracket.
    5. Rewrite the perfect square, then multiply the remaining inside constant by a.
    6. Combine constants, read (h, k), and expand to check.
    x²−3xx−3x9−3x−3
    An area model with sides x + −3 and x + −3.

    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

    1. Read a and b, including their signs.
    2. Compute h as negative b divided by twice a.
    3. Substitute h into the original function to find k.
    4. Write (h, k); use the same a to form a(x − h)2 + k if requested.
    5. Expand the vertex form to check the original coefficients.
    (3, −5)(0, 13)(6, 13)246−44812
    The same picture again: y = 2(x − 3)2 − 5.

    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

    1. Use the completing-the-square rule on f(x) = 2x2 − 12x + 13. Factor 2 from the two x terms to get 2(x2 − 6x) + 13. Completing the square needs a bare x2 inside the parentheses; the 13 stays outside.
    2. Find the missing term: half of −6 is −3, and (−3)2 = 9. Since (x − 3)2 = x2 − 6x + 9, adding 9 completes the square.
    3. Preserve the value by adding and subtracting the same number: 2(x2 − 6x + 9 − 9) + 13. The added 9 and subtracted 9 cancel.
    4. Rewrite the square and distribute the outside 2: 2(x − 3)2 − 18 + 13. The subtracted 9 becomes −18 because it was inside the factor of 2.
    5. Combine −18 + 13 = −5 to get 2(x − 3)2 − 5. By the vertex form rule, h = 3 and k = −5, so the vertex is (3, −5).
    6. Check by expanding: 2(x − 3)2 − 5 = 2(x2 − 6x + 9) − 5 = 2x2 − 12x + 13. The original formula is recovered. The shortcut also gives h = −(−12)2×2 = 3 and k = f(3) = −5.

    6 Worked example

    Worked example

    Completing the square with a number in front

    Rewrite f(x) = 2x2 − 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.

    x²−3xx−3x9−3x−3
    The same picture again: An area model with sides x + −3 and x + −3.
    1. Plan. Factor out the leading coefficient, complete the square inside, then combine constants and read the vertex.
    1. Read a=2,b=−12,c=13.The signs belong to the numbers. The x term is −12x, so b is −12.
    2. Factor 2 out of the first two terms only: f(x)=2(x2−6x)+13.Completing the square needs a bare x2 inside the parentheses. 2x2 ÷ 2 = x2 and −12x ÷ 2 = −6x. The 13 stays outside.
    3. Take half of −6, which is −3, and square it: (−3)2=9.(x − 3)2 expands to x2 − 6x + 9, so 9 is the piece that x2 − 6x is missing.
    4. Add and subtract 9 inside the parentheses: f(x)=2(x2−6x+9−9)+13.Adding 9 and subtracting 9 together add 0, so the function is unchanged.
    5. Fold the first three terms into a square and move the −9 out, multiplied by 2: f(x)=2(x−3)2−18+13.x2 − 6x + 9 = (x − 3)2. The −9 sat inside parentheses that are multiplied by 2, so it leaves as 2 × (−9) = −18.
    6. Combine the plain numbers: −18+13=−5. So f(x)=2(x−3)2−5.Start at −18 on the number line and move up 13. You land on −5.
    7. Read the vertex: h=3 and k=−5.The pattern is a(x − h)2 + k. Here x − 3 shows h = 3, and the number added at the end is k = −5.
    Answer
    • f(x)=2(x−3)2−5
    • Vertex: (3, −5)
    Double-check Second way, the formula: h = −b2a = −−122·2 = 124 = 3. Then k = f(3) = 2(3)2 − 12(3) + 13 = 18 − 36 + 13 = −5. Same vertex. One more look: at x = 0 the general form gives 13, and the vertex form gives 2(−3)2 − 5 = 18 − 5 = 13.

    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) = x2 + 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.

    x²2xx2x42x2
    x2 and the two 2x strips are the function. The corner 4 is added to finish the square and then subtracted.
    1. Plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
    1. Read a=1,b=4,c=0.The number in front of x2 is 1, so nothing needs factoring out. There is no plain number, so c = 0.
    2. Half of 4 is 2. Square it: 22=4.(x + 2)2 expands to x2 + 4x + 4, so 4 is the piece that x2 + 4x is missing.
    3. Add and subtract 4: f(x)=x2+4x+4−4.Adding 4 and taking 4 away leaves the function unchanged.
    4. Fold the first three terms: f(x)=(x+2)2−4.x2+4x+4=(x+2)(x+2).
    5. Read the vertex: (x+2)2 is (x−(−2))2, so h=−2 and k=−4.Vertex form subtracts h, so a plus sign inside the square means h is negative.
    Answer
    • f(x)=(x+2)2−4
    • Vertex: (−2, −4)
    Double-check Formula: h = −42·1 = −2, and f(−2) = (−2)2 + 4(−2) = 4 − 8 = −4. Same vertex.

    Rung 2 of 7

    A negative b and a constant

    Rewrite f(x) = x2 − 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.

    1. Plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
    1. Read a=1,b=−8,c=10.The x term is −8x, so b carries the minus sign.
    2. Half of −8 is −4. Square it: (−4)2=16.(x − 4)2 expands to x2 − 8x + 16, so 16 completes the square.
    3. Add and subtract 16 right after the x term: f(x)=x2−8x+16−16+10.The +16 and −16 cancel, so the function is unchanged. The 10 waits at the end.
    4. Fold the first three terms: f(x)=(x−4)2−16+10.x2−8x+16=(x−4)2.
    5. Combine −16+10=−6. So f(x)=(x−4)2−6.Start at −16 and move up 10 to land on −6.
    6. Read the vertex: h=4,k=−6.x − 4 shows h = 4, and the number at the end is k.
    Answer
    • f(x)=(x−4)2−6
    • Vertex: (4, −6)
    Double-check Formula: h = −−82·1 = 82 = 4, and f(4) = 16 − 32 + 10 = −6. Also at x = 0: the general form gives 10, and the vertex form gives (−4)2 − 6 = 16 − 6 = 10.

    Rung 3 of 7

    An odd b, so fractions appear

    Rewrite f(x) = x2 + 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.

    1. Plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
    1. Read a=1,b=5,c=1.No factoring is needed because a = 1.
    2. Half of 5 is 52. Square it: (52)2=254.Squaring a fraction squares the top and the bottom: 52 = 25 and 22 = 4. Keep the fraction exact, do not round.
    3. Add and subtract 254: f(x)=x2+5x+254−254+1.The two fractions cancel, so the function is unchanged.
    4. Fold the first three terms: f(x)=(x+52)2−254+1.x2+5x+254=(x+52)2.
    5. Combine −254+1=−254+44=−214.To add a whole number to quarters, write 1 as 44. Then −25 + 4 = −21 on top.
    6. Write f(x)=(x+52)2−214 and read h=−52,k=−214.A plus sign inside the square means h is negative.
    Answer
    • f(x)=(x+52)2−214
    • Vertex: (−52, −214)
    Double-check Formula: h = −52·1 = −52. Then f(−52) = 254 − 252 + 1 = 254 − 504 + 44 = −214. Same vertex.

    Rung 4 of 7

    A number in front of x2

    Rewrite f(x) = 3x2 + 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.

    1. Plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
    1. Read a=3,b=12,c=7.Now a is not 1, so one extra step is needed.
    2. Factor 3 out of the first two terms only: f(x)=3(x2+4x)+7.3x2 ÷ 3 = x2 and 12x ÷ 3 = 4x. The 7 stays outside.
    3. Half of 4 is 2. Square it: 22=4.Halve the number on x inside the parentheses, which is 4. Do not halve the original 12.
    4. Add and subtract 4 inside: f(x)=3(x2+4x+4−4)+7.Inside the parentheses, +4 − 4 adds 0.
    5. Fold the square and move the −4 out times 3: f(x)=3(x+2)2−12+7.x2 + 4x + 4 = (x + 2)2, and 3 × (−4) = −12.
    6. Combine −12+7=−5. So f(x)=3(x+2)2−5, and the vertex is (−2,−5).x + 2 is x − (−2), so h = −2. The number at the end is k.
    Answer
    • f(x)=3(x+2)2−5
    • Vertex: (−2, −5)
    Double-check Formula: h = −122·3 = −126 = −2. Then f(−2) = 3(4) + 12(−2) + 7 = 12 − 24 + 7 = −5. Same vertex.

    Rung 5 of 7

    A negative in front

    Rewrite f(x) = −x2 + 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.

    1. Plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
    1. Read a=−1,b=6,c=−4.−x2 means −1 times x2, so a = −1.
    2. Factor −1 out of the first two terms: f(x)=−(x2−6x)−4.−x2 ÷ (−1) = x2 and 6x ÷ (−1) = −6x. Distribute back to test it: −(x2 − 6x) = −x2 + 6x.
    3. Half of −6 is −3. Square it: (−3)2=9.(x − 3)2 expands to x2 − 6x + 9.
    4. Add and subtract 9 inside: f(x)=−(x2−6x+9−9)−4.Inside the parentheses, +9 − 9 adds 0.
    5. Fold the square and move the −9 out times −1: f(x)=−(x−3)2+9−4.(−1) × (−9) = +9. A negative times a negative is positive.
    6. Combine 9−4=5. So f(x)=−(x−3)2+5, 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.
    Answer
    • f(x)=−(x−3)2+5
    • Vertex: (3, 5)
    Double-check Formula: h = −62·(−1) = −6−2 = 3. Then f(3) = −(32) + 6(3) − 4 = −9 + 18 − 4 = 5. Same vertex.

    Rung 6 of 7

    A negative in front and fractions

    Rewrite f(x) = −2x2 + 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.

    1. Plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
    1. Read a=−2,b=6,c=1.Each number keeps its sign.
    2. Factor −2 out of the first two terms: f(x)=−2(x2−3x)+1.−2x2 ÷ (−2) = x2 and 6x ÷ (−2) = −3x.
    3. Half of −3 is −32. Square it: (−32)2=94.A negative squared is positive, and squaring a fraction squares top and bottom.
    4. Add and subtract 94 inside: f(x)=−2(x2−3x+94−94)+1.Inside the parentheses the two fractions add 0.
    5. Fold the square and move −94 out times −2: f(x)=−2(x−32)2+92+1.(−2) × (−94) = 184 = 92. A negative times a negative is positive.
    6. Combine 92+1=92+22=112. So f(x)=−2(x−32)2+112.Write 1 as 22 so both numbers are in halves.
    7. Read the vertex: h=32,k=112.x − 32 shows h, and the number at the end is k.
    Answer
    • f(x)=−2(x−32)2+112
    • Vertex: (32, 112)
    Double-check Formula: h = −62·(−2) = −6−4 = 32. Then f(32) = −2(94) + 6(32) + 1 = −92 + 9 + 1 = −92 + 202 = 112. Same vertex.

    Rung 7 of 7

    The formula first, then the vertex form

    For f(x) = 12x2 − 3x + 2, find the vertex with h = −b2a, 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.

    1. Plan. Compute h as negative b divided by twice a. Evaluate f(h) for k and keep the original a.
    1. Read a=12,b=−3,c=2.The formula needs a and b with their signs.
    2. Compute h=−b2a=−−32·12=31=3.This finds the x-value of the vertex. The opposite of −3 is 3, and 2 × 12 = 1.
    3. Compute k=f(3)=12(3)2−3(3)+2=92−9+2=92−7=92−142=−52.The vertex is a point on the graph, so its y-value is the output when the input is 3. Write 7 as 142 to subtract in halves.
    4. Write the vertex form: f(x)=12(x−3)2−52.The a is the same in both forms, and h and k go into their slots.
    Answer
    • Vertex: (3, −52)
    • f(x)=12(x−3)2−52
    Double-check Expand the answer: (x − 3)2 = x2 − 6x + 9. Multiply by 12: 12x2 − 3x + 92. Then 92 − 52 = 42 = 2. The result is 12x2 − 3x + 2, the function we started with.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: 2(x2 − 6x + 9 − 9) + 13 becomes 2(x − 3)2 − 9 + 13 = 2(x − 3)2 + 4.
    The −9 was inside parentheses multiplied by 2, so it is worth −18, not −9. Test x = 3: the original gives 18 − 36 + 13 = −5, but the wrong form gives 4.
    ✓ Instead: 2(x−3)2−18+13=2(x−3)2−5.
    ✗ Not this: For f(x) = 2x2 − 12x + 13, h = −122·2 = −3.
    The formula has its own minus sign in front: h = −b2a. Since b is already −12, the opposite of b is +12.
    ✓ Instead: h=−−124=124=3.
    ✗ Not this: For f(x) = x2 + 6x + 2, add 9 to finish the square and write (x + 3)2 + 2.
    Adding 9 without subtracting it changes the function. Test x = 0: the original gives 2, but (0 + 3)2 + 2 = 11.
    ✓ Instead: x2 + 6x + 9 − 9 + 2 = (x + 3)2 − 7. At x = 0 this gives 9 − 7 = 2.
    ✗ Not this: For f(x) = 3x2 + 12x + 7, half of 12 is 6, so start with 3(x + 6)2.
    The halving happens after a is factored out. 3(x + 6)2 expands to 3x2 + 36x + 108, which has the wrong x term.
    ✓ Instead: Factor first: 3(x2 + 4x) + 7. Half of 4 is 2, which leads to 3(x + 2)2 − 5.
    ✗ Not this: Use h = −b2a on f(x) = 4x − 7.
    There is no x2 term, so a = 0 and the formula would divide by 0. This is not a quadratic function. Its graph is a line, and a line has no vertex.
    ✓ Instead: The formula applies only when a ≠ 0, that is, when there is an x2 term.

    Tips and tricks

    • For the vertex alone, use h = −b2a 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) = 2x2 − 12x + 13.
    • h=−b2a=−−124=3
    • k=f(3)=18−36+13=−5
    • Vertex: (3, −5)
    In 2(x2 − 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)2 − 6. What is the vertex?
    • (−4,−6).
    • The form is a(x − h)2 + 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

    What is the vertex of f(x) = 3(x − 2)2 + 7, and what is its axis of symmetry?
    Show answer
    The vertex is (2, 7).
    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

    For f(x) = −(x + 5)2 − 1, what are a, h and k, and which way does the parabola open?
    Show answer
    a = −1, because a lone minus sign means −1.
    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.