[step:Compute the Chern character after splitting into line bundles]
We now use the splitting principle for complex vector bundles, stated here as the standard prerequisite that there exists a smooth manifold $Y$ and a smooth map
\begin{align*}
s:Y\to M
\end{align*}
such that the induced pullback homomorphism
\begin{align*}
s^*:H_{\mathrm{dR}}^*(M;\mathbb C)\to H_{\mathrm{dR}}^*(Y;\mathbb C)
\end{align*}
is injective and such that the pulled-back complex vector bundle $s^*E\to Y$ admits a complex vector bundle isomorphism
\begin{align*}
s^*E\cong L_1\oplus\cdots\oplus L_r
\end{align*}
for smooth complex line bundles $L_1,\dots,L_r\to Y$. For each $j\in\{1,\dots,r\}$, let $c_1(L_j)\in H_{\mathrm{dR}}^2(Y;\mathbb C)$ denote the first Chern class of the complex line bundle $L_j\to Y$, and define
\begin{align*}
y_j:=c_1(L_j)\in H_{\mathrm{dR}}^2(Y;\mathbb C).
\end{align*}
By [naturality of Chern classes](/theorems/9771) under pullback, as in [citetheorem:9771], and by the [Whitney product formula for Chern classes](/theorems/7052) of the split bundle,
\begin{align*}
s^*c(E)=c(s^*E)=\prod_{j=1}^r(1+y_j).
\end{align*}
Equivalently, the elementary symmetric polynomial $e_k(y_1,\dots,y_r)$ equals $s^*c_k(E)$ for every $k\in\{0,\dots,r\}$.
Choose smooth complex-linear connections $\nabla^{L_j}$ on $L_j$, and equip $s^*E\cong\bigoplus_{j=1}^rL_j$ with the direct-sum connection
\begin{align*}
\nabla^\oplus:=\nabla^{L_1}\oplus\cdots\oplus\nabla^{L_r}.
\end{align*}
Its curvature is block diagonal:
\begin{align*}
F_{\nabla^\oplus}=F_{\nabla^{L_1}}\oplus\cdots\oplus F_{\nabla^{L_r}}.
\end{align*}
Since the trace of a block diagonal endomorphism is the sum of the traces of its blocks,
\begin{align*}
\operatorname{ch}(s^*E,\nabla^\oplus)
=
\sum_{j=1}^r \operatorname{ch}(L_j,\nabla^{L_j}).
\end{align*}
For a line bundle $L_j$, the curvature $F_{\nabla^{L_j}}\in\Omega^2(Y;\operatorname{End}(L_j))$ acts by a scalar-valued $2$-form, so
\begin{align*}
\operatorname{ch}(L_j,\nabla^{L_j})
=
\exp\left(\frac{F_{\nabla^{L_j}}}{2\pi i}\right).
\end{align*}
By the [Chern-Weil construction of Chern classes](/theorems/9769), as in [citetheorem:9769], the normalization of the first Chern form identifies
\begin{align*}
c_1(L_j)=\left[\frac{F_{\nabla^{L_j}}}{2\pi i}\right]\in H_{\mathrm{dR}}^2(Y;\mathbb C).
\end{align*}
Therefore, passing to cohomology and using the multiplicative definition of the exponential of an even cohomology class,
\begin{align*}
\operatorname{ch}(L_j)
=
\left[\exp\left(\frac{F_{\nabla^{L_j}}}{2\pi i}\right)\right]
=
\exp(c_1(L_j))
=
e^{y_j}.
\end{align*}
Thus
\begin{align*}
\operatorname{ch}(s^*E)=\sum_{j=1}^r e^{y_j}.
\end{align*}
[/step]