Simple dirichlet function differentiability

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
Nanatsu
Messages
3
Reaction score
0

Homework Statement


f(x) = {x, x rational, 0, x irrational

g(x) = {x^2, x rational, 0, x irrational

Show that f(x) is not differentiable at 0.
Show that g(x) is differentiable at 0


Homework Equations


f'(x) = lim(h->0) f(x+h) - f(x)/h I suppose


The Attempt at a Solution


Just wondering if I'm thinking right. For f(x) the difference quotient becomes h/0 as h-> 0 and with g(x) it becomes lim(h->0) h^2/h = lim(h->0) h = 0?
 
Physics news on Phys.org
"
Just wondering if I'm thinking right. For f(x) the difference quotient becomes h/0 as h-> 0

I suppose you mean h/h?

and with g(x) it becomes lim(h->0) h2/h = lim(h->0) h = 0?"

That's the general idea, but you have to consider the fact that h may be rational or irrational in a careful writeup.