Skip to the page

Functions: question 11 of 25

An ACT® Math practice question. Pick an answer to check it, or open the answer and the worked explanation.

The question

FunctionsMedium

A print shop charges P(n)=2.5n+40P(n) = 2.5n + 40 dollars to print nn posters. Members of the shop get a discount: if an order's regular price is cc dollars, a member pays D(c)=0.8cD(c) = 0.8c dollars. Tomás, a member, orders 20 posters. What is D(P(20))D(P(20)), the amount, in dollars, that Tomás pays?
  1. A40
  2. B72
  3. C80
  4. D90

Choose an answer, then open the answer below to check it.

A place to start

Which function in D(P(20))D(P(20)) acts on the 20 directly?

Another hint

Find the regular price P(20)P(20) by putting 20 in for nn.

One more hint

The regular price is 90 dollars. Now put 90 in for cc in D(c)=0.8cD(c) = 0.8c.

Show the answer and explanation

Answer: B.72

Why B works

  1. Start inside: P(20)=2.5(20)+40=50+40=90P(20) = 2.5(20) + 40 = 50 + 40 = 90. The regular price is 90 dollars.
  2. Feed that output into the discount function: D(90)=0.8(90)D(90) = 0.8(90).
  3. Multiply: 0.8(90)=720.8(90) = 72, so the correct choice is 72.

Why the other choices are wrong

  • A. This takes 0.8 of only the per-poster part, 2.5(20)=502.5(20) = 50, and leaves out the 40-dollar fixed charge. The discount applies to the whole regular price.
  • C. This applies the functions in the wrong order: it discounts the number of posters to 16 and then finds P(16)P(16). The discount function takes a price as its input, not a poster count.
  • D. This is P(20)P(20), the regular price. It stops after the inner function and never applies the member discount.

The rule

For a composition like D(P(20))D(P(20)), evaluate the inner function first and feed its output into the outer function.

Spot it next time

Say the order in words (price first, then discount) before computing so you apply the functions in the right order.