Equation Solver

Enter an equation using x as the variable. The solver automatically identifies linear and quadratic equations.

Use ^ for powers. Example: x^2 - 5x + 6 = 0

Solution

Your answer will appear here

How to Use the Equation Solver

  • Enter your equation in the input field.
  • Make sure both sides are separated by an equals sign (=).
  • Use x as the variable and ^ to enter exponents.
  • Click Solve Equation to calculate the answer.
  • Use Copy Result to copy your solution.

Supported Equation Types

  • Linear equations: Equations with x to the power of 1.
  • Quadratic equations: Equations with x to the power of 2.
  • Complex solutions: Quadratic equations that have negative discriminants.
  • Special cases: Equations with infinitely many solutions or no solution.

Formula

Linear equation: ax + b = 0

Solution: x = −b / a

Quadratic equation: ax² + bx + c = 0

Quadratic formula:

x = (−b ± √(b² − 4ac)) / 2a

The discriminant is D = b² − 4ac. It determines whether the roots are real, repeated, or complex.

Worked Examples

Example 1: Linear equation
Equation: 2x + 5 = 15
Solution: x = 5
Example 2: Linear equation
Equation: 3x − 6 = 9
Solution: x = 5
Example 3: Quadratic equation
Equation: x² − 5x + 6 = 0
Solutions: x = 2 and x = 3
Example 4: Quadratic equation
Equation: x² − 4 = 0
Solutions: x = −2 and x = 2

Important Notes

  • The calculator supports equations with one variable, x.
  • Polynomial expressions up to degree 2 are supported.
  • Use parentheses to group expressions when needed.
  • Multiplication can be entered as 2*x or 2x.
  • For division, use a slash (/). Division by zero is not allowed.
  • Equations involving powers higher than 2 are not supported.

Frequently Asked Questions

What is an equation solver?

An equation solver is a calculator that finds the unknown value of a variable that makes an equation true.

Can this calculator solve quadratic equations?

Yes. It automatically detects quadratic equations and calculates their roots using the quadratic formula.

Can it solve equations with negative answers?

Yes. It supports positive and negative coefficients and solutions.

What happens if an equation has no solution?

The calculator identifies equations that have no solution and displays an appropriate message.

Can it calculate complex roots?

Yes. If a quadratic equation has a negative discriminant, the calculator displays its complex roots.

Can I solve equations with x cubed?

This version supports linear and quadratic equations only. Equations with powers higher than 2 are not supported.