What are the values of the integral and derivative for the Dirichlet function?

Click For Summary
The Dirichlet function is defined as f(x) = 1 for rational numbers and 0 otherwise. It is neither Riemann integrable nor differentiable, and its integral over any interval is zero, as it is Lebesgue integrable. The derivative f'(x) is zero for every x, due to the lack of continuity. A related function g(x) modifies f(x) at integer points but remains non-differentiable at those points. The Dirichlet function is well-known in mathematical analysis for its unique properties.
Karlisbad
Messages
127
Reaction score
0
let be the function f(x) so

f(x)=1 for every integer or rational.

f(x)=0 otherwise..

my questions are, what's the value of \int_{a}^{b}f(x)dx and f'(x) (i think the second value is 0 for every x, but I'm not sure) :rolleyes: :rolleyes:
 
Physics news on Phys.org
The function is neither Riemann integrable, nor differentiable. It is not even continuous os has no chance of being differentiable. It is Lebesgue integrable and the integral is identically zero.
 
Oh..sorry, i saw a similar example, they defined the function:

g(x)= f(x)+a(x) iff x is an integer

g(x)=f(x) otherwise.

where a(x) is the function (i don't know its name) that is 1 iff x is a rational and 0 otherwise. :shy: :shy: then you had the question of defining g'(x)
 
Karlisbad said:
Oh..sorry, i saw a similar example, they defined the function:

g(x)= f(x)+a(x) iff x is an integer

g(x)=f(x) otherwise.

where a(x) is the function (i don't know its name) that is 1 iff x is a rational and 0 otherwise. :shy: :shy: then you had the question of defining g'(x)
Obviously, g(x)= f(x) for all non-integer x so g'(x)= f'(x) for non-integer x. Since g is not continuous at integer x, g is not differentiable there.
 
As a completely unnecessary addition to the previous posts, the function you started with is famous enough to have gained its own name: it is called the Dirichlet function.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 31 ·
2
Replies
31
Views
4K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K