Cameron95 said:
Ok, so what is meant by the angle 'with respect to the inner product'?
That is
exactly the question that my post answered.
Cameron95 said:
Is it one of those things you must just accept is true, as I am having trouble visualising what is going on. Thanks for your responses.
It's just a definition, so there's nothing that you need to "accept as true", except that this is what the word "angle" means to a mathematician.
I'll try again. Forget about vector spaces for a second, and think about what you know about geometry in a plane (triangles and stuff). The
law of cosines implies that the angle θ between two vectors x and y in ##\mathbb R^2## satisfies the equality ##x\cdot y=|x||y|\cos\theta##. This is a theorem, not a definition.
Now let's think about vector spaces. What if the elements of the vector space are e.g. matrices or functions? What is the angle between
##\begin{pmatrix}1 & 0\\ 0 & 1\end{pmatrix}## and ##\begin{pmatrix}1 & 0\\ 0 & -1\end{pmatrix}##? What is the angle between two polynomials? Such questions don't make sense as long as there's no definition of "angle" that can be used to answer these questions. So the question is, is there something,
anything, that can be calculated from two arbitrary vectors x and y that somehow "deserves" to be called "the angle between x and y"?
The answer starts with the following observations:
* For all ##x,y\in\mathbb R^2##, we have ##x\cdot y=|x||y|\cos\theta##, where ##\theta## is the angle between x and y.
* The dot product on ##\mathbb R^2## is an inner product.
* The absolute value on ##\mathbb R^2## is a norm, and for all ##x\in\mathbb R^2##, we have ##|x|=\sqrt{x\cdot x}##.
* Let V be an arbitrary inner product space over ##\mathbb R##. The Cauchy-Schwarz inequality implies that for all ##x,y\in V##, we have $$-1\leq \frac{\langle x,y\rangle}{\|x\|\|y\|} \leq 1,$$ where ##\|x\|## is defined as ##\sqrt{\langle x,x\rangle}##. This means that there's a unique real number θ such that
$$\cos\theta=\frac{\langle x,y\rangle}{\|x\|\|y\|}.$$ The first observation tells us that when the inner product space is ##\mathbb R^2## with the standard inner product, this number
is the angle between the vectors. So if we're dealing with some inner product space where there
is no concept of angle yet, why not just
call this number "the angle between x and y"?
The only claim that you have to "accept as true" is that mathematicians have chosen to do this.