Mister Exam

Derivative of x(a*cos2x+bsin2x)

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

The graph:

from to

Piecewise:

The solution

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

    ; to find :

    1. Apply the power rule: goes to

    ; to find :

    1. Differentiate term by term:

      1. 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:

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

        1. Let .

        2. The derivative of sine is cosine:

        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 result is:

  2. Now simplify:


The answer is:

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