Mister Exam

Derivative of cos(ax)^(2)

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
   2     
cos (a*x)
$$\cos^{2}{\left(a x \right)}$$
cos(a*x)^2
Detail solution
  1. Let .

  2. Apply the power rule: goes to

  3. Then, apply the chain rule. Multiply by :

    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:

    The result of the chain rule is:

  4. Now simplify:


The answer is:

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