23.07.2012 Views

Linear Algebra

Linear Algebra

Linear Algebra

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Section II. <strong>Linear</strong> Geometry of n-Space 39<br />

a result familiar from R 2 and R 3 , when generalized to arbitrary R k , supports<br />

the idea that a line is straight and a plane is flat. Specifically, we’ll see how to<br />

do Euclidean geometry in a “plane” by giving a definition of the angle between<br />

two R n vectors in the plane that they generate.<br />

2.1 Definition The length of a vector �v ∈ R n is this.<br />

��v � =<br />

�<br />

v 2 1 + ···+ v2 n<br />

2.2 Remark This is a natural generalization of the Pythagorean Theorem. A<br />

classic discussion is in [Polya].<br />

We can use that definition to derive a formula for the angle between two<br />

vectors. For a model of what to do, consider two vectors in R3 .<br />

�v<br />

Put them in canonical position and, in the plane that they determine, consider<br />

the triangle formed by �u, �v, and�u − �v.<br />

To that triangle, apply the Law of Cosines,<br />

��u − �v � 2 = ��u � 2 + ��v � 2 − 2 ��u ���v � cos θ<br />

where θ is the angle between �u and �v. Expand both sides<br />

(u1 − v1) 2 +(u2 − v2) 2 +(u3 − v3) 2<br />

and simplify.<br />

�u<br />

=(u 2 1 + u 2 2 + u 2 3)+(v 2 1 + v 2 2 + v 2 3) − 2 ��u ���v � cos θ<br />

θ = arccos( u1v1 + u2v2 + u3v3<br />

)<br />

��u ���v �<br />

In higher dimensions no picture suffices but we can make the same argument<br />

analytically. First, the form of the numerator is clear — it comes from the middle<br />

terms of the squares (u1 − v1) 2 ,(u2 − v2) 2 ,etc.<br />

2.3 Definition The dot product (or inner product, orscalar product) of two<br />

n-component real vectors is the linear combination of their components.<br />

�u �v = u1v1 + u2v2 + ···+ unvn

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!