How do the graphs of f(x) = |x| and g(x) = -2|x| compare?

Check the final answer first, then review the worked steps.

Answer

B. The graph of g is a vertical stretch and reflection over the x-axis of the graph of f.

Work

g(x) = -2|x|; |a| = 2 > 1 (stretch); a < 0 (x-axis reflection).

Step-by-step solution

  1. Identify the transformations: The function $g(x) = -2|x|$ is in the form $a \cdot f(x)$, where $a = -2$.
  2. Analyze the vertical stretch/compression: The absolute value $|a| = |-2| = 2$. Since $2 > 1$, this indicates a vertical stretch by a factor of 2.
  3. Analyze the reflection: The negative sign in front of the 2 indicates a reflection over the x-axis.
  4. Compare with the options: The correct description is a vertical stretch and reflection over the x-axis, which matches option B.