Mister Exam

Derivative of xcos(3x+1)

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

The graph:

from to

Piecewise:

The solution

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

    ; to find :

    1. Apply the power rule: goes to

    ; to find :

    1. Let .

    2. The derivative of cosine is negative sine:

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

      1. Differentiate term by term:

        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:

        2. The derivative of the constant is zero.

        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*sin(3*x + 1) + cos(3*x + 1)
$$- 3 x \sin{\left(3 x + 1 \right)} + \cos{\left(3 x + 1 \right)}$$
The second derivative [src]
-3*(2*sin(1 + 3*x) + 3*x*cos(1 + 3*x))
$$- 3 \left(3 x \cos{\left(3 x + 1 \right)} + 2 \sin{\left(3 x + 1 \right)}\right)$$
The third derivative [src]
27*(-cos(1 + 3*x) + x*sin(1 + 3*x))
$$27 \left(x \sin{\left(3 x + 1 \right)} - \cos{\left(3 x + 1 \right)}\right)$$