Equation Solver

Solve any equation for x, or a system of linear equations, with each step explained.

Answer

Quadratic equation
x1=−3,x2=3x_{1} = -3,\quad x_{2} = 3

Checked numerically before it is shown

Step-by-step solution

Solve by

Square root property

  1. Add to both sides

    Add 2727 to both sides:

    3x2=273 x^{2} = 27
  2. Divide both sides

    Divide both sides by 33:

    x2=9x^{2} = 9
  3. Square root of both sides

    Take the square root of both sides:

    x=±9=±3x = \pm\sqrt{9} = \pm 3

Check

  • 3⋅(−3)2−27=0  ✓3 \cdot \left(-3\right)^{2} - 27 = 0\;\checkmark
  • 3⋅32−27=0  ✓3 \cdot 3^{2} - 27 = 0\;\checkmark

Try an example

Solved examples

About this solver

How to use

  1. Type the equation with an equals sign, for example 2x^2+7x+3=0.
  2. For a system, separate the equations with a comma: 2x+y=5, x-y=1.
  3. Press Solve. Solutions that do not satisfy the original equation are listed as rejected.

How to type math

To enterType
Powerx^2 x^(n+1)
Rootsqrt(x) \sqrt[3]{x}
Fraction(x+1)/(x-1) \frac{1}{x}
Functionssin(x) ln(x) log_2(x) exp(x)
Absolute value|x| abs(x)
Derivatived/dx x^2 sin x (x^2+x)'
Integral\int x^2 dx \int_0^1 x^2 dx
Limitlim x->0 sin(x)/x \lim_{x\to\infty} 1/x
Degreessin(30°)
System of equations2x+y=5, x-y=1

How it works

Linear and quadratic equations are solved by moving terms and by the quadratic formula with the discriminant.

Equations with fractions, roots, logarithms or absolute values are reduced to simpler ones. Every candidate is substituted into the original equation, and candidates outside the domain are rejected.

For systems, separate the equations with a comma, for example 2x+y=5, x-y=1.

Frequently asked questions

Does it give complex solutions?

Yes, for polynomial equations. Equations with roots, logarithms or absolute values are solved over the real numbers.

Why is a solution rejected?

Squaring both sides or clearing fractions can add values that do not satisfy the original equation. They are checked and rejected.

Can it solve systems of equations?

Yes, linear systems with two or three unknowns. Separate the equations with commas.

What if the equation has no solution?

The answer says so, and the steps show why.