Continuous functions on intervals

  • Thread starter kingstrick
  • Start date
  • #1
108
0

Homework Statement



Suppose that f : ℝ→ℝ is continuous on ℝ and that lim f =0 as x→ -∞ and lim f =0 as x→∞. Prove that f is bounded on ℝ and attains either a maximum or minimum on ℝ. Give an example to show both a maximum and a minimum need not be attained.


The Attempt at a Solution



The example i plan on using is f(x) = 0. But i am not sure which theorem i am supposed to use. I am thinking the maximum-minimum theorem but i am unsure how to start this without a closed bounded interval. Can anyone help me start?
 

Answers and Replies

  • #2
828
2
Usually for stuff like this, I start of by doing a proof by contradiction. Now, I very rarely turn in a proof-by-contradiction (I'm always afraid I've messed something up), but this usually gives insight. So, I'd start off by assuming that f is unbounded at some x. Then see how this messes with the contnuity of the limits.

As for an example, I think that you need to come up with one that has either a max or a min, not a function that has neither. For this, I suggest thinking of something like the Bell Curve.
 
  • #3
108
0
That is one of my biggest hangups, I never know when to use a proof by contradiction, direct proof, or a proof by induction. I almost always use the direct method because it is where i am most comfortable.

Is there a general rule of thumb or hint in a proof that generally tells us what type of proof we should try first?
 
  • #4
828
2
Well, its mostly just a matter of experience. The solutions to some problems are pretty evident from the beginning and the direct method just sort of "pops" out, you know? But for ones like this, it always serves me to try to find a contradiction. This usually tells me enough about the problem, and I am usually able to "get" whatever needs to be "gotten" to understand the solution to the problem. Once I have done that, I can usually figure out something that works. For example, I might use contraposition instead of proof by contradiction.
 
  • #5
jgens
Gold Member
1,581
50
Usually for stuff like this, I start of by doing a proof by contradiction.

I am going to disagree that trying for a contradiction with this problem is a good way to go, especially since the continuity on [itex]\mathbb{R}[/itex] can be relaxed with the result still holding. I would suggest trying to turn the problem from one dealing with an unbounded interval, to one dealing with a bounded one. The limiting behavior of the function provides all the information you need to do this. The idea of turning a problem dealing with something unbounded or infinite into something that is bounded or finite is a common theme in mathematics, so I think that getting practice with that idea is helpful.
 
  • #6
108
0

Homework Statement



Suppose that f : ℝ→ℝ is continuous on ℝ and that lim f =0 as x→ -∞ and lim f =0 as x→∞. Prove that f is bounded on ℝ and attains either a maximum or minimum on ℝ. Give an example to show both a maximum and a minimum need not be attained.


The Attempt at a Solution



The example i plan on using is f(x) = 0. But i am not sure which theorem i am supposed to use. I am thinking the maximum-minimum theorem but i am unsure how to start this without a closed bounded interval. Can anyone help me start?

Does this proof by contradiction make sense then?

Suppose that f : ℝ→ℝ is continuous on ℝ and that lim f =0 as x→ -∞ and lim f =0 as x→∞ where f(x) is unbounded on ℝ and attains either a maximum ot minimum on ℝ. Since f(x) is unbounded on ℝ then if given M>0, there exists Xm in ℝ where |f(Xm)| > M, Now WLOG, supppose that f(x) has a maximum on ℝ then there exists s :={max f(x) for all x in ℝ} where s ≥ f(x) for all x in ℝ. However Xm is in R so S≥ |f(Xm)|>M for all x in ℝ, meaning f(Xm) is bounded on ℝ. [Contradiction]

Therefore f(x) is bounded on ℝ.

--
I am still not sure what kind of example to use though...
 
  • #7
jgens
Gold Member
1,581
50
Does this proof by contradiction make sense then?

Not at all. You have shown that if you assume that f is both unbounded above and bounded above, then you obtain a contradiction, but that is hardly a surprise.
 
  • #8
108
0
Not at all. You have shown that if you assume that f is both unbounded above and bounded above, then you obtain a contradiction, but that is hardly a surprise.

Well, that rained on my parade. I was quite proud of that :(
 
  • #9
jgens
Gold Member
1,581
50
Well, that rained on my parade. I was quite proud of that :(

Well you should know you have a problem when you write something like "assume [itex]f[/itex] is unbounded and is either bounded above or below". You should also realize you have a problem when you do not utilize the limiting hypotheses in the statement of the problem.

The problem with doing this problem by contradiction is that the continuity on all of [itex]\mathbb{R}[/itex] is actually not necessary (i.e. it can be relaxed a little). So it is just easier to use the limiting behavior of the function to turn the question into one dealing with bounded domains.
 
  • #10
828
2
I am going to disagree that trying for a contradiction with this problem is a good way to go, especially since the continuity on [itex]\mathbb{R}[/itex] can be relaxed with the result still holding. I would suggest trying to turn the problem from one dealing with an unbounded interval, to one dealing with a bounded one. The limiting behavior of the function provides all the information you need to do this. The idea of turning a problem dealing with something unbounded or infinite into something that is bounded or finite is a common theme in mathematics, so I think that getting practice with that idea is helpful.

Yes, I should have been more precise. What I meant was that it is good to think about what might happen if f was un bounded at a point. I didn't say it explicitly, but I was thinking of putting a closed interval around the point at which f was unbounded. I'm just suggesting doing this as a way to wrap ones head around the problem. Like I said though, a contradiction is probably not the best proof to turn in.

As for relaxing the continuity on [itex]\mathbb{R}[/itex] I'm a little confused about what you mean. For example [itex]\frac{1}{x}[/itex] is continuous everywhere except 0 and it's limit is 0 as x goes to positive and negative infinity, but it is not bounded. So what can the continuity condition be relaxed to?
 
  • #11
108
0
Can't it be relaxed to (0,1]
 
  • #12
828
2
Do you mean like saying only jump discontinuities are allowed?
 
  • #13
jgens
Gold Member
1,581
50
As for relaxing the continuity on [itex]\mathbb{R}[/itex] I'm a little confused about what you mean. For example [itex]\frac{1}{x}[/itex] is continuous everywhere except 0 and it's limit is 0 as x goes to positive and negative infinity, but it is not bounded. So what can the continuity condition be relaxed to?

The end behavior of the function means the function is bounded on [itex](-\infty,-M) \cup (M,\infty)[/itex] for some [itex]M \in \mathbb{R}[/itex] and then the continuity of [itex]f[/itex] on [itex][-M,M][/itex] gives the boundedness on [itex][-M,M][/itex]. The boundedness due to the end behavior though is not dependent on the continuity, so [itex]f[/itex] can actually be discontinuous for sufficiently large values of [itex]x[/itex].

Now the way of getting around relaxing the continuity restriction means you essentially need to give the problem away (since you need to be careful that you have boundedness on [itex](-\infty,-M) \cup (M,\infty)[/itex] and continuity on [itex][-M,M][/itex]), but the point is that the condition can be relaxed.

Do you mean like saying only jump discontinuities are allowed?
That works too. The point is that you can get all sorts of discontinuities with [itex]f[/itex] and still have boundedness hold. The other problem is that unboundedness does not necessarily contradict continuity. It can contradict the end behavior condition. So there are essentially two types of behaviors that you need to check if you are doing a proof by contradiction.
 
  • #14
108
0
So is the limiting condition telling me that 0 is a two sided limit and is thus the max/min of the equation since both are going to that value?
 
  • #15
108
0
I am going to disagree that trying for a contradiction with this problem is a good way to go, especially since the continuity on [itex]\mathbb{R}[/itex] can be relaxed with the result still holding. I would suggest trying to turn the problem from one dealing with an unbounded interval, to one dealing with a bounded one. The limiting behavior of the function provides all the information you need to do this. The idea of turning a problem dealing with something unbounded or infinite into something that is bounded or finite is a common theme in mathematics, so I think that getting practice with that idea is helpful.

To turn the problem into using a bounded interval do i state something like "there exists an Interval I in R such that i is a closed, bounded interval from [a,b]"?
 

Related Threads on Continuous functions on intervals

  • Last Post
Replies
9
Views
4K
Replies
1
Views
1K
Replies
9
Views
3K
  • Last Post
Replies
8
Views
5K
  • Last Post
Replies
5
Views
2K
  • Last Post
Replies
1
Views
1K
Replies
1
Views
1K
Replies
1
Views
1K
Replies
8
Views
1K
Top