[guided]Having established the coordinate formula $v = \sum_{i=1}^n \langle v, u_i \rangle\, u_i$, we now derive the norm identity. We need to compute $\|v\|^2 = \langle v, v \rangle$.
One approach is to expand $\langle v, v \rangle$ directly using bilinearity, which produces a double sum. A cleaner approach is to observe that the summands $w_i := \langle v, u_i \rangle\, u_i$ are pairwise orthogonal, and then invoke the [Pythagorean Theorem](/theorems/3266).
To verify pairwise orthogonality: for $i \neq j$,
\begin{align*}
\langle w_i, w_j \rangle &= \langle \langle v, u_i \rangle\, u_i,\, \langle v, u_j \rangle\, u_j \rangle = \langle v, u_i \rangle \langle v, u_j \rangle \langle u_i, u_j \rangle = 0,
\end{align*}
where we used bilinearity to extract the scalar factors and orthonormality to conclude $\langle u_i, u_j \rangle = 0$ for $i \neq j$.
The [Pythagorean Theorem](/theorems/3266) for $k = n$ pairwise orthogonal vectors states $\|\sum_{i=1}^n w_i\|^2 = \sum_{i=1}^n \|w_i\|^2$. We verify the hypothesis: the vectors $w_1, \ldots, w_n$ are pairwise orthogonal as just shown. Applying the theorem:
\begin{align*}
\|v\|^2 &= \left\|\sum_{i=1}^n w_i\right\|^2 = \sum_{i=1}^n \|w_i\|^2 = \sum_{i=1}^n \|\langle v, u_i \rangle\, u_i\|^2.
\end{align*}
Each term simplifies using the homogeneity of the norm ($\|\alpha u\| = |\alpha| \cdot \|u\|$ for $\alpha \in \mathbb{R}$) and the fact that $\|u_i\| = 1$:
\begin{align*}
\|\langle v, u_i \rangle\, u_i\|^2 &= |\langle v, u_i \rangle|^2 \cdot \|u_i\|^2 = \langle v, u_i \rangle^2 \cdot 1 = \langle v, u_i \rangle^2.
\end{align*}
(We wrote $|\langle v, u_i \rangle|^2 = \langle v, u_i \rangle^2$ since $\langle v, u_i \rangle \in \mathbb{R}$.) Therefore
\begin{align*}
\|v\|^2 &= \sum_{i=1}^n \langle v, u_i \rangle^2,
\end{align*}
which is Parseval's identity. This says the squared norm of a vector equals the sum of squares of its coordinates in any orthonormal basis -- a fact that generalises the familiar Euclidean formula $\|x\|^2 = x_1^2 + \cdots + x_n^2$.[/guided]