Math 40 Lecture 1: Vectors and The Dot Product: Question 1. Given Two Points (X
Math 40 Lecture 1: Vectors and The Dot Product: Question 1. Given Two Points (X
DAGAN KARP
Our goal in this course is to begin a study of the beautiful world of the linear linear
objects, linear operators, their algebra and even their geometry. Said differently, we hope
to study some of the algebraic properties of Rn .
The real numbers have a familiar algebraic structure. Given two real numbers a and b,
we understand a + b, a b, a b and a/b (so long as b 6= 0 for the latter).
Question 1. Given two points (x1 , x2 , . . . , xn ) and (y1 , y2 , . . . , yn ) in Rn , can I add them? Can
I multiply them?
The answer is yes! Sort of. Well, kind of. We really need to work this out in some detail.
To have this discussion its useful to build some additional terminology. Lets begin with
vectors.
Definition 1. A vector ~v in Rn is simply a point in Rn .
Remark 2. We denote the components of ~v by ~v = (v1 , v2 , v3 , . . . vn ). In other words, a
vector in Rn is a string of n real numbers.
Why in the world do we call them vectors instead of points? Well, one answer is geometric. I think of points as zero dimensional geometric objects. The point (1, 2, 3) R3 is
just a dot, sitting at the location (1, 2, 3). However, I think of the vector (1, 2, 3) as an arrow
starting at the origin, ending at (1, 2, 3). This vector has magnitude and direction.
z
y
x
F IGURE 1. The green point p = (1, 2, 3) and the grey vector ~v = (1, 2, 3).
Adding two vectors seems easy enough. We simply add componentwise. If a
~ =
~
(a1 , . . . , an ) and b = (b1 , . . . , bn ), then
a
~ + ~b = (a1 + b1 , . . . , an + bn ).
Date: January 17, 2012.
These are lecture notes for HMC Math 40: Introduction to Linear Algebra and roughly follow our course
text Linear Algebra by David Poole.
1
~v w
~ =w
~ ~v
~u (~v + w
~ ) = ~u ~v + ~u w
~
(c~u) ~v = c(~u ~v)
~u ~u > 0 and ~u ~u = 0 if and only if ~u = 0
So, this is the dot product. Hooray! Why should we care about it? Is it useful? Does it
yield any information?
Definition 10. The length of ~v is defined by
q
~u ~v
~v
~u