Mister Exam

Other calculators


(x-2)^2/(x+1)

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

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

The graph:

from to

Piecewise:

The solution

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

    ddxf(x)g(x)=f(x)ddxg(x)+g(x)ddxf(x)g2(x)\frac{d}{d x} \frac{f{\left(x \right)}}{g{\left(x \right)}} = \frac{- f{\left(x \right)} \frac{d}{d x} g{\left(x \right)} + g{\left(x \right)} \frac{d}{d x} f{\left(x \right)}}{g^{2}{\left(x \right)}}

    f(x)=(x2)2f{\left(x \right)} = \left(x - 2\right)^{2} and g(x)=x+1g{\left(x \right)} = x + 1.

    To find ddxf(x)\frac{d}{d x} f{\left(x \right)}:

    1. Let u=x2u = x - 2.

    2. Apply the power rule: u2u^{2} goes to 2u2 u

    3. Then, apply the chain rule. Multiply by ddx(x2)\frac{d}{d x} \left(x - 2\right):

      1. Differentiate x2x - 2 term by term:

        1. The derivative of the constant 2-2 is zero.

        2. Apply the power rule: xx goes to 11

        The result is: 11

      The result of the chain rule is:

      2x42 x - 4

    To find ddxg(x)\frac{d}{d x} g{\left(x \right)}:

    1. Differentiate x+1x + 1 term by term:

      1. The derivative of the constant 11 is zero.

      2. Apply the power rule: xx goes to 11

      The result is: 11

    Now plug in to the quotient rule:

    (x2)2+(x+1)(2x4)(x+1)2\frac{- \left(x - 2\right)^{2} + \left(x + 1\right) \left(2 x - 4\right)}{\left(x + 1\right)^{2}}

  2. Now simplify:

    (x2)(x+4)(x+1)2\frac{\left(x - 2\right) \left(x + 4\right)}{\left(x + 1\right)^{2}}


The answer is:

(x2)(x+4)(x+1)2\frac{\left(x - 2\right) \left(x + 4\right)}{\left(x + 1\right)^{2}}

The graph
02468-8-6-4-2-1010-20001000
The first derivative [src]
                  2
-4 + 2*x   (x - 2) 
-------- - --------
 x + 1            2
           (x + 1) 
(x2)2(x+1)2+2x4x+1- \frac{\left(x - 2\right)^{2}}{\left(x + 1\right)^{2}} + \frac{2 x - 4}{x + 1}
The second derivative [src]
  /            2             \
  |    (-2 + x)    2*(-2 + x)|
2*|1 + --------- - ----------|
  |            2     1 + x   |
  \     (1 + x)              /
------------------------------
            1 + x             
2((x2)2(x+1)22(x2)x+1+1)x+1\frac{2 \left(\frac{\left(x - 2\right)^{2}}{\left(x + 1\right)^{2}} - \frac{2 \left(x - 2\right)}{x + 1} + 1\right)}{x + 1}
The third derivative [src]
  /             2             \
  |     (-2 + x)    2*(-2 + x)|
6*|-1 - --------- + ----------|
  |             2     1 + x   |
  \      (1 + x)              /
-------------------------------
                   2           
            (1 + x)            
6((x2)2(x+1)2+2(x2)x+11)(x+1)2\frac{6 \left(- \frac{\left(x - 2\right)^{2}}{\left(x + 1\right)^{2}} + \frac{2 \left(x - 2\right)}{x + 1} - 1\right)}{\left(x + 1\right)^{2}}
The graph
Derivative of (x-2)^2/(x+1)