[guided]Now we check the actual definition of absolute continuity. Let $n\in\mathbb N$, and let $(x_j,y_j)_{j=1}^n$ be a finite family of pairwise disjoint subintervals with endpoints in $[a,b]$, where $x_j<y_j$ for each $j$, and suppose that their total length satisfies
\begin{align*}
\sum_{j=1}^n (y_j-x_j)<\delta.
\end{align*}
The function $g$ is defined as an $L^1$ function on the open interval $(a,b)$, so endpoint values at $a$ and $b$ are irrelevant. To express all increments using sets inside the [measure space](/page/Measure%20Space) $(a,b)$, define
\begin{align*}
E=\bigcup_{j=1}^n \bigl((x_j,y_j)\cap(a,b)\bigr).
\end{align*}
This set belongs to $\mathcal B((a,b))$ because it is a finite union of Borel subsets of $(a,b)$. Since the intervals are pairwise disjoint, the sets $(x_j,y_j)\cap(a,b)$ are also pairwise disjoint. Therefore finite additivity of Lebesgue measure gives
\begin{align*}
\mathcal L^1(E)=\sum_{j=1}^n \mathcal L^1\bigl((x_j,y_j)\cap(a,b)\bigr).
\end{align*}
For each $j$, removing or adding endpoints does not change one-dimensional Lebesgue measure, so
\begin{align*}
\mathcal L^1\bigl((x_j,y_j)\cap(a,b)\bigr)\leq y_j-x_j.
\end{align*}
Thus
\begin{align*}
\mathcal L^1(E)\leq \sum_{j=1}^n (y_j-x_j)<\delta.
\end{align*}
For each interval, the preceding increment computation gives
\begin{align*}
|f(y_j)-f(x_j)|\leq \int_{(x_j,y_j)\cap(a,b)} |g(t)|\,d\mathcal L^1(t).
\end{align*}
Summing this inequality over $j\in\{1,\dots,n\}$ gives
\begin{align*}
\sum_{j=1}^n |f(y_j)-f(x_j)|\leq \sum_{j=1}^n \int_{(x_j,y_j)\cap(a,b)} |g(t)|\,d\mathcal L^1(t).
\end{align*}
Because $|g|$ is nonnegative and the measurable sets $(x_j,y_j)\cap(a,b)$ are pairwise disjoint, finite additivity of the Lebesgue integral over disjoint measurable sets yields
\begin{align*}
\sum_{j=1}^n \int_{(x_j,y_j)\cap(a,b)} |g(t)|\,d\mathcal L^1(t)=\int_E |g(t)|\,d\mathcal L^1(t).
\end{align*}
Finally, the construction of $\delta$ applies because $\mathcal L^1(E)<\delta$, so
\begin{align*}
\int_E |g(t)|\,d\mathcal L^1(t)<\varepsilon.
\end{align*}
Combining the last three displays gives
\begin{align*}
\sum_{j=1}^n |f(y_j)-f(x_j)|<\varepsilon.
\end{align*}
This is precisely the required estimate in the definition of absolute continuity.[/guided]