Question
How to find a quadratic's coefficients from two points and a constant term
Original question: (b) The graph of y = ax^2 + bx + 13 passes through the points (-3, -23) and (4, 5). Determine the values of the constants a and b. y = ax^2 + bx + 13 -23 = a(-3)^2 + b(-3) + 13 -23 = 9a - 3b + 13 -23 - 13 = 9a - 3b -36 = 9a - 3b y = ax^2 + bx + 13 (4,5) 5 = a(4)^2 + b(4) + 13 5 = 16a + 4b + 13 5 - 13 = 16a + 4b -8 = 16a + 4b { 9a - 3b = -36 16a + 4b = -8
Expert Verified Solution
Key takeaway: Once the constant term is fixed, the graph passing through two points gives you two linear equations in and . The algebra is routine, but the setup has to be exact.
We are given
and the graph passes through and .
Step 1: Substitute
So we get
Step 2: Substitute
So we get
Step 3: Solve the system
Divide the first equation by 3:
Divide the second equation by 4:
Now add the equations:
Substitute into :
Final answer
A quick check is worth doing:
At :
At :
Both points fit.
Pitfalls the pros know 👇 Do not mix up the two substitutions. A small sign error in or can throw the whole system off. Also, remember the constant term is already built in as , so there is no need to solve for it.
What if the problem changes? If the question had used three points instead of two, you could still set up a system, but the extra point would act as a check. If the constant term were unknown as well, you would need three independent equations to solve for , , and .
Tags: system of equations, quadratic coefficients, substitution
FAQ
How do you find a and b from two points on a quadratic?
Substitute each point into y=ax^2+bx+c to create two equations, then solve the system for a and b.
Why should I check the answers after solving?
A quick check confirms that both points satisfy the equation and helps catch sign errors.