Pure Mathematics Year 1, chapter 2 (Quadratics), section 2.2
The form
Any quadratic can be written as
ax2+bx+c=a(x+p)2+q
For the common case a=1:
x2+bx+c=(x+2b)2+c−4b2
Method
If a=1, take a out of the x2 and x terms.
Halve the coefficient of x and put it in the bracket.
Subtract the square of that half to compensate.
Multiply out the factor a and tidy the constants.
What the form tells you
For y=a(x+p)2+q:
The turning point (vertex) is (−p,q).
The line of symmetry is x=−p.
If a>0, the turning point is a minimum and q is the smallest value. If a<0, it is a maximum and q is the largest value.
Worked example 1
Write 2x2+12x+7 in the form a(x+p)2+q.
2x2+12x+7=2(x2+6x)+7=2[(x+3)2−9]+7=2(x+3)2−11
The minimum value is −11, at x=−3.
Worked example 2: a negative x2 term
Write −x2+4x+1 in completed-square form.
−x2+4x+1=−(x2−4x)+1=−[(x−2)2−4]+1=−(x−2)2+5
The maximum value is 5, at x=2.
Worked example 3: solving exactly
Solve x2−6x+2=0, giving exact answers.
(x−3)2−9+2=0⇒(x−3)2=7⇒x=3±7
Always positive
x2−6x+10=(x−3)2+1≥1, so this expression is always positive. This is the standard way to prove an expression never reaches zero.
Common mistake: a sign error in the bracket. x2−6x becomes (x−3)2−9: the bracket has the same sign as the −6x, and the correction is always subtracted. When a=1, remember to multiply the correction by a.
Exam tip: you can check by expanding. If 2(x+3)2−11 expands back to 2x2+12x+7, it's right. Do this on a spare line before moving on.