- #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...