AMC 10 Step by Step
Printable problems

Absolute Value & Inequalities

|x| equations, piecewise definitions, inequality solving, AM-GM, optimization by inequality

What you need to know

  • Absolute value is distance. ∣x−a∣|x-a| is how far xx is from aa on the number line. Example: ∣7−3∣=∣−1−3∣=4|7-3|=|-1-3|=4, since 77 and −1-1 are both 44 away from 33.
  • Three cases (for a positive number cc). ∣x∣=c|x|=c means x=cx=c or x=−cx=-c. ∣x∣<c|x|<c means −c<x<c-c<x<c. ∣x∣>c|x|>c means x>cx>c or x<−cx<-c. Example: ∣x∣>3|x|>3 holds for 55 and −4-4, but not for 22.
  • Several absolute values. A breakpoint is an xx that makes one of the insides 00. Between breakpoints each inside keeps one sign, so each absolute value can be dropped (with a ++ or −- in front). The graph is straight pieces that bend only at breakpoints. Example: ∣x−1∣+∣x−3∣|x-1|+|x-3| is 4−2x4-2x for x≤1x\le 1, 22 for 1≤x≤31\le x\le 3, and 2x−42x-4 for x≥3x\ge 3.
  • Largest and smallest values. If such an expression has a smallest or largest value, it happens at a breakpoint. If xx is limited to an interval, also check the ends. Example: ∣x−1∣+∣x−3∣|x-1|+|x-3| is smallest, 22, at the breakpoints 11 and 33 (and between them).
  • AM-GM. For aa and bb zero or positive, the average is at least the geometric mean: a+b2≥ab\dfrac{a+b}2\ge\sqrt{ab}, with equality only when a=ba=b. So a sum with a fixed product is smallest, and a product with a fixed sum is largest, when the terms are equal. Example: for x>0x>0, x+4x≥24=4x+\frac4x\ge 2\sqrt4=4, reached at x=2x=2.
  • Inequality rules. Multiplying both sides by a negative number reverses the inequality: −2x<6-2x<6 becomes x>−3x>-3. Squaring is safe only when both sides are zero or positive: −3<2-3<2, but 9>49>4.

How AMC 10 tests it

  • Problems 4–10: solve ∣2x−5∣=7|2x-5|=7 or ∣x−1∣+∣x−3∣=4|x-1|+|x-3|=4 and give the sum or the number of solutions.
  • Problems 8–14: the region ∣x∣+∣y∣≤c|x|+|y|\le c is a diamond; find its area or count its lattice points (points with integer coordinates).
  • Problems 10–16: find the smallest value of ∣x−1∣+∣x−2∣+⋯+∣x−n∣|x-1|+|x-2|+\dots+|x-n| (it is at the median) or of x+4xx+\frac4x (AM-GM).
  • Problems 12–18: count the integers nn that satisfy a chain such as n<k3<n+1\sqrt n<\frac k3<\sqrt{n+1}, by bounding carefully.

Standard approaches

  1. Read one or two absolute values as distances on a number line; often you can see the answer. Example: ∣x−1∣+∣x−3∣=4|x-1|+|x-3|=4 at x=0x=0 and x=4x=4.
  2. Otherwise, split into cases at the breakpoints. Solve each piece, and check that each solution lies in its own interval.
  3. When ∣x∣|x| and ∣y∣|y| both appear, graph the first quadrant, then reflect across both axes.
  4. For a largest or smallest value, try AM-GM first (check that equality can happen), then complete the square.
  5. To count integers, get the variable alone and find the exact endpoints. Let the wording ("less than" or "at most") decide if each endpoint counts.

Worked example

What is the area of the region of the plane consisting of all points (x,y)(x,y) with ∣x−y∣+∣x+y∣≤4|x-y|+|x+y|\le4?

(A) 88 (B) 828\sqrt2 (C) 1616 (D) 16216\sqrt2 (E) 3232

Start with the wedge on the right where x≥∣y∣x\ge |y|. There x−yx-y and x+yx+y are zero or positive, so we can drop the absolute values:
(x−y)+(x+y)≤4,sox≤2.(x-y)+(x+y)\le4,\quad\text{so}\quad x\le2.
This piece is the triangle with corners (0,0)(0,0), (2,2)(2,2) and (2,−2)(2,-2). Its area is 12⋅4⋅2=4\frac12\cdot4\cdot2=4 (base 44, height 22).

By symmetry, the other three wedges (x≤−∣y∣x\le -|y|, y≥∣x∣y\ge |x|, y≤−∣x∣y\le -|x|) give three matching triangles. The total area is 4⋅4=164\cdot4=16.

Another way: ∣x−y∣+∣x+y∣|x-y|+|x+y| always equals twice the larger of ∣x∣|x| and ∣y∣|y|. So the region is the square where ∣x∣≤2|x|\le 2 and ∣y∣≤2|y|\le 2, with area 42=164^2=16.

The answer is (C) 16\boxed{\textbf{(C)}\ 16}.

Pitfalls

  • Keeping a case solution that lies outside its case. Example: in ∣x−1∣+∣x−3∣=1|x-1|+|x-3|=1, the case x≥3x\ge 3 gives x=2.5x=2.5, which is not ≥3\ge 3; throw it out.
  • Solving ∣x∣>c|x|>c as −c<x<c-c<x<c. That mixes up "or" with "and".
  • Using AM-GM on numbers that may be negative (x=−1x=-1 gives x+4x=−5x+\frac4x=-5, less than 44), or not checking that equality can happen.
  • Multiplying an inequality by a variable whose sign you don't know, without splitting into cases. Example: 1x<1\frac1x<1 does not mean x>1x>1, because x=−2x=-2 works too.

Traps that recur

  • Reporting the area of one quadrant's diamond (2) without multiplying by 4 for the four quadrants. (2023 AMC 10B #13)
  • Assuming the parabola crosses the inner diamond's edges in extra points, or miscounting the tangency-type contacts at the vertices (0,3), (3,0), (-3,0). (2021 AMC Fall 10A #14)
  • Forgetting the 100 integers where P(n) = 0 and answering 5000, or choosing the gaps with even k instead of odd k. (2020 AMC 10A #17)
  • Removing the outer absolute value as |x| - |y| = 1 only, missing the branch |y| - |x| = 1 that produces the third solution (0, 1). (2018 AMC 10A #12)

Problems © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. The topic note, tags and key insights are original to this site.