 Home Explore the BBC     Life | The Universe | Everything | Advanced Search            Click here to complete your registration. 3. Everything / Maths, Science & Technology / Mathematics   Despite its history, the quadratic formula was nearly dropped from the UK's GCSE national curriculum – the UK government decided to hold a debate on whether to keep the formula, and thankfully it was saved. However, in case it does get dropped one day, this entry explains what the formula is and how to use it. Before reading any further, you may want to find a calculator and something to scribble on.

The Basics

The quadratic formula is used to solve equations of the sort ax2 + bx + c = 01. The formula is:

x=-b±√(b²-4ac)
2a

Note that the formula gives two possible solutions, hence the 'plus or minus' () symbol. A quadratic equation is used for many things in physics such as calculating stopping distances, but it can also be used in areas like biology too!

If this all looks too complicated, don't worry: all will soon be explained.

Deriving the Formula

Having seen the quadratic formula, you probably want to know how it is derived. Well, here you go:

We start off with a quadratic equation (note that 'a' is not equal to zero):

ax2 + bx + c = 0
x2 + x(b/a) + c/a = 0          (divide through by 'a')

x2 + x(b/a)    = -c/a         (subtract 'c/a')
(x + b/2a)2 - (b/2a)2 = -c/a         (complete the square2)

(x+b/2a)2 = (b/2a)2 -c/a     (add (b/2a)2)
(x + b/2a)2 = b2/(4a2) - c/a      (expand the brackets)

(x + b/2a)2 = (b2-4ac)/(4a2)     (move -c/a inside the brackets)
x + b/2a = � √(b2-4ac/4a2)     (take the square root of both sides3)

x + b/2a = �√(b2-4ac)/2a     (move 4a2 out of the brackets)
x = -b/2a � √(b2-4ac)/2a  (make 'x' the subject of the equation)

Finally, we get:

x=-b� √(b²-4ac)
2a

One thing worth pointing out is that the � √(b2-4ac) part decides the number of solutions available:

• If b2 - 4ac > 0 then there are two solutions to be found, and plans can proceed as normal.

• If b2 - 4ac = 0 then there is only one solution, as the one will end up with -b/2a 'plus or minus the square root of zero'.

• If b2 - 4ac < 0 then there are no real solutions, as taking the square root of b2 - 4ac produces a complex number that will upset ordinary calculators and produce an error message.

• Using the Formula

A rectangle's length is 5 cm longer than its width and its area is 36 cm2. Find the width of the rectangle.

Although a scientific calculator can work out this sort of thing for you with ease, you may well be armed with only a normal calculator or, in an exam, be asked to show your working.

First things first, turn the question into the form ax2+bx+c=0. This may sound tricky, but using several steps will make it much easier.

We know that the area of a rectangle is its width times its length: (width).(length) = (area). Given that the length of the rectangle is 5 more than its width, we can substitute 'x' for the width and 'x+5' for the length. This produces the formula: x(x+5)=36, which can be rearranged into the quadratic form ax2+bx+c=0:

x(x+5) = 36

Open the brackets.

x2 + 5x = 36

Make the equation equal zero.

x2 + 5x +(-36) = 0

Now we can use the quadratic formula to work out 'x':

x= unknown number, a=1, b=5, c=-36

x=-5 ± √(5²-4*1*-36)
2*1

x=-5 � √(25²-(-144))
2

x=-5 � 169
2

x=-5 � 13
2

x=4 or x=-9

We have now worked out 'x' but, as b2 - 4ac > 0, there are two answers. In most cases, like this one, one answer will be discarded because it is not possible. In this example, the two answers are 4 and -9, so the obvious answer would be 4 as it would be impossible for a rectangle to have a width of -94. In some instances, however, both answers may be possible.

Negatives

In cases where the quadratic equation contains a negative, you must reverse the addition to subtraction, or vice versa, in the formula. For example, if the quadratic equation were ax2 - bx + c = 0 then the formula used would be:

x=b� √(b²-4ac)
2a

The - bx in the equation represents a negative number, and this negative eliminates the minus sign in front of the quadratic formula's -b. It might also make sense to change b2 to (-b)2, but the two are equivalent and so this is unnecessary.

Some Extra Help

If you want to learn a bit more about other methods for solving quadratic equations then The Table Method of Factorising Quadratic Expressions should help.

1 These are often disguised as (px+q)(rx-s) and so forth by crafty question-setters.
2 Don't worry about this step if you don't understand it because it is a subject all on its own.
3 The � sign is added as positive numbers have two roots – for instance, the roots of 100 are ten and minus ten, which can be written as �10.
4 In the real world, that is – in the theoretical one, it would be a different story. People have been talking about this Guide Entry. Here are the most recent Conversations:
 UK govt. debating to drop formula (Last Posting: Jan 11, 2009) Negative variables (Last Posting: Jan 11, 2009)      Add your Opinion!There are tens of thousands of h2g2 Guide Entries, written by our Researchers. If you want to be able to add your own opinions to the Guide, simply become a member as an h2g2 Researcher. Tell me More!       Entry Data
Entry ID: A45168573 (Edited)

Written and Researched by:
Beeblebrox
Jhawkesby

Edited by:
Tufty - Squirrel (Un)Extraordinaire

Date: 07   January   2009

 Referenced Guide Entries The Table Method of Factorising Quadratic Expressions The History Behind The Quadratic Formula Complex Numbers - an Introduction

Most of the content on this site is created by h2g2's Researchers, who are members of the public. The views expressed are theirs and unless specifically stated are not those of the BBC. The BBC is not responsible for the content of any external sites referenced. In the event that you consider anything on this page to be in breach of the site's House Rules, please click here to alert our Moderation Team. For any other comments, please start a Conversation below.            Most of the content on h2g2 is created by h2g2's Researchers, who are members of the public. The views expressed are theirs and unless specifically stated are not those of the BBC. The BBC is not responsible for the content of any external sites referenced. In the event that you consider anything on this page to be in breach of the site's House Rules, please click here. For any other comments, please start a Conversation above. About the BBC | Help | Terms of Use | Privacy & Cookies Policy