Completing the Square
Question 11 mark
A curve has equation
y=6-(x+5)^2
Write down the coordinates of the maximum point of the curve.
Hint
(x+5)^2 is never negative, so y is largest when the bracket is zero.
Worked solution
- (x+5)^2\geqslant0, so y\leqslant6
- y=6 when x+5=0, that is when x=-5
- (Not (5,\ 6): the sign inside the bracket changes.)
- Answer: (-5,\ 6)
Question 21 mark
Solve
(x+2)^2-11=0
Give your answers in surd form.
Hint
Don't expand: add 11 to both sides, then square root, remembering there are two square roots.
Worked solution
- (x+2)^2=11
- x+2=\pm\sqrt{11}
- x=-2\pm\sqrt{11}
- Answer: x=-2+\sqrt{11} or x=-2-\sqrt{11}
Question 32 marks
Write x^2-14x+30 in the form (x+a)^2+b, where a and b are integers.
Hint
Halve the coefficient of x to get the number in the bracket, then subtract its square.
Worked solution
- Half of -14 is -7, so start with (x-7)^2
- (x-7)^2=x^2-14x+49
- So x^2-14x+30=(x-7)^2-49+30
- Answer: (x-7)^2-19
Question 42 marks
Which of these is x^2+9x+4 written in completed-square form?
Hint
Halve the 9 for the bracket, then work out what you must subtract so the constant term is still 4.
Worked solution
- Half of 9 is \frac92, so start with \left(x+\frac92\right)^2
- \left(x+\frac92\right)^2=x^2+9x+\frac{81}{4}
- So x^2+9x+4=\left(x+\frac92\right)^2-\frac{81}{4}+4
- -\frac{81}{4}+\frac{16}{4}=-\frac{65}{4}
- Answer: \left(x+\frac{9}{2}\right)^2-\frac{65}{4}
Question 52 marks
Which statement is a correct reason why x^2-10x+27 is positive for all values of x?
Hint
Complete the square, then think about the smallest value the squared bracket can take.
Worked solution
- Complete the square: x^2-10x=(x-5)^2-25
- So x^2-10x+27=(x-5)^2+2
- (x-5)^2\geqslant0 for every x, so the expression is at least 2
- (One value of x doesn't show it for all x; (x+5)^2+2 has the wrong sign; (x-5)^2=0 when x=5.)
- Answer: the second statement
Question 62 marks
(x-3)^2+k\equiv x^2+mx+2k
where k and m are constants.
Work out the value of k.
Hint
Expand the bracket on the left, then compare the constant terms on each side.
Worked solution
- (x-3)^2+k=x^2-6x+9+k
- Compare the x terms: m=-6
- Compare the constant terms: 9+k=2k
- Answer: k=9
Question 72 marks
y=x^2+10x+k, where k is a constant.
The minimum value of y is 3
Work out the value of k.
Hint
Complete the square first; the number left outside the bracket is the minimum value of y.
Worked solution
- Complete the square: x^2+10x=(x+5)^2-25
- So y=(x+5)^2+k-25
- (x+5)^2\geqslant 0, so the minimum value of y is k-25
- k-25=3
- Answer: k=28
Question 83 marks
Write 4x^2-40x+93 in the form a(x+b)^2+c, where a, b and c are integers.
Hint
Take the 4 out of the first two terms only, then complete the square inside the bracket.
Worked solution
- Take out the 4 from the x terms: 4(x^2-10x)+93
- x^2-10x=(x-5)^2-25
- So 4\left[(x-5)^2-25\right]+93=4(x-5)^2-100+93
- Answer: 4(x-5)^2-7
Question 93 marks
Write 2x^2+6x-1 in the form a(x+b)^2+c
Give b and c as fractions in their simplest form.
Hint
Take the 2 out of the first two terms only, then halve the coefficient of x inside the bracket.
Worked solution
- Take out the 2 from the x terms: 2(x^2+3x)-1
- Complete the square inside: x^2+3x=\left(x+\frac32\right)^2-\frac94
- So 2\left[\left(x+\frac32\right)^2-\frac94\right]-1
- Multiply out the outer bracket: 2\left(x+\frac32\right)^2-\frac92-1
- -\frac92-1=-\frac{11}{2}
- Answer: 2\left(x+\frac32\right)^2-\frac{11}{2}
Question 103 marks
Write 1-18x-3x^2 in the form a-b(x+c)^2, where a, b and c are integers.
Hint
Take out -3 from the two x terms, so the inside bracket starts x^2+6x; be careful with the signs.
Worked solution
- Take out -3 from the x terms: 1-3(x^2+6x)
- x^2+6x=(x+3)^2-9
- So 1-3\left[(x+3)^2-9\right]=1-3(x+3)^2+27
- Answer: 28-3(x+3)^2
Question 113 marks
By completing the square, solve
x^2+6x-11=0
Give your answers in the form p\pm q\sqrt5, where p and q are integers.
Hint
Write x^2+6x as a squared bracket minus a number, then rearrange and square root both sides.
Worked solution
- x^2+6x=(x+3)^2-9
- So (x+3)^2-9-11=0, which gives (x+3)^2=20
- x+3=\pm\sqrt{20}=\pm2\sqrt5
- Answer: x=-3+2\sqrt5 or x=-3-2\sqrt5
Question 123 marks
A curve has equation
y=2x^2+10x+9
Work out the coordinates of the minimum point of the curve.
Give each coordinate as a fraction or an exact decimal.
Hint
Write the right-hand side in the form a(x+b)^2+c first; the minimum is where the bracket is zero.
Worked solution
- Take out the 2: 2(x^2+5x)+9
- x^2+5x=\left(x+\frac52\right)^2-\frac{25}{4}
- So y=2\left(x+\frac52\right)^2-\frac{25}{2}+9=2\left(x+\frac52\right)^2-\frac72
- The bracket is zero when x=-\frac52, and then y=-\frac72
- Answer: \left(-\frac52,\ -\frac72\right)
Question 133 marks
The diagram shows a curve.
The maximum point of the curve is (2,\ 5)
The curve crosses the y-axis at (0,\ -3)
Work out the equation of the curve.
Give your answer in the form y=p-q(x-r)^2, where p, q and r are integers.
Hint
The maximum point gives you p and r; then substitute the point where the curve crosses the y-axis to find q.
Worked solution
- The maximum of y=p-q(x-r)^2 is at (r,\ p), so r=2 and p=5
- So y=5-q(x-2)^2
- At (0,\ -3): -3=5-q(0-2)^2=5-4q
- 4q=8, so q=2
- Answer: y=5-2(x-2)^2
Question 143 marks
By completing the square, solve
2x^2-12x+5=0
Give your answers in the form p\pm\sqrt q, where p is an integer and q is a fraction.
Hint
Take the 2 out of the x terms and complete the square, then get the squared bracket on its own before square rooting.
Worked solution
- Take out the 2: 2(x^2-6x)+5=0
- x^2-6x=(x-3)^2-9, so 2(x-3)^2-18+5=0
- 2(x-3)^2=13, so (x-3)^2=\frac{13}{2}
- x-3=\pm\sqrt{\frac{13}{2}}
- Answer: x=3\pm\sqrt{\frac{13}{2}}
Question 153 marks
Work out the maximum value of
\frac{15}{x^2+6x+14}
Hint
The fraction is largest when its denominator is smallest, so complete the square on the denominator.
Worked solution
- Complete the square: x^2+6x+14=(x+3)^2+5
- (x+3)^2\geqslant0, so the smallest value of the denominator is 5
- The fraction is largest when the denominator is smallest: \dfrac{15}{5}
- Answer: 3
Question 16Challenge5 marks
A is the point (5,\ 0)
P is the point (t,\ 2t) on the line y=2x
Write AP^2 in the form a(t+b)^2+c, where a, b and c are integers.
3 marks
Write down the coordinates of P when AP is as short as possible.
1 mark
Work out the shortest possible length of AP.
Give your answer in the form k\sqrt5, where k is an integer.
1 mark
Hint
Use Pythagoras' theorem for AP^2 in terms of t, then complete the square. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- Horizontal distance t-5, vertical distance 2t
- AP^2=(t-5)^2+(2t)^2
- =t^2-10t+25+4t^2=5t^2-10t+25
- =5(t^2-2t)+25=5\left[(t-1)^2-1\right]+25
- Answer: 5(t-1)^2+20
Part (b)
- AP^2 is smallest when (t-1)^2=0, so t=1
- P=(t,\ 2t)
- Answer: (1,\ 2)
Part (c)
- The least value of AP^2 is 20
- AP=\sqrt{20}=\sqrt4\times\sqrt5
- Answer: 2\sqrt5
Question 17Challenge5 marks
A curve has equation
y=5+9x+3x^2-x^3
Work out \dfrac{\mathrm{d}y}{\mathrm{d}x}
Give your answer in the form p-q(x-r)^2, where p, q and r are integers.
3 marks
Work out the coordinates of the point on the curve where the gradient is greatest.
2 marks
Hint
Differentiate first, then complete the square on the gradient function. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- \dfrac{\mathrm{d}y}{\mathrm{d}x}=9+6x-3x^2
- Take out -3 from the x terms: 9-3(x^2-2x)
- x^2-2x=(x-1)^2-1
- So 9-3\left[(x-1)^2-1\right]=9-3(x-1)^2+3
- Answer: 12-3(x-1)^2
Part (b)
- 3(x-1)^2\geqslant0, so the gradient is greatest (12) when x=1
- y=5+9+3-1=16
- Answer: (1,\ 16)
Question 18Challenge6 marks
A café sells cupcakes at \pounds x each.
The café's weekly profit from cupcakes, \pounds P, is given by
P=560x-40x^2-1200
Write 560x-40x^2-1200 in the form a-b(x-c)^2, where a, b and c are integers.
3 marks
Write down the maximum weekly profit, in pounds.
1 mark
The weekly profit is zero at two different prices.
Work out the lower of these two prices.
Give your answer in pounds, to the nearest penny.
2 marks
Hint
Take out -40 from the x terms before completing the square. Answer part (a) before attempting parts (b) and (c).
Worked solution
Part (a)
- Take out -40 from the x terms: -40(x^2-14x)-1200
- x^2-14x=(x-7)^2-49
- So -40\left[(x-7)^2-49\right]-1200=-40(x-7)^2+1960-1200
- Answer: 760-40(x-7)^2
Part (b)
- 40(x-7)^2\geqslant0, so P\leqslant760, with P=760 when x=7
- Answer: \pounds760
Part (c)
- 760-40(x-7)^2=0, so (x-7)^2=19
- x-7=\pm\sqrt{19}, so x=7-\sqrt{19} or x=7+\sqrt{19}
- The lower price is 7-\sqrt{19}=2.6411\ldots
- Answer: \pounds2.64
Question 19Challenge6 marks
The diagram shows the curve
y=3x^2-12x+7
A is the point where the curve crosses the y-axis.
B is the minimum point of the curve.
The line through A parallel to the x-axis meets the curve again at C.
Work out the coordinates of B.
3 marks
Work out the coordinates of C.
1 mark
Work out the area of triangle ABC.
2 marks
Hint
Complete the square to find the minimum point; the curve is symmetrical about the vertical line through B. Answer part (a) before attempting parts (b) and (c).
Worked solution
Part (a)
- Take out the 3: 3(x^2-4x)+7
- x^2-4x=(x-2)^2-4
- So y=3(x-2)^2-12+7=3(x-2)^2-5
- The minimum is where the bracket is zero
- Answer: B=(2,\ -5)
Part (b)
- A=(0,\ 7)
- The curve is symmetrical about x=2, so C is as far to the right of x=2 as A is to the left
- Answer: C=(4,\ 7)
Part (c)
- Base AC=4-0=4
- Height = vertical distance from B to AC =7-(-5)=12
- Area =\frac12\times4\times12
- Answer: 24
Question 20Challenge6 marks
A curve has equation y=x^2-2ax+b, where a and b are constants.
Write x^2-2ax+b in the form (x+p)^2+q, where p and q are in terms of a and b.
2 marks
The curve passes through the point (2,\ 7).
The minimum point of the curve lies on the line y=x-1
Work out the two possible values of a.
4 marks
Hint
The minimum point of (x+p)^2+q is (-p,\ q); use the point on the curve to replace b, then substitute the minimum point into the line.
Worked solution
Part (a)
- Halve the coefficient of x: -2a\div2=-a
- x^2-2ax=(x-a)^2-a^2
- Answer: (x-a)^2+b-a^2
Part (b)
- Substitute (2,\ 7) into the curve: 4-4a+b=7, so b=4a+3
- From part (a), the minimum point is (a,\ b-a^2)
- So the minimum point is (a,\ 4a+3-a^2)
- It lies on y=x-1: 4a+3-a^2=a-1
- Rearrange: a^2-3a-4=0
- Factorise: (a-4)(a+1)=0
- Answer: a=4 or a=-1