Mister Exam

Derivative of exp^(xcosx)

Function f() - derivative -N order at the point
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
 x*cos(x)
e        
excos(x)e^{x \cos{\left(x \right)}}
d / x*cos(x)\
--\e        /
dx           
ddxexcos(x)\frac{d}{d x} e^{x \cos{\left(x \right)}}
Detail solution
  1. Let u=xcos(x)u = x \cos{\left(x \right)}.

  2. The derivative of eue^{u} is itself.

  3. Then, apply the chain rule. Multiply by ddxxcos(x)\frac{d}{d x} x \cos{\left(x \right)}:

    1. Apply the product rule:

      ddxf(x)g(x)=f(x)ddxg(x)+g(x)ddxf(x)\frac{d}{d x} f{\left(x \right)} g{\left(x \right)} = f{\left(x \right)} \frac{d}{d x} g{\left(x \right)} + g{\left(x \right)} \frac{d}{d x} f{\left(x \right)}

      f(x)=xf{\left(x \right)} = x; to find ddxf(x)\frac{d}{d x} f{\left(x \right)}:

      1. Apply the power rule: xx goes to 11

      g(x)=cos(x)g{\left(x \right)} = \cos{\left(x \right)}; to find ddxg(x)\frac{d}{d x} g{\left(x \right)}:

      1. The derivative of cosine is negative sine:

        ddxcos(x)=sin(x)\frac{d}{d x} \cos{\left(x \right)} = - \sin{\left(x \right)}

      The result is: xsin(x)+cos(x)- x \sin{\left(x \right)} + \cos{\left(x \right)}

    The result of the chain rule is:

    (xsin(x)+cos(x))excos(x)\left(- x \sin{\left(x \right)} + \cos{\left(x \right)}\right) e^{x \cos{\left(x \right)}}


The answer is:

(xsin(x)+cos(x))excos(x)\left(- x \sin{\left(x \right)} + \cos{\left(x \right)}\right) e^{x \cos{\left(x \right)}}

The graph
02468-8-6-4-2-1010-5000050000
The first derivative [src]
                      x*cos(x)
(-x*sin(x) + cos(x))*e        
(xsin(x)+cos(x))excos(x)\left(- x \sin{\left(x \right)} + \cos{\left(x \right)}\right) e^{x \cos{\left(x \right)}}
The second derivative [src]
/                    2                      \  x*cos(x)
\(-cos(x) + x*sin(x))  - 2*sin(x) - x*cos(x)/*e        
(xcos(x)+(xsin(x)cos(x))22sin(x))excos(x)\left(- x \cos{\left(x \right)} + \left(x \sin{\left(x \right)} - \cos{\left(x \right)}\right)^{2} - 2 \sin{\left(x \right)}\right) e^{x \cos{\left(x \right)}}
The third derivative [src]
/                      3                                                                     \  x*cos(x)
\- (-cos(x) + x*sin(x))  - 3*cos(x) + x*sin(x) + 3*(-cos(x) + x*sin(x))*(2*sin(x) + x*cos(x))/*e        
((xsin(x)cos(x))3+xsin(x)+3(xsin(x)cos(x))(xcos(x)+2sin(x))3cos(x))excos(x)\left(- \left(x \sin{\left(x \right)} - \cos{\left(x \right)}\right)^{3} + x \sin{\left(x \right)} + 3 \left(x \sin{\left(x \right)} - \cos{\left(x \right)}\right) \left(x \cos{\left(x \right)} + 2 \sin{\left(x \right)}\right) - 3 \cos{\left(x \right)}\right) e^{x \cos{\left(x \right)}}
The graph
Derivative of exp^(xcosx)