Find f'(x) for f(x) = (x^2-5x+2)/(x+4). Do not simplify.

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

Answer

\(\frac{(x+4)(2x-5)-(x^2-5x+2)(1)}{(x+4)^2}\)

Work

f'(x) = \frac{(x+4)(2x-5) - (x^2-5x+2)(1)}{(x+4)^2}

Step-by-step solution

Using the quotient rule for $f(x) = \frac{u}{v}$, $f'(x) = \frac{u'v - uv'}{v^2}$. Here $u = x^2 - 5x + 2$ and $v = x + 4$, so $u' = 2x - 5$ and $v' = 1$.