Mister Exam

Derivative of cox^2x/sin2x

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
   2     
cos (x)*x
---------
 sin(2*x)
$$\frac{x \cos^{2}{\left(x \right)}}{\sin{\left(2 x \right)}}$$
(cos(x)^2*x)/sin(2*x)
Detail solution
  1. Apply the quotient rule, which is:

    and .

    To find :

    1. Apply the product rule:

      ; to find :

      1. Apply the power rule: goes to

      ; to find :

      1. Let .

      2. Apply the power rule: goes to

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

        1. The derivative of cosine is negative sine:

        The result of the chain rule is:

      The result is:

    To find :

    1. Let .

    2. The derivative of sine is cosine:

    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:

    Now plug in to the quotient rule:

  2. Now simplify:


The answer is:

The graph
The first derivative [src]
   2                                 2            
cos (x) - 2*x*cos(x)*sin(x)   2*x*cos (x)*cos(2*x)
--------------------------- - --------------------
          sin(2*x)                    2           
                                   sin (2*x)      
$$- \frac{2 x \cos^{2}{\left(x \right)} \cos{\left(2 x \right)}}{\sin^{2}{\left(2 x \right)}} + \frac{- 2 x \sin{\left(x \right)} \cos{\left(x \right)} + \cos^{2}{\left(x \right)}}{\sin{\left(2 x \right)}}$$
The second derivative [src]
  /                                                      /         2     \                                           \
  |  /   2         2   \                            2    |    2*cos (2*x)|   2*(-cos(x) + 2*x*sin(x))*cos(x)*cos(2*x)|
2*|x*\sin (x) - cos (x)/ - 2*cos(x)*sin(x) + 2*x*cos (x)*|1 + -----------| + ----------------------------------------|
  |                                                      |        2      |                   sin(2*x)                |
  \                                                      \     sin (2*x) /                                           /
----------------------------------------------------------------------------------------------------------------------
                                                       sin(2*x)                                                       
$$\frac{2 \left(2 x \left(1 + \frac{2 \cos^{2}{\left(2 x \right)}}{\sin^{2}{\left(2 x \right)}}\right) \cos^{2}{\left(x \right)} + x \left(\sin^{2}{\left(x \right)} - \cos^{2}{\left(x \right)}\right) + \frac{2 \left(2 x \sin{\left(x \right)} - \cos{\left(x \right)}\right) \cos{\left(x \right)} \cos{\left(2 x \right)}}{\sin{\left(2 x \right)}} - 2 \sin{\left(x \right)} \cos{\left(x \right)}\right)}{\sin{\left(2 x \right)}}$$
The third derivative [src]
  /                                                                                                                                                                     /         2     \         \
  |                                                                                                                                                                2    |    6*cos (2*x)|         |
  |                                                                                                                                                         4*x*cos (x)*|5 + -----------|*cos(2*x)|
  |                            /  /   2         2   \                  \              /         2     \                                                                 |        2      |         |
  |       2           2      6*\x*\sin (x) - cos (x)/ - 2*cos(x)*sin(x)/*cos(2*x)     |    2*cos (2*x)|                                                                 \     sin (2*x) /         |
2*|- 3*cos (x) + 3*sin (x) - ---------------------------------------------------- - 6*|1 + -----------|*(-cos(x) + 2*x*sin(x))*cos(x) + 4*x*cos(x)*sin(x) - --------------------------------------|
  |                                                sin(2*x)                           |        2      |                                                                    sin(2*x)               |
  \                                                                                   \     sin (2*x) /                                                                                           /
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                              sin(2*x)                                                                                             
$$\frac{2 \left(- \frac{4 x \left(5 + \frac{6 \cos^{2}{\left(2 x \right)}}{\sin^{2}{\left(2 x \right)}}\right) \cos^{2}{\left(x \right)} \cos{\left(2 x \right)}}{\sin{\left(2 x \right)}} + 4 x \sin{\left(x \right)} \cos{\left(x \right)} - 6 \left(1 + \frac{2 \cos^{2}{\left(2 x \right)}}{\sin^{2}{\left(2 x \right)}}\right) \left(2 x \sin{\left(x \right)} - \cos{\left(x \right)}\right) \cos{\left(x \right)} - \frac{6 \left(x \left(\sin^{2}{\left(x \right)} - \cos^{2}{\left(x \right)}\right) - 2 \sin{\left(x \right)} \cos{\left(x \right)}\right) \cos{\left(2 x \right)}}{\sin{\left(2 x \right)}} + 3 \sin^{2}{\left(x \right)} - 3 \cos^{2}{\left(x \right)}\right)}{\sin{\left(2 x \right)}}$$