Algebra

Solving Linear Equations

Last updated: March 2026 · Beginner
Real-world applications
โšก
Electrical

Voltage drop, wire sizing, load balancing

๐Ÿ’Š
Nursing

Medication dosages, IV drip rates, vital monitoring

A linear equation is an equation where the variable (usually xx) appears only to the first power โ€” no exponents, no square roots, no xx in a denominator. Solving it means finding the value of the variable that makes the equation true.

The core strategy is simple: use inverse operations to isolate the variable on one side of the equals sign.

Inverse Operations

Every operation has an opposite that undoes it:

OperationInverse
Addition (++)Subtraction (โˆ’-)
Subtraction (โˆ’-)Addition (++)
Multiplication (ร—\times)Division (รท\div)
Division (รท\div)Multiplication (ร—\times)

The golden rule: whatever you do to one side of the equation, you must do to the other side.

One-Step Equations

These require a single inverse operation.

Example 1: x+7=15x + 7 = 15

Subtract 7 from both sides:

x+7โˆ’7=15โˆ’7x + 7 - 7 = 15 - 7

x=8x = 8

Answer: x=8x = 8

Example 2: 3x=213x = 21

Divide both sides by 3:

3x3=213\frac{3x}{3} = \frac{21}{3}

x=7x = 7

Answer: x=7x = 7

Two-Step Equations

With two operations applied to the variable, undo them in reverse order โ€” handle addition or subtraction first, then multiplication or division.

Example 3: 2x+5=132x + 5 = 13

Step 1 โ€” Subtract 5 from both sides:

2x+5โˆ’5=13โˆ’52x + 5 - 5 = 13 - 5

2x=82x = 8

Step 2 โ€” Divide both sides by 2:

2x2=82\frac{2x}{2} = \frac{8}{2}

x=4x = 4

Answer: x=4x = 4

Check: 2(4)+5=8+5=132(4) + 5 = 8 + 5 = 13 . Correct.

Multi-Step Equations

When the equation has parentheses or like terms, simplify first, then isolate the variable.

Example 4: 3(x+4)=273(x + 4) = 27

Step 1 โ€” Distribute the 3:

3x+12=273x + 12 = 27

Step 2 โ€” Subtract 12 from both sides:

3x=153x = 15

Step 3 โ€” Divide both sides by 3:

x=5x = 5

Answer: x=5x = 5

Check: 3(5+4)=3(9)=273(5 + 4) = 3(9) = 27 . Correct.

Variables on Both Sides

When the variable appears on both sides of the equation, move all variable terms to one side and all constant terms to the other.

Example 5: 5xโˆ’3=2x+95x - 3 = 2x + 9

Step 1 โ€” Subtract 2x2x from both sides to collect variable terms on the left:

5xโˆ’2xโˆ’3=95x - 2x - 3 = 9

3xโˆ’3=93x - 3 = 9

Step 2 โ€” Add 3 to both sides:

3x=123x = 12

Step 3 โ€” Divide both sides by 3:

x=4x = 4

Answer: x=4x = 4

Check: Left side: 5(4)โˆ’3=20โˆ’3=175(4) - 3 = 20 - 3 = 17. Right side: 2(4)+9=8+9=172(4) + 9 = 8 + 9 = 17 . Both sides equal 17.

Equations with the Distributive Property

When both sides have expressions to distribute, expand everything first, then combine like terms.

Example 6: 2(3xโˆ’1)=4(x+3)2(3x - 1) = 4(x + 3)

Step 1 โ€” Distribute on both sides:

6xโˆ’2=4x+126x - 2 = 4x + 12

Step 2 โ€” Subtract 4x4x from both sides:

2xโˆ’2=122x - 2 = 12

Step 3 โ€” Add 2 to both sides:

2x=142x = 14

Step 4 โ€” Divide both sides by 2:

x=7x = 7

Answer: x=7x = 7

Real-World Application: Electrician โ€” Finding Unknown Current with Ohmโ€™s Law

Ohmโ€™s Law states:

V=Iร—RV = I \times R

where VV is voltage (volts), II is current (amps), and RR is resistance (ohms).

An electrician measures 120 volts across a circuit with 15 ohms of resistance. What is the current?

120=Iร—15120 = I \times 15

Step 1 โ€” Divide both sides by 15:

12015=I\frac{120}{15} = I

I=8I = 8

Answer: The current is 8 amps. The electrician uses this to verify the circuit is within the safe amperage rating for the wire gauge and breaker installed.

Common Mistakes to Avoid

  1. Forgetting to apply an operation to both sides. If you subtract 5 from the left, you must subtract 5 from the right.
  2. Distributing incorrectly. Remember: 3(x+4)=3x+123(x + 4) = 3x + 12, not 3x+43x + 4.
  3. Sign errors with negatives. Be especially careful when subtracting a negative: xโˆ’(โˆ’3)=x+3x - (-3) = x + 3.
  4. Not checking your answer. Plugging your solution back into the original equation catches mistakes quickly.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: Solve xโˆ’9=14x - 9 = 14

Add 9 to both sides:

x=14+9=23x = 14 + 9 = 23

Answer: x=23x = 23

Problem 2: Solve 4x+7=314x + 7 = 31

Subtract 7: 4x=244x = 24

Divide by 4: x=6x = 6

Answer: x=6x = 6

Problem 3: Solve 5(xโˆ’2)=3x+65(x - 2) = 3x + 6

Distribute: 5xโˆ’10=3x+65x - 10 = 3x + 6

Subtract 3x3x: 2xโˆ’10=62x - 10 = 6

Add 10: 2x=162x = 16

Divide by 2: x=8x = 8

Check: 5(8โˆ’2)=5(6)=305(8 - 2) = 5(6) = 30 and 3(8)+6=24+6=303(8) + 6 = 24 + 6 = 30 . Correct.

Answer: x=8x = 8

Problem 4: A nurse uses the formula Dose=DHร—V\text{Dose} = \frac{D}{H} \times V where DD is the desired dose (250 mg), HH is the dose on hand (500 mg), and VV is the vehicle volume (10 mL). Find the dose to administer.

Dose=250500ร—10=0.5ร—10=5\text{Dose} = \frac{250}{500} \times 10 = 0.5 \times 10 = 5

Answer: The nurse should administer 5 mL.

Problem 5: Solve x4+3=10\frac{x}{4} + 3 = 10

Subtract 3: x4=7\frac{x}{4} = 7

Multiply by 4: x=28x = 28

Answer: x=28x = 28

Key Takeaways

  • A linear equation has the variable to the first power only
  • Inverse operations undo what was done to the variable โ€” addition undoes subtraction, multiplication undoes division
  • Always perform the same operation on both sides of the equation
  • For multi-step equations: distribute first, combine like terms, then isolate the variable
  • When variables appear on both sides, move them all to one side first
  • Always check your answer by substituting it back into the original equation

Return to Algebra for more topics in this section.

Last updated: March 28, 2026