Mister Exam

Derivative of 4cosx-2cos2x

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
4*cos(x) - 2*cos(2*x)
$$4 \cos{\left(x \right)} - 2 \cos{\left(2 x \right)}$$
4*cos(x) - 2*cos(2*x)
Detail solution
  1. Differentiate term by term:

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

      1. The derivative of cosine is negative sine:

      So, the result is:

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

      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:

      So, the result is:

    The result is:


The answer is:

The graph
The first derivative [src]
-4*sin(x) + 4*sin(2*x)
$$- 4 \sin{\left(x \right)} + 4 \sin{\left(2 x \right)}$$
The second derivative [src]
4*(-cos(x) + 2*cos(2*x))
$$4 \left(- \cos{\left(x \right)} + 2 \cos{\left(2 x \right)}\right)$$
The third derivative [src]
4*(-4*sin(2*x) + sin(x))
$$4 \left(\sin{\left(x \right)} - 4 \sin{\left(2 x \right)}\right)$$