Mister Exam

Other calculators

Derivative of (2*cos(pi*x/2))/(5-x)

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

The graph:

from to

Piecewise:

The solution

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

    and .

    To find :

    1. The derivative of a constant times a function is the constant times the derivative of the function.

      1. Let .

      2. The derivative of cosine is negative sine:

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

          So, the result is:

        The result of the chain rule is:

      So, the result is:

    To find :

    1. Differentiate term by term:

      1. The derivative of the constant is zero.

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

    Now plug in to the quotient rule:

  2. Now simplify:


The answer is:

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