Mister Exam

Derivative of 2cos(2x)-2sin(2x)

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

The graph:

from to

Piecewise:

The solution

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

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

      1. Let u=2xu = 2 x.

      2. The derivative of cosine is negative sine:

        dducos(u)=sin(u)\frac{d}{d u} \cos{\left(u \right)} = - \sin{\left(u \right)}

      3. Then, apply the chain rule. Multiply by ddx2x\frac{d}{d x} 2 x:

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

          1. Apply the power rule: xx goes to 11

          So, the result is: 22

        The result of the chain rule is:

        2sin(2x)- 2 \sin{\left(2 x \right)}

      So, the result is: 4sin(2x)- 4 \sin{\left(2 x \right)}

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

      1. Let u=2xu = 2 x.

      2. The derivative of sine is cosine:

        ddusin(u)=cos(u)\frac{d}{d u} \sin{\left(u \right)} = \cos{\left(u \right)}

      3. Then, apply the chain rule. Multiply by ddx2x\frac{d}{d x} 2 x:

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

          1. Apply the power rule: xx goes to 11

          So, the result is: 22

        The result of the chain rule is:

        2cos(2x)2 \cos{\left(2 x \right)}

      So, the result is: 4cos(2x)- 4 \cos{\left(2 x \right)}

    The result is: 4sin(2x)4cos(2x)- 4 \sin{\left(2 x \right)} - 4 \cos{\left(2 x \right)}

  2. Now simplify:

    42sin(2x+π4)- 4 \sqrt{2} \sin{\left(2 x + \frac{\pi}{4} \right)}


The answer is:

42sin(2x+π4)- 4 \sqrt{2} \sin{\left(2 x + \frac{\pi}{4} \right)}

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