Show that max(f,g) is continious?is my answer wrong?

  • Thread starter Thread starter Andrax
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around proving that the function max(f, g) is continuous, where f and g are continuous functions. Participants are examining the implications of their reasoning and the definitions involved in the proof.

Discussion Character

  • Conceptual clarification, Assumption checking, Exploratory

Approaches and Questions Raised

  • Participants present attempts to define h(x) as max(f, g) and explore conditions under which h(x) is continuous based on the behavior of f and g. Questions arise regarding the validity of these conditions and the implications of continuity.

Discussion Status

The discussion is ongoing, with participants questioning the completeness of their proofs and the assumptions made about the functions f and g. Some guidance has been offered regarding the need to consider cases where one function may exceed the other in different intervals.

Contextual Notes

There are mentions of potential misunderstandings regarding the definitions used in the proof, particularly concerning notation and the continuity of the max function across different domains.

Andrax
Messages
117
Reaction score
0

Homework Statement


let f and g are continuous functions show that max(f,g) is continious

The Attempt at a Solution


the answer i gave is this
maxf(g)=h(x)
h(x)=f(x)==>f(x)-g(x)>0
h(x)=g(x)==>f(x)-g(x)≤0
thus h is continious

now in the textbook they defined max with the normal definition
max=lf(x)-g(x)l+f(x)+g(x)/2
is my answer wrong?
 
Last edited:
Physics news on Phys.org
Andrax said:

Homework Statement


let f and g are continious functions show that max(f,g) is continious


The Attempt at a Solution


the answer i gave is this
maxf(g)=h(x)
h(x)=f(x)==>f(x)-g(x)>0
h(x)=g(x)==>f(x)-g(x)≤0
thus h is continious

Why does this imply that h is continuous?
 
I thought it's obvious
if f(x)>g(x) then h(x) = f(x) f continious then h continious
if f(x)<=g(x) then h(x)=g(x) g gotinious thus h is continious
Am i doing something wrong here?(spivak's calculus questions are quiet hard )
Edit : i wasn't supposed to study cases?
 
Andrax said:

Homework Statement


let f and g are continious functions show that max(f,g) is continuous
"Continious" is not a word - the one you mean is continuous.
Andrax said:

The Attempt at a Solution


the answer i gave is this
maxf(g)=h(x)
Presumably you mean max(f, g) = h(x)
Andrax said:
h(x)=f(x)==>f(x)-g(x)>0
h(x)=g(x)==>f(x)-g(x)≤0
The above assume that f > g for all x in the domain or that g ≤ f for all x in the domain. What happens if one function is greater than the other in some places, but not in others?
Andrax said:
thus h is continious

now in the textbook they defined max with the normal definition
max=lf(x)-g(x)l+f(x)+g(x)/2
is my answer wrong?

For absolute value, use |, not l (lower-case "ell"). Also, what gets divided by 2? As you wrote it, only g(x) is divided by 2. If that's not what you meant, use parentheses.
 
This looks like the following proof:

Consider ##f(x) = 1## for all ##x##, ##g(x) = -1## for all ##x## and take

[tex]h(x) = \left\{\begin{array}{l} 1~\text{if}~x<0\\ -1~\text{if}~x\geq 0\end{array}\right.[/tex]

If ##h(x)<0##, then ##h(x) = g(x)## and ##g## is continuous.
If ##h(x)>0##, then ##h(x) = f(x)## and ##f## is continuous.
Thus ##h## is continuous.

This is essentially what you did. But the conclusion that ##h## is continuous is false of course.
 
Mark44 said:
The above assume that f > g for all x in the domain or that g ≤ f for all x in the domain. What happens if one function is greater than the other in some places, but not in others?
i was missing this part thank you
micromass made me laugh a bit at my "proof" :).
thanks guys .
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
6
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
3
Views
1K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
4
Views
4K