Skip to content
๐ŸŽฏโญ INTERACTIVE LESSON

Solving Linear Equations

Learn step-by-step with interactive practice!

Solving Linear Equations - Complete Interactive Lesson

Part 1: The Balance Idea & One-Step Equations

โš–๏ธ Solving Linear Equations

Part 1 of 5 โ€” The Balance Idea & One-Step Equations


Topics in This Part

Section
What "Solving" Really Means
Keep the Equation Balanced
Inverse Operations
One-Step Equations

๐Ÿ”‘ Key Concept: An equation is a balanced scale. Whatever you do to one side, you must do to the other side too โ€” that single rule powers everything in this course.

What Does "Solving" Mean?

A linear equation is a statement that two expressions are equal, like

x+5=12x + 5 = 12

To solve it means to find the value of the variable that makes the statement true. Here the answer is x=7x = 7, because 7+5=127 + 5 = 12. โœ“

The variable is usually alone on one side once you're done:

x=7x = 7

๐Ÿ’ก Goal of every problem: get the variable by itself on one side of the equals sign. We call this isolating the variable.

Checking a Solution

You can always test an answer by substituting it back in. Is x=4x = 4 a solution of 2x=82x = 8?

2(4)=8โ‡’8=8โ€…โ€Šโœ“2(4) = 8 \quad\Rightarrow\quad 8 = 8 \;\checkmark

Yes! Checking is a free way to catch mistakes โ€” get in the habit.

Concept Check ๐ŸŽฏ

Keep the Equation Balanced

Think of == as the center of a balance scale. The two sides weigh the same. If you add or remove weight from one side, you must do the same to the other, or the scale tips.

Operation on leftSame operation on right?
Add 44Add 44 โœ“
Subtract 99Subtract 99 โœ“
Multiply by 22Multiply by 22 โœ“
Divide by 55Divide by 55 โœ“

โš ๏ธ The #1 beginner mistake is changing only one side. If you subtract 55 from the left, you must subtract 55 from the right.

Inverse Operations

To isolate the variable, you "undo" what's attached to it using the opposite operation:

You seeโ€ฆUndo withโ€ฆ
+โ€‰+\, (addition)subtraction
โˆ’โ€‰-\, (subtraction)addition
ร—โ€‰\times\, (multiplication)division
รทโ€‰\div\, (division)multiplication

One-Step Equations: Worked Examples

Example A โ€” undo addition

x+8=15x + 8 = 15

The +8+8 is in the way. Undo it by subtracting 88 from both sides:

x+8โˆ’8=15โˆ’8โ‡’x=7x + 8 - 8 = 15 - 8 \quad\Rightarrow\quad x = 7

โœ… Check: 7+8=157 + 8 = 15 โœ“

Example B โ€” undo subtraction

xโˆ’6=โˆ’2x - 6 = -2

Undo the โˆ’6-6 by adding 66 to both sides:

xโˆ’6+6=โˆ’2+6โ‡’x=4x - 6 + 6 = -2 + 6 \quad\Rightarrow\quad x = 4

Example C โ€” undo multiplication

5x=355x = 35

The xx is multiplied by 55. Undo it by dividing both sides by 55:

5x5=355โ‡’x=7\frac{5x}{5} = \frac{35}{5} \quad\Rightarrow\quad x = 7

Example D โ€” undo division

x4=3\frac{x}{4} = 3

Undo dividing by 44 by multiplying both sides by 44:

x4โ‹…4=3โ‹…4โ‡’x=12\frac{x}{4}\cdot 4 = 3\cdot 4 \quad\Rightarrow\quad x = 12

Pick the Move ๐Ÿ”ฝ

For each equation, choose the single operation that isolates xx.

Before You Practice

Every one-step equation follows the same plan:

  1. Spot what's done to the variable.
  2. Apply the inverse operation to both sides.
  3. Check by substituting your answer back in.

๐Ÿ”‘ One operation, both sides, then verify. Master this and two-step equations (Part 2) are just two of these in a row.

Solve One-Step Equations ๐Ÿงฎ

Solve for xx. Enter just the number.

1) x+12=20โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?x + 12 = 20 \;\Rightarrow\; x = \,? 2) xโˆ’7=โˆ’3โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?x - 7 = -3 \;\Rightarrow\; x = \,? 3) 6x=54โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?6x = 54 \;\Rightarrow\; x = \,? 4) x5=8โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?\dfrac{x}{5} = 8 \;\Rightarrow\; x = \,?

Part 2: Two-Step Equations

โš–๏ธ Solving Linear Equations

Part 2 of 5 โ€” Two-Step Equations


๐Ÿ”‘ The Idea: When a variable has two things done to it (like "times 33, then plus 44"), undo them in the reverse order โ€” addition/subtraction first, then multiplication/division.

Undo in Reverse Order

An equation like 3x+4=193x + 4 = 19 was built in this order:

xโ€…โ€Šโ†’โ€…โ€Šร—3โ€…โ€Šโ€…โ€Š3xโ€…โ€Šโ†’โ€…โ€Š+โ€‰4โ€…โ€Šโ€…โ€Š3x+4x \;\xrightarrow{\;\times 3\;}\; 3x \;\xrightarrow{\;+\,4\;}\; 3x + 4

To get back to xx, reverse the steps โ€” undo the last thing first:

  1. Undo +4+4 โ†’ subtract 44
  2. Undo ร—3\times 3 โ†’ divide by 33

๐Ÿ’ก Memory trick: it's like getting dressed and undressed. You put socks on before shoes, so you take shoes off before socks. Reverse order!

Worked Examples

Example A โ€” 3x+4=193x + 4 = 19

Step 1 โ€” subtract 44 from both sides: 3x+4โˆ’4=19โˆ’4โ‡’3x=153x + 4 - 4 = 19 - 4 \quad\Rightarrow\quad 3x = 15

Step 2 โ€” divide both sides by 33: 3x3=153โ‡’x=5\frac{3x}{3} = \frac{15}{3} \quad\Rightarrow\quad x = 5

โœ… Check: 3(5)+4=15+4=193(5) + 4 = 15 + 4 = 19 โœ“

Example B โ€” x2โˆ’6=1\dfrac{x}{2} - 6 = 1

Step 1 โ€” add 66 to both sides: x2=7\frac{x}{2} = 7

Step 2 โ€” multiply both sides by 22: x=14x = 14

Example C โ€” a negative coefficient: โˆ’2x+9=1-2x + 9 = 1

Step 1 โ€” subtract 99: โ€…โ€Šโˆ’2x=โˆ’8\;-2x = -8 Step 2 โ€” divide by โˆ’2-2: โ€…โ€Šx=4\;x = 4

โš ๏ธ When you divide by a negative, the sign flips. Here โˆ’8โˆ’2=4\dfrac{-8}{-2} = 4 (positive).

Concept Check ๐ŸŽฏ

Show Every Step in Writing

Two-step problems are easy to slip on if you do them in your head. Write each line under the last so the chain of reasoning is visible:

4xโˆ’5=114x - 5 = 11 4x=16(addย 5)4x = 16 \quad (\text{add } 5) x=4(divideย byย 4)x = 4 \quad (\text{divide by } 4)

๐Ÿ’ก Lining up your work this way makes mistakes jump out โ€” and earns full credit on tests. Let's trace one stage by stage.

Trace the Steps ๐Ÿ”ฝ

You're solving 4xโˆ’5=114x - 5 = 11. Fill in each stage.

A Note on Negative Answers

Two-step equations often produce negative solutions โ€” that's perfectly normal. Just apply the rules carefully with signs:

โˆ’3x+1=10โ€…โ€Šโ‡’โ€…โ€Šโˆ’3x=9โ€…โ€Šโ‡’โ€…โ€Šx=9โˆ’3=โˆ’3-3x + 1 = 10 \;\Rightarrow\; -3x = 9 \;\Rightarrow\; x = \frac{9}{-3} = -3

And answers don't have to be whole numbers. If dividing doesn't come out evenly, leave a fraction or use a decimal:

6x=9โ€…โ€Šโ‡’โ€…โ€Šx=96=32=1.56x = 9 \;\Rightarrow\; x = \frac{9}{6} = \frac{3}{2} = 1.5

Now try a mixed set on your own.

Solve Two-Step Equations ๐Ÿงฎ

Solve for xx. Fractions like โˆ’5/2-5/2 or decimals are fine.

1) 2x+5=17โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?2x + 5 = 17 \;\Rightarrow\; x = \,? 2) x3+4=10โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?\dfrac{x}{3} + 4 = 10 \;\Rightarrow\; x = \,? 3) โˆ’3x+1=10โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?-3x + 1 = 10 \;\Rightarrow\; x = \,? 4) 6xโˆ’7=2โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?6x - 7 = 2 \;\Rightarrow\; x = \,? (fraction or decimal)

Part 3: Distributing & Combining Like Terms

โš–๏ธ Solving Linear Equations

Part 3 of 5 โ€” Distributing & Combining Like Terms


๐Ÿ”‘ The Idea: Before you isolate the variable, clean up each side: distribute through parentheses and combine like terms so every side is as simple as possible.

The Distributive Property

To multiply a number across a sum, multiply it by each term inside the parentheses:

a(b+c)=ab+aca(b + c) = ab + ac

ExpressionDistributed
3(x+4)3(x + 4)3x+123x + 12
2(xโˆ’5)2(x - 5)2xโˆ’102x - 10
โˆ’4(x+2)-4(x + 2)โˆ’4xโˆ’8-4x - 8
โˆ’(xโˆ’6)-(x - 6)โˆ’x+6-x + 6

โš ๏ธ Watch the signs! โˆ’4(x+2)=โˆ’4xโˆ’8-4(x+2) = -4x - 8, and the minus in โˆ’(xโˆ’6)-(x-6) flips both terms: โˆ’x+6-x + 6.

Combining Like Terms

Like terms have the same variable part. Add their coefficients:

5x+2x=7x8โˆ’3=55x+8โˆ’3xโˆ’3=2x+55x + 2x = 7x \qquad 8 - 3 = 5 \qquad 5x + 8 - 3x - 3 = 2x + 5

You can only combine xx-terms with xx-terms, and numbers with numbers.

Concept Check ๐ŸŽฏ

Variables on Both Sides

When xx appears on both sides, move all the variables to one side (and all the numbers to the other) using inverse operations.

Worked Example โ€” 5x+3=2x+185x + 3 = 2x + 18

Step 1 โ€” subtract 2x2x from both sides (gather xx on the left): 5xโˆ’2x+3=18โ‡’3x+3=185x - 2x + 3 = 18 \quad\Rightarrow\quad 3x + 3 = 18

Step 2 โ€” subtract 33: 3x=153x = 15

Step 3 โ€” divide by 33: x=5x = 5

โœ… Check: Left =5(5)+3=28= 5(5)+3 = 28. Right =2(5)+18=28= 2(5)+18 = 28. โœ“

๐Ÿ’ก Tip: Move the smaller variable term to avoid negatives. Here 2x<5x2x < 5x, so we subtracted 2x2x.

Putting It Together โ€” Distribute First, Then Solve

Worked Example โ€” 3(x+2)=213(x + 2) = 21

Step 1 โ€” distribute the 33: 3x+6=213x + 6 = 21

Step 2 โ€” subtract 66: โ€…โ€Š3x=15\;3x = 15 Step 3 โ€” divide by 33: โ€…โ€Šx=5\;x = 5

Worked Example โ€” 2(xโˆ’4)=x+12(x - 4) = x + 1

Step 1 โ€” distribute: โ€…โ€Š2xโˆ’8=x+1\;2x - 8 = x + 1 Step 2 โ€” subtract xx: โ€…โ€Šxโˆ’8=1\;x - 8 = 1 Step 3 โ€” add 88: โ€…โ€Šx=9\;x = 9

โœ… Check: 2(9โˆ’4)=2(5)=102(9-4) = 2(5) = 10, and 9+1=109 + 1 = 10. โœ“

Solve 6xโˆ’1=4x+96x - 1 = 4x + 9 ๐Ÿ”ฝ

Choose what happens at each stage.

The General Multi-Step Plan

For any linear equation, work through these in order:

  1. Distribute to clear parentheses.
  2. Combine like terms on each side.
  3. Gather variables on one side, numbers on the other.
  4. Isolate the variable (divide by its coefficient).
  5. Check your answer.

๐Ÿ’ก Not every problem needs every step โ€” but doing them in this order never fails. Try the plan below.

Multi-Step Practice ๐Ÿงฎ

Solve for xx. Enter just the number.

1) 4(x+3)=24โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?4(x + 3) = 24 \;\Rightarrow\; x = \,? 2) 7x+2=3x+18โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?7x + 2 = 3x + 18 \;\Rightarrow\; x = \,? 3) 5(xโˆ’1)=2x+7โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?5(x - 1) = 2x + 7 \;\Rightarrow\; x = \,?

Part 4: Fractions, Decimals & Special Cases

โš–๏ธ Solving Linear Equations

Part 4 of 5 โ€” Fractions, Decimals & Special Cases


๐Ÿ”‘ The Idea: Fractions and decimals don't change the rules โ€” you can clear them with one smart multiplication. And some equations have no solution or infinitely many solutions; you'll learn to spot both.

Clearing Fractions

To erase fractions, multiply every term on both sides by the least common denominator (LCD).

Worked Example โ€” x2+13=56\dfrac{x}{2} + \dfrac{1}{3} = \dfrac{5}{6}

The denominators are 2,3,62, 3, 6. Their LCD is 66. Multiply every term by 66:

6โ‹…x2+6โ‹…13=6โ‹…566\cdot\frac{x}{2} + 6\cdot\frac{1}{3} = 6\cdot\frac{5}{6}

3x+2=53x + 2 = 5

Now it's an ordinary two-step equation:

3x=3โ‡’x=13x = 3 \quad\Rightarrow\quad x = 1

โœ… Check: 12+13=36+26=56\dfrac{1}{2} + \dfrac{1}{3} = \dfrac{3}{6} + \dfrac{2}{6} = \dfrac{5}{6} โœ“

๐Ÿ’ก Multiplying by the LCD turns a messy fraction equation into a clean whole-number one in a single step.

Clearing Decimals

Same trick: multiply every term by a power of 1010 (1010, 100100, โ€ฆ) big enough to make all decimals whole.

Worked Example โ€” 0.2x+1.5=2.10.2x + 1.5 = 2.1

Each number has one decimal place, so multiply every term by 1010:

2x+15=212x + 15 = 21

2x=6โ‡’x=32x = 6 \quad\Rightarrow\quad x = 3

โœ… Check: 0.2(3)+1.5=0.6+1.5=2.10.2(3) + 1.5 = 0.6 + 1.5 = 2.1 โœ“

You could also solve with the decimals left in โ€” clearing them is just optional cleanup.

Concept Check ๐ŸŽฏ

Special Cases: No Solution & Infinitely Many

Most equations have exactly one solution. But after simplifying, sometimes the variable disappears. What's left tells you the answer.

No Solution โ€” a false statement

2x+5=2x+92x + 5 = 2x + 9

Subtract 2x2x from both sides:

5=9(false!)5 = 9 \quad (\text{false!})

Since 5=95 = 9 is never true, there is no solution. No value of xx works.

Infinitely Many Solutions โ€” a true statement

3(x+2)=3x+63(x + 2) = 3x + 6

Distribute the left side: 3x+6=3x+63x + 6 = 3x + 6. Subtract 3x3x:

6=6(alwaysย true!)6 = 6 \quad (\text{always true!})

Since 6=66 = 6 is always true, every number is a solution โ€” infinitely many solutions.

After the variables cancelโ€ฆMeaning
A false number sentence (e.g. 5=95 = 9)No solution
A true number sentence (e.g. 6=66 = 6)Infinitely many solutions
A value for xx (e.g. x=4x = 4)One solution

Classify the Equation ๐Ÿ”ฝ

Simplify each equation in your head, then choose how many solutions it has.

Putting Parts 1โ€“4 Together

You now have a full toolkit:

If the equation hasโ€ฆDo this first
fractionsmultiply every term by the LCD
decimalsmultiply every term by a power of 1010
parenthesesdistribute
variables on both sidesgather them on one side

After cleanup, isolate the variable as usual โ€” or, if it cancels, classify the equation as no solution or infinitely many. Time to combine it all.

Fractions, Decimals & Classifying ๐Ÿงฎ

For #1โ€“2 enter the numeric solution. For #3 enter the number of solutions as a digit: 1 for one, 0 for none.

1) x3+2=5โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?\dfrac{x}{3} + 2 = 5 \;\Rightarrow\; x = \,? 2) 0.4xโˆ’1.2=0.8โ€…โ€Šโ‡’โ€…โ€Šx=โ€‰?0.4x - 1.2 = 0.8 \;\Rightarrow\; x = \,? 3) How many solutions does 7x+4=7xโˆ’27x + 4 = 7x - 2 have? (enter 00 or 11)

Part 5: Word Problems & Mastery Check

โš–๏ธ Solving Linear Equations

Part 5 of 5 โ€” Word Problems & Mastery Check


You can now solve one-step, two-step, and multi-step equations, clear fractions and decimals, and recognize special cases. The last skill is the most useful in real life: turning a sentence into an equation.

Translating Words into Equations

Pick a letter for the unknown, then translate phrase by phrase.

WordsMath
a number xx increased by 77x+7x + 7
55 less than a numberxโˆ’5x - 5
twice a number2x2x
the product of 33 and a number3x3x
a number divided by 44x4\dfrac{x}{4}
is, equals, results in==

Worked Example

"Four more than three times a number is 2525. Find the number."

Translate: โ€…โ€Š3x+4=25\;3x + 4 = 25.

Solve: โ€…โ€Š3x=21โ‡’x=7\;3x = 21 \Rightarrow x = 7.

โœ… Check: 3(7)+4=21+4=253(7) + 4 = 21 + 4 = 25 โœ“ โ€” the number is 77.

Translate & Solve ๐ŸŽฏ

A Geometry Application

Equations show up everywhere โ€” here's a perimeter problem.

"A rectangle's length is 33 cm more than its width. Its perimeter is 2626 cm. Find the width."

Let the width be ww. Then the length is w+3w + 3. Perimeter is 2(length)+2(width)2(\text{length}) + 2(\text{width}):

2(w+3)+2w=262(w + 3) + 2w = 26

Distribute and combine:

2w+6+2w=26โ‡’4w+6=262w + 6 + 2w = 26 \quad\Rightarrow\quad 4w + 6 = 26

4w=20โ‡’w=54w = 20 \quad\Rightarrow\quad w = 5

โœ… Check: width =5= 5, length =8= 8, perimeter =2(8)+2(5)=16+10=26= 2(8) + 2(5) = 16 + 10 = 26 โœ“

๐Ÿ’ก Strategy: (1) name the unknown, (2) write expressions for the other quantities, (3) build the equation, (4) solve, (5) check it makes sense.

Word-Problem Practice ๐Ÿงฎ

Set up an equation and solve. Enter just the number.

1) Five more than twice a number is 2323. What is the number? 2) Maya has $40. She buys a backpack for $16 and then xx notebooks at $3 each, spending all $40. How many notebooks? 3) Three consecutive integers sum to 4848. What is the smallest one? (Hint: x+(x+1)+(x+2)=48x + (x+1) + (x+2) = 48.)

Quick Reference

Equation typeKey move
One-step (x+a=bx + a = b)one inverse operation, both sides
Two-step (ax+b=cax + b = c)undo +/โˆ’+/- first, then ร—/รท\times/\div
Variables both sidesgather xx on one side, numbers on the other
Parenthesesdistribute first
Fractions / decimalsmultiply every term by the LCD / a power of 1010
0=50 = 5 after cancelingno solution
7=77 = 7 after cancelinginfinitely many

โš ๏ธ Always do the same thing to both sides, and check your answer by substituting it back in.

Exit Quiz โœ…

Answer all three to finish the lesson.