Mister Exam

Other calculators


x-sqrt(x^2-4x+5)

Derivative of x-sqrt(x^2-4x+5)

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
       ______________
      /  2           
x - \/  x  - 4*x + 5 
$$x - \sqrt{\left(x^{2} - 4 x\right) + 5}$$
x - sqrt(x^2 - 4*x + 5)
Detail solution
  1. Differentiate term by term:

    1. Apply the power rule: goes to

    2. 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. Differentiate term by term:

          1. Differentiate term by term:

            1. Apply the power rule: goes to

            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:

          2. The derivative of the constant is zero.

          The result is:

        The result of the chain rule is:

      So, the result is:

    The result is:

  2. Now simplify:


The answer is:

The graph
The first derivative [src]
          -2 + x     
1 - -----------------
       ______________
      /  2           
    \/  x  - 4*x + 5 
$$- \frac{x - 2}{\sqrt{\left(x^{2} - 4 x\right) + 5}} + 1$$
The second derivative [src]
              2  
      (-2 + x)   
-1 + ------------
          2      
     5 + x  - 4*x
-----------------
   ______________
  /      2       
\/  5 + x  - 4*x 
$$\frac{\frac{\left(x - 2\right)^{2}}{x^{2} - 4 x + 5} - 1}{\sqrt{x^{2} - 4 x + 5}}$$
The third derivative [src]
  /             2  \         
  |     (-2 + x)   |         
3*|1 - ------------|*(-2 + x)
  |         2      |         
  \    5 + x  - 4*x/         
-----------------------------
                    3/2      
      /     2      \         
      \5 + x  - 4*x/         
$$\frac{3 \left(x - 2\right) \left(- \frac{\left(x - 2\right)^{2}}{x^{2} - 4 x + 5} + 1\right)}{\left(x^{2} - 4 x + 5\right)^{\frac{3}{2}}}$$
The graph
Derivative of x-sqrt(x^2-4x+5)