Equation solver
Type in an equation and the equation solver works it out, showing every step: expanding brackets, rearranging, the discriminant and the roots. It also solves simultaneous linear equations.
Write it as in your exercise book: 2x + 3 = 7. Use ^ or ² for powers, and the multiplication sign is optional: 3(x − 1), 2x². Any letter can be the variable.
The roots of the equation x² − 5x + 6 = 0 are x₁ = 2; x₂ = 3.
Step-by-step working
The coefficients of the quadratic are a = 1, b = −5, c = 6.
Work out the discriminant:
D = b² − 4ac = (−5)² − 4 · 1 · 6 = 1 The discriminant is positive, so the equation has two roots:
√D = √1 = 1x₁ = (5 + 1) / 2 = 3x₂ = (5 − 1) / 2 = 2
Formula
The quadratic formula for ax² + bx + c = 0, where D = b² − 4ac is the discriminant. If D < 0, there are no real roots.
How we got there
Roots that do not come out exactly are given in surd form, with a decimal approximation alongside.
How to solve an equation by hand
- Expand the brackets and collect like terms
3(x − 1) = x + 4 becomes 3x − 3 = x + 4.
- Rearrange the terms
Move the x terms to the left and the numbers to the right, changing their signs: 3x − x = 4 + 3, so 2x = 7 and x = 3.5.
- For a quadratic, find the discriminant
x² − 5x + 6 = 0: D = 25 − 24 = 1, so x = (5 ± 1) / 2, which gives 2 and 3.
- Check the roots
Substitute each root back into the original equation: 2² − 5 · 2 + 6 = 0 — correct.
Still dropping marks on equations in tests? Find a maths tutor for Year 9
Frequently asked questions
Linear and quadratic equations, cubic and quartic equations in one variable, and systems of two to four simultaneous linear equations. Think of it as an algebra calculator focused on equations.
Write it as you would in your exercise book: 2x + 3 = 7. Use ^ or ² for powers, and you can leave out the multiplication sign: 3(x − 1), 2x². Write decimals with a point: 0.5x.
Rearrange it into the form ax² + bx + c = 0, find the discriminant D = b² − 4ac and use the quadratic formula x = (−b ± √D) / 2a. If D < 0, there are no real roots.
Eliminate the variables one at a time: add a multiple of one equation to another so that a variable cancels out. The equation calculator shows each of these steps.
Either the discriminant is negative, or the equation simplifies to a false statement such as 0 = 5. Either way, there are no real solutions.
Not yet. Multiply both sides by the denominator, remembering that it cannot equal zero, and enter the equation without algebraic fractions.
Equations not working out?
Book a free introductory lesson with a Mathema tutor. 30 minutes online, no commitment — we find the gap and the plan to close it.
