Derivative of $\sqrt{ \left | x\right | } $

3.6k Views Asked by At

I'm not sure at all about my result:
$\ f'(x)=\frac{\left | x \right |}{x} . \frac{1}{2\sqrt{\left | x \right |}} = \frac{\left | x \right |^{0.5}}{2x} $

I don't know if we can simplify like this:
$\frac{\left | x \right |}{\sqrt(\left | x \right |)} = \left | x \right |^{0.5} $

4

There are 4 best solutions below

0
On

An idea:

For $\;x<0\implies f(x)=\sqrt{-x}\;$ , and thus

$$f'(x):=-\frac1{2\sqrt{-x}}=-\frac1{2\sqrt{|x|}}$$

For $\;x>0\implies f(x)=\sqrt x\;$ , and thus

$$f'(x)=\frac1{2\sqrt x}=\frac1{2\sqrt{|x|}}$$

For $\;x=0\;$ the function isn't differentiable.

1
On

Best way to take derivative of these kind of functions is :

$$f(x)=\begin{cases} \sqrt{x} & x\geq0\\ \sqrt{-x} & x<0 \end{cases} \implies f'(x)=\begin{cases} \dfrac{1}{2\sqrt x}& x\gt0\\ \dfrac{-1}{2\sqrt{-x}} & x<0 \end{cases} $$ (Note that the function isn't differentiable at $x=0$)

Which can also be written as :

$$f'(x)=\frac{\operatorname {sgn} x}{2\sqrt{|x|}}$$

0
On

By using the chain rule.

$\frac{d}{dx}\sqrt{\left | x \right |}$

$=\frac{\frac{d}{dx}(\left |x \right |)}{2\sqrt{\left | x \right |}}$

$=\frac{x}{\left |x \right |}\frac{1}{2\sqrt{\left | x \right |}}$

$=\frac{x}{2\left |x \right |^\frac{3}{2}}$

1
On

Your function is even and that means that it's derivative is odd function. Thus, for $x>0$ we have that $$f'(x) = (\sqrt x)' = \frac 1{2\sqrt x},$$ while for $x<0$, we have $$-f'(x) = f'(-x) = \frac1{2\sqrt{-x}}.$$ Combining the two, we get that $$f'(x) = \frac{\operatorname{sgn}x}{2\sqrt{|x|}}.$$