How is the Definition of Angle in Linear Algebra Derived?

danne89
Messages
180
Reaction score
0
Hi! I cannot get this definition of angle a:
cos a = u * v / (||u|| * ||v||)
and how it match up with
u * v = ||u|| * ||v|| * cos a
 
Physics news on Phys.org
What do you mean you don't get it...?

\vec{u}\cdot\vec{v}=\left|\left|\vec{u}\right|\right| \cdot \left|\left|\vec{v}\right|\right| \cos\alpha

is the expression of the scalar product of 2 vectors,when you know their modulus & the angle between their directions...

Daniel.
 
From cos(\alpha) = \frac{u\bullet v}{|u||v|}

To {cos(\alpha)|u||v| = u\bullet v

Just multiply both sides by |u||v|
 
whozum said:
From cos(\alpha) = \frac{u\bullet v}{|u||v|}

To {cos(\alpha)|u||v| = u\bullet v

Just multiply both sides by |u||v|

I'm sure there's something devious in your post... :rolleyes:


Daniel.

EDIT:Not anymore,you edited it... :wink:
 
:-D

I switched the wrong quantity, I always do that with latex.
 
Hmm. I formulated me quite wrong. How come, if u = (x1, y1), v = (x2, y2), u * v = x1x2 + y1y2 = ||v|| ||u|| cos a
 
there are two formulas for scalar product:

1- *[v] = xx' + yy' where (x,y) and [v](x',y')

2- *[v] = u*v*cos(,[v])

they usually give you in exercises the coordinates of the two vectors and ask you to find their angle
 
But, indeed, I've concluded from MathWorld, which I should have checked out right the way of cource, there's not two definition of the dot product. One can from the definition involving cosinus derive the other one, which strangely Schamu's Outline of Linear Algebra state is The definition. Only for complicate the matter in my limit brain, they also define angle as cos a = u * v / (||u|| ||v||). So I'm not as mad you may think I am.
 
  • #10
Well, if you approach it from the perspective of vector spaces (as you probably are in your linalg course), then you usually define a vector space with an inner product to be a vector space V/\mathbb{R} with an operation ( , ): V\times V \longrightarrow \mathbb{R} such that \forall \ a, b, c \in V and x \in \mathbb{R},

1. (a, b) = (b, a)
2. (b + c, a) = (b, a) + (c, a)
3. (xa, b) = x(a, b)
4. (a, a) is definite positive, ie. (a, a)\geq 0 with equality iff a = 0.

We then define

\|a\| = \sqrt{(a, a)}

which we call the magnitude or length or modulus of a.

Now say we choose a, b such that \|a\| =\|b\| = 1. Then

(a-b, a-b) = (a, a) - 2(a, b) + (b, b) = \|a\|^2 - 2(a, b) + \|b\|^2 \geq 0

with the last inequality by 4., so

-2(a, b) \geq -\|a\|^2 - \|b\|^2 = -1^2 - 1^2 = -2 = -2\|a\|\|b\|

\Longrightarrow (a, b) \leq \|a\|\|b\|

and thus for any c, d[/itex] we note that<br /> <br /> \biggr\|\frac{c}{\|c\|}\biggr\| = \biggr\| \frac{d}{\|d\|} \biggr\| = 1<br /> <br /> and so by the previous argument,<br /> <br /> \frac{(c, d)}{\|c\|\|d\|} = \left(\frac{c}{\|c\|}, \frac{d}{\|d\|}\right) \leq \biggr\|\frac{c}{\|c\|}\biggr\|\biggr\|\frac{d}{\|d\|}\biggr\| = \frac{\|c\|\|d\|}{\|c\|\|d\|}<br /> <br /> \Longrightarrow (c, d) \leq \|c\| \|d\| \; \forall c, d \in V<br /> <br /> which is the well-known <b>Cauchy-Schwarz inequality</b>.<br /> <br /> From here, we very simply <i>define</i> that<br /> <br /> (c, d) = \|c\|\|d\| \cos{\theta}<br /> <br /> it&#039;s just like any other definition you ever will encounter. You can then derive all the properties of the \cos function.
 
Last edited:
Back
Top