let ${f_k}$ be a sequence of integrable functions on $[a,b]$ that converges in pointwise to $f$ and converges in mean to $g$. If $f$ and $g$ are continuous, then f = g. The 'convergence in mean' means, $\lim_{k\to \infty}\int_{a}^{b} [f_k(x) - g(x)]^2 dx = 0$ .
I tried to show that, if there exists some point $x_0$ s.t $f(x_0) \neq g(x_0)$, then on some neighborhood of $x_0$, $f_k-g$ is being uniformly nonzero, so that the value of integration can't be 0, so that $f_k$ can't converge in mean to $g$.
However, I couldn't prove this way, since and $f_k$ is integrable, but not provided that $f_k$ is continuous.
Am I trying in a correct way? give me any idea please. (This question is from elementary analysis textbook, so please assume that properties about $L_2$ convergence or almost everywhere convergence is not known)