Equations & Inequalities

Study Sheet

Equations & Inequalities

Everything you need to solve, rearrange, and graph.

What Is an Equation?

Concept
The Big Idea: Balance

An equation says that two things are equal, joined by an equals sign, like x+3=7x + 3 = 7. Think of the == sign as the middle of a balance scale. Whatever you do to one side you must do to the other, or the scale tips and the equation is no longer true.

To solve an equation means to find the value of the variable that makes it true. We do this by using inverse operations (opposite operations) to undo what has been done to the variable, one step at a time, until the variable is alone.

Multi-step equations are solved by simplifying each side, moving variable terms to one side and constants to the other, and dividing by the coefficient. Equations with variables on both sides, with fractions (clear them by the LCD), and literal equations (solve for one letter in terms of others) all use the same moves. Inequalities add the flip-on-negative rule.

Doing the same thing to both sides is legitimate because each step can be undone. Subtracting 33 from both sides of x+3=7x + 3 = 7 can be reversed by adding 33 back, so the new equation x=4x = 4 has exactly the same solutions as the old one. Steps that cannot be undone (multiplying both sides by 00) are the ones to avoid.

Tip

Inverse pairs: addition ↔\leftrightarrow subtraction, and multiplication ↔\leftrightarrow division. To undo +5+5, subtract 55. To undo ×4\times 4, divide by 44.

Example
Check by substituting
xx + 3 = 7: remove 3 from each pan, x = 4
A level scale is a true equation.

Is x=4x = 4 the solution of x+3=7x + 3 = 7? Replace xx with 44:   4+3=7  ✓\;4 + 3 = 7 \;\checkmark. Yes! Always check your answer by plugging it back in.

Side note
Where it goes wrong

Checking only that the arithmetic in your steps is right, not the answer. Substitute into the ORIGINAL equation: for x+3=7x + 3 = 7, x=4x = 4 gives 4+3=74 + 3 = 7. An error in the first step would still pass a check on a later line.

Try it
Try it: solution or not?

Is x=−2x = -2 a solution of 5−3x=2x+155 - 3x = 2x + 15?

Show the answer

Left side: 5−3(−2)=5+6=115 - 3(-2) = 5 + 6 = 11. Right side: 2(−2)+15=112(-2) + 15 = 11. The two sides agree, so yes.

One-Step Equations

Concept
One inverse operation

The variable has one operation attached to it. Undo that operation on both sides.

Each operation has an inverse that exactly cancels it: x−8+8=xx - 8 + 8 = x and x3⋅3=x\tfrac{x}{3} \cdot 3 = x for every xx. Applying the inverse to both sides isolates the variable in one move while keeping the two sides equal.

Example
Addition and subtraction

Solve x−8=5x - 8 = 5.

x−8=5x−8+8=5+8(add 8 to both sides)x=13\begin{aligned} x - 8 &= 5\\ x - 8 + 8 &= 5 + 8 &&\text{(add 8 to both sides)}\\ x &= 13 \end{aligned}

Solve x+6=10x + 6 = 10: subtract 6 from both sides to get x=4x = 4.

Side note
Where it goes wrong

Solving −x=7-x = 7 as x=7x = 7. The variable is multiplied by −1-1, so divide both sides by −1-1: x=−7x = -7. Check: −(−7)=7-(-7) = 7.

Example
Multiplication and division

Solve x3=6\dfrac{x}{3} = 6.

x3⋅3=6⋅3⇒x=18.\frac{x}{3}\cdot 3 = 6 \cdot 3 \quad\Rightarrow\quad x = 18.

Solve 5x=355x = 35: divide both sides by 5 to get x=7x = 7.

Try it
Try it: one step

Solve −4x=18-4x = 18, x+2.5=−1x + 2.5 = -1 and 23x=10\dfrac{2}{3}x = 10.

Show the answer

x=18−4=−4.5x = \tfrac{18}{-4} = -4.5. x=−1−2.5=−3.5x = -1 - 2.5 = -3.5. Multiply by the reciprocal 32\tfrac32: x=10⋅32=15x = 10 \cdot \tfrac32 = 15.

Two-Step Equations

Concept
Undo in reverse order

When two operations act on the variable, undo them in the reverse of the order of operations: first undo addition/subtraction, then undo multiplication/division.

The expression 2x+72x + 7 was built by doubling, then adding 77. Undoing works from the outside in, like unwrapping a present: remove the last layer first (the +7+7), then the one beneath it (the ×2\times 2).

Example
A two-step solve
xx719x + x = 19 − 7 = 12, so x = 6
Remove the 77, then split the rest into two equal parts.

Solve 2x+7=192x + 7 = 19.

2x+7=192x=12(subtract 7)x=6(divide by 2)\begin{aligned} 2x + 7 &= 19\\ 2x &= 12 &&\text{(subtract 7)}\\ x &= 6 &&\text{(divide by 2)} \end{aligned}

Check: 2(6)+7=12+7=19  ✓2(6) + 7 = 12 + 7 = 19\;\checkmark

Side note
Where it goes wrong

Dividing first but not every term: 2x+7=19→x+7=9.52x + 7 = 19 \to x + 7 = 9.5. Dividing by 22 divides every term: x+3.5=9.5x + 3.5 = 9.5, still giving x=6x = 6. Subtracting first avoids the fraction entirely.

Try it
Try it: two steps

Solve x4−9=−2\dfrac{x}{4} - 9 = -2 and 11−3x=2911 - 3x = 29.

Show the answer

Add 99: x4=7\tfrac x4 = 7, so x=28x = 28. For the second, subtract 1111: −3x=18-3x = 18, so x=−6x = -6. Check: 11−3(−6)=2911 - 3(-6) = 29.

Multi-Step Equations

Concept
Simplify first

Before you isolate the variable, clean up each side: use the distributive property to remove parentheses, then combine like terms. Then solve as usual.

Simplifying each side first uses only rewrites that keep each side's value (distributing, combining like terms), so the equation's solutions do not change. The payoff is that any multi-step equation shrinks to the two-step form ax+b=cax + b = c.

Tip

Distributing a negative: −3(x−4)=−3x+12-3(x - 4) = -3x + 12. The minus sign changes the sign of every term inside the parentheses. This is a very common place to make a mistake, so slow down here.

Example
Distribute, then combine

Solve 3(x+2)+4x=273(x + 2) + 4x = 27.

3(x+2)+4x=273x+6+4x=27(distribute)7x+6=27(combine like terms)7x=21(subtract 6)x=3(divide by 7)\begin{aligned} 3(x+2) + 4x &= 27\\ 3x + 6 + 4x &= 27 &&\text{(distribute)}\\ 7x + 6 &= 27 &&\text{(combine like terms)}\\ 7x &= 21 &&\text{(subtract 6)}\\ x &= 3 &&\text{(divide by 7)} \end{aligned}
Side note
Where it goes wrong

Distributing a negative to the first term only: 10−2(x−3)=410 - 2(x - 3) = 4 becomes 10−2x−6=410 - 2x - 6 = 4, giving x=0x = 0. The −2-2 multiplies the −3-3 too: 10−2x+6=410 - 2x + 6 = 4, so −2x=−12-2x = -12 and x=6x = 6. Check: 10−2(3)=410 - 2(3) = 4.

Try it
Try it: multi-step

Solve 4(2x−1)−3(x+2)=54(2x - 1) - 3(x + 2) = 5.

Show the answer

Distribute: 8x−4−3x−6=58x - 4 - 3x - 6 = 5. Combine: 5x−10=55x - 10 = 5. Then 5x=155x = 15 and x=3x = 3. Check: 4(5)−3(5)=54(5) - 3(5) = 5.

Variables on Both Sides

Concept
Gather the variables

Move all variable terms to one side and all number terms to the other by adding or subtracting. A good habit: move the smaller variable term so the coefficient stays positive.

Subtracting 2x2x from both sides is allowed for the same reason subtracting 33 is: 2x2x is a number (for each value of xx), and taking the same number from two equal quantities leaves them equal. The graph shows what the solution means: the two sides are two lines, and x=4x = 4 is where they reach the same height.

Example
Both sides
xy12345−448121620(4, 17)y = 5x − 3y = 2x + 9
The two sides as lines: they agree at x=4x = 4, where both equal 1717.

Solve 5x−3=2x+95x - 3 = 2x + 9.

5x−3=2x+93x−3=9(subtract 2x)3x=12(add 3)x=4(divide by 3)\begin{aligned} 5x - 3 &= 2x + 9\\ 3x - 3 &= 9 &&\text{(subtract $2x$)}\\ 3x &= 12 &&\text{(add 3)}\\ x &= 4 &&\text{(divide by 3)} \end{aligned}
Side note
Where it goes wrong

Moving a term across without changing its sign: 5x−3=2x+95x - 3 = 2x + 9 becomes 5x+2x=9−35x + 2x = 9 - 3. Subtracting 2x2x from both sides gives 3x−3=93x - 3 = 9; the 2x2x arrives on the left as −2x-2x, not +2x+2x.

Try it
Try it: both sides

Solve 7−2x=4x+257 - 2x = 4x + 25.

Show the answer

Add 2x2x to both sides: 7=6x+257 = 6x + 25. Subtract 2525: −18=6x-18 = 6x, so x=−3x = -3. Check: 7+6=137 + 6 = 13 and −12+25=13-12 + 25 = 13.

Equations with Fractions & Decimals

Concept
Clear the denominators

Multiply every term on both sides by the least common denominator (LCD). This turns a fraction equation into a whole-number equation. For decimals, multiply every term by 10, 100, …\dots to clear the decimal points.

Multiplying both sides by the LCD is one legal move (both sides times the same nonzero number) that makes every denominator divide out at once. The LCD is chosen because every denominator divides it; any common multiple works, but a larger one only makes the numbers bigger.

Example
Clearing fractions

Solve x2+13=56\dfrac{x}{2} + \dfrac{1}{3} = \dfrac{5}{6}. The LCD of 2,3,62, 3, 6 is 66.

6⋅x2+6⋅13=6⋅563x+2=53x=3⇒x=1\begin{aligned} 6\cdot\frac{x}{2} + 6\cdot\frac{1}{3} &= 6\cdot\frac{5}{6}\\ 3x + 2 &= 5\\ 3x &= 3 \quad\Rightarrow\quad x = 1 \end{aligned}
Side note
Where it goes wrong

Clearing a fraction from only one term. In x2+13=56\tfrac x2 + \tfrac13 = \tfrac56, multiplying only the first term by 66 gives 3x+13=563x + \tfrac13 = \tfrac56, a different equation. Every term on both sides must be multiplied, including terms with no fraction.

Example
Clearing decimals

Solve 0.2x+0.5=1.10.2x + 0.5 = 1.1. Multiply every term by 10:

2x+5=11⇒2x=6⇒x=3.2x + 5 = 11 \quad\Rightarrow\quad 2x = 6 \quad\Rightarrow\quad x = 3.
Try it
Try it: clear first

Solve x−14−x6=1\dfrac{x - 1}{4} - \dfrac{x}{6} = 1.

Show the answer

LCD 1212: 3(x−1)−2x=123(x - 1) - 2x = 12, keeping x−1x - 1 together. Then 3x−3−2x=123x - 3 - 2x = 12, so x=15x = 15. Check: 144−156=3.5−2.5=1\tfrac{14}{4} - \tfrac{15}{6} = 3.5 - 2.5 = 1.

Literal Equations (Solving for a Variable)

Concept
Rearranging formulas

A literal equation has several letters. To “solve for” one letter means to get that letter alone, treating all the other letters as if they were numbers. Use the same inverse operations as always.

A formula is an equation that holds for every value of its letters, so the same balance moves apply: treat the other letters as fixed numbers and undo what is being done to the target letter. The result is a new formula that answers a different question, for example the width of a rectangle from its perimeter and length.

Example
Solve a formula for one letter

Solve A=ℓwA = \ell w for ww.

A=ℓw⇒Aℓ=w(divide both sides by ℓ).A = \ell w \quad\Rightarrow\quad \frac{A}{\ell} = w \quad\text{(divide both sides by $\ell$).}

Solve P=2ℓ+2wP = 2\ell + 2w for ww:

P−2ℓ=2w⇒w=P−2ℓ2.P - 2\ell = 2w \quad\Rightarrow\quad w = \frac{P - 2\ell}{2}.
Side note
Where it goes wrong

Dividing only part of a side: from P−2ℓ=2wP - 2\ell = 2w writing w=P−ℓw = P - \ell. Dividing by 22 divides the whole side: w=P−2ℓ2=P2−ℓw = \tfrac{P - 2\ell}{2} = \tfrac P2 - \ell. Test: P=20P = 20, ℓ=6\ell = 6 gives w=4w = 4; the wrong version gives 1414.

Try it
Try it: solve for a letter

Solve F=95C+32F = \tfrac95 C + 32 for CC, then convert 77∘77^\circF.

Show the answer

Subtract 3232: F−32=95CF - 32 = \tfrac95 C. Multiply by 59\tfrac59: C=59(F−32)C = \tfrac59(F - 32). For F=77F = 77: 59⋅45=25∘\tfrac59 \cdot 45 = 25^\circC.

Special Cases: No Solution or Infinitely Many

Concept
When the variable disappears

Sometimes, while solving, all the variable terms cancel out. Look at what is left:

  • A false statement (like 3=73 = 7) means no solution. No value of xx works.
  • A true statement (like 5=55 = 5) means infinitely many solutions. Every value of xx works; the two sides are really the same expression.

Graph each side as a line and the special cases explain themselves. 2x+42x + 4 and 2x−12x - 1 have the same slope and different intercepts: parallel lines that never meet, so no xx makes them equal. 3(x+2)3(x + 2) and 3x+63x + 6 are the same line, so they agree at every xx. A normal linear equation has lines with different slopes, which cross exactly once.

Example
Both special cases
xy−3−2−112−8−6−4−22468y = 2x + 4y = 2x − 1
Parallel lines: the two sides of 2x+4=2x−12x + 4 = 2x - 1 are never equal.

Solve 2x+4=2x−12x + 4 = 2x - 1: subtract 2x2x to get 4=−14 = -1, which is false. No solution.

Solve 3(x+2)=3x+63(x + 2) = 3x + 6: distribute to get 3x+6=3x+63x + 6 = 3x + 6; subtract 3x3x to get 6=66 = 6, always true. Infinitely many solutions.

Side note
Where it goes wrong

Reading 0=00 = 0 as "x=0x = 0." When the variable vanishes and a true statement remains, every xx works; x=0x = 0 is just one of infinitely many solutions.

Try it
Try it: how many solutions?

Classify: (a) 4(x−1)=4x−14(x - 1) = 4x - 1; (b) 2(3x+1)=6x+22(3x + 1) = 6x + 2; (c) 5x+1=3x+15x + 1 = 3x + 1.

Show the answer

(a) 4x−4=4x−14x - 4 = 4x - 1 leaves −4=−1-4 = -1: no solution. (b) 6x+2=6x+26x + 2 = 6x + 2 leaves 2=22 = 2: infinitely many. (c) 2x=02x = 0, so x=0x = 0: exactly one solution. The variable did not vanish there.

Solving Inequalities

Concept
Almost like equations

Inequalities use <,>,≤,≥<, >, \le, \ge instead of ==. Solve them the same way you solve equations, with one special rule.

Multiplying by a negative number reflects the number line through 00, and a reflection reverses order: 2<32 < 3 but −2>−3-2 > -3. Adding, subtracting, and multiplying by a positive number never reverse order, which is why the flip happens only in that one case.

Tip

The Flip Rule: When you multiply or divide both sides of an inequality by a negative number, you must flip the inequality sign. For example, −2x<6-2x < 6 becomes x>−3x > -3 (divide by −2-2 and flip << to >>).

Example
An inequality with a flip
−6−5−4−3−2−1012
The solution x≤−3x \le -3.

Solve −3x+1≥10-3x + 1 \ge 10.

−3x+1≥10−3x≥9(subtract 1)x≤−3(divide by −3, flip ≥ to ≤)\begin{aligned} -3x + 1 &\ge 10\\ -3x &\ge 9 &&\text{(subtract 1)}\\ x &\le -3 &&\text{(divide by $-3$, flip $\ge$ to $\le$)} \end{aligned}
Side note
Where it goes wrong

Flipping when subtracting a negative: x−(−4)>1x - (-4) > 1 solved as x<−3x < -3. Only multiplying or dividing by a negative flips; here x+4>1x + 4 > 1 gives x>−3x > -3.

Try it
Try it: solve and test

Solve 5−2x>115 - 2x > 11 and test one value from your answer.

Show the answer

Subtract 55: −2x>6-2x > 6. Divide by −2-2 and flip: x<−3x < -3. Test x=−4x = -4: 5+8=13>115 + 8 = 13 > 11, true.

Graphing on a Number Line

Concept
Circles and arrows

Graph the solution of a one-variable inequality on a number line:

  • Use an open circle ∘\circ for << or >> (the endpoint is not included).
  • Use a closed (filled) circle ∙\bullet for ≤\le or ≥\ge (the endpoint is included).
  • Shade an arrow to the right for “greater than” and to the left for “less than.”

The circle answers one question, whether the boundary itself is a solution; the arrow covers every other solution, which always fills one whole side of the boundary for a simple inequality. Testing one number on each side confirms the direction.

Example
Describing a graph
−5−4−3−2−101234
x≥−3x \ge -3: closed circle, arrow right.

The graph of x≥−3x \ge -3 has a closed circle at −3-3 and an arrow shaded to the right. The graph of x<2x < 2 has an open circle at 22 and an arrow shaded to the left.

Side note
Where it goes wrong

Using an open circle for ≥\ge. The boundary −3-3 satisfies −3≥−3-3 \ge -3, so it belongs to the solution and the circle is filled.

Try it
Try it: from graph to inequality

A graph has an open circle at 1.51.5 and an arrow to the left. Write the inequality, and name two solutions and one non-solution.

Show the answer

Open circle and left arrow: x<1.5x < 1.5. Solutions: 00 and −10-10 (any number below 1.51.5). Non-solution: 1.51.5 itself (or 22).

Compound Inequalities (And / Or)

Concept
Two conditions at once

A compound inequality joins two inequalities.

  • And (written a<x<ba < x < b): xx must satisfy both. The graph is the overlap between the two endpoints.
  • Or: xx satisfies either one. The graph shades outward in two directions.

For an “and” inequality, do the same operation to all three parts.

"And" keeps only the numbers that pass both tests, so its graph is the overlap of two rays, a segment. "Or" keeps numbers that pass either test, so its graph is the union, usually two rays pointing apart. Doing the same operation to all three parts of a<x<ba < x < b is legal because it is really two inequalities being solved together.

Example
An “and” inequality
−4−3−2−1012345
−2<x≤3-2 < x \le 3: open at −2-2, closed at 33.

Solve −4<2x≤6-4 < 2x \le 6.

−42<2x2≤62⇒−2<x≤3.\frac{-4}{2} < \frac{2x}{2} \le \frac{6}{2} \quad\Rightarrow\quad -2 < x \le 3.

This means xx is between −2-2 (open) and 33 (closed).

Side note
Where it goes wrong

Writing an "or" as a single chain: x<−1x < -1 or x>4x > 4 written as 4<x<−14 < x < -1. That chain says xx is bigger than 44 and smaller than −1-1 at once, which nothing is. "Or" must be written as two separate pieces.

Try it
Try it: and / or

Solve −7≤3x−1<11-7 \le 3x - 1 < 11, and solve 2x+1<−52x + 1 < -5 or x−3>1x - 3 > 1.

Show the answer

Add 11 to all parts: −6≤3x<12-6 \le 3x < 12; divide by 33: −2≤x<4-2 \le x < 4. Second: 2x<−62x < -6 gives x<−3x < -3; x>4x > 4. Answer: x<−3x < -3 or x>4x > 4.

Absolute Value Equations & Inequalities

Concept
Distance from zero

∣x∣|x| means the distance of xx from 00, which is never negative. So ∣x∣=5|x| = 5 has two answers: x=5x = 5 or x=−5x = -5. Get the absolute value alone first, then split into two cases.

Read ∣x−2∣|x - 2| as "the distance from xx to 22." Then ∣x−2∣=5|x - 2| = 5 asks for points 55 away from 22, and there are exactly two: 2+52 + 5 and 2−52 - 5. An inequality ∣x+1∣≤4|x + 1| \le 4 asks for points within 44 of −1-1, a single segment; "greater than" asks for points farther out, two rays.

Tip

Two patterns for inequalities:

  • “Less than” (∣x∣<a|x| < a) becomes an and: −a<x<a-a < x < a.
  • “Greater than” (∣x∣>a|x| > a) becomes an or: x<−ax < -a or x>ax > a.

If the absolute value equals a negative number, there is no solution (distance can't be negative).

Example
Absolute value equation
−4−3−2−101234567855
The two points 55 units from 22: −3-3 and 77.

Solve ∣x−2∣=5|x - 2| = 5. Split into two cases:

x−2=5  ⇒  x=7orx−2=−5  ⇒  x=−3.x - 2 = 5 \;\Rightarrow\; x = 7 \qquad\text{or}\qquad x - 2 = -5 \;\Rightarrow\; x = -3.

Solutions: x=7x = 7 or x=−3x = -3.

Side note
Where it goes wrong

Splitting before isolating: 2∣x∣+3=112|x| + 3 = 11 written as 2x+3=112x + 3 = 11 or 2x+3=−112x + 3 = -11, giving x=4x = 4 or x=−7x = -7. Isolate first: ∣x∣=4|x| = 4, so x=±4x = \pm 4. The value −7-7 fails: 2(7)+3=172(7) + 3 = 17.

Example
Absolute value inequality
−6−5−4−3−2−101234
Everything within 44 of −1-1: −5≤x≤3-5 \le x \le 3.

Solve ∣x+1∣≤4|x + 1| \le 4. This is a “less than,” so use and:

−4≤x+1≤4⇒−5≤x≤3.-4 \le x + 1 \le 4 \quad\Rightarrow\quad -5 \le x \le 3.
Try it
Try it: distance reading

Solve ∣2x−3∣=9|2x - 3| = 9 and ∣x−4∣>2|x - 4| > 2.

Show the answer

2x−3=92x - 3 = 9 gives x=6x = 6; 2x−3=−92x - 3 = -9 gives x=−3x = -3. For the inequality, points more than 22 from 44: x<2x < 2 or x>6x > 6.

Going Deeper: Advanced Equations & Inequalities

Concept
Parameter equations: when does a solution exist?

A parameter is a letter that stands for a fixed but unknown number (often aa, bb, kk, mm). When a linear equation contains a parameter, the number of solutions can change depending on the parameter's value. Every linear equation can be rearranged into the form

( coefficient )⋅x=( constant ),that isAx=B.(\,\text{coefficient}\,)\cdot x = (\,\text{constant}\,), \qquad\text{that is}\qquad Ax = B .

Everything then depends on whether the coefficient AA is zero:

  • If A≠0A \ne 0: exactly one solution, x=BAx = \dfrac{B}{A}.
  • If A=0A = 0 and B=0B = 0 (you get 0=00 = 0): infinitely many solutions.
  • If A=0A = 0 and B≠0B \ne 0 (you get 0=B0 = B, a contradiction): no solution.

The whole strategy is: collect all xx-terms on one side, factor xx out, then study its coefficient.

Tip

The key move: write the equation as Ax=BAx = B where AA and BB are expressions in the parameter. The “interesting” values of the parameter are exactly those that make the coefficient A=0A = 0. Test each of them separately.

Example
All three cases at once (worked example)

For each value of kk, describe the number of solutions of

k2x+5=9x+k+2.k^2 x + 5 = 9x + k + 2 .

Gather the xx-terms on the left and the constants on the right:

k2x+5=9x+k+2k2x−9x=k+2−5(subtract 9x and 5)(k2−9) x=k−3(factor x out)(k−3)(k+3) x=k−3(difference of squares)\begin{aligned} k^2 x + 5 &= 9x + k + 2\\ k^2 x - 9x &= k + 2 - 5 &&\text{(subtract $9x$ and $5$)}\\ (k^2 - 9)\,x &= k - 3 &&\text{(factor $x$ out)}\\ (k-3)(k+3)\,x &= k - 3 &&\text{(difference of squares)} \end{aligned}

Now the coefficient is A=(k−3)(k+3)A = (k-3)(k+3), zero only when k=3k = 3 or k=−3k = -3.

  • k=3k = 3: the equation becomes 0⋅x=00\cdot x = 0, true for every xx   ⇒  \;\Rightarrow\; infinitely many solutions.
  • k=−3k = -3: the equation becomes 0⋅x=−60\cdot x = -6, impossible   ⇒  \;\Rightarrow\; no solution.
  • any other kk: one solution, x=k−3(k−3)(k+3)=1k+3x = \dfrac{k-3}{(k-3)(k+3)} = \dfrac{1}{k+3}.
Concept
Nested absolute values: peel from the outside in

An expression like ∣∣x−3∣−2∣\bigl||x-3| - 2\bigr| has one absolute value inside another. Treat the whole inner absolute value as a single block and undo the outer bars first, exactly as you would solve ∣ block ∣=c|\,\text{block}\,| = c. Each branch then leaves you with an ordinary absolute-value equation to finish. Always discard any branch that asks an absolute value to equal a negative number.

Example
A nested absolute-value equation (worked example)

Solve ∣∣x−3∣−2∣=4\bigl||x-3| - 2\bigr| = 4. Let the block be B=∣x−3∣B = |x-3|. The outer bars give two branches:

∣x−3∣−2=4or∣x−3∣−2=−4.|x-3| - 2 = 4 \qquad\text{or}\qquad |x-3| - 2 = -4 .

That is ∣x−3∣=6|x-3| = 6 or ∣x−3∣=−2|x-3| = -2. The second is impossible (an absolute value is never negative), so discard it. From ∣x−3∣=6|x-3| = 6:

x−3=6  ⇒  x=9orx−3=−6  ⇒  x=−3.x - 3 = 6 \;\Rightarrow\; x = 9 \qquad\text{or}\qquad x - 3 = -6 \;\Rightarrow\; x = -3 .

Solutions: x=9x = 9 or x=−3x = -3. (Check: ∣∣9−3∣−2∣=∣6−2∣=4  ✓\bigl||9-3|-2\bigr| = |6-2| = 4\;\checkmark.)

Concept
Sums of absolute values as distances

Read ∣x−a∣|x - a| as “the distance between xx and aa on the number line.” Then ∣x−a∣+∣x−b∣|x-a| + |x-b| is the total distance from xx to the two fixed points aa and bb. If aa and bb are dd units apart, that total is smallest exactly when xx sits between them, where it equals dd and can go no lower. So:

  • ∣x−a∣+∣x−b∣=c|x-a| + |x-b| = c has no solution if c<dc < d, and infinitely many (a whole segment) if c=dc = d.
  • If c>dc > d, there are exactly two solutions, one on each side of the pair.

To solve algebraically, split the line at the critical points x=ax = a and x=bx = b and handle each region with casework.

Example
Summed absolute values with casework (worked example)
xy−5−4−3−2−112312345678(−3, 5)(2, 5)
Total distance to 11 and −2-2: flat at 33 between them, reaching 55 at x=−3x = -3 and x=2x = 2.

Solve ∣x−1∣+∣x+2∣=5|x - 1| + |x + 2| = 5. The critical points are x=1x = 1 and x=−2x = -2, which are d=3d = 3 apart. Since 5>35 > 3, expect two solutions. Break the line into three regions.

x<−2:−(x−1)−(x+2)=5  ⇒  −2x−1=5  ⇒  x=−3  ✓−2≤x≤1:−(x−1)+(x+2)=5  ⇒  3=5  (false, no solution here)x>1:(x−1)+(x+2)=5  ⇒  2x+1=5  ⇒  x=2  ✓\begin{aligned} x < -2:\quad &-(x-1) - (x+2) = 5 \;\Rightarrow\; -2x - 1 = 5 \;\Rightarrow\; x = -3 \;\checkmark\\ -2 \le x \le 1:\quad &-(x-1) + (x+2) = 5 \;\Rightarrow\; 3 = 5 \;\text{(false, no solution here)}\\ x > 1:\quad &(x-1) + (x+2) = 5 \;\Rightarrow\; 2x + 1 = 5 \;\Rightarrow\; x = 2 \;\checkmark \end{aligned}

The middle region gives the constant 33 (the minimum total distance), confirming the sum can never dip below 33. Solutions: x=−3x = -3 or x=2x = 2.

Concept
Literal equations that need factoring

When you solve a formula for a letter that appears in more than one term, you cannot simply divide — you must first collect every term containing that letter on one side, then factor the letter out, and only then divide by the leftover expression. This is the same “Ax=BAx = B” idea used for parameters, applied to rearranging formulas.

Example
Factoring to isolate a variable

Solve xy+3x=5xy + 3x = 5 for xx. Both terms on the left contain xx, so factor it out:

x(y+3)=5⇒x=5y+3(y≠−3).x(y + 3) = 5 \quad\Rightarrow\quad x = \frac{5}{y + 3} \quad (y \ne -3).

Similarly, solve ax+b=cx+dax + b = cx + d for xx:

ax−cx=d−b  ⇒  x(a−c)=d−b  ⇒  x=d−ba−c(a≠c).ax - cx = d - b \;\Rightarrow\; x(a - c) = d - b \;\Rightarrow\; x = \frac{d - b}{a - c}\quad (a \ne c).
Concept
Counting integer solutions of an inequality

Some problems ask not for the solution set but for how many integers lie in it. First solve the inequality to get a range, then count the whole numbers inside, watching the endpoints:

  • A strict endpoint (<< or >>) does not include that boundary value.
  • A non-strict endpoint (≤\le or ≥\ge) does include it.

For a run of consecutive integers from mm to nn inclusive, the count is n−m+1n - m + 1.

Example
How many integer solutions?

How many integers satisfy ∣2x−1∣<7|2x - 1| < 7? Rewrite the “less than” absolute value as an “and”:

−7<2x−1<7  ⇒  −6<2x<8  ⇒  −3<x<4.-7 < 2x - 1 < 7 \;\Rightarrow\; -6 < 2x < 8 \;\Rightarrow\; -3 < x < 4 .

Both ends are strict, so −3-3 and 44 are excluded. The integers are −2,−1,0,1,2,3-2, -1, 0, 1, 2, 3 — that is 6\mathbf{6} integers.

Example
Modeling a harder word problem (worked example)

Plan A costs $30 per month plus $0.10 for each text message. Plan B costs a flat $50 per month. For how many text messages is Plan A the cheaper choice?

Let mm be the number of texts. “Plan A cheaper” means its cost is less than Plan B's:

30+0.10m<500.10m<20(subtract 30)m<200(divide by 0.10)\begin{aligned} 30 + 0.10m &< 50\\ 0.10m &< 20 &&\text{(subtract 30)}\\ m &< 200 &&\text{(divide by $0.10$)} \end{aligned}

Since mm counts texts, it must be a whole number, so Plan A is cheaper for 0≤m≤1990 \le m \le 199 texts (fewer than 200200). At exactly 200200 texts the two plans tie at $50, and beyond that Plan B wins.

Why It Works

Each step of a solution is reversible — you could add back what you subtracted — so the final x=5x = 5 and the original equation have exactly the same solutions. That reversibility is what makes "solving" legitimate; it also explains when things go wrong: dividing both sides by an expression that might be zero, or squaring both sides, is NOT reversible and can add or lose solutions. Checking the answer in the original equation catches these.

Tip
Reading a proof

Do not read a proof the way you read a rule. Cover the last line, ask what the previous line forces, and only then uncover it. If a step feels like magic, that is the step to work by hand with a concrete number.

Formulas, Proofs & Tips

Tip
Solving equations and inequalities
Do the same thing to both sides;multiplying an inequality by a negative flips it\text{Do the same thing to both sides};\qquad \text{multiplying an inequality by a negative flips it}

What it means. Equations stay balanced under identical operations; inequalities have one extra rule.

Example. 2x+3=11⇒2x=8⇒x=42x+3=11\Rightarrow 2x=8\Rightarrow x=4.

Why it works. If a=ba=b then a+c=b+ca+c=b+c and ac=bcac=bc — equality is preserved. But if a<ba<b, multiplying by −1-1 reverses their order on the number line, since −a-a now lies to the right of −b-b.

Tip. Undo operations in reverse PEMDAS order: addition first, multiplication last.