Mister Exam

Derivative of secxcosx/log(tanx)

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

The graph:

from to

Piecewise:

The solution

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

    and .

    To find :

    1. Apply the product rule:

      ; to find :

      1. The derivative of cosine is negative sine:

      ; to find :

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

    3. 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. 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 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   \              
-sec(x)*sin(x) + cos(x)*sec(x)*tan(x)   \1 + tan (x)/*cos(x)*sec(x)
------------------------------------- - ---------------------------
             log(tan(x))                       2                   
                                            log (tan(x))*tan(x)    
$$\frac{- \sin{\left(x \right)} \sec{\left(x \right)} + \cos{\left(x \right)} \tan{\left(x \right)} \sec{\left(x \right)}}{\log{\left(\tan{\left(x \right)} \right)}} - \frac{\left(\tan^{2}{\left(x \right)} + 1\right) \cos{\left(x \right)} \sec{\left(x \right)}}{\log{\left(\tan{\left(x \right)} \right)}^{2} \tan{\left(x \right)}}$$
The second derivative [src]
/                                                                   /            2          /       2   \  \                                                   \       
|                                                     /       2   \ |     1 + tan (x)     2*\1 + tan (x)/  |                                                   |       
|                                                     \1 + tan (x)/*|-2 + ----------- + -------------------|*cos(x)                                            |       
|                                                                   |          2                       2   |            /       2   \                          |       
|          /         2   \                                          \       tan (x)     log(tan(x))*tan (x)/          2*\1 + tan (x)/*(-cos(x)*tan(x) + sin(x))|       
|-cos(x) + \1 + 2*tan (x)/*cos(x) - 2*sin(x)*tan(x) + ------------------------------------------------------------- + -----------------------------------------|*sec(x)
\                                                                              log(tan(x))                                        log(tan(x))*tan(x)           /       
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                              log(tan(x))                                                                              
$$\frac{\left(\frac{2 \left(\sin{\left(x \right)} - \cos{\left(x \right)} \tan{\left(x \right)}\right) \left(\tan^{2}{\left(x \right)} + 1\right)}{\log{\left(\tan{\left(x \right)} \right)} \tan{\left(x \right)}} + \frac{\left(\tan^{2}{\left(x \right)} + 1\right) \left(\frac{\tan^{2}{\left(x \right)} + 1}{\tan^{2}{\left(x \right)}} + \frac{2 \left(\tan^{2}{\left(x \right)} + 1\right)}{\log{\left(\tan{\left(x \right)} \right)} \tan^{2}{\left(x \right)}} - 2\right) \cos{\left(x \right)}}{\log{\left(\tan{\left(x \right)} \right)}} + \left(2 \tan^{2}{\left(x \right)} + 1\right) \cos{\left(x \right)} - 2 \sin{\left(x \right)} \tan{\left(x \right)} - \cos{\left(x \right)}\right) \sec{\left(x \right)}}{\log{\left(\tan{\left(x \right)} \right)}}$$
The third derivative [src]
/                                                                                                                                                                                    /                        2                                                           2                     2  \                                                                                        \       
|                                                                                                                         /            2          /       2   \  \                   |           /       2   \      /       2   \      /       2   \         /       2   \         /       2   \   |                                                                                        |       
|                                                                                 /       2   \                           |     1 + tan (x)     2*\1 + tan (x)/  |     /       2   \ |           \1 + tan (x)/    2*\1 + tan (x)/    6*\1 + tan (x)/       3*\1 + tan (x)/       3*\1 + tan (x)/   |                                                                                        |       
|                                                                               3*\1 + tan (x)/*(-cos(x)*tan(x) + sin(x))*|-2 + ----------- + -------------------|   2*\1 + tan (x)/*|2*tan(x) + -------------- - --------------- - ------------------ + ------------------- + --------------------|*cos(x)                                                                                 |       
|                                                                                                                         |          2                       2   |                   |                 3               tan(x)       log(tan(x))*tan(x)                  3         2            3   |            /       2   \ /  /         2   \                                  \         |       
|    /         2   \                            /         2   \                                                           \       tan (x)     log(tan(x))*tan (x)/                   \              tan (x)                                              log(tan(x))*tan (x)   log (tan(x))*tan (x)/          3*\1 + tan (x)/*\- \1 + 2*tan (x)/*cos(x) + 2*sin(x)*tan(x) + cos(x)/         |       
|- 3*\1 + 2*tan (x)/*sin(x) - 3*cos(x)*tan(x) + \5 + 6*tan (x)/*cos(x)*tan(x) - ---------------------------------------------------------------------------------- - -------------------------------------------------------------------------------------------------------------------------------------- + --------------------------------------------------------------------- + sin(x)|*sec(x)
\                                                                                                                  log(tan(x))                                                                                                    log(tan(x))                                                                                           log(tan(x))*tan(x)                                  /       
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                                                                            log(tan(x))                                                                                                                                                                                             
$$\frac{\left(- \frac{3 \left(\sin{\left(x \right)} - \cos{\left(x \right)} \tan{\left(x \right)}\right) \left(\tan^{2}{\left(x \right)} + 1\right) \left(\frac{\tan^{2}{\left(x \right)} + 1}{\tan^{2}{\left(x \right)}} + \frac{2 \left(\tan^{2}{\left(x \right)} + 1\right)}{\log{\left(\tan{\left(x \right)} \right)} \tan^{2}{\left(x \right)}} - 2\right)}{\log{\left(\tan{\left(x \right)} \right)}} + \frac{3 \left(\tan^{2}{\left(x \right)} + 1\right) \left(- \left(2 \tan^{2}{\left(x \right)} + 1\right) \cos{\left(x \right)} + 2 \sin{\left(x \right)} \tan{\left(x \right)} + \cos{\left(x \right)}\right)}{\log{\left(\tan{\left(x \right)} \right)} \tan{\left(x \right)}} - \frac{2 \left(\tan^{2}{\left(x \right)} + 1\right) \left(\frac{\left(\tan^{2}{\left(x \right)} + 1\right)^{2}}{\tan^{3}{\left(x \right)}} + \frac{3 \left(\tan^{2}{\left(x \right)} + 1\right)^{2}}{\log{\left(\tan{\left(x \right)} \right)} \tan^{3}{\left(x \right)}} + \frac{3 \left(\tan^{2}{\left(x \right)} + 1\right)^{2}}{\log{\left(\tan{\left(x \right)} \right)}^{2} \tan^{3}{\left(x \right)}} - \frac{2 \left(\tan^{2}{\left(x \right)} + 1\right)}{\tan{\left(x \right)}} - \frac{6 \left(\tan^{2}{\left(x \right)} + 1\right)}{\log{\left(\tan{\left(x \right)} \right)} \tan{\left(x \right)}} + 2 \tan{\left(x \right)}\right) \cos{\left(x \right)}}{\log{\left(\tan{\left(x \right)} \right)}} - 3 \left(2 \tan^{2}{\left(x \right)} + 1\right) \sin{\left(x \right)} + \left(6 \tan^{2}{\left(x \right)} + 5\right) \cos{\left(x \right)} \tan{\left(x \right)} + \sin{\left(x \right)} - 3 \cos{\left(x \right)} \tan{\left(x \right)}\right) \sec{\left(x \right)}}{\log{\left(\tan{\left(x \right)} \right)}}$$