18.5 Finding the Equation of the Graph

18.5 Finding the Equation of the Graph

A quadratic graph gives us important information about its equation. If we can identify features such as the roots, turning point, and another point on the curve, we can work backwards and find the equation of the quadratic.

For the graph above, we will find the equation in two different ways:

Method 1 — Using the roots
Method 2 — Using the turning point

Both methods must lead to the same quadratic equation.


🔵 Concept

A quadratic equation can be written in several equivalent forms.

The standard form is:y=ax2+bx+cy=ax^2+bx+c

where:a≠0a\neq0

However, when we are given a graph, standard form is not always the easiest form to start with.

If the roots are clearly visible, we can use the root form:y=a(x−r1)(x−r2)y=a(x-r_1)(x-r_2)

If the turning point is clearly visible, we can use the turning-point form:y=a(x−h)2+ky=a(x-h)^2+k

The graph tells us most of the information needed for these formulas. We then use one additional point on the graph to calculate the unknown value of aa.


🟢 Information From Our Graph

From the graph, we can read:

Roots

x=1x=1

andx=3x=3

y-intercept

(0,3)(0,3)

Turning point

(2,−1)(2,-1)

Line of symmetry

x=2x=2

We can now use this information to find the equation.


🟣 Method 1: Finding the Equation Using the Roots

If the graph shows two roots, the root form is usually the easiest method.

🟢 Formula — Root Form

The root form of a quadratic equation is:y=a(x−r1)(x−r2)y=a(x-r_1)(x-r_2)

where:

  • r1r_1 is the first root,
  • r2r_2 is the second root,
  • aa is an unknown constant.

The roots are the points where the graph crosses or touches the x-axis.

At a root:y=0y=0


🟨 Step 1: Find the Roots From the Graph

Our graph crosses the x-axis at:(1,0)(1,0)

and:(3,0)(3,0)

Therefore, the roots are:r1=1r_1=1

and:r2=3r_2=3


🟨 Step 2: Substitute the Roots Into the Formula

Start with:y=a(x−r1)(x−r2)y=a(x-r_1)(x-r_2)

Substitute:r1=1r_1=1

and:r2=3r_2=3

Therefore:y=a(x−1)(x−3)y=a(x-1)(x-3)

We now know the two factors, but we still do not know the value of a.


🟨 Step 3: Choose Another Known Point

The easiest point to use is usually the y-intercept.

From the graph:(0,3)(0,3)

This means:x=0x=0

and: y=3y=3

We substitute these values into:y=a(x−1)(x−3)y=a(x-1)(x-3)


🟨 Step 4: Find the Value of aa

Substitute:x=0,y=3x=0,\qquad y=3

So:3=a(0−1)(0−3)3=a(0-1)(0-3)

Simplify the brackets:3=a(−1)(−3)3=a(-1)(-3)

Since:(−1)(−3)=3(-1)(-3)=3

we get:3=3a3=3a

Divide both sides by 33:a=1a=1

Now we know the value of aa.


🟨 Step 5: Write the Equation in Root Form

Substitute:a=1a=1

into:y=a(x−1)(x−3)y=a(x-1)(x-3)

Therefore:y=(x−1)(x−3)y=(x-1)(x-3)

This is the equation in root form.


🟨 Step 6: Convert to Standard Form

If the question requires the equation in the form:y=ax2+bx+cy=ax^2+bx+c

expand the brackets:y=(x−1)(x−3)y=(x-1)(x-3)

Multiply:y=x2−3x−x+3y=x^2-3x-x+3

So the equation of the graph is:y=x2−4x+3y=x^2-4x+3




🟣 Method 2: Finding the Equation Using the Turning Point

Sometimes the roots are difficult to read, or the question gives you the turning point directly.

In this situation, we can use the turning-point form.


🟢 Formula — Turning-Point Form

The turning-point form of a quadratic equation is:y=a(x−h)2+ky=a(x-h)^2+k

where:(h,k)(h,k)

is the turning point.

Here:

  • hh is the x-coordinate of the turning point,
  • kk is the y-coordinate of the turning point,
  • aa is an unknown constant.

🟨 Step 1: Find the Turning Point

From our graph, the turning point is:(2,−1)(2,-1)

Therefore:h=2h=2

and:k=−1k=-1


🟨 Step 2: Substitute the Turning Point Into the Formula

Start with:y=a(x−h)2+ky=a(x-h)^2+k

Substitute:h=2h=2

and:k=−1k=-1

Therefore:y=a(x−2)2−1y=a(x-2)^2-1

Notice why the equation contains:−1-1

rather than +1+1.

The formula contains +k+k, and here:k=−1k=-1

so:+k=+(−1)=−1+k=+(-1)=-1

Therefore:y=a(x−2)2−1y=a(x-2)^2-1

We still need to find aa.


🟨 Step 3: Choose Another Point

Again, the y-intercept is convenient:(0,3)(0,3)

Therefore:x=0x=0

and:y=3y=3

Substitute these values into:y=a(x−2)2−1y=a(x-2)^2-1


🟨 Step 4: Find the Value of aa

Substitute:x=0,y=3x=0,\qquad y=3

So:3=a(0−2)2−13=a(0-2)^2-1

Simplify:3=a(−2)2−13=a(-2)^2-1

Since:(−2)2=4(-2)^2=4

we get:3=4a−13=4a-1

Add 11 to both sides:4=4a4=4a

Divide both sides by 44:a=1a=1


🟨 Step 5: Write the Equation in Turning-Point Form

Substitute:a=1a=1

into:y=a(x−2)2−1y=a(x-2)^2-1

Therefore:y=(x−2)2−1y=(x-2)^2-1

This is the equation in turning-point form.


🟨 Step 6: Convert to Standard Form

Expand:y=(x−2)2−1y=(x-2)^2-1

Remember:(x−2)2=(x−2)(x−2)(x-2)^2=(x-2)(x-2)

Therefore:y=x2−4x+4−1y=x^2-4x+4-1

Simplify: y=x2−4x+3\boxed{y=x^2-4x+3}


🟠 Exam Tip: Which Method Should I Choose?

Look carefully at the information shown on the graph.

If the roots are clearly given, use:y=a(x−r1)(x−r2)y=a(x-r_1)(x-r_2)

If the turning point is clearly given, use:y=a(x−h)2+ky=a(x-h)^2+k

You do not normally need to use both methods in an exam unless the question specifically asks you to.

Choose whichever method uses the information that is easiest to read accurately from the graph.


🟠 Exam Tip: The y-Intercept Is Often the Best Extra Point

To calculate aa, you need another point on the curve.

The y-intercept is often convenient because:x=0x=0

For our graph:(0,3)(0,3)

so:x=0,y=3x=0,\qquad y=3

Substituting x=0x=0 often makes the algebra much simpler.

However, any accurately known point on the parabola can be used.

For example, our graph also contains:(4,3)(4,3)

That point would also give the same value of aa.


🔴 Common Mistake: Assuming a=1a=1

Suppose the roots are:x=1x=1

and:x=3x=3

You can immediately write:y=a(x−1)(x−3)y=a(x-1)(x-3)

But you cannot immediately write:y=(x−1)(x−3)y=(x-1)(x-3)

because that assumes:a=1a=1

You must use another point on the graph to determine aa.


🔴 Common Mistake: Using the Wrong Signs in Root Form

If:r1=1,r2=3r_1=1,\qquad r_2=3

the formula is:y=a(x−1)(x−3)y=a(x-1)(x-3)

not:y=a(x+1)(x+3)y=a(x+1)(x+3)

Always remember:x=rx=r

corresponds to the factor:(x−r)(x-r)


🔴 Common Mistake: Reading the Turning Point Incorrectly

If the turning point is:(2,−1)(2,-1)

then:h=2,k=−1h=2,\qquad k=-1

Therefore:y=a(x−2)2−1y=a(x-2)^2-1

Do not write:y=a(x+2)2−1y=a(x+2)^2-1

The formula is:y=a(x−h)2+ky=a(x-h)^2+k


🔴 Common Mistake: Squaring a Negative Number Incorrectly

During Method 2 we obtained:(−2)2(-2)^2

Remember:(−2)2=4(-2)^2=4

because:(−2)(−2)=4(-2)(-2)=4

The brackets are important.


🧠 Easy Method to Remember

When using roots:

ROOTS → FACTORS → EXTRA POINT → FIND aa → EQUATION

Start with:y=a(x−r1)(x−r2)y=a(x-r_1)(x-r_2)

When using the turning point:

TURNING POINT → SUBSTITUTE h,kh,k → EXTRA POINT → FIND aa → EQUATION

Start with:y=a(x−h)2+ky=a(x-h)^2+k


❓ Question & Answer

Q1. What formula should I use if I know both roots?

Use:y=a(x−r1)(x−r2)y=a(x-r_1)(x-r_2)


Q2. What formula should I use if I know the turning point?

Use:y=a(x−h)2+ky=a(x-h)^2+k

where:(h,k)(h,k)

is the turning point.


Q3. Why do I need another point?

The roots or turning point determine part of the equation, but they do not usually determine aa.

Another point allows us to calculate:aa


Q4. Does the extra point have to be the y-intercept?

No.

You can use any known point on the graph.

The y-intercept is simply convenient because:x=0x=0


Q5. What is the root form for roots x=−2x=-2 and x=5x=5?

Start with:y=a(x−r1)(x−r2)y=a(x-r_1)(x-r_2)

Therefore:y=a(x+2)(x−5)y=a(x+2)(x-5)


Q6. What is the turning-point form if the turning point is (−3,4)(-3,4)?

Since:h=−3,k=4h=-3,\qquad k=4

we have:y=a(x+3)2+4y=a(x+3)^2+4


Q7. Do both methods always give the same equation?

Yes. If the calculations and graph readings are correct, both methods describe the same parabola, so they must produce equivalent quadratic equations.

For our graph:y=(x−1)(x−3)y=(x-1)(x-3)

and:y=(x−2)2−1y=(x-2)^2-1

both simplify to:y=x2−4x+3y=x^2-4x+3


✅ Final Check

Before finishing a question, check:

  • Have I identified the correct information from the graph?
  • If using roots, did I use both roots?
  • Did I use the correct signs in the factors?
  • If using the turning point, did I identify hh and kk correctly?
  • Did I include aa before using another point?
  • Did I substitute both the xx– and yy-coordinates of the extra point?
  • Did I solve for aa correctly?
  • Did I write the final equation?
  • Did I expand it if standard form was required?
  • Does my equation agree with the graph?