Constructing a Sequence of Continuous Functions in Hilbert Space

In summary: The discontinuity in your original equation at x=0 is due to the fact that fn(x) is not square integrable, but you can find a continuous fn whose difference from f is square integrable. Try something like this. Make your fn(x) equal f(x) except on \left[ \frac {-1} n, 0\right ], and a straight line joining your two pieces on this interval.
  • #1
keniwas
59
1

Homework Statement


Let f(x) be the discontinuous function
[tex]f(x)=e^{-x},\text{for }x>0[/tex]
[tex]f(x)=x,\text{for }x\leq 0[/tex]

Construct explicitly a sequence of functions [tex]f_n(x)[/tex], such that
[tex]||f_n(x)-f(x)||<\frac{1}{n}[/tex],
and [tex]f_n(x)[/tex] is a continuous function of x, for any finite n. Here [tex]||\;||[/tex] represents the metric in the Hilbert space of square-integrable functions on the line, [tex]-\infty<x<\infty[/tex]. By construction, under this metric [tex]\lim_{n\rightarrow\infty}f_n=f.[/tex]



The Attempt at a Solution


I have tried to find different sequences that might work for this (ex. Power Series expansion where n indicates the highest order term to use.) but I can't seem to find one that fits the requirement that it be less than 1/n. I have a feeling the triangle inequality is going to be used somewhere but I am not sure how yet...
 
Physics news on Phys.org
  • #2
Your f(x) isn't square integrable but you can find a continuous fn whose difference from f is square integrable. Try something like this. Make your fn(x) equal f(x) except on [tex]\left[ \frac {-1} n, 0\right ][/tex], and a straight line joining your two pieces on this interval.
 
  • #3
I like your idea, but I think it still produces a discontinuous function in the limit as [tex]n\rightarrow\infty[/tex]

Using your example I would define a function
[tex]f_n(x) = \left\{
\begin{array}{lr}
e^{-x} & \text{for } x>0\\
nx+1 & \text{for } -\frac{1}{n}<x\leq0\\
0 & \text{for } x\leq-\frac{1}{n}
\end{array} \right.[/tex]

Which would be continuous, but in the limit as [tex]n\rightarrow\infty[/tex] it approaches the discontinuity observed in the original equation at x=0 since the linear part has an infinite slope and hence there is a jump from 0 to 1.

If I missed something you were intending please correct me.
 
  • #4
Or perhaps is that the point? That this continuous function converges to a discontinuous one? The problem does say it has to be continuous for any finite n, which it is... Ok so if this is correct, how am I to prove it is always less than 1/n?
 
Last edited:
  • #5
keniwas said:
Or perhaps is that the point? That this continuous function converges to a discontinuous one? The problem does say it has to be continuous for any finite n, which it is... Ok so if this is correct, how am I to prove it is always less than 1/n?

Are you sure your [tex]f_n[/tex] get close to f in any sense of the word for x < 0? Look a little more closely at my hint.

It would be good to be more precise in your writing. When you say "it has to be continuous", what is the it?

Then you say prove it is less than 1/n. To what does that it refer? Is it the same "it"? A different "it"? It would be best not to use the pronoun "it" at all. Use the symbol(s) in question; it will help you to keep your thinking straight.

Anyway, answer the question of what is supposed to be less than 1/n. Then just calculate it once you have all the formulas.
 
Last edited:
  • #6
Well, fn gets 'close' to f in the sense that their difference is small... except for right in the center region? Hmm I am not sure if you are trying to hint at the fact i have chosen an incorrect form for fn or just trying to make me understand why it is correct...

Lets assume its the latter for a moment, then here is a new attempt at the solution.

We have the function:
[tex]f(x) = \left\{
\begin{array}{lc}
e^{-x} &x>0\\
0 &x\leq 0
\end{array}
\right.
[/tex]
Now define the function:
[tex]f_n(x) = \left\{
\begin{array}{lc}
e^{-x} &x>0\\
nx+1 & -\frac{1}{n}<x\leq0\\
0 &x\leq-\frac{1}{n}
\end{array}
\right.
[/tex]
This function is continuous for any finite n, and additionally [tex]\lim_{n\rightarrow\infty}f_n(x)=f(x)[/tex]
We can then take the pointwise difference between these two functions to get the new function [tex]g(x)=f_n(x)-f(x)[/tex] which we find to be
[tex]
g(x)=\left\{
\begin{array}{lc}
0 &x>0\\
nx+1 & -\frac{1}{n}<x\leq0\\
0 &x\leq-\frac{1}{n}
\end{array}
\right.
[/tex]
This function is square integrable, so we can find the value of [tex]||g(x)||[/tex] by performing the following integral,
[tex]||g(x)||=\int_{-\infty}^{\infty} g(x)^2dx=\int_{-\infty}^{-\frac{1}{n}}0dx+\int_{-\frac{1}{n}}^{0}(nx+1)^2dx+\int_{0}^{\infty}0dx[/tex]
Two of the three integrals vanish everywhere, and we are left with the center integral,
[tex]
\begin{array}{lcl}
\int_{-\frac{1}{n}}^{0}(nx+1)^2dx&=&\int_{-\frac{1}{n}}^{0}(n^2x^2+2nx+1)dx\nonumber\\
&=&\frac{n^2}{3}x^3+nx^2+x|_{-1/n}^{0}\nonumber\\
&=&-(\frac{n^2}{3}(-\frac{1}{n})^3+n(-\frac{1}{n})^2+(-\frac{1}{n}))\nonumber\\
&=&-(\frac{-1}{3n}+\frac{1}{n}-\frac{1}{n})\nonumber\\
&=&\frac{1}{3n}
\end{array}
[/tex]


Then [tex]||g(x)||=||f_n(x)-f(x)||<1/n[/tex] for all [tex]x[/tex] and [tex]n[/tex]. Hence we have found a sequence of functions that produces the desired results and converges to the original function in the limit as [tex]n\rightarrow\infty[/tex]

Though my problem with this is that the difference between f and fn grows with increasing n, yet the interval where this difference is occurring gets smaller and smaller... so overall the difference is still small. Something feels funny about my logic here which usually means its wrong.
 
Last edited:
  • #7
The difference between f and fn actually decreases at every single point in this example. The center region is a line going from the value (-1/n) on the x-axis to the value 1 on the y-axis. So if you pick any negative x value, eventually it's to the left of -(1/n) and f(x) and fn(x) match up perfectly.

Your post looks pretty good. Two points:
1) in your original post, you had f(x)=x for negative x, and now it's zero. It doesn't really make a difference in the analysis, but make sure you use the right one when turning in your homework!

2) You state
[tex]
\lim_{n \rightarrow \infty} f_n(x)=f(x)
[/tex]

in your post far before you've proven it. You realize that this:

[tex] \lim_{n \rightarrow \infty} ||f_n(x) - f(x)|| = 0[/tex]

is the definition of [tex]
\lim_{n\rightarrow\infty}f_n(x)=f(x)
[/tex]
right? So even though at first glance it seems kind of obvious that the limit holds, you do need to do the calculations to make that conclusion
 
  • #8
Office_Shredder said:
The difference between f and fn actually decreases at every single point in this example. The center region is a line going from the value (-1/n) on the x-axis to the value 1 on the y-axis. So if you pick any negative x value, eventually it's to the left of -(1/n) and f(x) and fn(x) match up perfectly.

Essentially the x-intercept gets closer and closer to zero as n grows so the functions eventually match up?

Your post looks pretty good. Two points:
1) in your original post, you had f(x)=x for negative x, and now it's zero. It doesn't really make a difference in the analysis, but make sure you use the right one when turning in your homework!

Oops! the correct definition is f(x)=0 for x<0 thanks for pointing that out.

2) You state
[tex]
\lim_{n \rightarrow \infty} f_n(x)=f(x)
[/tex]

in your post far before you've proven it. You realize that this:

[tex] \lim_{n \rightarrow \infty} ||f_n(x) - f(x)|| = 0[/tex]

is the definition of


[tex]
\lim_{n\rightarrow\infty}f_n(x)=f(x)
[/tex]
right? So even though at first glance it seems kind of obvious that the limit holds, you do need to do the calculations to make that conclusion

Hmm, I see what you mean, I will add that in. Thank you for the help!
 
Last edited:
  • #9
keniwas said:
Essentially the x-intercept gets closer and closer to zero as n grows so the functions eventually match up?



Oops! the correct definition is f(x)=0 for x<0 thanks for pointing that out.

Are you saying your original post had f(x) wrong for x < 0? Because what you have done won't work with your original statement.
 
  • #10
Yes the original post was incorrect the right form of f(x) is

[tex]f(x) = \left\{ \begin{array}{lr} e^{-x} & x>0\\
0 & x\leq 0 \end{array} \right.[/tex]

EDIT: In proving the last statement, it seems that the integrals would diverge as n goes to infinity? Well actually I am not sure how to treat an integral like
[tex]\int_{0}^{0} (\infty) dx[/tex]
which is what the integral seems to do as n grows to infinity.
 
Last edited:
  • #11
Mathematica gives me an output of 0 for the following function

Limit[Integrate[n*x, {x, -1/n, 0}], n -> \[Infinity]].

Which seems ok, but it seems weird that it would work that way. Are we performing the integration first then the limit? (This is clearly what mathematica does since the order of functional operations always starts from the center of the statement outwards) but is this mathematically correct?
 
  • #12
That is in fact correct (although your function should be nx+1, but you get the same value). I'll draw a couple pictures for you:
http://img21.imageshack.us/img21/3690/nx1u.jpg
 
Last edited by a moderator:
  • #13
Nice Picture =). I understand now, thank you for the help.

Yes I realized after I posted my last post that I hadn't included the + 1, but like you said the result is the same.

Thanks again!
 

FAQ: Constructing a Sequence of Continuous Functions in Hilbert Space

What is a Hilbert Space Sequence?

A Hilbert Space Sequence is a mathematical concept that describes an infinite sequence of vectors in a Hilbert space, which is a type of mathematical space that has both linear and metric properties. This sequence is commonly used in quantum mechanics and functional analysis.

What are the properties of a Hilbert Space Sequence?

A Hilbert Space Sequence has several key properties, including completeness, which means that every Cauchy sequence (a sequence in which the terms get closer and closer together) converges to a point within the space. It also has the property of being a separable space, meaning that it has a countable dense subset. Additionally, a Hilbert Space Sequence is a vector space with an inner product that satisfies certain conditions.

How are Hilbert Space Sequences used in quantum mechanics?

In quantum mechanics, Hilbert Space Sequences are used to describe the state of a quantum system. The vectors in the sequence represent possible states of the system, and the inner product between two vectors represents the probability amplitude of transitioning from one state to another. This allows for the calculation of probabilities for various outcomes of a quantum measurement.

What is the difference between a Hilbert Space Sequence and a Hilbert Space?

A Hilbert Space Sequence is an infinite sequence of vectors within a Hilbert Space, while a Hilbert Space is the mathematical space in which the sequence exists. A Hilbert Space can contain many different sequences, each with its own set of properties and characteristics.

What are some applications of Hilbert Space Sequences?

In addition to being used in quantum mechanics, Hilbert Space Sequences have applications in signal processing, image recognition, and data compression. They are also used in functional analysis to study the properties of various mathematical spaces and to prove theorems. In physics, Hilbert Space Sequences are used to model certain physical systems, such as the behavior of electrons in a solid state material.

Similar threads

Replies
4
Views
1K
Replies
5
Views
2K
Replies
18
Views
2K
Replies
1
Views
1K
Replies
43
Views
4K
Replies
19
Views
902
Back
Top