Mister Exam

Derivative of tg(x)^(x-1)

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
   x - 1   
tan     (x)
$$\tan^{x - 1}{\left(x \right)}$$
tan(x)^(x - 1)
Detail solution
  1. Don't know the steps in finding this derivative.

    But the derivative is

  2. Now simplify:


The answer is:

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