Derivative of
The derivative of is \frac{-\left(\sin\left(x\right) e^{x}\right) - \cos\left(x\right) e^{x}}{e^{x}^{2}}.
f(x) =
\frac{d}{dx}\left[\frac{\cos\left(x\right)}{e^{x}}\right] = \frac{-\left(\sin\left(x\right) e^{x}\right) - \cos\left(x\right) e^{x}}{e^{x}^{2}}
Type any function of x; the derivative is computed symbolically in your browser.
How to work it out
- 1
We differentiate with respect to x. The rule that applies is the quotient rule.
- 2
Quotient rule: . Let and .
- 3
Differentiate each piece:
- 4
Put them in the rule:
- 5
Simplify:
f'(x) = \frac{-\left(\sin\left(x\right) e^{x}\right) - \cos\left(x\right) e^{x}}{e^{x}^{2}} - 6
Differentiating once more gives the second derivative, which tells you about curvature:
f''(x) = \frac{\left(-\left(\cos\left(x\right) e^{x} + \sin\left(x\right) e^{x}\right) - \left(-\left(\sin\left(x\right) e^{x}\right) + \cos\left(x\right) e^{x}\right)\right) e^{x}^{2} - \left(-\left(\sin\left(x\right) e^{x}\right) - \cos\left(x\right) e^{x}\right) 2 e^{x} e^{x}}{\left(e^{x}^{2}\right)^{2}}
LaTeX source of the formulas on this page
\[ \frac{d}{dx}\left[\frac{\cos\left(x\right)}{e^{x}}\right] = \frac{-\left(\sin\left(x\right) e^{x}\right) - \cos\left(x\right) e^{x}}{e^{x}^{2}} \]
\[ f(x) = \frac{\cos\left(x\right)}{e^{x}} \]
\[ u = \cos\left(x\right),\quad v = e^{x} \]
\[ u' = -\sin\left(x\right),\quad v' = e^{x} \]
\[ f'(x) = \frac{\left(-\sin\left(x\right)\right)\left(e^{x}\right) - \left(\cos\left(x\right)\right)\left(e^{x}\right)}{\left(e^{x}\right)^{2}} \]
\[ f'(x) = \frac{-\left(\sin\left(x\right) e^{x}\right) - \cos\left(x\right) e^{x}}{e^{x}^{2}} \]
\[ f''(x) = \frac{\left(-\left(\cos\left(x\right) e^{x} + \sin\left(x\right) e^{x}\right) - \left(-\left(\sin\left(x\right) e^{x}\right) + \cos\left(x\right) e^{x}\right)\right) e^{x}^{2} - \left(-\left(\sin\left(x\right) e^{x}\right) - \cos\left(x\right) e^{x}\right) 2 e^{x} e^{x}}{\left(e^{x}^{2}\right)^{2}} \]Values of f and f' for cos(x) / exp(x)
| x | f(x) | f'(x) |
|---|---|---|
| -2 | -3.0749323 | 9.793782 |
| -1 | 1.4686939 | 0.81866135 |
| 0.5 | 0.53228073 | -0.82306702 |
| 1 | 0.19876611 | -0.50832599 |
| 2 | -0.05631935 | -0.066740675 |
| 3 | -0.049288824 | 0.042262873 |
Questions
What is the derivative of cos(x) / exp(x)?
The derivative of is \frac{-\left(\sin\left(x\right) e^{x}\right) - \cos\left(x\right) e^{x}}{e^{x}^{2}}.
What is the second derivative of cos(x) / exp(x)?
((-(cos(x) * exp(x) + sin(x) * exp(x)) - (-(sin(x) * exp(x)) + cos(x) * exp(x))) * exp(x)^2 - (-(sin(x) * exp(x)) - cos(x) * exp(x)) * 2exp(x) * exp(x)) / (exp(x)^2)^2.
Which rule do you use for cos(x) / exp(x)?
The quotient rule.
What is the slope of cos(x) / exp(x) at x = 1?
-0.50832599.