Math Help - f(x) differentiable f'(x) not continuos?

1. f(x) differentiable f'(x) not continuos?

Is there a function that is differentiable/continuous everywhere but its derivative is not?

2. The function

$f(x)=\begin{cases}0\quad x<0\\
x^{2}\quad x\ge 0\end{cases}$

satisfies the following conditions: $f(x)$ is differentiable (and therefore continuous) everywhere. $f'(x)$ is continuous but not differentiable at $0.$

Does that satisfy your requirements?

3. no sorry i don't think so, i am look for a function s.t f(x) is differentiable everywhere but it's derivative f'(x) is not continuous everywhere, i think in that example f'(x) is continuous everywhere (this question came up in a tutorial today and we came to no conclusion)

4. You didn't make it clear whether you needed the derivative to be just non-differentiable, or actually discontinuous (the latter being a stronger condition). I think if you have a discontinuous derivative at a point, then the anti-differentiated function (the original function you differentiated) is going to have to have some sort of corner or cusp. That would mean that the original function is not differentiable at that point.

5. let $f(x)=\begin{cases} -1\text{ if } x < 0 \\ 1 \text{ if } x \ge 0\end{cases}$

Now define the fucntion

$\displaystyle g(x)=\int_{-5}^{x}f(t)\, dt$

$g(x)$ is everywhere continuous and differentiable but it has derivative $f(x)$ is not

This should do the trick

6. The "standard example", found in many texts, is $f(x)= x^2 sin(1/x)$ if x is not 0, f(0)= 0. That is differentiable for all x but its derivative is not continuous at x= 0.
Note: while a derivative is not necessarily continuous, it does satisfy the "intermediate value property" so such an example is not going to be simple.

7. Reply to TheEmptySet: Doesn't your function g have a corner at x = 0?

8. Originally Posted by TheEmptySet
let $f(x)=\begin{cases} -1\text{ if } x < 0 \\ 1 \text{ if } x \ge 0\end{cases}$

Now define the fucntion

$\displaystyle g(x)=\int_{-5}^{x}f(t)\, dt$

$g(x)$ is everywhere continuous and differentiable but it has derivative $f(x)$ is not

This should do the trick
No, g is not differentiable at x= 0.

9. Originally Posted by Ackbeet
Reply to TheEmptySet: Doesn't your function g have a corner at x = 0?
Yes it does! So it is not differentiable there. Halls gave a better example.