Advertisement
Higher Bitesize
Print

Maths

Quadratic theory

Page:

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  1. Next

Completing the square

Recall that (x + a)^2  = x^2  + 2ax + a^2 and (x - a)^2  = x^2  - 2ax + a^2. Thus for any expression of the form x^2 \pm px, we can add a number to make it a perfect square. To get this number, take half the coefficient of x and square it.

Written in symbols we have

x^2 \pm px +  ({p \over 2})^2 = (x \pm {p \over 2})^2

So x^2 + 6x   =    x^2 + 6x + 9 - 9   =   (x + 3)^2 - 9

Where did the -9 come from? Look again at the working above. Half of 6 is 3, 3 squared equals 9, so we add 9 to form a perfect square. But, so that we don't change the value of the expression, we have to put a -9 into the expression to counter the 9 we have already added.

Here is another example.

x^2  + \,10x + 7 = x^2  + 10x + 25 + \,7 - 25 = \,(x + 5)^2 - \,18

The next example requires more care.

We need to work with -1x^2

5 - 2x - x^2  = 5 - (x^2  + 2x.....) = 5 - \,(x^2  + 2x + \,1) + 1 = 6 - (x + 1)^2

\eqalign{
					& &{2x^{2}} + 6x + 7 \cr\cr
					& = &2{(x^2 +3x + ...)} +7 \cr\cr
					& = & 2{(x^2 + 3x + {({3 \over 2})^2}}) +7 - 2 \x {({3 \over 2})^2}\cr\cr
					& = & 2{({x + {3 \over 2}})}^2 + {5 \over 2}\cr\cr}

Completing the square on a quadratic function aids interpretation, that is, you look at the algebra to see the geometry. Once you've completed the square you'll be able to write the co-ordinates and the nature of the turning point.

Here's how you'd sketch y = x^2  - 4x + 5

\Delta = ( - 4)^2  - 4 x 1 x 5 = -4 < 0

=> no real roots

=> the graph does not cross the x-axis

x = 0 => y = 5=>

the graph crosses the y-axis at (0, 5)

x^2  - 4x + 5 = \,(x - 2)^2  + 1

y is never less than 1

y = 1 when x = 2

So there is a minimum turning point at (2, 1)

Hence

Graph of y = x squared - 4x + 5

Page:

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  1. Next

Back to Algebra index

Explore the BBC

This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.