The quadratic formula
Every equation of the form a x squared plus b x plus c equals 0 can be solved with one formula, even when the expression can't be factorised with whole numbers:
Here a, b and c are the numbers in front of x squared, in front of x, and on their own. Where it comes from is shown in Completing the square.
The quadratic formula solves a x squared plus b x plus c equals 0: put in a, b and c, and work out both answers, one with + and one with −.
An example
Take x squared minus 6 x plus 6 equals 0. Here a equals 1, b equals minus 6 and c equals 6. Putting them in, carefully with the minus in b:
In the app, this is the first step: the numbers put in, nothing worked out yet. The second step works it out. minus minus 6 is 6, and under the root, 36 minus 24 is 12:
Tidying the answer
the square root of 12 can be simplified: 12 is 4 times 3, and the root of 4 is 2, so the square root of 12 is 2 the square root of 3. Then both terms on top can be divided by 2:
So x equals 3 plus the square root of 3 or x equals 3 minus the square root of 3.
What the root decides
The number under the root, b squared minus 4 a c, decides how many answers there are:
- Positive: two answers, one with + and one with −.
- Zero: the + and the − give the same, so there is one answer.
- Negative: there is no square root of a negative number, so there is no solution.
On the graph of y equals a x squared plus b x plus c, the answers are where the curve meets the x-axis: twice, once, or never.
When the app works out the formula and the root turns out negative, the answer is "no solution".