Mister Exam

Other calculators

Derivative of cosx/(x^2(x-1))

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

The graph:

from to

Piecewise:

The solution

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

    and .

    To find :

    1. The derivative of cosine is negative sine:

    To find :

    1. Apply the product rule:

      ; to find :

      1. Apply the power rule: goes to

      ; to find :

      1. Differentiate term by term:

        1. The derivative of the constant is zero.

        2. Apply the power rule: goes to

        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]
                      /   2              \       
      1               \- x  - 2*x*(x - 1)/*cos(x)
- ----------*sin(x) + ---------------------------
   2                           4        2        
  x *(x - 1)                  x *(x - 1)         
$$- \frac{1}{x^{2} \left(x - 1\right)} \sin{\left(x \right)} + \frac{\left(- x^{2} - 2 x \left(x - 1\right)\right) \cos{\left(x \right)}}{x^{4} \left(x - 1\right)^{2}}$$
The second derivative [src]
          /-2 + 3*x              /  1      2\   2*(-1 + 3*x)   2*(-2 + 3*x)\                             
          |-------- + (-2 + 3*x)*|------ + -| - ------------ + ------------|*cos(x)                      
          \ -1 + x               \-1 + x   x/        x              x      /          2*(-2 + 3*x)*sin(x)
-cos(x) + ------------------------------------------------------------------------- + -------------------
                                          x*(-1 + x)                                       x*(-1 + x)    
---------------------------------------------------------------------------------------------------------
                                                2                                                        
                                               x *(-1 + x)                                               
$$\frac{- \cos{\left(x \right)} + \frac{2 \left(3 x - 2\right) \sin{\left(x \right)}}{x \left(x - 1\right)} + \frac{\left(\left(3 x - 2\right) \left(\frac{1}{x - 1} + \frac{2}{x}\right) + \frac{3 x - 2}{x - 1} + \frac{2 \left(3 x - 2\right)}{x} - \frac{2 \left(3 x - 1\right)}{x}\right) \cos{\left(x \right)}}{x \left(x - 1\right)}}{x^{2} \left(x - 1\right)}$$
The third derivative [src]
  /                                                                                                           /  1      2\                               /  1      2\                /  1      2\               \                                                                                                                    
  |                                                                                                (-2 + 3*x)*|------ + -|                  2*(-1 + 3*x)*|------ + -|   2*(-2 + 3*x)*|------ + -|               |                                                                                                                    
  |6   12*(-1 + 3*x)                /    1       3        2     \   3*(-2 + 3*x)   10*(-2 + 3*x)              \-1 + x   x/   6*(-1 + 3*x)                \-1 + x   x/                \-1 + x   x/   8*(-2 + 3*x)|                                                                                                                    
  |- - ------------- + 2*(-2 + 3*x)*|--------- + -- + ----------| + ------------ + ------------- + ----------------------- - ------------ - ------------------------- + ------------------------- + ------------|*cos(x)     /-2 + 3*x              /  1      2\   2*(-1 + 3*x)   2*(-2 + 3*x)\                                      
  |x          2                     |        2    2   x*(-1 + x)|            2            2                 -1 + x            x*(-1 + x)                x                           x                x*(-1 + x) |          3*|-------- + (-2 + 3*x)*|------ + -| - ------------ + ------------|*sin(x)                               
  \          x                      \(-1 + x)    x              /    (-1 + x)            x                                                                                                                      /            \ -1 + x               \-1 + x   x/        x              x      /          3*(-2 + 3*x)*cos(x)         
- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - --------------------------------------------------------------------------- + ------------------- + sin(x)
                                                                                                        x*(-1 + x)                                                                                                                                          x*(-1 + x)                                        x*(-1 + x)             
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                                              2                                                                                                                                                                      
                                                                                                                                                             x *(-1 + x)                                                                                                                                                             
$$\frac{\sin{\left(x \right)} + \frac{3 \left(3 x - 2\right) \cos{\left(x \right)}}{x \left(x - 1\right)} - \frac{3 \left(\left(3 x - 2\right) \left(\frac{1}{x - 1} + \frac{2}{x}\right) + \frac{3 x - 2}{x - 1} + \frac{2 \left(3 x - 2\right)}{x} - \frac{2 \left(3 x - 1\right)}{x}\right) \sin{\left(x \right)}}{x \left(x - 1\right)} - \frac{\left(2 \left(3 x - 2\right) \left(\frac{1}{\left(x - 1\right)^{2}} + \frac{2}{x \left(x - 1\right)} + \frac{3}{x^{2}}\right) + \frac{\left(3 x - 2\right) \left(\frac{1}{x - 1} + \frac{2}{x}\right)}{x - 1} + \frac{3 \left(3 x - 2\right)}{\left(x - 1\right)^{2}} + \frac{2 \left(3 x - 2\right) \left(\frac{1}{x - 1} + \frac{2}{x}\right)}{x} - \frac{2 \left(3 x - 1\right) \left(\frac{1}{x - 1} + \frac{2}{x}\right)}{x} + \frac{6}{x} + \frac{8 \left(3 x - 2\right)}{x \left(x - 1\right)} - \frac{6 \left(3 x - 1\right)}{x \left(x - 1\right)} + \frac{10 \left(3 x - 2\right)}{x^{2}} - \frac{12 \left(3 x - 1\right)}{x^{2}}\right) \cos{\left(x \right)}}{x \left(x - 1\right)}}{x^{2} \left(x - 1\right)}$$