Equation Solver
Equation Solver solves linear (ax + b = 0) and quadratic (ax² + bx + c = 0) equations, finding two, one, or zero real roots for quadratics based on the discriminant. It also solves cubic equations (including complex roots), the complex roots of quadratics with no real solution, and 2×2 / 3×3 linear systems (telling a unique solution from no solution or infinitely many).
How it works
- 1Choose linear or quadratic mode.
- 2Enter the coefficients (a, b, and c for quadratics).
- 3The root(s) are calculated and shown instantly.
- 4If the discriminant is negative, the quadratic has no real roots and the tool flags it.
Frequently asked questions
What is the discriminant and why does it matter?−+
Calculated as b² - 4ac; positive means two distinct real roots, zero means one repeated root, negative means no real roots (the roots become complex numbers).
What happens if I enter a = 0?−+
The equation becomes linear (or constant), so the tool reports it as invalid, use the linear mode for that case instead.
Does it show complex (imaginary) roots?−+
No, this tool only computes real-number roots; if the discriminant is negative it shows 'no real roots'.
What precision are the roots shown at?−+
Rounded to 4 decimal places; integer roots show a zero decimal part.
What does "infinitely many solutions" mean for a system?−+
If one equation is a combination of the others (e.g. x+2y=3 and 2x+4y=6) there is not enough information and the solution is not unique; if the equations contradict each other (x+2y=3 and 2x+4y=7) there is no solution. The tool tells the two cases apart using the determinant and rank.
Embed on your site
<iframe src="https://toolsqube.com/en/math/equation-solver/embed" width="480" height="360" style="border:0;border-radius:14px" title="Equation Solver · ToolsQube" loading="lazy"> </iframe>
Want to go deeper on this topic: Math Tools Guide →