Equation Solver
This professional-grade equation solver helps students, educators, and engineers solve algebraic problems faster and with confidence. It provides exact step-by-step solutions for linear and quadratic equations, robust numeric roots for complex equations, and a reliable solver for 2×2 to 4×4 linear systems—designed mobile-first and fully accessible.
Interactive Calculator
Single Equation Inputs
Linear System Inputs
Results
Data Source and Methodology
Authoritative references:
- NIST Digital Library of Mathematical Functions (DLMF), Release 1.2.1, 2024. https://dlmf.nist.gov/
- R. L. Burden & J. D. Faires, Numerical Analysis, 10th ed., Cengage Learning, 2016.
All computations strictly follow formulas and methods from these sources. All calculations are rigorously based on the formulas and data provided by this source.
The Formulas Explained
Glossary of Variables and Outputs
- Equation: The expression of equality to solve, e.g., 2x^2 - 5x + 2 = 0.
- Variable: The unknown symbol to solve for (default: x).
- Method: Auto, Symbolic Only (up to quadratic), or Numeric Only.
- Min/Max: Interval scanned for numeric roots.
- Tolerance: Target precision for numeric methods.
- Max iterations: Safety cap for numeric convergence loops.
- Solutions: Exact values (when symbolic) or numeric approximations.
- Residual: Maximum |f(x)| across reported solutions (smaller is better).
Worked Example
How It Works: A Step-by-Step Example
Problem: Solve 2x + 5 = 19.
- Rewrite: 2x + 5 = 19 → 2x = 19 − 5 = 14.
- Divide both sides by 2: x = 14 ÷ 2 = 7.
- Result: x = 7.
Using the quadratic form, for example x^2 − 5x + 6 = 0, the solver applies:
Frequently Asked Questions (FAQ)
What types of equations can this solve exactly?
Linear and quadratic single-variable equations are solved symbolically with steps. Cubic and higher degrees, or equations with trigonometric/exponential functions, are solved numerically.
How are numeric roots found?
The solver scans the given interval for sign changes, applies bisection for bracketing, and refines with Newton’s method using a numerically estimated derivative.
How do I write functions and powers?
Use sin(x), cos(x), tan(x), ln(x) or log(x), exp(x), sqrt(x), abs(x). Use ^ for powers and include multiplication explicitly (e.g., 2*x, not 2x).
Can I solve systems of equations?
Yes, use the Linear System mode to solve 2×2, 3×3, or 4×4 systems via Gaussian elimination (with partial pivoting) for numerical stability.
How do I interpret residuals?
The residual |f(x)| indicates how well a value satisfies the equation. Values near or below the tolerance indicate high accuracy.
Does the tool support complex solutions?
For quadratics, complex solutions are displayed when the discriminant is negative. Numeric solving currently targets real roots within the interval.