Derivative of $$$e^{x} \cos{\left(x \right)}$$$

The calculator will find the derivative of $$$e^{x} \cos{\left(x \right)}$$$, with steps shown.

Related calculators: Logarithmic Differentiation Calculator, Implicit Differentiation Calculator with Steps

Leave empty for autodetection.
Leave empty, if you don't need the derivative at a specific point.

If the calculator did not compute something or you have identified an error, or you have a suggestion/feedback, please contact us.

Your Input

Find $$$\frac{d}{dx} \left(e^{x} \cos{\left(x \right)}\right)$$$.

Solution

Apply the product rule $$$\frac{d}{dx} \left(f{\left(x \right)} g{\left(x \right)}\right) = \frac{d}{dx} \left(f{\left(x \right)}\right) g{\left(x \right)} + f{\left(x \right)} \frac{d}{dx} \left(g{\left(x \right)}\right)$$$ with $$$f{\left(x \right)} = \cos{\left(x \right)}$$$ and $$$g{\left(x \right)} = e^{x}$$$:

$${\color{red}\left(\frac{d}{dx} \left(e^{x} \cos{\left(x \right)}\right)\right)} = {\color{red}\left(\frac{d}{dx} \left(\cos{\left(x \right)}\right) e^{x} + \cos{\left(x \right)} \frac{d}{dx} \left(e^{x}\right)\right)}$$

The derivative of the cosine is $$$\frac{d}{dx} \left(\cos{\left(x \right)}\right) = - \sin{\left(x \right)}$$$:

$$e^{x} {\color{red}\left(\frac{d}{dx} \left(\cos{\left(x \right)}\right)\right)} + \cos{\left(x \right)} \frac{d}{dx} \left(e^{x}\right) = e^{x} {\color{red}\left(- \sin{\left(x \right)}\right)} + \cos{\left(x \right)} \frac{d}{dx} \left(e^{x}\right)$$

The derivative of the exponential is $$$\frac{d}{dx} \left(e^{x}\right) = e^{x}$$$:

$$- e^{x} \sin{\left(x \right)} + \cos{\left(x \right)} {\color{red}\left(\frac{d}{dx} \left(e^{x}\right)\right)} = - e^{x} \sin{\left(x \right)} + \cos{\left(x \right)} {\color{red}\left(e^{x}\right)}$$

Simplify:

$$- e^{x} \sin{\left(x \right)} + e^{x} \cos{\left(x \right)} = \sqrt{2} e^{x} \cos{\left(x + \frac{\pi}{4} \right)}$$

Thus, $$$\frac{d}{dx} \left(e^{x} \cos{\left(x \right)}\right) = \sqrt{2} e^{x} \cos{\left(x + \frac{\pi}{4} \right)}$$$.

Answer

$$$\frac{d}{dx} \left(e^{x} \cos{\left(x \right)}\right) = \sqrt{2} e^{x} \cos{\left(x + \frac{\pi}{4} \right)}$$$A