Build a quadratic function from conditions

Lesson progressPractice problems 0/4
Difficulty
Intermediate
Estimated time
32 minutes
Techniques
Quadratic-constructionPoint-substitutionSymmetryQuadratic-regression

What you’ll learn

  1. Turn roots into factors, and a vertex into a squared term.
  2. Use one more point to find aa, the number that sets the parabola’s scale: how wide it is and which way it opens.
  3. Use symmetry to find a matching root or a matching point.
  4. Fit a quadratic in standard form with regression from a table when all you’re given is three points, with no root or vertex named.
  5. Check that your equation meets every condition in the question.

Why this matters on the SAT

Let the conditions choose the equation

The SAT doesn’t always hand you the equation. Sometimes it describes the parabola instead: its roots, its vertex, a point or two, or its symmetry. Those facts tell you which form to start from. After that, there’s usually one number still unknown, and one extra point pins it down.

Solution to the example

A root at −2-2 means the factor x+2x+2, since that’s 00 when x=−2x=-2. The same goes for 66 and x−6x-6:

f(x)=a(x+2)(x−6).f(x)=a(x+2)(x-6).

Now use the point (0,12)(0,12). It says f(0)=12f(0)=12:

12=a(0+2)(0−6)12=−12aa=−1.\begin{aligned} 12&=a(0+2)(0-6)\\[1.4em] 12&=-12a\\[1.4em] a&=-1. \end{aligned}

So

f(x)=−(x+2)(x−6),f(x)=-(x+2)(x-6),

and the answer is C.

The roots gave you the factors, and the extra point set the size and sign of aa. Choice B shows why you need that point: it has the right roots, but it gives f(0)=(2)(−6)=−12f(0)=(2)(-6)=-12, not 1212. It opens up when this parabola has to open down. Here’s the idea to hold on to: the features pick the form, and one more point finds aa.

SAT example

The graph of a quadratic function ff has xx-intercepts at x=−2x=-2 and x=6x=6. The graph also passes through the point (0,12)(0,12). Which choice could define ff?

  1. A

    f(x)=−(x−2)(x+6)f(x)=-(x-2)(x+6)

  2. B

    f(x)=(x+2)(x−6)f(x)=(x+2)(x-6)

  3. C

    f(x)=−(x+2)(x−6)f(x)=-(x+2)(x-6)

  4. D

    f(x)=−(x+2)(x+6)f(x)=-(x+2)(x+6)

Turn a graph into conditions

The facts a question gives you about a parabola are its conditions, and each one can become an equation. A point (u,v)(u,v) on the graph means f(u)=vf(u)=v: put in uu, get out vv. A root is a point whose output is 00. The vertex is the turning point, and the vertical line through it is the axis of symmetry.

Each feature points to a form: the roots to factored form, and the vertex to vertex form. The extra point (0,−8)(0,-8) is the one that finds aa.

Here’s how that works for this graph. The roots −2-2 and 44 give

f(x)=a(x+2)(x−4).f(x)=a(x+2)(x-4).

The extra point (0,−8)(0,-8) says f(0)=−8f(0)=-8:

−8=a(2)(−4),-8=a(2)(-4),

so a=1a=1, and the equation is f(x)=(x+2)(x−4)f(x)=(x+2)(x-4). Now check the condition you didn’t use. The axis sits halfway between the roots, at x=1x=1, and f(1)=(3)(−3)=−9f(1)=(3)(-3)=-9. That matches the vertex (1,−9)(1,-9).

Every problem like this takes the same four moves:

list the conditions ⟶ pick a form, or use regression ⟶ find the missing numbers ⟶ check every condition.\boxed{\text{list the conditions}\ \longrightarrow\ \text{pick a form, or use regression}\ \longrightarrow\ \text{find the missing numbers}\ \longrightarrow\ \text{check every condition}.}
Common mistake:

Using a point backward. In (u,v)(u,v), the first number uu is the input and the second number vv is the output. So substitute x=ux=u and set the function equal to vv. Once you’ve solved, put the point back into your finished equation and check both numbers.

Count what’s still unknown

How you build the function depends on how much of it the question has already filled in.

Roots or a vertex fill in most of the equation. Two roots fill in the rr and the ss in a(x−r)(x−s)a(x-r)(x-s), and a vertex fills in the hh and the kk in a(x−h)2+ka(x-h)^2+k. Either way, only aa is left. So one more point gives you one equation with one unknown, and you can solve it by hand in a line or two. The answer is exact, and you can see how each fact shapes the equation. That’s why you start from the matching form, not from ax2+bx+cax^2+bx+c with three unknowns.

Now say all you’re given is three points, and the question doesn’t say any of them is a root or the vertex. We’ll call these three unrelated points. They don’t fill in any form, so aa, bb and cc are all unknown, and finding them by hand means solving three equations at once. That’s slow, and quadratic regression in Desmos does it for you.

So once you’ve written your starting form, count what’s still unknown. Just aa? Go by hand. All three? Use regression.

Here’s where to start for each kind of fact, and what to do after that.

Start here

  • If you know the roots (xx-intercepts), like −2-2 and 66, start with factored form, f(x)=a(x+2)(x−6)f(x)=a(x+2)(x-6).

  • If you know the vertex, like (2,−5)(2,-5), start with vertex form, f(x)=a(x−2)2−5f(x)=a(x-2)^2-5.

  • If all you have is three unrelated points, like (−1,6)(-1,6), (0,1)(0,1) and (2,3)(2,3), put them in a Desmos table and run quadratic regression.

  • If the question tells you a coefficient directly, like c=4c=4, start with standard form, f(x)=ax2+bx+cf(x)=ax^2+bx+c.

Then

  • After factored or vertex form, plug in one more point that isn’t a root or the vertex, and solve for aa.

  • After regression, define ff with the letters aa, bb and cc that Desmos stored, not the rounded numbers on screen, and evaluate ff.

  • If you know the axis of symmetry, mirror a root or a point across it to find its partner.

  • At the end, check the facts you didn’t build with, like the vertex when you started from the roots.

A fact that’s already built into the form can’t find aa. Every a(x−2)2−5a(x-2)^2-5 with a≠0a\ne0 has its vertex at (2,−5)(2,-5), so plugging in the vertex can’t tell you which aa it is.

Roots plus one point

Say the roots are rr and ss. Start with

f(x)=a(x−r)(x−s).f(x)=a(x-r)(x-s).

The roots give you the factors, but not aa. Lots of parabolas cross the xx-axis at the same two roots. Some open up and some open down, and some are narrow while others are wide. A point that isn’t a root tells you which one the question means.

Check your understanding:

A quadratic has roots 11 and 55 and passes through (3,−8)(3,-8). Write the equation that finds aa in f(x)=a(x−1)(x−5)f(x)=a(x-1)(x-5), then solve it.

Vertex plus one point

Say the vertex is (h,k)(h,k). Start with

f(x)=a(x−h)2+k.f(x)=a(x-h)^2+k.

The vertex is already built in, so plug in a different point to find aa. Then check its sign against the graph: aa is positive when the parabola opens up and negative when it opens down.

Common mistake:

Plugging a root into factored form, or the vertex into vertex form, to find aa. It seems like any given point should work. But at those points the part with aa equals 00, so you end up with something like 0=00=0 or k=kk=k, which says nothing about aa. Use a point that isn’t already built into the form.

Use symmetry to find missing points

The axis of symmetry splits a parabola into two mirror images. If the axis is x=hx=h, two inputs the same distance from hh give the same output:

f(h−d)=f(h+d).f(h-d)=f(h+d).

That gives you two shortcuts:

  1. If one root is h−dh-d, the other root is h+dh+d.
  2. If (h−d,v)(h-d,v) is on the graph, so is (h+d,v)(h+d,v).

If the letters make this feel abstract, think of it as counting. Find how far the point you know is from the axis, then count the same distance on the other side. A quick number line sketch helps.

For example, say the axis is x=3x=3 and one root is −1-1. That root is 44 units left of the axis, so the other root is 44 units right of it:

3+4=7.3+4=7.

So you can write

f(x)=a(x+1)(x−7).f(x)=a(x+1)(x-7).

If the graph also passes through (0,−14)(0,-14), then

−14=a(1)(−7),-14=a(1)(-7),

so a=2a=2 and f(x)=2(x+1)(x−7)f(x)=2(x+1)(x-7).

Check your understanding:

A parabola has axis of symmetry x=5x=5 and passes through (2,11)(2,11). What other point must be on the graph, and why?

Build from three unrelated points

Here’s regression at work. The table holds the three points, and Desmos finds all three standard-form coefficients at once. If you haven’t run a regression before, the typing is the only new part, and it’s the same five steps every time.

Say a quadratic passes through (−1,6)(-1,6), (0,1)(0,1) and (2,3)(2,3).

  1. Enter the inputs in the x_1 column and the outputs in the y_1 column.
  2. Enter y_1~a*x_1^2+b*x_1+c. The ~ tells Desmos to find the aa, bb and cc that make this equation fit the table.
  3. Desmos shows a=2a=2, b=−3b=-3 and c=1c=1. It also stores each full, unrounded value under its letter.
  4. Define f(x)=a*x^2+b*x+c. Type the letters aa, bb and cc, not the numbers.
  5. If the question asks for f(4)f(4), enter f(4).

The fitted function is

f(x)=2x2−3x+1,f(x)=2x^2-3x+1,

so

f(4)=2(4)2−3(4)+1=21.f(4)=2(4)^2-3(4)+1=21.

Last, check all three given points:

f(−1)=6,f(0)=1,f(2)=3.f(-1)=6,\qquad f(0)=1,\qquad f(2)=3.

In the calculator, the curve passes through every table point. When the question gives exact values, all three checks have to match exactly. A decimal that’s close isn’t enough.

Check your understanding:

After a quadratic regression reports aa, bb and cc, why define f(x)=ax2+bx+cf(x)=ax^2+bx+c before you plug in a new input?

Calculator loads as you approach
Try changing a number in the table. The regression finds new values of a, b and c, and f, f(4) and the checked points all update with them.

No calculator? Or do you need to work out the exact coefficients with algebra? Then substitute the three points into f(x)=ax2+bx+cf(x)=ax^2+bx+c and solve the three equations by hand. That works, but for three unrelated points it’s usually slower.

Common mistake:

Using quadratic regression when the question already gives roots or a vertex. Regression can feel like the more powerful tool, so it’s tempting to use it everywhere. But there, only aa is missing, and one exact substitution usually finds it. The table setup costs you time and buys you nothing, so save regression for three unrelated points.

Example: build from a vertex and a point

Worked example

A quadratic function ff has a vertex at (2,−5)(2,-5) and passes through (5,13)(5,13). Which choice gives an equation for ff?

  1. A

    f(x)=(x−2)2−5f(x)=(x-2)^2-5

  2. B

    f(x)=2(x−2)2−5f(x)=2(x-2)^2-5

  3. C

    f(x)=2(x+2)2−5f(x)=2(x+2)^2-5

  4. D

    f(x)=2(x−2)2+5f(x)=2(x-2)^2+5

Step 1

Start from the vertex

The vertex (h,k)=(2,−5)(h,k)=(2,-5) points straight to vertex form:

f(x)=a(x−2)2−5.f(x)=a(x-2)^2-5.

The vertex sets hh and kk, so only aa is left to find.

Step 2

Turn the extra point into an equation

The point (5,13)(5,13) means f(5)=13f(5)=13. Plug in both numbers:

13=a(5−2)2−5.13=a(5-2)^2-5.

Now solve:

13=9a−518=9aa=2.\begin{aligned} 13&=9a-5\\[1.4em] 18&=9a\\[1.4em] a&=2. \end{aligned}

Step 3

Write the finished function

Put 22 in for aa:

f(x)=2(x−2)2−5.f(x)=2(x-2)^2-5.

The answer is B.

Step 4

Check every condition

At x=2x=2 the squared term is 00, so f(2)=−5f(2)=-5. That’s the vertex. At the extra input,

f(5)=2(5−2)2−5=18−5=13.f(5)=2(5-2)^2-5=18-5=13.

The graph shows the same thing: an upward-opening parabola through both points.

Calculator loads as you approach
You found the exact value of a by substitution. Now use the graph to confirm both conditions.
Try it yourself:

Before you look back at the algebra, explain why the vertex alone can’t tell choices A and B apart. Then use the point (5,13)(5,13) to explain why B has the right value of aa.

Check your equation against every condition

Whether you built it by hand or with regression, finish the same way. When a graph helps, graph your equation and make sure that:

  • both roots sit on the xx-axis
  • the vertex is where it should be
  • every given point is on the curve
  • the parabola opens the way the sign of aa says it should

If something’s off, the graph tells you where to look. Right roots or the right vertex, but a point off the curve? Then aa is wrong, so redo that substitution. Opening the wrong way? Then aa has the wrong sign. The check takes a few seconds, and it catches a flipped sign before it costs you the question.

Practice problems

Your turn. Before you write anything, look at what each question gives you and count what’s still unknown.

Use roots and a point

Practice problem

A quadratic function ff has zeros at x=−4x=-4 and x=2x=2. The graph of y=f(x)y=f(x) passes through (0,16)(0,16). What is the value of f(3)f(3)?

Calculator loads as you approach
Build the factored form by hand first. Then graph it if you want to check the roots and the point.

Use a vertex and a point

Practice problem

A quadratic function gg has a vertex at (−3,5)(-3,5) and passes through the point (−1,−3)(-1,-3). What is the value of g(0)g(0)?

Calculator loads as you approach
Build it by hand in vertex form. The calculator is here if you want to check the vertex and both points.

Find a root from symmetry

Practice problem

The graph of a quadratic function pp has an axis of symmetry at x=2x=2 and one xx-intercept at (−3,0)(-3,0). The graph also passes through (0,−15)(0,-15). The function can be written as

p(x)=a(x+3)(x−r),p(x)=a(x+3)(x-r),

where aa and rr are constants. What is the value of aa?

Calculator loads as you approach
Find the mirror root first, then solve for a. Graph your result to check the axis and both intercepts.

Fit a quadratic through three points

Practice problem

A quadratic function qq has a graph that passes through the points (0,4)(0,4), (1,3)(1,3), and (3,7)(3,7). What is the value of q(4)q(4)?

Calculator loads as you approach
Put the three points in a table and fit a quadratic regression.

Finish the lesson

4 practice examples left

Finish the remaining questions correctly to complete this lesson.

Quick recap

  • Roots rr and ss point to f(x)=a(x−r)(x−s)f(x)=a(x-r)(x-s), and a vertex (h,k)(h,k) points to f(x)=a(x−h)2+kf(x)=a(x-h)^2+k.
  • A point (u,v)(u,v) means f(u)=vf(u)=v. To find aa, use a point the form doesn’t already hold.
  • Around the axis x=hx=h, inputs the same distance away have equal outputs, and roots come in mirror pairs.
  • Count what’s still unknown. Just aa? Go by hand. All three, from three unrelated points? Use quadratic regression in a table.
  • After regression, define the function with the stored aa, bb and cc, then evaluate what the question asks for.
  • Finish by checking every condition, including every given point.

Next lesson

Interpret quadratic models and extrema

Interpret a contextual maximum, minimum, intercept, coefficient, or realistic domain.

Start next lesson

Practice

Practice this lesson

256 SAT questions use what this lesson teaches. Practice a few in a study session at the difficulty you choose.

Start practice