Skip to main content

Algebra Solver

Try an example:

This algebra solver handles the mix of problems you meet in an algebra class: solve, simplify, factor and more. Type a problem, and it picks a method and shows each step. It is part of our free math solver, so there is nothing to sign up for.

How to Use the Algebra Solver

Enter Your Problem

Type the problem the way you would write it. Use ^ for a power, so x^2 means x2x^2. Use * or nothing for multiplying. An equals sign means "solve this." No equals sign means "simplify this." Put a word such as factor in front when you want something else.

Read the Steps

Each line says what was done and why. Quick mode shows only the main moves. Detailed mode shows them all.

Try Another Method

Quadratics and systems have buttons that switch the method. Seeing the same answer come out of two methods is a good way to check it.

Which Type of Algebra Problem Do You Have?

Look for two things: is there an equals sign, and what is the highest power? An expression with no equals sign gets simplified or factored. An equation gets solved. The highest power tells you which method to start with, as the table below shows.

What you seeWhat to doExample
No equals sign, like termsSimplify3(x−2)+4x3(x-2)+4x
No equals sign, "write as a product"Factorx2−9x^2-9
Equals sign, letter to the first powerUndo one step at a time5x−3=2x+95x-3=2x+9
Equals sign, letter squaredFactor or use the quadratic formulax2−5x+6=0x^2-5x+6=0
Two equations, two lettersSolve them as a systemx+y=5, x−y=1x+y=5,\ x-y=1
A sign such as << or ≥\geSolve, then watch the sign2x−3<72x-3<7

If your problem has no equals sign, the simplify calculator goes deeper into the rules for that job.

Methods This Algebra Calculator Uses

Do the Same to Both Sides

An equation is like a balanced scale. Whatever you do to one side, do to the other, and it stays balanced. To undo +3+3, subtract 3 from both sides. To undo ×5\times 5, divide both sides by 5. The goal is to get the letter alone.

Combine Like Terms

Like terms have the same letter to the same power. Add the numbers in front, called coefficients, and keep the letter. So 3x+4x=7x3x+4x=7x, but 3x+4x23x+4x^2 stays as it is. A term with no letter, such as 9, is a constant. Constants combine with other constants.

Factor and Split

When a product equals zero, at least one factor must be zero. So if (x−2)(x−3)=0(x-2)(x-3)=0, then x−2=0x-2=0 or x−3=0x-3=0. This turns one hard equation into two easy ones. The factoring calculator shows how to find those factors.

Which one should you choose? Simplify each side first. If the letter is only to the first power, use both-sides steps. If it is squared, move everything to one side and try factoring.

Algebra solver idea: a balanced scale with 5x minus 3 on one side and 2x plus 9 on the other

Worked Examples

Example 1: Variables on Both Sides

Solve 5x−3=2x+95x-3=2x+9.

  1. Subtract 2x2x from both sides, so the letter is on one side only: 3x−3=93x-3=9.
  2. Add 3 to both sides: 3x=123x=12.
  3. Divide both sides by 3: x=4x=4.

Check: 5(4)−3=175(4)-3=17 and 2(4)+9=172(4)+9=17. Both sides match.

Example 2: Simplify Before You Solve

Solve 3(x−2)+4x=153(x-2)+4x=15.

  1. Use the distributive property: multiply 3 by each term inside. 3x−6+4x=153x-6+4x=15.
  2. Combine like terms: 7x−6=157x-6=15.
  3. Add 6 to both sides: 7x=217x=21.
  4. Divide by 7: x=3x=3.

Example 3: An Equation With No Solution

Solve 2(x+3)=2x+52(x+3)=2x+5.

  1. Distribute: 2x+6=2x+52x+6=2x+5.
  2. Subtract 2x2x from both sides: 6=56=5.

The letter is gone, and 6=56=5 is false. No value of xx can work, so the answer is no solution.

Common Mistakes to Check

Losing a Minus Sign When Distributing

In 5−2(x−4)5-2(x-4), the number being distributed is −2-2, not 2. So −2×−4=+8-2\times -4=+8, and you get 5−2x+85-2x+8. Writing −8-8 here is one of the easiest slips to make.

Dividing Only One Term

To divide 2x+6=102x+6=10 by 2, divide every term: x+3=5x+3=5. Writing x+6=5x+6=5 leaves the 6 undivided and breaks the balance.

Practice Problems

Try these by hand first.

  1. Solve 4x+7=314x+7=31.
  2. Solve 6−2x=146-2x=14.
  3. Solve 5(x−1)=3x+95(x-1)=3x+9.
  4. Solve 2(3x+4)−5x=112(3x+4)-5x=11.
  5. Solve 3(x+2)=3x+63(x+2)=3x+6.
Show the answers
  1. x=6x=6
  2. x=−4x=-4
  3. x=7x=7
  4. x=3x=3
  5. All real numbers. Both sides are the same, so every value works.

Related Calculators

Learn More

FAQ

What Is an Algebra Problem Solver?

It is a tool that finds unknown values and rewrites expressions using the rules of algebra. Ours shows the working too, so you can learn the method and not just copy a result.

What Is the Golden Rule of Algebra?

Do the same thing to both sides. If you add 4 to the left side of an equation, add 4 to the right side. The one thing you can't do is divide by zero.

Can It Solve Problems With Two Variables?

Yes. Give it two equations with a comma between them, such as x+y=5, x-y=1, and it solves for both letters. With one equation and two letters, the solve for x calculator writes one letter in terms of the other.

What Is the Difference Between an Expression and an Equation?

An equation has an equals sign, so you can solve it. An expression has none, so you can only rewrite it. 2x+62x+6 is an expression. 2x+6=102x+6=10 is an equation.

Can It Solve Word Problems?

Not from the words. You write the equation first. "A number doubled plus 3 is 11" becomes 2x+3=11, and then the algebra calculator with steps does the rest.


Next step: type one problem from your homework into the algebra solver above, then solve a second one by hand and compare your steps.