Differentiable / continuous functions

jem05
Messages
54
Reaction score
0

Homework Statement


give an example of a function f: R --> R that is differentiable n times at 0, and discontinous everywhere else.

Homework Equations


---

The Attempt at a Solution



i got one, and i proved everything, i just want to make sure what i did is correct:

f:x n+1 when x is rational
0 when x is irrational

by the way, does the example hold if i invert them, that is 0 if rational and xn+1 if irrational?
(nothing changes right?)
thank you

oh, and x^n does not work, instead of x^n+1, right?
 
Last edited:
Physics news on Phys.org
jem05 said:

Homework Statement


give an example of a function f: R --> R that is differentiable n times at 0, and discontinous everywhere else.

Homework Equations


---

The Attempt at a Solution



i got one, and i proved everything, i just want to make sure what i did is correct:

f:x n when x is rational
0 when x is irrational

btw, does the example hold if i invert them, that is 0 if rational and xn if irrational? (nothing changes right?)
thank you
Your function is differentiable (and hence continuous) everywhere on R, except at a finite number of points. Indeed, your function is differentiable on at least \mathbb{R}\setminus\mathbb{Q}.
 
Last edited:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top