AMC 10 · 2002 · #19

Grade 9 algebra
function-compositiongraph-readinglinear-equations-one-var work-backwards ↑ Prerequisites: graph-readingfunction-composition
📏 Long solution 💡 3 insights 📊 Diagram
Problem
A function f is given only by its graph: a connected zigzag of four straight segments joining (-7,-4), (-2,6), (0,0), (1,6), and (5,-6) in that order. Count how many values of x satisfy f(f(x))=6.

Pick an answer.

(A)
2
(B)
4
(C)
5
(D)
6
(E)
7
How to solve
Strategy Work Backwards

There is no formula for f, only a picture, and the equation wraps f inside itself. Tool #11 (Work Backwards) handles the wrapping: the outer f must land on 6, so ask first which inputs t satisfy f(t)=6, and only then hunt for the x that produce those t. Tool #4 (Introduce a Variable) makes that concrete by naming t=f(x). Tool #1 (Draw a Diagram) is used in reverse — the diagram is given, so read the four corner points off it and convert each segment into a linear equation with its own interval. Tool #7 (Identify Subproblems) then splits the work into two ordinary equations, f(x)=-2 and f(x)=1, each solved four times, once per piece. Tool #2 (Make a Systematic List) collects the surviving roots at the end so none is counted twice and none is dropped. Solving on pieces rather than eyeballing crossings is what keeps the count honest.

1STEP 1

Turn the graph into four lines

Corner to corner the slopes give four formulas, each valid only on its own stretch of [-7,5].

f(x)=2x+10 (-7 ≤ x ≤ -2), f(x)=-3x (-2 ≤ x ≤ 0), f(x)=6x (0 ≤ x ≤ 1), f(x)=-3x+9 (1 ≤ x ≤ 5)
2STEP 2

Peel the outer f first

Peel the outer f: f(t)=6 holds exactly at the two peaks t=-2 and t=1.

f(t)=6 ⇔ t=-2 or t=1
3STEP 3

Split into two plain equations

So the nested equation splits into the two plain ones f(x)=-2 or f(x)=1.

f(f(x))=6 ⇔ f(x)=-2 or f(x)=1
4STEP 4

Solve f(x)=-2 on each piece

Solving f(x)=-2 on each piece and keeping only in-range answers leaves 2 solutions.

x=-6 and x=11/3 (rejected: 2/3, -1/3)
5STEP 5

Solve f(x)=1 on each piece

Solving f(x)=1 the same way, all four pieces survive, giving 4 solutions.

x=-9/2, -1/3, 1/6, 8/3
6STEP 6

Combine the two lists and count

A function cannot output both targets at once, so the counts add: 6, choice (D).

2+4=6 → (D)
Answer
6
A second, independent count agrees. Each piece is strictly increasing or strictly decreasing, so a horizontal line y=c meets a piece at most once, and meets it exactly once when c lies in that piece's range of values. The four ranges are [-4,6], [0,6], [0,6] and [-6,6]. The target c=-2 lies only in the first and fourth ranges, predicting 2 crossings; the target c=1 lies in all four, predicting 4. That is 2+4=6, matching the explicit list of roots. The wrong choices are all partial answers: (A) 2 is what you get by solving f(t)=6 and stopping there, and (B) 4 is what you get by solving only f(x)=1 and forgetting the target -2.
💡Key takeaway

When a function is wrapped inside itself, solve the outside first: find every value the outer f needs to be given, then go hunting for the x that produce them.

  • Turn the graph into four lines
  • Peel the outer f first
  • Split into two plain equations
  • Solve f(x)=-2 on each piece
  • Solve f(x)=1 on each piece
  • Combine the two lists and count