If $f\in L(X,\mathcal{x},\mu)$, that is:
$f\colon X\to R$ is measurable;
$\int f^+\,d\mu<+\infty$ and $\int f^-\,d\mu<+\infty$;
$\int f\,d\mu=\int f^+\,d\mu-\int f^-\,d\mu$.
If $g\colon X\to R$ is measurable and $f=g$ $\mu$-almost everywhere, I need to show that $\int g^+\,d\mu<+\infty$.
Any thoughts?
Note: The integral of a non-negative measurable function $h$ is defined as
$$\int h\,d\mu=\text{sup}\left\{\int\phi\,d\mu: 0\le\phi\le h\right\},$$
where $\phi$ is a simple measurable function.
Hint: let $E=\{x:f(x)=g(x),x\in X\}$. Then,
$$\int g d\mu = \int_E gd\mu+\int_{E^c}g d\mu$$
Show that the second integral must be zero, and you're set.
Alternate hint: try to show that $\int f=\int g$ iff $\int \vert f-g\vert =0$.