Equation Solver

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

Answer

System of linear equations
x=2,y=3x = 2,\quad y = 3

Checked numerically before it is shown

Step-by-step solution

Solve by

Elimination

  1. Scale an equation

    Multiply equation 11 by 55:

    10x+15y=6510 x + 15 y = 65
  2. Scale an equation

    Multiply equation 22 by −2-2:

    −10x+8y=4- 10 x + 8 y = 4
  3. Add the equations

    Add the equations so that xx cancels:

    23y=6923 y = 69
  4. Divide both sides

    Divide both sides by 2323:

    y=3y = 3
  5. Substitute back

    2x+3⋅3=132 x + 3 \cdot 3 = 13
  6. Subtract from both sides

    Subtract 99 from both sides:

    2x=42 x = 4
  7. Divide both sides

    Divide both sides by 22:

    x=2x = 2

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.