[step:Compute the Hodge Laplacian energy identity]Let $(\cdot,\cdot)_{L^2}$ denote the Hermitian $L^2$ inner product on complex-valued forms induced by $g$, linear in the first argument and conjugate-linear in the second. Thus, for smooth complex-valued $r$-forms $\beta,\gamma\in A^r(M;\mathbb C)$,
\begin{align*}
(\beta,\gamma)_{L^2}:=\int_M h_g(\beta,\gamma)(x)\,dV_g(x),
\end{align*}
where $h_g$ is the pointwise Hermitian inner product on $\Lambda^rT^*M\otimes_{\mathbb R}\mathbb C$ and $dV_g$ is the Riemannian volume measure.
Since $M$ is compact and has no boundary, the formal adjoint $d^*$ is characterized by
\begin{align*}
(d\eta,\theta)_{L^2}=(\eta,d^*\theta)_{L^2}
\end{align*}
for every pair of smooth forms $\eta$ and $\theta$ of compatible degrees. Applying this identity first with $\eta=\alpha$ and $\theta=d\alpha$, and then with $\eta=d^*\alpha$ and $\theta=\alpha$, gives
\begin{align*}
(\alpha,d^*d\alpha)_{L^2}=(d\alpha,d\alpha)_{L^2}.
\end{align*}
Also,
\begin{align*}
(d^*\alpha,d^*\alpha)_{L^2}=(dd^*\alpha,\alpha)_{L^2}.
\end{align*}
Because $(d^*\alpha,d^*\alpha)_{L^2}$ is real, this last equality implies
\begin{align*}
(\alpha,dd^*\alpha)_{L^2}=(d^*\alpha,d^*\alpha)_{L^2}.
\end{align*}
Therefore, using $\Delta_d=d^*d+dd^*$,
\begin{align*}
(\alpha,\Delta_d\alpha)_{L^2}=\|d\alpha\|_{L^2}^2+\|d^*\alpha\|_{L^2}^2.
\end{align*}[/step]