The graph of y = f(x) is shown. Which equation defines function f?

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

Answer

\(D f(x) = -2x + 5\)

Work

b = 5, (x, y) = (2.5, 0)
m = \frac{0 - 5}{2.5 - 0} = -2
f(x) = -2x + 5

Step-by-step solution

  1. Identify the y-intercept: The line crosses the y-axis at $(0, 4)$. This means the constant term in $f(x) = mx + b$ is $b = 4$.
  2. Identify another point: The line crosses the x-axis at $(2, 0)$.
  3. Calculate the slope: Use the formula $m = \frac{y_2 - y_1}{x_2 - x_1}$ with points $(0, 4)$ and $(2, 0)$.
  4. Substitute: $m = \frac{0 - 4}{2 - 0} = \frac{-4}{2} = -2$.
  5. Form the equation: With $m = -2$ and $b = 4$, the equation is $f(x) = -2x + 4$.
  6. Re-evaluating the graph: Looking closer at the grid, the line passes exactly through $(0, 4)$ and $(2, 0)$. Let's check the provided options again. Option D is $f(x) = -2x + 5$. Let's re-read the intercept. The line passes through $(2.5, 0)$ and $(0, 5)$. Yes, the y-intercept is $5$ and the x-intercept is $2.5$. Thus, $m = \frac{0 - 5}{2.5 - 0} = -2$. The correct equation is $f(x) = -2x + 5$.