⚖️ Equation Solver
Solve linear and quadratic equations with step-by-step algebra. Use the tabs for ax + b = c or ax² + bx + c = 0, including real and complex roots.
Linear and Quadratic Equations — Step-by-Step Roots
BrainyCalculators editorial insight — unique to this tool
Handles ax + b = 0 and ax² + bx + c = 0 with discriminant check — negative discriminant means complex roots. Physics kinematics (s = ut + ½at²) often reduces to quadratic in time. Shows each algebraic step for homework verification.
When to use this calculator
Use when you have a full equation to solve for x. For expression simplification without solving, use Algebra.
Only solving a quadratic and need vertex details?
This page covers both linear and quadratic equations. For a dedicated quadratic formula workflow with vertex and discriminant focus, use the Quadratic Formula Calculator →
Enter coefficients for ax + b = c
Enter coefficients for ax² + bx + c = 0
What is a Linear and Quadratic Equation Solver?
An equation solver finds the value or values of x that make an equation true. This page is a two-mode algebra tool: one tab solves linear equations of the form ax + b = c, and the other solves quadratic equations of the form ax² + bx + c = 0.
Use this page when you need a quick step-by-step solver and are deciding which algebraic form you have. It shows the rearrangement steps for linear equations and the discriminant/root calculation for quadratics, making it useful for homework checking and general algebra review.
If your problem is definitely quadratic and you also want parabola vertex, discriminant interpretation, worked examples, and a deeper formula reference, use the dedicated Quadratic Formula Calculator instead.
Solution Formulas
How the Equation Solver Works
Formula, assumptions, and calculation steps for this math tool.
Methodology
Math calculators apply the relevant arithmetic, algebraic, geometric, or numeric rule to the values entered and simplify the result where possible.
Calculation Steps
- Read the values and operation selected.
- Normalize signs, decimals, fractions, or units if needed.
- Apply the mathematical rule or formula.
- Format the answer and any intermediate values for checking.
Assumptions and Limits
- Inputs must be within the supported domain of the operation.
- Decimal answers may be rounded for readability.
- Symbolic simplification is limited to the calculator scope.
Frequently Asked Questions
A linear equation is one where the variable (x) appears only to the first power, like 2x + 5 = 13. The graph of a linear equation is always a straight line.
The discriminant is b² − 4ac in a quadratic equation. It tells you how many real roots exist: Δ > 0 means two distinct real roots, Δ = 0 means one repeated real root, and Δ < 0 means two complex (imaginary) roots.
Real roots are ordinary numbers. Complex (imaginary) roots occur when Δ < 0 and involve √(−1) = i. They always appear in conjugate pairs (a + bi and a − bi) for equations with real coefficients.
Substitute the solution back into the original equation. For ax + b = c: compute a(x) + b and verify it equals c. For quadratics: compute ax² + bx + c and verify it equals 0.
Real-World Applications
Common Mistakes
Equation Types Quick Reference
| Type | Standard Form | Number of Roots | Solution Method |
|---|---|---|---|
| Linear | ax + b = 0 | 1 real root | Isolation: x = −b/a |
| Quadratic (D > 0) | ax² + bx + c = 0 | 2 distinct real roots | Quadratic formula |
| Quadratic (D = 0) | ax² + bx + c = 0 | 1 repeated real root | Quadratic formula |
| Quadratic (D < 0) | ax² + bx + c = 0 | 2 complex roots | Quadratic formula with i |
| Cubic | ax³ + bx² + cx + d = 0 | Up to 3 real roots | Cardano's formula / numerical |
References
- Stewart, James. Algebra and Trigonometry. Cengage Learning, 2015.
- Axler, Sheldon. Algebra and Trigonometry. Wiley, 2021.
- Larson, Ron. Precalculus: A Concise Course. Cengage, 2019.
- Blitzer, Robert. Introductory and Intermediate Algebra. Pearson, 2020.
- National Council of Teachers of Mathematics. Principles and Standards for School Mathematics. NCTM, 2000.
Related Calculators
Browse all Math calculators →Quadratic Formula Calculator
Solve quadratic equations ax² + bx + c = 0 using the quadratic formula.
Algebra Calculator
Solve algebraic expressions and evaluate equations step by step.
Polynomial Calculator
Add, subtract, and multiply polynomials. Evaluate polynomials at given values.