Math Solver

Type an equation or expression and get a step-by-step solution instantly.

Enter equation or expression

Try an example

Supported Types
  • Linear EquationLinear equations (e.g., 2x + 3 = 7)
  • Quadratic EquationQuadratic equations (e.g., x² - 5x + 6 = 0)
  • ExpressionArithmetic expressions (e.g., 2^10 + 5)
Tips
  • Use x as the variable (or any single letter)
  • Use ^ for exponents: x^2 means x²
  • Use * for multiplication or just write 2x
  • Both sides of the equation can have variables

How the Math Solver Works

This solver handles two types of equations and arithmetic expressions. For linear equations (like 2x + 3 = 7), it isolates the variable by moving terms across the equals sign and dividing by the coefficient. For quadratic equations (like x² - 5x + 6 = 0), it applies the quadratic formula: x = (-b ± √(b² - 4ac)) / 2a.

Every solution includes step-by-step work showing how the answer was reached. For quadratic equations, the solver computes the discriminant (Δ = b² - 4ac) to determine whether there are two real solutions, one repeated solution, or complex solutions. This is the same process taught in algebra and precalculus courses.

For related tools, try our fraction calculator for fraction arithmetic, percentage calculator for percent problems, or our basic calculator for general computation.

Frequently Asked Questions

What types of equations can this solve?
This solver handles linear equations (one variable, first degree, like 3x + 5 = 20), quadratic equations (one variable, second degree, like x² + 2x - 8 = 0), and arithmetic expressions (like 2^10 + 15).
How do I enter exponents?
Use the ^ symbol for exponents. For example, x^2 means x squared. You can also write x² directly if your keyboard supports it.
What if my equation has no solution?
If a linear equation is a contradiction (like 2x + 3 = 2x + 5), the solver will report no solution. For quadratic equations with a negative discriminant, the solver shows complex (imaginary) solutions.
Can I use variables other than x?
Yes. The solver automatically detects the variable in your equation. You can use any single letter like y, z, t, n, etc.
What is the quadratic formula?
The quadratic formula solves ax² + bx + c = 0 by computing x = (-b ± √(b² - 4ac)) / 2a. The expression under the square root (b² - 4ac) is called the discriminant and determines the nature of the solutions.