Let V be an inner product space over $\mathbb{R}$ with inner product ⟨ , ⟩. Let $L:V\rightarrow\mathbb{R}$ be a linear transformation.
Show that there is a $\vec{u}\in{V}$ such that $L(\vec{x}) = ⟨\vec{x},\vec{u}⟩$ $ \forall\vec{x}\in{V}$
I'm not sure how inner product spaces relate to linear transformations so I'm quite confused with this question.
Steps (hints):
1.- Choose an orthonormal basis $\;\{u_1,...,u_n\}\;$ of $\;V\;$ (why is there such a basis?)
2.- Show that
$$\forall\,x\in V\;,\;\;x=\sum_{k=1}^n\langle x,u_k\rangle u_k$$
3.- Let now
$$u:=\sum_{k=1}^n\,L(u_k)u_k.\;\;\text{Show that} \;\;Lx=\langle x,u\rangle\;,\;\;\forall\,x\in V$$
4.- (Extra, as this wasn't asked by you). Prove the above such $\;u\;$ is unique