Mister Exam

Derivative of x*exp(3x)*cos3x

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
   3*x         
x*e   *cos(3*x)
$$x e^{3 x} \cos{\left(3 x \right)}$$
(x*exp(3*x))*cos(3*x)
Detail solution
  1. Apply the product rule:

    ; to find :

    1. Apply the product rule:

      ; to find :

      1. Apply the power rule: goes to

      ; to find :

      1. Let .

      2. The derivative of is itself.

      3. Then, apply the chain rule. Multiply by :

        1. The derivative of a constant times a function is the constant times the derivative of the function.

          1. Apply the power rule: goes to

          So, the result is:

        The result of the chain rule is:

      The result is:

    ; to find :

    1. Let .

    2. The derivative of cosine is negative sine:

    3. Then, apply the chain rule. Multiply by :

      1. The derivative of a constant times a function is the constant times the derivative of the function.

        1. Apply the power rule: goes to

        So, the result is:

      The result of the chain rule is:

    The result is:

  2. Now simplify:


The answer is:

The graph
The first derivative [src]
/     3*x    3*x\                 3*x         
\3*x*e    + e   /*cos(3*x) - 3*x*e   *sin(3*x)
$$- 3 x e^{3 x} \sin{\left(3 x \right)} + \left(3 x e^{3 x} + e^{3 x}\right) \cos{\left(3 x \right)}$$
The second derivative [src]
                                                              3*x
3*((2 + 3*x)*cos(3*x) - 3*x*cos(3*x) - 2*(1 + 3*x)*sin(3*x))*e   
$$3 \left(- 3 x \cos{\left(3 x \right)} - 2 \left(3 x + 1\right) \sin{\left(3 x \right)} + \left(3 x + 2\right) \cos{\left(3 x \right)}\right) e^{3 x}$$
The third derivative [src]
                                                                              3*x
27*(x*sin(3*x) + (1 + x)*cos(3*x) - (1 + 3*x)*cos(3*x) - (2 + 3*x)*sin(3*x))*e   
$$27 \left(x \sin{\left(3 x \right)} + \left(x + 1\right) \cos{\left(3 x \right)} - \left(3 x + 1\right) \cos{\left(3 x \right)} - \left(3 x + 2\right) \sin{\left(3 x \right)}\right) e^{3 x}$$