Vertex Learn

Finding the equation from a graph

What this lesson covers

  • Roots suggest y = k(x − a)(x − b).
  • A vertex suggests y = k(x − h)² + c.
  • One extra point finds k.
Key idea

Choose the form that fits

  • If you can see the roots, use the factorised form.
  • If you can see the turning point, use the vertex form.
  • Either way, substitute one more point to find k.
Worked example

Roots 1 and 5, through (0, 10)

  • The roots go in the brackets.
  1. y = k(x − 1)(x − 5)
  2. 10 = k(−1)(−5) = 5kuse (0, 10)
  3. k = 2
  4. y = 2(x − 1)(x − 5)
Key idea

Try it: roots 1 and 5

Worked example

Vertex (2, 3), through (0, 11)

  • The vertex goes in the bracket and on the end.
  1. y = k(x − 2)² + 3
  2. 11 = 4k + 3
  3. k = 2
  4. y = 2(x − 2)² + 3
Worked example

Cubic with roots −1, 2 and 3, through (0, 12)

  • The same idea with a third bracket.
  1. y = k(x + 1)(x − 2)(x − 3)
  2. 12 = k(1)(−2)(−3) = 6k
  3. k = 2
  4. y = 2(x + 1)(x − 2)(x − 3)
Key idea

Use what you can see

  • This graph shows two roots and a y-intercept, so the factorised form suits it.
Parabola with roots 1 and 5 passing through (0, 10).
Key idea

Try it: match the graph

Worked example

A hyperbola

  • Asymptotes x = 1 and y = 2, through (2, 5).
  1. y = k/(x − 1) + 2
  2. 5 = k + 2
  3. k = 3
  4. y = 3/(x − 1) + 2
Worked example

An exponential

  • Asymptote y = 3, through (0, 5), doubling.
  1. y = a × 2ˣ + 3
  2. 5 = a + 3
  3. y = 2 × 2ˣ + 3
Key idea

Graphing calculator

Common mistakes

  • Leaving k out and assuming it is 1.
    Always test with another point on the graph.
  • Writing (x − 2) for a root at −2.
    A root at −2 gives the bracket (x + 2).
Key idea

Try it: pin down the equation

Your turn

1

Roots 2 and 3, through (0, 12). Find the equation.

2

Vertex (0, 4), through (1, 6). Find the equation.

3

Asymptote y = 1, through (0, 4), base 2. Find the equation.

4

Touches the x-axis at 2, through (0, 8). Find the equation.

Show answer

1. y = 2(x − 2)(x − 3) 2. y = 2x² + 4 3. y = 3 × 2ˣ + 1 4. y = 2(x − 2)²

Your turn

Sample question: Achieved

A parabola has roots x = −1 and x = 4 and passes through (2, −12). Find its equation.

Hint

Put the roots in the brackets of y = k(x − a)(x − b), then substitute the point to find k.

Answer

y = 2(x + 1)(x − 4)

Step by step
  1. The roots are visible, so use the factorised form y = k(x − a)(x − b).
  2. A root of −1 gives the bracket (x + 1). A root of 4 gives (x − 4). So y = k(x + 1)(x − 4).
  3. Substitute (2, −12): −12 = k(3)(−2) = −6k.
  4. So k = 2.
  5. The equation is y = 2(x + 1)(x − 4).
  6. Classic mistake: writing (x − 1) for the root −1. The bracket is zero at the root, so −1 needs (x + 1).
  7. Check: x = 2 gives 2 × 3 × (−2) = −12. Correct.
Full working
  1. y = k(x + 1)(x − 4)factorised form
  2. −12 = k(3)(−2)substitute (2, −12)
  3. k = 2
  4. y = 2(x + 1)(x − 4)
Your turn

Sample questions: Merit

1

A parabola has vertex (3, −2) and crosses the y-axis at 16. Find its equation, and then find its roots.

Hint

Use y = k(x − h)² + c with the vertex, and the point (0, 16) to find k.

Answer

y = 2(x − 3)² − 2; roots x = 2 and x = 4

Step by step
  1. A known vertex means the vertex form y = k(x − h)² + c, with (h, c) = (3, −2).
  2. So y = k(x − 3)² − 2.
  3. Crossing the y-axis at 16 means the point (0, 16) is on it: 16 = k(0 − 3)² − 2 = 9k − 2.
  4. 9k = 18, so k = 2. The equation is y = 2(x − 3)² − 2.
  5. Roots: set y = 0. 2(x − 3)² = 2, so (x − 3)² = 1.
  6. x − 3 = 1 or x − 3 = −1, so x = 4 or x = 2.
  7. Classic mistake: forgetting the negative square root and finding only x = 4.
  8. Check: the vertex x = 3 should sit halfway between the roots. (2 + 4) ÷ 2 = 3. Correct.
Full working
  1. y = k(x − 3)² − 2vertex form
  2. 16 = 9k − 2, so k = 2substitute (0, 16)
  3. 2(x − 3)² − 2 = 0roots
  4. (x − 3)² = 1, so x = 2 or x = 4
  5. y = 2(x − 3)² − 2; roots x = 2 and x = 4
2

The graph of y = a × bˣ + c has horizontal asymptote y = 2 and passes through (0, 7) and (2, 47), with b > 0. Find a, b and c.

Hint

The asymptote gives c straight away. Then x = 0 makes bˣ = 1, which gives a.

Answer

a = 5, b = 3 and c = 2, so y = 5 × 3ˣ + 2

Step by step
  1. For y = a × bˣ + c, the term a × bˣ never reaches 0, so the asymptote is y = c. Here c = 2.
  2. Use (0, 7): b⁰ = 1, so 7 = a × 1 + 2 and a = 5.
  3. Use (2, 47): 47 = 5b² + 2.
  4. 5b² = 45, so b² = 9 and b = 3. We reject b = −3, because an exponential base must be positive.
  5. The equation is y = 5 × 3ˣ + 2.
  6. Classic mistake: substituting (0, 7) as 7 = a × 0 + 2. Any positive number to the power 0 is 1, not 0.
  7. Check: x = 2 gives 5 × 9 + 2 = 47. Correct.
Full working
  1. c = 2asymptote y = c
  2. 7 = a × b⁰ + 2 = a + 2, so a = 5substitute (0, 7)
  3. 47 = 5b² + 2, so b² = 9substitute (2, 47)
  4. b = 3b > 0
  5. y = 5 × 3ˣ + 2
Your turn

Sample questions: Excellence

1

A cubic touches the x-axis at x = 2, crosses it at x = −1, and passes through (1, 4). Find its equation and y-intercept. Hence find where it meets the line y = 8, and explain what the repeated answer tells you about the line.

Hint

Touching the axis at x = 2 means a squared bracket (x − 2)². Use the point to find k, then solve the cubic equation by factorising.

Answer

y = 2(x − 2)²(x + 1), y-intercept 8; it meets y = 8 at x = 0 (a repeated root, so the line touches the curve there) and at x = 3

Step by step
  1. Touching the x-axis without crossing means a repeated root: the bracket is squared. So y = k(x − 2)²(x + 1).
  2. Use (1, 4): 4 = k(1 − 2)²(1 + 1) = k × 1 × 2 = 2k, so k = 2.
  3. The cubic is y = 2(x − 2)²(x + 1). Its y-intercept: x = 0 gives 2 × 4 × 1 = 8.
  4. Now meet y = 8: 2(x − 2)²(x + 1) = 8, so (x − 2)²(x + 1) = 4.
  5. Expand: (x² − 4x + 4)(x + 1) = x³ − 3x² + 0x + 4.
  6. So x³ − 3x² + 4 = 4, which gives x³ − 3x² = 0.
  7. Factorise: x²(x − 3) = 0, so x = 0 (twice) or x = 3.
  8. At x = 3: y = 2 × 1 × 4 = 8. So the points are (0, 8) and (3, 8).
  9. A repeated root means the line does not cross the curve at x = 0; it just touches it. So y = 8 is a tangent at the y-intercept, which is a turning point of the cubic.
  10. Classic mistake: dividing x³ − 3x² = 0 by x². That loses x = 0, the most interesting answer.
  11. Check: the roots −1 and 2 still give y = 0, and (1, 4) gives 2 × 1 × 2 = 4.
Full working
  1. y = k(x − 2)²(x + 1)touch at 2, cross at −1
  2. 4 = k(1)(2), so k = 2substitute (1, 4)
  3. x = 0: y = 2(4)(1) = 8y-intercept
  4. (x − 2)²(x + 1) = 4, so x³ − 3x² = 0meet y = 8
  5. x²(x − 3) = 0, so x = 0 (repeated) or x = 3
  6. y = 2(x − 2)²(x + 1), y-intercept 8; meets y = 8 at (0, 8), where it touches, and (3, 8)
2

A parabola y = ax² + bx + c passes through (−1, 8), (1, 2) and (3, 4). Find a, b and c, find the vertex, and prove that the parabola never meets the x-axis.

Hint

Substitute each point to get three equations. Subtracting the first two removes a and c at once.

Answer

y = x² − 3x + 4; vertex (1.5, 1.75); the discriminant is 9 − 16 = −7 < 0, so there are no roots

Step by step
  1. Each point gives one equation. (−1, 8): a − b + c = 8. (1, 2): a + b + c = 2. (3, 4): 9a + 3b + c = 4.
  2. Take the first from the second: 2b = −6, so b = −3.
  3. Put b = −3 in the second: a + c = 5.
  4. Put b = −3 in the third: 9a + c = 13.
  5. Take a + c = 5 from 9a + c = 13: 8a = 8, so a = 1 and then c = 4.
  6. The parabola is y = x² − 3x + 4.
  7. Vertex: complete the square. x² − 3x + 4 = (x − 1.5)² − 2.25 + 4 = (x − 1.5)² + 1.75. The vertex is (1.5, 1.75).
  8. Never meets the x-axis: the discriminant is b² − 4ac = 9 − 16 = −7. It is negative, so x² − 3x + 4 = 0 has no real solutions.
  9. Another way to see it: a = 1 is positive, so the vertex is the lowest point, and it is 1.75 above the axis.
  10. Check all three points: (−1): 1 + 3 + 4 = 8. (1): 1 − 3 + 4 = 2. (3): 9 − 9 + 4 = 4. All correct.
Full working
  1. a − b + c = 8, a + b + c = 2, 9a + 3b + c = 4substitute the points
  2. 2b = −6, so b = −3second minus first
  3. a + c = 5 and 9a + c = 13, so a = 1, c = 4
  4. y = (x − 1.5)² + 1.75complete the square
  5. b² − 4ac = 9 − 16 = −7 < 0no real roots
  6. y = x² − 3x + 4, vertex (1.5, 1.75), never meets the x-axis
Summary

What to take away

  • Pick the form that matches what you can see.
  • One extra point always gives k.
Worksheet with answersWithout answersDownload PDF
Report a mistake

More in AS 91257

Is your child on track?

Take the free placement test