In my physics textbook (but I consider this to be a matter of linear algebra) there is a chapter about vectors.
In this chapter I've found the following sentence: "If we know the dot product between the basis vectors, then we know the dot product between two arbitrary vectors". I don't understand the proof. The proof is given by writing out algebraically what the dot product between two vectors is (a sum with 6 components, where 3 components dissapear because the basis vectors of those components are orthogonal). Can somebody explain this sentence to me? I know this formula of the dot product between two vectors $\vec{A}, \vec{B}$: $\vec{A}\cdot\vec{B}$ $=\mid \vec{A}\mid\mid\vec{B}\mid \cos \theta$. To be clear: $\mid \vec{R}\mid$ denotes the length of a vector $\vec{R}$ and $\theta$ is the angle between $\vec{A}$ and $\vec{B}$.
Extra_1: this is a first year's course in mechanics and I haven't seen the dot product (yet) in my linear algebra course.
Thanks in advance.
If you have the standard basis vectors $e_1,\cdots,e_n$ for the vector space $V$, then given any vector $x,y \in V$, you can find a unique set of $\alpha_i, \beta_i$ such that $$ x = \sum_{i=1}^n \alpha_i e_i \qquad y = \sum_{i=1}^n \beta_i e_i $$ Then from the definition of the inner product, assuming we are working over the complex numbers, we can write $$ \langle x,y \rangle = \sum_{i,j=1}^n \alpha_i \overline{\beta_i} \langle e_i , e_j\rangle $$ The dot product $\langle x,y \rangle := x \cdot y$ is an example of an inner product, and it satisfies (by definition) the identities $$\begin{align*} \langle \alpha x, y \rangle &= \alpha \langle x,y \rangle \\ \langle x, \alpha y \rangle &= \overline{\alpha} \langle x,y \rangle \\ \langle x+y,z \rangle &= \langle x,z \rangle + \langle y,z\rangle \\ \langle x, y \rangle &= \overline{ \langle y,x \rangle } \end{align*} $$
But in short:
Or in reverse: