Mister Exam

Derivative of pi/sin(x*pi)

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
    pi   
---------
sin(x*pi)
$$\frac{\pi}{\sin{\left(\pi x \right)}}$$
pi/sin(x*pi)
Detail solution
  1. The derivative of a constant times a function is the constant times the derivative of the function.

    1. Let .

    2. Apply the power rule: goes to

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

      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:

      The result of the chain rule is:

    So, the result is:

  2. Now simplify:


The answer is:

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