Mister Exam

Derivative of y=4sinxcosx

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

The graph:

from to

Piecewise:

The solution

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

    ddxf(x)g(x)=f(x)ddxg(x)+g(x)ddxf(x)\frac{d}{d x} f{\left(x \right)} g{\left(x \right)} = f{\left(x \right)} \frac{d}{d x} g{\left(x \right)} + g{\left(x \right)} \frac{d}{d x} f{\left(x \right)}

    f(x)=4sin(x)f{\left(x \right)} = 4 \sin{\left(x \right)}; to find ddxf(x)\frac{d}{d x} f{\left(x \right)}:

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

      1. The derivative of sine is cosine:

        ddxsin(x)=cos(x)\frac{d}{d x} \sin{\left(x \right)} = \cos{\left(x \right)}

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

    g(x)=cos(x)g{\left(x \right)} = \cos{\left(x \right)}; to find ddxg(x)\frac{d}{d x} g{\left(x \right)}:

    1. The derivative of cosine is negative sine:

      ddxcos(x)=sin(x)\frac{d}{d x} \cos{\left(x \right)} = - \sin{\left(x \right)}

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

  2. Now simplify:

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


The answer is:

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

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