Mister Exam

Other calculators


2*sin(x)*(cos(x)+1)

Derivative of 2*sin(x)*(cos(x)+1)

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
2*sin(x)*(cos(x) + 1)
(cos(x)+1)2sin(x)\left(\cos{\left(x \right)} + 1\right) 2 \sin{\left(x \right)}
(2*sin(x))*(cos(x) + 1)
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)=2sin(x)f{\left(x \right)} = 2 \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: 2cos(x)2 \cos{\left(x \right)}

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

    1. Differentiate cos(x)+1\cos{\left(x \right)} + 1 term by term:

      1. The derivative of cosine is negative sine:

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

      2. The derivative of the constant 11 is zero.

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

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

  2. Now simplify:

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


The answer is:

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

The graph
02468-8-6-4-2-10105-5
The first derivative [src]
       2                           
- 2*sin (x) + 2*(cos(x) + 1)*cos(x)
2(cos(x)+1)cos(x)2sin2(x)2 \left(\cos{\left(x \right)} + 1\right) \cos{\left(x \right)} - 2 \sin^{2}{\left(x \right)}
The second derivative [src]
-2*(1 + 4*cos(x))*sin(x)
2(4cos(x)+1)sin(x)- 2 \left(4 \cos{\left(x \right)} + 1\right) \sin{\left(x \right)}
The third derivative [src]
  /       2           2                         \
2*\- 3*cos (x) + 4*sin (x) - (1 + cos(x))*cos(x)/
2((cos(x)+1)cos(x)+4sin2(x)3cos2(x))2 \left(- \left(\cos{\left(x \right)} + 1\right) \cos{\left(x \right)} + 4 \sin^{2}{\left(x \right)} - 3 \cos^{2}{\left(x \right)}\right)
The graph
Derivative of 2*sin(x)*(cos(x)+1)