Mister Exam

Derivative of y=sinxcos3x

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
sin(x)*cos(3*x)
sin(x)cos(3x)\sin{\left(x \right)} \cos{\left(3 x \right)}
d                  
--(sin(x)*cos(3*x))
dx                 
ddxsin(x)cos(3x)\frac{d}{d x} \sin{\left(x \right)} \cos{\left(3 x \right)}
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)=sin(x)f{\left(x \right)} = \sin{\left(x \right)}; to find ddxf(x)\frac{d}{d x} f{\left(x \right)}:

    1. The derivative of sine is cosine:

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

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

    1. Let u=3xu = 3 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 ddx3x\frac{d}{d x} 3 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: 33

      The result of the chain rule is:

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

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

  2. Now simplify:

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


The answer is:

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

The graph
02468-8-6-4-2-10105-5
The first derivative [src]
cos(x)*cos(3*x) - 3*sin(x)*sin(3*x)
3sin(x)sin(3x)+cos(x)cos(3x)- 3 \sin{\left(x \right)} \sin{\left(3 x \right)} + \cos{\left(x \right)} \cos{\left(3 x \right)}
The second derivative [src]
-2*(3*cos(x)*sin(3*x) + 5*cos(3*x)*sin(x))
2(5sin(x)cos(3x)+3sin(3x)cos(x))- 2 \cdot \left(5 \sin{\left(x \right)} \cos{\left(3 x \right)} + 3 \sin{\left(3 x \right)} \cos{\left(x \right)}\right)
The third derivative [src]
4*(-7*cos(x)*cos(3*x) + 9*sin(x)*sin(3*x))
4(9sin(x)sin(3x)7cos(x)cos(3x))4 \cdot \left(9 \sin{\left(x \right)} \sin{\left(3 x \right)} - 7 \cos{\left(x \right)} \cos{\left(3 x \right)}\right)
The graph
Derivative of y=sinxcos3x