Continuity of Max Function in R^2

Click For Summary
The discussion focuses on proving the continuity of the function h(x,y) = max(x,y) at any point (x0,y0) in R^2 using the epsilon-delta method. The user initially breaks the proof into two cases: when x0 equals y0 and when x0 does not equal y0, but struggles with the latter. Guidance is provided on choosing delta (δ) in relation to epsilon (ε) and ensuring δ is less than |x0 - y0| to maintain the continuity condition. The user eventually arrives at a solution but expresses concerns about the elegance of the proof, highlighting the importance of geometric reasoning in such problems. The conversation emphasizes the value of visualizing the problem to simplify the proof process.
ttzhou
Messages
28
Reaction score
0
This is my first post on PF, I've been a "Google lurker" for ages though, love the quality of the help provided here. I've done a search and found similar questions for when f, g are uniformly continuous and max(f,g) is discussed, but this question is purely for (x,y) in R^2. So hopefully, I haven't tread too heavily on my first post.

I tried typing LaTeX but it's been a nightmare, hopefully I'll work out the kinks in the future.

Homework Statement



Given h : R2 ---> R, h(x,y) = max(x,y), show that h is continuous at any point (x0,y0) in its domain.


Homework Equations



There is an equation that relates max(x,y) to a function purely of the two variables, x and y. However, for the assignment, as well as my own curiosity, I wonder how one would go about doing this using the pure epsilon delta method for proving continuity, avoiding any characterization of continuity through sequences, etc.

The Attempt at a Solution



I've broken it down into cases.

1. If x0 = y0, then simply choose ||(x,y) - (x0,y0)|| < \delta = \epsilon.

Then, we note that, WLOG (we can interchange x0 and y0)

|max(x,y) - x0| <= ||(x,y) - (x0,x0)|| = ||(x,y) - (x0,y0)|| < \delta = \epsilon

and so it is approximated by arbitrary epsilon whenever the delta condition is satisfied.


2. If x0 does not equal y0, this is where I get stumped.

I suppose WLOG that x0 < y0. (Again, I can switch around for the other case.)

Then |max(x,y) - max(x0,y0)| = |max(x,y) - y0|

(Denote M = max(x,y) for convenience)

I cannot for the life of me figure out the proper algebra to get to a nice form where I can apply the appropriate deltas. There are too many messy attempts that I've made to list all here.

I tried |M - y0| < |M - y| + |y - y0| by triangle inequality, but that keeps leaving a mismatched x and y0 or y and x0, and I can't see how finding lower/upper bounds would work here either.

My professor has stated that I am on the right track with the cases, and gave a hint about using epsilon delta to play around with the inequality x0 < y0, but I can't figure it out.

I sketched the function mentally, it looks kind of like the sharp corner of the eaves of a house; I can see it geometrically, but am unable to find the right algebraic relation.

ANY help or hints are greatly appreciated! Thank you all in advance.
 
Last edited:
Physics news on Phys.org
welcome to pf!

hi ttzhou ! welcome to pf! :smile:

(have a delta: δ and an epsilon: ε and try using the X2 and X2 icons just above the Reply box :wink:)
ttzhou said:
Given h : R^2 ---> R, h(x,y) = max(x,y), show that h is continuous at any point (x0,y0) in its domain.

2. If x0 does not equal y0, this is where I get stumped …

yes 1 is ok (though a little messy) :smile:

for 2, just make sure your ε is less than |x0 - y0| :wink:
 


tiny-tim said:
hi ttzhou ! welcome to pf! :smile:

yes 1 is ok (though a little messy) :smile:

Messy as in the proof itself or just the way I typed it? I tried typing \delta and \epsilon, but it kept showing up as ||(x,y) - (x0,y0)|| [sic], just in LaTeX font.

Thanks for the tips, I'll take a crack at it later today.

EDIT: I'm having confusion as to what you mean by making \epsilon < |x0 - y0|... Isn't \epsilon reliant on \delta and the point in question?
 
Last edited:
ttzhou said:
Messy as in the proof itself … ?

Yes :redface:

i] you don't choose (x,y), you choose δ (for any ε)

ii] then you should say for any ||(x,y) - (x0,x0)|| < δ ("for any" is the opposite of choosing, isn't it? :wink:)

iii] and you should have stuck to (x0,x0) (not (x0,y0)) throughout that proof :smile:
 
tiny-tim said:
Yes :redface:

i] you don't choose (x,y), you choose δ (for any ε)

This is my fault, I meant to say given ε > 0, choose δ = ε so that...

ii] then you should say for any ||(x,y) - (x0,x0)|| < δ ("for any" is the opposite of choosing, isn't it? :wink:)

whenever this condition is satisfied, the resulting approximation using ε follows.

iii] and you should have stuck to (x0,x0) (not (x0,y0)) throughout that proof :smile:

So I should have only changed it at the last line, since x0 = y0?


Also, still having trouble with the hint... How do I make ε less than something; isn't the approximation of ε dependent on what δ I choose?
 
ttzhou said:
Also, still having trouble with the hint... How do I make ε less than something; isn't the approximation of ε dependent on what δ I choose?

yes, but you can choose ε to depend on δ and to be less than |x0 - y0| :smile:
 
tiny-tim said:
yes, but you can choose ε to depend on δ and to be less than |x0 - y0| :smile:

We are given an arbitrary ε, and we must pick a δ such that the function is within ε of the image of (x0,y0)... Maybe it's the Tuesday afternoon haze, but I am just stumped as to how I can ensure ε to be less than anything, when we are only considering arbitrary values.
 
sorry, i got my δ and my ε mixed up …

i meant make sure your δ is less than |x0 - y0| …

you can choose δ to depend on ε and to be less than |x0 - y0| :smile:
 
I may have arrived at a solution, but it seems unelegant:

Again, assume that x0 < y0 => 0 < y0 - x0

I choose δ = min { y0 - x0, (ε/4) }

Now, if ||(x,y) - (x0, y0)|| < δ, it must be the case that:

|x - x0| < δ and |y - y0| < δ

---

This is where I find it sort of inelegant, as I essentially prove that:

x0 - y0 < x - x0 < y0 - x0 (by absolute value)

2x0 - y0 < x < y0

2x0 - 2y0 < x - y0 < 0

2(x0 - y0) < x - y0 < 2(y0 - x0)

--> |x - y0| < |2(y0 - x0)|

----

From here, I note that, denoting M = max(x,y):

|M - y0|

<= |x - y0| + |y - y0|

<= |2(y0 - x0)| + |y - y0|

< 2(ε/4) + (ε/4)

< ε

#


Does this look right? I just have my reservations about the inequality proof, I suppose I am just being an aesthetic-lover there though.
 
Last edited:
  • #10
ttzhou said:
I may have arrived at a solution, but it seems unelegant:

Again, assume that x0 < y0 => 0 < y0 - x0

I choose δ = min { y0 - x0, (ε/4) }

yeees … i think you meant "inelegant"! :redface:

the whole point of choosing that δ is so that you can start by saying that max(x,y) = y :wink:

carry from there :smile:
 
  • #11
I think what you mean is that pick a disk small enough so that any co-ordinate in that disk has the property that it lies in the region (y > x)...? But how does picking \delta to be less than |x0 - y0| achieve this?
 
  • #12
ttzhou said:
I think what you mean is that pick a disk small enough so that any co-ordinate in that disk has the property that it lies in the region (y > x)...? But how does picking \delta to be less than |x0 - y0| achieve this?

on second thought, it needs to be < |x0 - y0|/√2 …

draw (x0,y0), and also (y0,y0) on the line x = y …

then a circle of radius δ around (x0,y0) stays in the y>x region :wink:
 
  • #13
Sigh... the funny thing is, I originally thought of a geometric approach, but never carried it through... It would have saved me so much time.

Yea, I was able to pinpoint that exact length using some Grade 7 geometry :redface:

Thanks a lot tiny-tim, really appreciate it!

P.S... how does one develop the ability to spot elegant solutions? I always have this tendency to bull my way through problems; they work, but I miss easier ways.
 
  • #14
ttzhou said:
Sigh... the funny thing is, I originally thought of a geometric approach, but never carried it through... It would have saved me so much time.

yup! :biggrin:
P.S... how does one develop the ability to spot elegant solutions? I always have this tendency to bull my way through problems; they work, but I miss easier ways.

always draw a diagram first … these proofs are all about points and circles anyway :wink:
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
4K
  • · Replies 27 ·
Replies
27
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
22
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K