Mister Exam

Other calculators

Derivative of (cos2x+sqrtsinx-1)/(tgx-sqrt3)

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

The graph:

from to

Piecewise:

The solution

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

    and .

    To find :

    1. Differentiate term by term:

      1. The derivative of the constant is zero.

      2. Let .

      3. Apply the power rule: goes to

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

        1. The derivative of sine is cosine:

        The result of the chain rule is:

      5. Let .

      6. The derivative of cosine is negative sine:

      7. 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 is:

    To find :

    1. Differentiate term by term:

      1. The derivative of the constant is zero.

      2. Rewrite the function to be differentiated:

      3. Apply the quotient rule, which is:

        and .

        To find :

        1. The derivative of sine is cosine:

        To find :

        1. The derivative of cosine is negative sine:

        Now plug in to the quotient rule:

      The result is:

    Now plug in to the quotient rule:

  2. Now simplify:


The answer is:

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