AP Precalculus · Past multiple choice · Question 7 · No calculator

Three transformations applied to a table of values

A horizontal stretch, a vertical stretch and an upward shift turn f into g. Use a table of f to evaluate g at negative 4.

The lesson this question tests

1 Read the question

The question is College Board's: sample question 7 in AP Precalculus Course and Exam Description, Effective Fall 2026. It starts on page 143 of the PDF. Work it without a calculator, as the exam does.

Open Question 7 (PDF, page 143)

2 Pick your answer

3 Check the explanation

Why the answer is D open once you have picked

Build g one transformation at a time.

  • Stretching horizontally by 2 pulls the graph away from the y-axis, so each input is halved before it goes into f: f(x2). So b=12.
  • Stretching vertically by 3 multiplies every output by 3: 3f(x2).
  • A vertical translation by 5 adds 5: g(x)=3f(x2)+5.

Now evaluate at x=−4: g(−4)=3f(−42)+5=3f(−2)+5 The table gives f(−2)=5, so g(−4)=3(5)+5=20. That is choice D.

The order in the question matters for the vertical steps: dilating first and then shifting gives 3f+5. Shifting first would give 3(f+5)=3f+15.

Each choice

  • A. This doubles the input instead of halving it, which is the usual slip with horizontal dilations: 3f(−8)+5=3(87)+5=266. A factor of 2 horizontally means f(x2), not f(2x).
  • B. Here the horizontal dilation was skipped and f(−4) was used: 3(55)+5=170. The vertical steps are right, but the input needs halving first.
  • C. The number 28 is 5f(−2)+3=5(5)+3=28. The horizontal step is right, but the 3 and the 5 traded roles, so the dilation and the translation got each other's numbers.
  • D (correct). With g(x)=3f(x2)+5, g(−4)=3f(−2)+5=3(5)+5=20.

Question and answer key: College Board. The title and summary are ours, and so is the explanation.