Suppose $(e_1,\cdots, e_m)$ is an orthonormal basis in $V$. Let $v \in V$ . Prove that $\|v\|^2= |\langle v, e_1 \rangle |^2 + \cdots + | \langle v, e_m\rangle |^2$
Let $v\in V$ and $(e_1,e_2,\cdots,e_m )$ be an orthonormal basis in $V$. Then $v\in \operatorname{span} (e_1,e_2,\cdots,e_m )$. So, there exist $a_i\in F$ where $i=1,2,\cdots,m$ such that $$v=a_1e_1+a_2e_2+\cdots+a_me_m$$ Since $(e_1,e_2,\cdots,e_m )$ is linear independent, this implies each $a_i=0$, thus $$\|v\|^2=\sum_{i=1}^m |\langle v,e_i\rangle |^2 $$
I don't understand why: $(e_1,e_2,\cdots,e_m )$ is linearly independent implies $$\|v\|^2=\sum_{i=1}^m |\langle v,e_i\rangle |^2 $$
can anyone why explain it to me? thanks
Hint : The scalar products $e_ie_j$ vanish for $i\ne j$, if $e_1,...e_n$ is a orthogonal basis.
The linear independence is not sufficient for the given equality.