I'm trying to solve a problem from an old exam which investigates the construction of functionals on $L^1(\mathbb R)$ and $L^\infty(\mathbb R)$ by extension of 'essential limit'. We say that $ess lim_{x\rightarrow 0} f(x)=\lambda$ if there is a function $g$ such that $lim_{x\rightarrow 0} g(x)=\lambda$ and $g=f$ $a.e.$ I'm trying to prove that there is a functional on $L^\infty (\mathbb R)$ which agrees with the essential limit at $0$ whenever it exists. The question also asks to show that such an extension is not possible for $L^1(\mathbb R)$.
I think the first part can be solved by using the Hahn-Banach theorem. But what subspace and functional should I take? I thought that we should prove that the space of functions for which essential limit exists is a linear subspace and the essential limit is a bounded by the limit. Does that work? Also, why doesn't this hold for $L^1(\mathbb R)$? I'd appreciate some help. Thank you.