How to prove that ##M_i =x_i## in this upper Darboux sum problem?

  • Thread starter Thread starter Adesh
  • Start date Start date
  • Tags Tags
    Integrals Sum
Click For Summary

Homework Help Overview

The discussion revolves around proving that ##M_i = x_i## in the context of upper Darboux sums for a specific piecewise function defined on the interval [0,1]. The function takes the value of the input if it is rational and zero if it is irrational.

Discussion Character

  • Exploratory, Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants discuss the need to show that ##x_i## is the least upper bound for the function on the interval ##[x_{i-1}, x_i]##. They explore the implications of the density of rational numbers in real numbers and how this relates to the supremum of the function.

Discussion Status

Participants are actively engaging with the problem, questioning assumptions, and clarifying concepts. Some have provided insights into how to approach the proof, while others are refining their understanding of the definitions involved.

Contextual Notes

There is an emphasis on not relying on arbitrary epsilon values in the definition of ##M_i##, and participants are encouraged to consider the implications of rational numbers being dense in the real numbers.

Adesh
Messages
735
Reaction score
191
Homework Statement
We have a function ##f:[0,1] \mapsto \mathbb R## such that
$$
f(x)= \begin{cases}
x& \text{if x is rational} \\
0 & \text{if x is irrational} \\
\end{cases}
$$
Relevant Equations
Upper Darboux sum is
$$
U(f,P) = \sum_{i}^{n} M_i (x_i - x_{i-1})
$$
We're given a function which is defined as :
$$
f:[0,1] \mapsto \mathbb R\\

f(x)= \begin{cases}
x& \text{if x is rational} \\
0 & \text{if x is irrational} \\
\end{cases}
$$
Let ##M_i = sup \{f(x) : x \in [x_{i-1}, x_i]\}##. Then for a partition ##P= \{x_0, x_1 , \cdots , x_n\}## we define the upper Darboux sum as
$$
U(f,P) = \sum_{i}^{n} M_i (x_i - x_{i-1})
$$
Now, I need your help in showing that ##M_i = x_i## for any interval ##[x_{i-1}, x_i]##. Please don't give complete solution, I want to learn it, I'm a beginner in Real Analysis.

Thank you!
 
Physics news on Phys.org
You want to show that ##x_i## is the least upper bound for ##f## on the interval ##[x_{i-1},x_i].## This means you should check that:

1) ##x_i## is an upper bound for ##f## on ##[x_{i-1},x_i]##.

2) If ##y<x_i##, then ##y## is not an upper bound for ##f## on ##[x_{i-1},x_i]##.

Item 1 should be apparent from the definition of ##f##. To show 2, you'll want to use the density of ##\mathbb{Q}## in ##\mathbb{R}.##
 
Infrared said:
show 2, you'll want to use the density of ##\mathbb Q## in ##\mathbb R##
Okay, so we have the Theorem that between any two real numbers we can always find a rational number..

So, from the above Theorem can we conclude that “for any ##\epsilon## we can always find a rational number ##X## such that ##x_i - X \lt \epsilon##” ?
 
That's true, but probably not what you mean (as written, it would still be true with "integer" instead of "rational number").

And how do you want to use this to solve your question?
 
Infrared said:
And how do you want to use this to solve your question?
We can conclude that there exist a rational number within any ##\epsilon## of ##x_i## and hence ##M_i= x_i-\epsilon ##.
 
##M_i## should not depend on ##\varepsilon##. There is no ##\varepsilon## in the definition ##M_i=\sup\{f(x):x\in [x_{i-1},x_i]\}.##
 
  • Like
Likes   Reactions: Adesh
Infrared said:
##M_i## should not depend on ##\varepsilon##. There is no ##\varepsilon## in the definition ##M_i=\sup\{f(x):x\in [x_{i-1},x_i]\}.##
Yes I understand that (I mean I noticed it after you pointed it out). Then how can I write what “I know”, I know that I can find a rational number as close to ##x_i## as I want, but how to write ##M_i## with this extra information?
 
Infrared said:
2) If ##y<x_i##, then ##y## is not an upper bound for ##f## on ##[x_{i-1},x_i]##.

You want to show this. Showing that ##y## is not an upper bound means finding an element ##x\in[x_{i-1},x_i]## such that ##f(x)>y \ (=x_i)##. How can you do this?
 
Infrared said:
You want to show this. Showing that ##y## is not an upper bound means finding an element ##x\in[x_{i-1},x_i]## such that ##f(x)>y \ (=x_i)##. How can you do this?
Given that ##y\lt x_i## implies that ##x_i - y \lt \epsilon’## but between any interval of real numbers we can always find a rational number, hence there exist a rational number in the interval ##[y, x_i]## and let that number be ##x##, then we’ve ##f(x) \gt f(y)\implies x \gt y## (I assumed y to be rational). And therefore, ##y## is not an upper bound.
 
  • #10
This is better, but I don't know why you have an ##\epsilon'## floating around. Doesn't density of ##\mathbb{Q}## immediately imply that there is a rational number in ##[y,x_i]?## You should also do something like using the interval ##[\text{max}(0,y),x_i]## instead so that you're sure the rational you pick is indeed in ##[0,1]##!

So, ##x_i## is an upper bound, and there is no smaller upper bound. Hence it is the least upper bound.
 
  • Like
Likes   Reactions: STEMucator and Adesh
  • #11
Infrared said:
This is better, but I don't know why you have an ##\epsilon'## floating around. Doesn't density of ##\mathbb{Q}## immediately imply that there is a rational number in ##[y,x_i]?## You should also do something like using the interval ##[\text{max}(0,y),x_i]## instead so that you're sure the rational you pick is indeed in ##[0,1]##!

So, ##x_i## is an upper bound, and there is no smaller lower bound. Hence it is the least upper bound.
Thank you so much for helping me.
 
  • Like
Likes   Reactions: Infrared

Similar threads

Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
4K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
4K