Using the Weierstrass Theorem to Prove the Continuity of a Function

  • Thread starter Thread starter linearfish
  • Start date Start date
  • Tags Tags
    Theorem
Click For Summary

Homework Help Overview

This discussion revolves around proving properties of a continuous function defined on the interval [0,1], specifically using integrals to establish that the function must be zero under certain conditions. The subject area includes analysis and properties of continuous functions, particularly in relation to the Weierstrass Theorem.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore the implications of the integral of a function being zero and how it relates to the function itself being zero. There is an attempt to connect the first part of the problem to the second part using polynomial approximations and integrals.

Discussion Status

The discussion has progressed with participants offering hints and clarifications regarding the relationships between the integrals and the properties of the function. Some participants express confusion about the relevance of certain assumptions, while others clarify the logical steps needed to connect the two parts of the problem.

Contextual Notes

There is a hint provided regarding the density of polynomials in continuous functions, which is intended to guide the participants in their reasoning. Participants are also navigating the distinction between the two parts of the problem and how they relate to each other.

linearfish
Messages
25
Reaction score
0
This is a problem from a previous year's proficiency exam in my Master's program. I am taking this exam later this month.

Homework Statement


Let f be a continuous function of the interval [0,1].
(1) If
[tex]\int_0^1 f(x)^2 dx = 0[/tex]
prove f(x)=0 for all x in [0,1].

(2) If
[tex]\int_0^1 f(x) x^n dx = 0[/tex]
(n=0,1,2...), prove f(x)=0 for all x in [0,1].


Homework Equations


There is a hint for the second part. "Use the Weierstrass Theorem: the space of polynomials is dense in the space of continuous functions."

The Attempt at a Solution


I believe I have the first part pretty well figured out. Without going into all the gory details, the idea is that we assume there exist a c in [0,1] such that f(c) is not 0. Then by continuity there is an interval around c in which f(x) is positive (bounded away from 0). Thus, since f(x)2 is nonnegative on the whole interval and positive on the interval around c, the integral is positive, but this is a contradiction.

I am at a loss for the second part. It seems to me that it should be a logical step from the first part but I cannot seem to make sense of it. Also, the hint should be a big help but I don't see how. Anything to put me on the right track is appreciated.
 
Physics news on Phys.org
Approximate f(x) by a polynomial p(x) within epsilon. Now integrate f(x)*(f(x)-p(x)). What's the integral of f(x)*p(x)? Can you use that to say something about the integral of f(x)^2?
 
Let me see if I got this:

Say the integral of f is A. Then
[tex]\int_0^1 f(x) (f(x)-p(x)) dx \approx \epsilon * A[/tex]
Since
[tex]\int_0^1 f(x)^2 dx = 0[/tex]
Then
[tex]\int_0^1 f(x)p(x) dx \approx - \epsilon*A[/tex]

Because epsilon may be made as small as we wish, this implies the last integral is 0. Then can we use the MVT for integrals to show f(x) is the zero function. Or am I looking at this wrong still?

Thanks for the help.
 
No, not quite. You want to prove that the integral of f(x)^2 is zero, not use it as an assumption. Hint: the integral of f(x)*p(x) is ZERO. Can you tell me why?
 
I'm a little confused as to why we're proving that. In the first part it's given and it doesn't seem relevant in the second.
 
linearfish said:
I'm a little confused as to why we're proving that. In the first part it's given and it doesn't seem relevant in the second.

They are two separate problems. You've already shown i) integral f(x)^2=0 implies f=0. Now you want to show ii) integral f(x)*x^n=0 implies f=0. I'm suggesting you use integral f(x)*x^n=0 to show f satisfies the premise of i). Here's another hint why integral f(x)*p(x) must be exactly zero (without assuming integral of f(x)^2 is zero). p(x) is the sum of a bunch of things like a*x^n.
 
Okay, I think I follow that. Thank you.

[tex]\int_0^1 f(x)p(x) dx[/tex]
[tex]\int_0^1 f(x)(a_0 + a_1 x + ... + a_n x^n) dx[/tex]
[tex]a_0 \int_0^1 f(x) dx + a_1 \int_0^1 f(x) x dx + ... + a_n \int_0^1 f(x) x^n dx[/tex]

Each of these integrals is 0 by assumption since the a's are constants. Thus,

[tex]\int_0^1 f(x)(f(x) - p(x)) dx = \int_0^1 f(x)^2 - f(x)p(x) dx = \int_0^1 f(x)^2 = 0[/tex]
because f(x) - p(x) is arbitrarily close to 0. Thus by part (i) f(x) = 0 for all x in [0,1].
 
That's it. You can show integral of f(x)^2 is arbitrarily close to zero. Hence it is zero. Hence f=0.
 
Awesome. Thanks for the help. Now I can only hope that this problem is on this year's exam.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
14
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K