Allday Education

Solving Linear Equations & Inequalities

Every linear equation, no matter how messy it looks, comes down to the same job: get the variable alone on one side. Equations like 3(2x4)=5x+13(2x - 4) = 5x + 1 or 23x5=11\dfrac{2}{3}x - 5 = 11 just add a few steps in front — distribute, collect the variable terms on one side, then peel away what's left with opposite operations.

Inequalities work exactly the same way, with one extra rule: multiplying or dividing both sides by a negative number flips the inequality symbol. That single rule is the difference between the two topics, and it's where nearly every lost point comes from.

The plan for any linear equation

First, simplify each side on its own: distribute any parentheses and combine like terms. Second, collect the variable terms on one side of the equation — add or subtract a variable term from both sides so the variable appears only once. Third, use opposite operations to finish: the opposite of adding 55 is subtracting 55, and the opposite of multiplying by 33 is dividing by 33.

Whatever you do to one side, you do to the other. An equation is a balance, and every legal move keeps it balanced.

Fraction coefficients

When the coefficient is a fraction, like 23x=16\dfrac{2}{3}x = 16, don't divide — multiply both sides by the reciprocal. Multiplying by 32\dfrac{3}{2} turns 23x\dfrac{2}{3}x into 1x1x in a single move: x=1632=24x = 16 \cdot \dfrac{3}{2} = 24. One step, no messy division by a fraction.

Inequalities: the sign flip

Solve an inequality exactly like an equation. The only new rule: if you multiply or divide both sides by a negative number, the inequality symbol flips. So 2x12-2x \leq 12 becomes x6x \geq -6 after dividing by 2-2.

Adding or subtracting never flips the symbol — only multiplying or dividing by a negative does. If you're unsure, test a number from your answer in the original inequality and see if it works.

Worked examples

Example 1: variables on both sides

Solve 3(2x4)=5x+13(2x - 4) = 5x + 1.

Distribute the 336x12=5x+16x - 12 = 5x + 1
Subtract 5x5x from both sidesx12=1x - 12 = 1
Add 1212 to both sidesx=13x = 13

Answer: x=13x = 13

Example 2: a fraction coefficient

Solve 34x+2=7\dfrac{3}{4}x + 2 = -7.

Subtract 22 from both sides34x=9\dfrac{3}{4}x = -9
Multiply both sides by 43\dfrac{4}{3}x=943x = -9 \cdot \dfrac{4}{3}
Simplifyx=12x = -12

Answer: x=12x = -12

Example 3: an inequality with the sign flip

Solve 72x197 - 2x \leq 19.

Subtract 77 from both sides2x12-2x \leq 12
Divide both sides by 2-2 — the symbol flipsx6x \geq -6
Check with x=0x = 0: 70197 - 0 \leq 19

Answer: x6x \geq -6

Try one yourself

Common questions

When does the inequality symbol flip?

Only when you multiply or divide both sides by a negative number. Adding or subtracting anything — even a negative — never flips the symbol.

Which side should I collect the variable terms on?

Either side works, but collecting them on the side with the larger coefficient keeps the coefficient positive. In 3x+2=5x63x + 2 = 5x - 6, moving the 3x3x right gives 2=2x62 = 2x - 6 with no negatives to track.

What if the variable disappears completely?

Then look at what's left. A true statement like 4=44 = 4 means every real number is a solution. A false statement like 4=74 = 7 means there is no solution.

How do I graph an inequality's solution?

On a number line, put a dot at the boundary value — filled in for \leq or \geq, open for << or >> — then shade toward the numbers that make the inequality true.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1