Skip to main content

How to Solve Equations

Written by Awn · Published · 6 min read

Quick Answer

Here is how to solve equations. Decide what type you have. Simplify both sides and get the part with the variable alone. Undo what is being done to it, such as squaring to undo a root. Solve the simple equation that is left. Then check the answer in the original.

What Is an Equation?

An equation says two things are equal. Solving it means finding every value that makes it true. The left and right sides are like two pans of a scale. Change one, and you must change the other in the same way.

How to Solve Equations Step by Step

  1. Simplify each side.
  2. Decide the type.
  3. Get the part with the variable alone.
  4. Undo it, doing the same to both sides.
  5. Solve what is left.
  6. Check in the original equation.

How to solve equations steps for 5x minus 2 equals 2x plus 13

Types of Equations and the First Move

TypeExampleFirst move
Linear3x+5=203x+5=20Undo adding, then multiplying
Fractionsx4+x6=5\frac{x}{4}+\frac{x}{6}=5Multiply by a common denominator
Quadraticx2+2x−15=0x^2+2x-15=0Set to zero and factor
Absolute value∣x+2∣=7\lvert x+2\rvert=7Split into two equations
Radicalx−1=4\sqrt{x-1}=4Square both sides
Exponential3x=813^x=81Match the bases

Solving equations by type: a chart that matches each equation to its first move

The equation solver handles all of these types and tells you which move it made. For a mix of solving, simplifying and factoring, use the algebra solver.

Solving Equations of Each Type

Linear Equations

Solve 3x+5=203x+5=20. Subtract 5: 3x=153x=15. Divide by 3: x=5x=5. For many more like this, see how to solve for x.

Equations With Fractions

Solve x4+x6=5\frac{x}{4}+\frac{x}{6}=5. The smallest number that 4 and 6 both divide is 12. Multiply every term by 12: 3x+2x=603x+2x=60. So 5x=605x=60 and x=12x=12.

Absolute Value Equations

Solve ∣x+2∣=7\lvert x+2\rvert=7. The inside is 7 or −7-7. So x+2=7x+2=7 gives x=5x=5, and x+2=−7x+2=-7 gives x=−9x=-9. If the right side were negative, there would be no solution.

Radical Equations

Solve x−1=4\sqrt{x-1}=4. Square both sides: x−1=16x-1=16, so x=17x=17. Check: 16=4\sqrt{16}=4.

Exponential Equations

Solve 3x=813^x=81. Write 81 as a power of 3: 81=3481=3^4. Now the exponents must match, so x=4x=4. When the bases won't match, take logs of both sides.

Which Solving Method Should You Use?

Ask what is being done to the variable. If it is only multiplied and added to, use linear steps. If it is under a root, inside bars or up in an exponent, get that piece alone first. If it has a square and a plain term, set the equation to zero.

Why Some Answers Are False

Most moves can be undone, so they never add false answers. Squaring is different. Both 3 and −3-3 become 9, so squaring can turn a false line into a true one.

Take x=−2\sqrt{x}=-2. A square root is never negative, so there is no answer. But squaring gives x=4x=4, which looks fine until you check: 4=2\sqrt{4}=2, not −2-2.

The same thing can happen when you multiply by an expression with xx in it, because that expression may be zero. So check every answer in the original equation when the problem has:

  • a square root or other even root
  • a variable on the bottom of a fraction
  • a logarithm

For plain linear equations, the check is still useful, but only to catch arithmetic slips.

Worked Examples

Example 1: Variables on Both Sides

Solve 5x−2=2x+135x-2=2x+13.

  1. Subtract 2x2x: 3x−2=133x-2=13.
  2. Add 2: 3x=153x=15.
  3. Divide by 3: x=5x=5.

Check: 5(5)−2=235(5)-2=23 and 2(5)+13=232(5)+13=23.

Example 2: Absolute Value With a Number Inside

Solve ∣2x+3∣=9\lvert 2x+3\rvert=9.

  1. Split: 2x+3=92x+3=9 or 2x+3=−92x+3=-9.
  2. First: 2x=62x=6, so x=3x=3.
  3. Second: 2x=−122x=-12, so x=−6x=-6.

Example 3: A Root

Solve 3x+1=5\sqrt{3x+1}=5.

  1. Square both sides: 3x+1=253x+1=25.
  2. Solve: 3x=243x=24, so x=8x=8.
  3. Check: 25=5\sqrt{25}=5.

Example 4: A Variable on the Bottom

Solve 6x+1=4\dfrac{6}{x}+1=4.

  1. Subtract 1: 6x=3\dfrac{6}{x}=3.
  2. Multiply by xx: 6=3x6=3x.
  3. Divide by 3: x=2x=2.
  4. Check: 62+1=4\frac{6}{2}+1=4, and the bottom is not zero.

Example 5: A Logarithm

Solve log⁡2(x+1)=3\log_2(x+1)=3.

  1. A log asks for a power. This says 23=x+12^3=x+1.
  2. So 8=x+18=x+1, and x=7x=7.
  3. Check: log⁡28=3\log_2 8=3.

Example 6: Factoring a Quadratic

Solve x2+x=12x^2+x=12.

  1. Move everything to one side: x2+x−12=0x^2+x-12=0.
  2. Factor: (x+4)(x−3)=0(x+4)(x-3)=0.
  3. Set each factor to zero: x=−4x=-4 or x=3x=3.
  4. Check both: 16−4=1216-4=12 and 9+3=129+3=12.

How Many Solutions Can an Equation Have?

What is left at the endSolutions
x=5x=5One
x=5x=5 or x=−9x=-9Two
A true line, like 6=66=6Every number
A false line, like 6=56=5None

How to Solve a Word Problem With an Equation

  1. Read it twice. Find what you are asked for and call it xx.
  2. Write the other amounts using xx.
  3. Find two expressions that must be equal.
  4. Solve, then check against the words.

For example: "A phone plan costs 25 dollars a month plus 2 dollars per gigabyte. Another plan costs 15 dollars plus 4 dollars per gigabyte. When do they cost the same?"

Let xx be the gigabytes. Then 25+2x=15+4x25+2x=15+4x. Subtract 2x2x: 25=15+2x25=15+2x. Subtract 15: 10=2x10=2x, so x=5x=5. At 5 gigabytes, both plans cost 35 dollars.

Equation, Expression or Identity?

NameExampleWhat you do
Expression3x+53x+5Simplify it. There is nothing to solve.
Equation3x+5=203x+5=20Find the value of xx.
Identity2(x+1)=2x+22(x+1)=2x+2Nothing to find. It is true for every xx.

Knowing which one you have saves time. If there is no equals sign, you can't solve for anything.

Common Mistakes

Skipping the Check After Squaring

Squaring can create answers that don't work in the original. x=−3\sqrt{x}=-3 would give x=9x=9, but 9\sqrt{9} is 3.

Multiplying Only Some Terms

To clear fractions, multiply every term, including whole numbers with no fraction.

Dividing by the Variable

From x2=5xx^2=5x, dividing by xx gives x=5x=5 and loses the answer x=0x=0. Move everything to one side and factor instead: x(x−5)=0x(x-5)=0.

Giving One Answer for an Absolute Value

∣x+2∣=7\lvert x+2\rvert=7 has two answers, 5 and −9-9. Distance from zero can be reached from either side.

Practice Problems

  1. Solve 8x−3=298x-3=29.
  2. Solve 2(x+5)=3x+42(x+5)=3x+4.
  3. Solve x2+x3=10\frac{x}{2}+\frac{x}{3}=10.
  4. Solve ∣3x−1∣=8\lvert 3x-1\rvert=8.
  5. Solve 2x+3=5\sqrt{2x+3}=5.
Show the answers
  1. x=4x=4
  2. x=6x=6
  3. x=12x=12
  4. x=3x=3 or x=−73x=-\frac{7}{3}
  5. x=11x=11

Check Your Answer With the Equation Solver

Put each answer into the original equation. Then compare your lines with the equation calculator. For a textbook plan for linear equations, see A General Strategy to Solve Linear Equations in OpenStax.

FAQ

What Are the Four Steps to Solve an Equation?

Simplify, isolate the variable part, undo what is done to it, and check. Some teachers split simplifying into two steps.

How Do You Solve Equations With Fractions?

Multiply every term by a common denominator. The fractions disappear, and a simpler equation is left.

Why Must You Do the Same to Both Sides?

Because the sides are equal. Changing only one breaks that, and you would be solving a different problem.

What Is the Hardest Part of Solving Algebraic Equations?

For many students it is signs and distributing. Write one move per line and the slips are easier to see.

Can You Solve an Equation by Graphing?

Yes. Graph each side and find where the graphs meet. The xx-value at that point is the solution.

What Is an Equation With No Solution Called?

It is called a contradiction. For example, x+3=x+5x+3=x+5 leaves 3=53=5, which is never true.


Next step: name the type of five homework equations before solving any of them. Once you can spot the types of equations, how to solve equations comes down to one good first move.

Try the Calculator

Related Pages