Step-by-Step Equation Solver
Solve linear, quadratic, rational and radical equations or linear systems with every step shown.
How it works
Shows the full working for linear and quadratic equations (factoring, completing the square or the quadratic formula), rational equations with domain restrictions, radical equations, higher polynomials and systems of 2–6 linear equations solved by Gaussian elimination with exact fractions. Every answer is checked by substitution and extraneous roots are flagged.
- Everything is moved to one side and simplified with exact fractions. The equation type is detected: polynomial (by degree), rational (variable in a denominator), radical (variable under a root), single occurrence of the variable (isolated with inverse operations), otherwise numeric.
- Quadratics: factoring when the discriminant is a perfect square, completing the square or the quadratic formula on request; complex solutions are shown when the discriminant is negative.
- Higher polynomials: the rational root theorem finds all rational roots exactly; a remaining quadratic is solved exactly, larger remainders numerically with the Durand–Kerner method.
- Rational equations: the denominators are factored, values that make them zero are excluded, both sides are multiplied by the least common denominator, and candidates in the excluded set are rejected as extraneous.
- Radical equations: the radical is isolated and both sides raised to the root’s power (repeated for a second radical); each candidate is substituted into the original equation and rejected if it fails.
- Linear systems: Gauss–Jordan elimination on the augmented matrix with exact fractions, showing every row operation; inconsistent and dependent systems are recognised.
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
Proofline Math notebook
Solve, graph, test and visualise in one notebook — with data, findings and a report.
Related tools
- Math Workbench – Simplify, factor, differentiate, integrate, solve, take limits, series and plots in one box.
- Matrix & Linear Algebra Lab – Exact-fraction RREF with steps, determinant, inverse, null space, eigenvalues, LU/QR and Ax = b.
- Graphing Calculator – Plot up to 6 functions or parametric curves with roots, extrema, intersections and SVG/PNG export.
How to use the Step-by-Step Equation Solver
Solve linear, quadratic, rational, radical and polynomial equations or linear systems with the full working, checks and extraneous roots flagged.
What it is for
Getting an answer to an equation is easy. Seeing why it's the answer, and catching the root that only looks valid, is the hard part. This solver writes out the working the way a teacher would: bring everything to one side, identify the type, apply the right method, then substitute each answer back into the original equation.
It handles linear and quadratic equations (by factoring, completing the square or the quadratic formula; you can choose), rational equations with their domain restrictions, equations with square roots, higher-degree polynomials, and systems of 2 to 6 linear equations, which it solves by Gauss–Jordan elimination with exact fractions. When no symbolic method applies, as with cos(x) = x, it searches for real roots numerically on an interval you can set.
It doesn't solve inequalities or non-linear systems, and the numeric search can miss roots outside the interval.
Worked example
The classic trap: sqrt(x + 3) = x - 3. Squaring both sides gives x² − 7x + 6 = 0, so x = 1 or x = 6.
The solver returned x = 6 and listed x = 1 as extraneous: "Substituting into the original equation gives 2 on the left and −2 on the right, so it is extraneous (introduced by raising both sides to a power)." The check for x = 6 shows 3 = 3.
A rational equation works the same way. For x/(x-2) + 1/(x+2) = 8/(x^2-4), the domain step states x ≠ 2 and x ≠ −2. Multiplying by the common denominator (x − 2)(x + 2) gives x² + 3x − 10 = 0, which factors as (x − 2)(x + 5) = 0. The candidate 2 is rejected because it makes a denominator zero. Answer: x = −5, check 8/21 = 8/21.
With the method set to square, x^2 + 6x + 5 = 0 shows the steps you'd write by hand: x² + 6x = −5, add 3² = 9 to both sides to get (x + 3)² = 4, then x = −3 ± 2, which gives −5 and −1.
The system x + y + z = 6, 2y + 5z = -4, 2x + 5y - z = 27 (one equation per line) gave x = 5, y = 3, z = −2, with every row operation and a check of all three equations.
How to read the result
- Kind and method: what the solver recognised (quadratic, rational, radical, polynomial, linear system, numeric) and how it solved it.
- Solutions: exact values (fractions, surds like (−3 ± √41)/4, complex values like −1 ± 2i) with decimals alongside.
- Excluded / extraneous: values that are outside the domain or fail the original equation. This is often the part your teacher grades.
- Verification: the left and right side for each solution after substitution.
- Notes: warnings such as "numeric search on [−100, 100]".
Tips and common mistakes
- Write multiplication implicitly or with
*:2x,3(x+1). Usesqrt(...)for roots. - For several letters in one equation, fill in Solve for. For a system, list the unknowns comma-separated if the order matters to you.
- Negative discriminant? You get complex solutions.
x^2 + 2x + 5 = 0gives −1 ± 2i. Whether "no real solution" is the expected answer depends on your course. - If a numeric answer is expected outside ±100, widen the search interval.
cos(x) = xgave 0.739085133215, labelled as an approximation. - Factoring is used automatically only when the discriminant is a perfect square. Choose the method explicitly if your exercise asks for a specific one.
FAQ
Why did it throw away one of my answers?
Squaring both sides or multiplying by an expression that can be zero creates extra candidates. The solver substitutes each one back and rejects those that fail. The reason is written next to each rejected value.
Can it solve cubic and quartic equations?
Yes, when they have rational roots. x^3 - 2x^2 - 5x + 6 = 0 gives −2, 1 and 3. A leftover quadratic is solved exactly, and higher remainders numerically.
What happens with a system that has no or infinitely many solutions?
Elimination shows it. For x + y = 2 and x + y = 3, a row reads 0 = 1, so there is no solution. For x + y = 2 and 2x + 2y = 4, y is a free variable and the answer is x = 2 − y.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://equationsolversteps.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://equationsolversteps.usefulweb.site/mcp· tool nameequation_solver_steps
Example request
curl -s -X POST https://equationsolversteps.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{"equations":"x^2 + 6x + 5 = 0","method":"square"}'