You will be able to solve any quadratic equation with one formula. You will also see in advance whether it has answers.
Core idea
Where the formula comes from
Take an equation like , where is not zero. You already know how to solve it by completing the square. Do that once with the letters left in, and out comes a formula.
So the formula is not magic. It is completing the square, done for you.
Two answers from one formula
The sign means "plus or minus". Work the formula once with a plus in front of the root and once with a minus. That gives two answers.
The discriminant
Look at the part under the square root, . It is called the discriminant, and it tells you how many answers to expect before you finish.
If it is positive, its square root is a real number, so there are two solutions. If it is zero, the root is zero, so the two solutions land on the same value. If it is negative, no real number squares to it, so there is no real solution.
Keeping the signs straight
Say is . Put every negative number in brackets when you substitute it.
Then becomes , which is positive.
Without brackets, is negative.
The same goes for , say .
In , a negative turns the whole term into a positive number.
Most people drop a sign when they substitute. Brackets around every negative number are what stop that.
Worked example
Solve , giving the larger root.
First read off the three numbers with their signs. Then put them into the formula, each in brackets:
Problems
Solve , giving the larger root.
Hint
Write down the three numbers with their signs.
Find the discriminant of . Then say what it tells you about the solutions.
Hint
The discriminant is minus four times . Keep the sign of the last number.
Solve . Give the larger root exactly, with the square root left in.
Hint
Find the discriminant first. It is not a perfect square, so leave its root under the root sign.
The equation has equal roots. Find .
Hint
Equal roots means the discriminant is zero, and here is .