Find the derivative of f(x) = (x^2+1)/e^x

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

Answer

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

Work

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

Step-by-step solution

  1. Identify the function as a quotient: $f(x) = \frac{u(x)}{v(x)}$ where $u(x) = x^2 + 1$ and $v(x) = e^x$.
  2. Apply the quotient rule: $f'(x) = \frac{u'(x)v(x) - u(x)v'(x)}{[v(x)]^2}$.
  3. Calculate the derivatives: $u'(x) = 2x$ and $v'(x) = e^x$.
  4. Substitute these into the formula: $f'(x) = \frac{(2x)(e^x) - (x^2+1)(e^x)}{(e^x)^2}$.
  5. Compare this result to the given options. The expression matches the form in the first option.