[step:Factor the moment generating function using independence]
Let $(\Omega,\mathcal F,\mathbb P)$ denote the underlying probability space on which the random variables $X_1,\dots,X_n$ are defined. Fix $\lambda\in\mathbb R$. For each $i\in\{1,\dots,n\}$, define the non-negative [random variable](/page/Random%20Variable) $Y_{\lambda,i}:\Omega\to[0,\infty)$ by
\begin{align*}
Y_{\lambda,i}(\omega)=e^{\lambda X_i(\omega)}.
\end{align*}
Since $Y_{\lambda,i}$ is a Borel measurable function of $X_i$, the random variables $Y_{\lambda,1},\dots,Y_{\lambda,n}$ are independent. The hypothesis gives
\begin{align*}
\mathbb E[Y_{\lambda,i}]=\mathbb E[e^{\lambda X_i}]\le \exp\left(\frac{\sigma_i^2\lambda^2}{2}\right)<\infty.
\end{align*}
Since $S_n=\sum_{i=1}^n X_i$, the exponential identity gives
\begin{align*}
\mathbb E[e^{\lambda S_n}]=\mathbb E\left[\prod_{i=1}^n e^{\lambda X_i}\right].
\end{align*}
We use the finite product expectation identity for independent integrable random variables, and include the verification for the present variables.
[claim:Factor expectations for the independent exponential variables]
For every $k\in\{1,\dots,n\}$,
\begin{align*}
\mathbb E\left[\prod_{i=1}^k Y_{\lambda,i}\right]=\prod_{i=1}^k\mathbb E[Y_{\lambda,i}].
\end{align*}
[/claim]
[proof]
The case $k=1$ is the identity $\mathbb E[Y_{\lambda,1}]=\mathbb E[Y_{\lambda,1}]$. For $k=2$, independence gives the identity first for indicator functions of Borel sets, then for non-negative simple functions by linearity. For the non-negative integrable variables $Y_{\lambda,1}$ and $Y_{\lambda,2}$, choose non-negative simple functions $U_m:\Omega\to[0,\infty)$ and $V_m:\Omega\to[0,\infty)$ such that $U_m\uparrow Y_{\lambda,1}$ and $V_m\uparrow Y_{\lambda,2}$ pointwise. Applying the simple-function identity to $U_m$ and $V_m$, and then passing to the limit using continuity of expectation from below, gives the two-variable identity for $Y_{\lambda,1}$ and $Y_{\lambda,2}$. For the induction step, assume the identity holds for $k-1$. The random vector $(Y_{\lambda,1},\dots,Y_{\lambda,k-1})$ is independent of $Y_{\lambda,k}$ because $Y_{\lambda,1},\dots,Y_{\lambda,k}$ are independent. Applying the two-variable identity to $\prod_{i=1}^{k-1}Y_{\lambda,i}$ and $Y_{\lambda,k}$ gives
\begin{align*}
\mathbb E\left[\prod_{i=1}^k Y_{\lambda,i}\right]
=\mathbb E\left[\prod_{i=1}^{k-1}Y_{\lambda,i}\right]\mathbb E[Y_{\lambda,k}].
\end{align*}
Using the induction hypothesis on the first factor gives
\begin{align*}
\mathbb E\left[\prod_{i=1}^k Y_{\lambda,i}\right]
=\prod_{i=1}^k\mathbb E[Y_{\lambda,i}].
\end{align*}
[/proof]
Applying the claim with $k=n$ gives
\begin{align*}
\mathbb E[e^{\lambda S_n}]=\prod_{i=1}^n \mathbb E[e^{\lambda X_i}].
\end{align*}
[/step]