Answer: (A) 9
Key idea: For a function defined in pieces, we first decide which condition the input satisfies, and then use only that piece's rule.
Step 1 — Find f(−1).
We note that −1≤1, so the third piece, f(x)=3x, applies.
f(−1)=3(−1)
f(−1)=−3
Step 2 — Find f(2).
We note that 1<2≤3, so the second piece, f(x)=x2, applies.
f(2)=22
f(2)=4
Step 3 — Find f(4).
We note that 4>3, so the first piece, f(x)=2x, applies.
f(4)=2(4)
f(4)=8
Step 4 — Add the three values.
We add the results of Steps 1 to 3.
f(−1)+f(2)+f(4)=−3+4+8
f(−1)+f(2)+f(4)=9
Step 5 — Rule out the other options.
We find the slip that leads to each wrong total.
- (B) is wrong: the total 14 is 2+4+8, and it would need f(−1)=2, but −1≤1 gives f(−1)=−3.
- (C) is wrong: the total 5 is −3+4+4, and it uses f(4)=4 (the rule x instead of 2x); the correct value is 8.
- (D) is wrong: the total 10 is −3+4+9, and it uses f(4)=9, but no piece of f gives 9 at x=4.
Therefore, f(−1)+f(2)+f(4)=9, option (A).