-2

What I've gotten so far is the following.

Let $f(x) = x^2|x|$. Prove that $f$ is differentiable at every point. $\lim_{x \to 0} \frac{f(x)-f(0)}{x-0} =\lim_{x \to 0} \frac{x^{2}|x|}{x} = \lim_{x \to 0}x|x|$ = $x^2 \rightarrow 0$ as $x \rightarrow 0$. So, $f(x)$ is differentiable at $0$.

I was wondering how I prove that $f(x)$ is differentiable for $c > 0$ ?

Skm
  • 2,392

2 Answers2

2

Because for all $x>0$, we have $$(x^2|x|)'=(x^3)'=3x^2.$$

1

As I understand, you are already aware of the fact that for $x>0$, $f(x)=x^3$, but you have problems showing that this is differentiable.

We have $$f'(c) = \lim_{x \to c} \frac {f(x)-f(c)} {x-c} = \lim_{h \to 0} \frac {f(c+h)- f(c)} h\\ =\lim_{h \to 0} \frac{(c+h)^3-c^3}{h} = \lim_{h\to 0} \frac {3hc^2 +3h^2c+h^3}{h} \\ \lim_{h\to 0}3c^2 +3hc +h^2 = 3c^2 $$

Thus $f$ is differentiable for $x>0$ and has the derivative $f'(x)=3x^2$.

Can you show that $f$ is differetiable for $x<0$?

klirk
  • 3,724