Solve x^2 + 4x - 5 = 0
- Discriminant
- Two numbers: multiply to −5, add to 4
- Factor
- Zero product rule
- Check the sum and product
Roots, the discriminant, and the method that fits the equation in front of you.
Saved on this device only. Nothing leaves your browser.
Every quadratic can be solved by formula, but the formula is not always the fastest route. Check the discriminant first: it tells you how many real roots exist before you do any work, and whether the equation will factor neatly.
Put the equation in the form ax² + bx + c = 0 first. Everything below assumes that shape.
b² − 4ac decides everything. Positive gives two real roots, zero gives one repeated root, negative gives a complex conjugate pair. A perfect square means it factors over the integers.
Two numbers that multiply to a·c and add to b. This is the fastest route when it works.
x = (−b ± √(b² − 4ac)) / 2a. It always works. Simplify the surd rather than reaching for a decimal.
Halve the coefficient of x, square it, add and subtract it. This gives the turning point as a side effect.
A quadratic has two roots unless the discriminant is zero. Their sum should be −b/a and their product c/a, which is a two-second check.
Each one is solved the way the solver solves it: the rule first, then the line.
A negative discriminant means the parabola never crosses the x-axis. The roots are a complex conjugate pair.
The completed form (x − 3)² − 7 also gives the vertex directly: (3, −7).
Asked here and worked through in full. Open one for every step.
Taking a square root gives two values. Dropping the minus branch loses half the answer.
a, b and c only mean anything once the equation equals zero. x² + 4x = 5 has c = −5, not 5.
In (4 ± 2√10)/4 you may only cancel a factor shared by every term. Cancelling the 4 with the 4 alone is wrong.
Halve the coefficient of x, square it, and add and subtract it. For x² + 6x + 5, half of 6 is 3 and 3² = 9, giving (x + 3)² − 9 + 5 = (x + 3)² − 4. Then take the square root of both sides.
x = (−b ± √(b² − 4ac)) / 2a, for any equation written as ax² + bx + c = 0. It always works, including when the equation does not factor.
Try factoring first, since it is fastest when it works. If it does not factor cleanly, use the quadratic formula. Completing the square is the method to use when you also need the vertex.
The vertex sits at x = −b / 2a; put that x back into the equation for the y value. For y = x² − 4x + 1 the vertex is at x = 2, y = −3. Completing the square gives the same point directly.
The b² − 4ac inside the square root. Positive means two real solutions, zero means one repeated solution, and negative means two complex ones. It tells you what to expect before you solve.
A parabola can cross the horizontal axis twice, so a quadratic normally has two solutions. Both are correct unless the problem itself rules one out, as a length or a time often does.
That is normal. The solver gives the exact form first, with the radical or fraction intact, then a decimal to three or four significant figures underneath.
Yes. When the discriminant is negative it reports the pair of complex solutions rather than saying there is no answer.