Find a course

Module 1: Points and EquationsLesson 2 of 911 min

Solving Linear Equations

Solve one-variable linear equations with inverse operations, handle variables on both sides, spot no-solution cases, and solve two-variable equations for y.

Step 1 of 13Learn

Keep the balance

A phone plan costs $25 a month plus $10 for each gigabyte of data. Last month the bill was $65. How many gigabytes were used? Write it as an equation: 25 + 10g = 65.

Think of an equation as a balanced scale. Whatever you do to one side, you must do to the other, or the scale tips. To find g, undo what was done to it, in reverse order, using inverse operations: subtraction undoes addition, division undoes multiplication.

  1. Subtract 25 from both sides: 10g = 40.
  2. Divide both sides by 10: g = 4.

Then check by putting 4 back into the original: 25 + 10(4) = 65. True.

The order matters. In 25 + 10g, g was multiplied by 10 first and then 25 was added, so you undo the addition first. Dividing first is legal, but you must divide every term: 2.5 + g = 6.5. Dividing only the 10g and forgetting the 25 is a common mistake.

Step 2 of 13Diagram

Solving 25 + 10g = 65 like a balance

Each move undoes one operation, and each is done to both sides. Tap a step for the reason.

Solving 25 + 10g = 65 like a balanceProcess diagram: 25 + 10g = 65 → Subtract 25: 10g = 40 → Divide by 10: g = 4 → Check: 25 + 10(4) = 65.25 + 10g =65Subtract 25:10g = 40Divide by 10:g = 4Check: 25 +10(4) = 65

Tap a shape with to see more.

25 + 10g = 65

The fee plus $10 per gigabyte equals the bill.

Subtract 25: 10g = 40

Undo the addition first. Both sides lose 25, so the scale stays level.

Divide by 10: g = 4

Undo the multiplication. Both sides are divided by 10.

Check: 25 + 10(4) = 65

Substitute back. 25 + 40 = 65, so g = 4 is right.

Step 3 of 13Practice · Work it out

Solve 4x − 7 = 21.

Step 4 of 13Learn

Variables on both sides

Many equations have x on both sides or parentheses to clear. The plan stays the same: simplify each side, collect x terms on one side, then isolate x.

Solve 3(x − 2) = x + 8.

  1. Distribute: 3x − 6 = x + 8.
  2. Subtract x from both sides: 2x − 6 = 8.
  3. Add 6: 2x = 14.
  4. Divide by 2: x = 7.

Check: 3(7 − 2) = 15 and 7 + 8 = 15. True.

With fractions, multiply every term by the least common denominator first. For x/3 + 2 = 6, multiply each term by 3: x + 6 = 18, so x = 12. Multiplying only the fraction and not the other terms is the mistake to avoid.

Watch negative signs when you distribute: −2(x − 4) = −2x + 8, because a negative times a negative is positive.

Step 5 of 13Try the calculator

Solve ax + b = cx + d

Type the four numbers of any equation of this shape. The calculator collects the x terms on one side and the numbers on the other, exactly as you would by hand. Try 3x − 6 = x + 8 (a = 3, b = −6, c = 1, d = 8).

After collecting: (a − c)x =
2
… equals d − b =
14
Solution x
7
Check: left side at that x
15

Step 6 of 13Practice · Put in order

Put the steps for solving 5(x + 1) = 2x + 17 in order.

Drag the items, or use the arrow buttons, to put them in order.

  1. Check: 5(4 + 1) = 25 and 2(4) + 17 = 25
  2. Divide both sides by 3: x = 4
  3. Subtract 2x from both sides: 3x + 5 = 17
  4. Distribute: 5x + 5 = 2x + 17
  5. Subtract 5 from both sides: 3x = 12

Step 7 of 13Practice · Spot the mistake

Jordan solved 7 − 2(x − 3) = 1. Tap the line with the first mistake.

Step 8 of 13Learn

No solution, every solution, and two variables

Most linear equations have exactly one solution, but two special cases exist.

  • No solution: 2x + 3 = 2x + 7. Subtract 2x and you get 3 = 7, which is false. No value of x can ever work.
  • Infinitely many solutions: 2(x + 1) = 2x + 2. Simplify and you get 2x + 2 = 2x + 2, which becomes 0 = 0. Every value of x works, because both sides are the same expression.

Equations with two variables, like 2x + y = 5, are different. They have infinitely many solutions, each an ordered pair: (0, 5), (1, 3), (2, 1), (3, −1), and so on. As you saw in the last lesson, those pairs form a line.

It often helps to solve for y, which means getting y alone on one side. Subtract 2x from both sides of 2x + y = 5 to get y = −2x + 5. Now you can plug in any x and read off y immediately. You will use this skill constantly when you learn slope-intercept form.

Step 9 of 13Compare

One solution, none, or every number

AspectOne solutionNo solutionInfinitely many
Example3x − 6 = x + 82x + 3 = 2x + 72(x + 1) = 2x + 2
After simplifyingx = 73 = 7 (false)2 = 2 (always true)
What it meansExactly one value worksNo value can ever workEvery value works
Cluex terms do not cancelx cancels, numbers disagreex cancels, numbers agree

Step 10 of 13Practice · Work it out

Solve x/3 + 2 = 6.

Step 11 of 13Practice · Choose one

How many solutions does 4(x − 1) = 4x − 4 have?

Step 12 of 13Note

Step 13 of 13Practice · Work it out

For the equation 3x + 2y = 12, what is y when x = 2?