Show f(x) = { x/2 if x rational , x if x irrational is not differentiable at 0

Click For Summary

Homework Help Overview

The discussion revolves around demonstrating that the function f(x) defined as f(x) = { x/2 if x is rational, x if x is irrational } is not differentiable at the point x = 0. Participants are exploring the implications of the function's definition on its differentiability.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the setup of the problem, with one suggesting the use of limits to show that the derivative does not exist at x = 0. Others note the presence of two different slopes for rational and irrational inputs and how this leads to a contradiction in the definition of differentiability.

Discussion Status

There is a productive exchange of ideas, with various methods being suggested to approach the problem. Some participants affirm the original poster's reasoning while others propose alternative methods to analyze the differentiability of the function.

Contextual Notes

Participants are operating under the constraints of homework guidelines, focusing on the mathematical reasoning without providing complete solutions. The discussion reflects different interpretations of the problem setup and the implications of the function's definition.

kbgregory
Messages
7
Reaction score
0

Homework Statement



Show that the function

f(x)

= { x/2 if x is rational
{ x if x irrational

is not differentiable at 0

Homework Equations



If f is differentiable at 0 then for every e > 0 there exists some d > 0 such that when |x| < d, |(f(x)-f(0))/x - L | < e for some L, which is the derivative of f at 0.

The Attempt at a Solution



Thus far I have:

Choose e = 1/4. Suppose f is differentiable at 0 and let L be f'(0). Then there is some d such that whenever |x| < d,

|(f(x)-f(0))/x - L |

= {|(x/2-0)/x - L | = | .5 - L | if x is rational

{|(x-0)/x - L | = | 1 - L | if x is irrational

Thus we have these inequalities for L:

| .5- L | < .25 and | 1 - L | < .25

which together imply that -.25 < L < .75 as well as that .75 < L < 1.25 which is a contradiction. Therefore f is not differentiable at 0.

Is this correct?
 
Physics news on Phys.org
I have not looked through your work but the usual way to do this problem is to set up the slope at the point (in this case, 0), and show the limit does not exist. That is, work with f(x)/x as x tends to 0.
 
It looks good. You basically know that there are two slopes: one of .5, and one of 1, and use that information to prove that there cannot be a single slope
 
You should be looking at (f(x)- f(0))/(x- 0)= f(x)/x. Now look at what happens if x is rational or irrational.
 
I think HallsofIvy's process is easier but it seems that either method works. I think the necessary element is that 1/2 does not equal 1.
 

Similar threads

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