keniwas
- 57
- 1
Homework Statement
Let f(x) be the discontinuous function
f(x)=e^{-x},\text{for }x>0
f(x)=x,\text{for }x\leq 0
Construct explicitly a sequence of functions f_n(x), such that
||f_n(x)-f(x)||<\frac{1}{n},
and f_n(x) is a continuous function of x, for any finite n. Here ||\;|| represents the metric in the Hilbert space of square-integrable functions on the line, -\infty<x<\infty. By construction, under this metric \lim_{n\rightarrow\infty}f_n=f.
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...