Mister Exam

Derivative of ctg(√(x+ln(cos(x))))

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
   /  _________________\
cot\\/ x + log(cos(x)) /
$$\cot{\left(\sqrt{x + \log{\left(\cos{\left(x \right)} \right)}} \right)}$$
cot(sqrt(x + log(cos(x))))
Detail solution
  1. There are multiple ways to do this derivative.

    Method #1

    1. Rewrite the function to be differentiated:

    2. Let .

    3. Apply the power rule: goes to

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

      1. Rewrite the function to be differentiated:

      2. Apply the quotient rule, which is:

        and .

        To find :

        1. Let .

        2. The derivative of sine is cosine:

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

          1. Let .

          2. Apply the power rule: goes to

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

            1. Differentiate term by term:

              1. Apply the power rule: goes to

              2. Let .

              3. The derivative of is .

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

            The result of the chain rule is:

          The result of the chain rule is:

        To find :

        1. Let .

        2. The derivative of cosine is negative sine:

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

          1. Let .

          2. Apply the power rule: goes to

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

            1. Differentiate term by term:

              1. Apply the power rule: goes to

              2. Let .

              3. The derivative of is .

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

            The result of the chain rule is:

          The result of the chain rule is:

        Now plug in to the quotient rule:

      The result of the chain rule is:

    Method #2

    1. Rewrite the function to be differentiated:

    2. Apply the quotient rule, which is:

      and .

      To find :

      1. Let .

      2. The derivative of cosine is negative sine:

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

        1. Let .

        2. Apply the power rule: goes to

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

          1. Differentiate term by term:

            1. Apply the power rule: goes to

            2. Let .

            3. The derivative of is .

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

          The result of the chain rule is:

        The result of the chain rule is:

      To find :

      1. Let .

      2. The derivative of sine is cosine:

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

        1. Let .

        2. Apply the power rule: goes to

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

          1. Differentiate term by term:

            1. Apply the power rule: goes to

            2. Let .

            3. The derivative of is .

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

          The result of the chain rule 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]
/1    sin(x) \ /        2/  _________________\\
|- - --------|*\-1 - cot \\/ x + log(cos(x)) //
\2   2*cos(x)/                                 
-----------------------------------------------
                _________________              
              \/ x + log(cos(x))               
$$\frac{\left(- \frac{\sin{\left(x \right)}}{2 \cos{\left(x \right)}} + \frac{1}{2}\right) \left(- \cot^{2}{\left(\sqrt{x + \log{\left(\cos{\left(x \right)} \right)}} \right)} - 1\right)}{\sqrt{x + \log{\left(\cos{\left(x \right)} \right)}}}$$
The second derivative [src]
                                /                           /       2   \                                              \
                                |                2          |    sin (x)|                    2                         |
                                |   /     sin(x)\         2*|1 + -------|       /     sin(x)\     /  _________________\|
                                |   |-1 + ------|           |       2   |     2*|-1 + ------| *cot\\/ x + log(cos(x)) /|
/       2/  _________________\\ |   \     cos(x)/           \    cos (x)/       \     cos(x)/                          |
\1 + cot \\/ x + log(cos(x)) //*|-------------------- + ------------------- + -----------------------------------------|
                                |                 3/2     _________________                x + log(cos(x))             |
                                \(x + log(cos(x)))      \/ x + log(cos(x))                                             /
------------------------------------------------------------------------------------------------------------------------
                                                           4                                                            
$$\frac{\left(\cot^{2}{\left(\sqrt{x + \log{\left(\cos{\left(x \right)} \right)}} \right)} + 1\right) \left(\frac{2 \left(\frac{\sin{\left(x \right)}}{\cos{\left(x \right)}} - 1\right)^{2} \cot{\left(\sqrt{x + \log{\left(\cos{\left(x \right)} \right)}} \right)}}{x + \log{\left(\cos{\left(x \right)} \right)}} + \frac{2 \left(\frac{\sin^{2}{\left(x \right)}}{\cos^{2}{\left(x \right)}} + 1\right)}{\sqrt{x + \log{\left(\cos{\left(x \right)} \right)}}} + \frac{\left(\frac{\sin{\left(x \right)}}{\cos{\left(x \right)}} - 1\right)^{2}}{\left(x + \log{\left(\cos{\left(x \right)} \right)}\right)^{\frac{3}{2}}}\right)}{4}$$
The third derivative [src]
                                /                                                                                                                                                                     /       2   \                     /       2   \               /       2   \                                       \
                                |                 3                    3                                                  3                                            3                              |    sin (x)| /     sin(x)\       |    sin (x)|               |    sin (x)| /     sin(x)\    /  _________________\|
                                |    /     sin(x)\        /     sin(x)\  /       2/  _________________\\     /     sin(x)\     2/  _________________\     /     sin(x)\     /  _________________\   6*|1 + -------|*|-1 + ------|     8*|1 + -------|*sin(x)     12*|1 + -------|*|-1 + ------|*cot\\/ x + log(cos(x)) /|
/       2/  _________________\\ |  3*|-1 + ------|      2*|-1 + ------| *\1 + cot \\/ x + log(cos(x)) //   4*|-1 + ------| *cot \\/ x + log(cos(x)) /   6*|-1 + ------| *cot\\/ x + log(cos(x)) /     |       2   | \     cos(x)/       |       2   |               |       2   | \     cos(x)/                         |
|1   cot \\/ x + log(cos(x)) /| |    \     cos(x)/        \     cos(x)/                                      \     cos(x)/                                \     cos(x)/                               \    cos (x)/                     \    cos (x)/               \    cos (x)/                                       |
|- + -------------------------|*|-------------------- + ------------------------------------------------ + ------------------------------------------ + ----------------------------------------- + ----------------------------- + -------------------------- + -------------------------------------------------------|
\8               8            / |                 5/2                                  3/2                                             3/2                                           2                                    3/2         _________________                              x + log(cos(x))                    |
                                \(x + log(cos(x)))                    (x + log(cos(x)))                               (x + log(cos(x)))                             (x + log(cos(x)))                    (x + log(cos(x)))          \/ x + log(cos(x)) *cos(x)                                                          /
$$\left(\frac{\cot^{2}{\left(\sqrt{x + \log{\left(\cos{\left(x \right)} \right)}} \right)}}{8} + \frac{1}{8}\right) \left(\frac{12 \left(\frac{\sin{\left(x \right)}}{\cos{\left(x \right)}} - 1\right) \left(\frac{\sin^{2}{\left(x \right)}}{\cos^{2}{\left(x \right)}} + 1\right) \cot{\left(\sqrt{x + \log{\left(\cos{\left(x \right)} \right)}} \right)}}{x + \log{\left(\cos{\left(x \right)} \right)}} + \frac{6 \left(\frac{\sin{\left(x \right)}}{\cos{\left(x \right)}} - 1\right)^{3} \cot{\left(\sqrt{x + \log{\left(\cos{\left(x \right)} \right)}} \right)}}{\left(x + \log{\left(\cos{\left(x \right)} \right)}\right)^{2}} + \frac{8 \left(\frac{\sin^{2}{\left(x \right)}}{\cos^{2}{\left(x \right)}} + 1\right) \sin{\left(x \right)}}{\sqrt{x + \log{\left(\cos{\left(x \right)} \right)}} \cos{\left(x \right)}} + \frac{2 \left(\frac{\sin{\left(x \right)}}{\cos{\left(x \right)}} - 1\right)^{3} \left(\cot^{2}{\left(\sqrt{x + \log{\left(\cos{\left(x \right)} \right)}} \right)} + 1\right)}{\left(x + \log{\left(\cos{\left(x \right)} \right)}\right)^{\frac{3}{2}}} + \frac{4 \left(\frac{\sin{\left(x \right)}}{\cos{\left(x \right)}} - 1\right)^{3} \cot^{2}{\left(\sqrt{x + \log{\left(\cos{\left(x \right)} \right)}} \right)}}{\left(x + \log{\left(\cos{\left(x \right)} \right)}\right)^{\frac{3}{2}}} + \frac{6 \left(\frac{\sin{\left(x \right)}}{\cos{\left(x \right)}} - 1\right) \left(\frac{\sin^{2}{\left(x \right)}}{\cos^{2}{\left(x \right)}} + 1\right)}{\left(x + \log{\left(\cos{\left(x \right)} \right)}\right)^{\frac{3}{2}}} + \frac{3 \left(\frac{\sin{\left(x \right)}}{\cos{\left(x \right)}} - 1\right)^{3}}{\left(x + \log{\left(\cos{\left(x \right)} \right)}\right)^{\frac{5}{2}}}\right)$$