1

My textbook claims that for a continuous function $f$, if $f^2$ is differentiable, then $f$ is differentiable at x whenever $f(x) \neq 0$. The claim is given without proof. I also found the following question on math stack exchange that makes the same claim.

Can someone help me by pointing to a proof (or give a proof)?

hasan
  • 109

2 Answers2

5

Suppose $f(x_0) \ne 0$. Then $f(x) \ne 0$ for $x$ near by $x_0$, since f is continuous. Now we have

$$\frac{f(x)-f(x_0)}{x-x_0}=\frac{f^2(x)-f^2(x_0)}{x-x_0}\frac{1}{f(x)+f(x_0)}$$

for $x$ near by $x_0$.

Fred
  • 77,394
1

$$\displaystyle\frac{f(a+h)-f(a)}h=\frac{f^2(a+h)-f^2(a)}{h(f(a+h)+f(a))}$$

$$\displaystyle ⇒\frac{(f^2(a))'}{2f(a)}$$

by $\displaystyle (f^2(a))'=2f(a)f'(a)$

Then $$\displaystyle \frac{f(a+h)-f(a)}h=f'(a)$$

So If $f^2(x)$ is differentiable, $f(x)$ is differentiable, too.