A function is defined by g(x)=−2x2+12x−7 for real x.
(a) Express g(x) in the form −2(x−p)2+q, stating the values of the constants p and q. [3]
(b) Write down the coordinates of the maximum point of the graph of y=g(x), explaining how you know this point is a maximum rather than a minimum. [2]
(c) Hence, or otherwise, find the exact solutions of g(x)=0, giving each answer as a single fraction involving a surd. [3]
Show worked solutionHide worked solution
Worked solution
Part (a): Completing the square
Factor −2 out of only the terms containing x:
−2x2+12x−7=−2(x2−6x)−7
Complete the square inside the bracket, using x2−6x=(x−3)2−9:
=−2[(x−3)2−9]−7
Multiply through by the −2, then combine the constants:
=−2(x−3)2+18−7=−2(x−3)2+11
So g(x)=−2(x−3)2+11, giving p=3, q=11.
Check by expanding back:−2(x−3)2+11=−2(x2−6x+9)+11=−2x2+12x−18+11=−2x2+12x−7, which matches the original g(x). ✓
Part (b): Maximum point
In the form −2(x−p)2+q, the vertex of the parabola is at (p,q)=(3,11).
Since the coefficient of (x−3)2 is −2<0, the graph is a downward-opening parabola (a "∩" shape), so this vertex is the highest point on the curve, a maximum, not a minimum.
Part (c): Solving g(x)=0 exactly
Using the completed-square form:
−2(x−3)2+11=0
(x−3)2=211
x−3=±211=±211=±222
x=3±222=26±22
Check using the quadratic formula. With a=−2, b=12, c=−7:
discriminant=122−4(−2)(−7)=144−56=88
x=2(−2)−12±88=−4−12±222=412∓222=26∓22
This is the same pair of values as 26±22 (the ± symbol covers both orderings), so the two methods agree.
Numerical check:22≈4.69, so x≈5.35 or x≈0.65. Substituting x=5.35: g(5.35)=−2(5.35)2+12(5.35)−7≈−57.2+64.2−7≈0. ✓