Simple dirichlet function differentiability

Click For Summary
The discussion focuses on the differentiability of two functions, f(x) and g(x), defined differently for rational and irrational inputs. It is established that f(x) is not differentiable at 0, as the difference quotient leads to an undefined form when approaching from rational values. In contrast, g(x) is shown to be differentiable at 0, with the limit of the difference quotient simplifying to 0. Participants emphasize the importance of considering the nature of h as rational or irrational in their calculations. The conclusion reinforces the need for careful analysis in determining differentiability for piecewise functions.
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.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
2K
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K