Lecture 2 (Introduction To Vector Space)
Lecture 2 (Introduction To Vector Space)
Lecture 2 (Introduction To Vector Space)
Basic Mathematics
Mathematics Department
Contents
1 Vectors 1
1.1 Vectors from a geometric viewpoint. . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Addition and Subtraction of Vectors. . . . . . . . . . . . . . . . . . . . . . . 2
1.2.1 The Sum of Vectors: . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2.2 The Difference of Vectors: . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2.3 Scalar Multiple: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Vector Algebra Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3.1 Properties of Vector Operations . . . . . . . . . . . . . . . . . . . . . 4
1.4 Unit Vectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
The direction of the arrow specifies the direction of the vector, and length of arrow
describes its magnitude. The first point of the arrow is called the initial point of the
vector. The end point of the arrow is called terminal point.
We denote vectors in lower case boldface type, such as v or or non-bold italic type
−→
accented by a right arrow such as ~v or as AB where A is the initial point B is the terminal
point.
If the initial point of a vector is at the origin, the vector is said to be in standard
position. If the terminal point of a vector has coordinates (x, y, z, ) in standard position,
we call these coordinates the components of ~v and ~v = (x, y, z) is called the component
form of the vector ~v .
The length (magnitude) of a vector is also called its modulus or its norm and it is
written as |~v |.
Using Pythagoras’ theorem, we can show that the magnitude of a vector ~v = (x, y, z) in
the standard position is
p
|~v | = x2 + y 2 + y 2
A(x, y, z)
~v
O
y
1
Two vectors ~u and ~v are equal (equivalent) if they have the same length (magnitude) and
the same direction; we write ~u = ~v .
~u ~v
The vectors are said to be opposite if they have equal modulus but opposite directions;
it is written by ~u = −~v .
~u ~v
Two vectors are called collinear, if they lie on the same line or parallel lines.
If the initial and terminal points of a vector coincide, the vector has length zero; we call
this the zero vector and denote it by ~0.
The zero vector does not have a specific direction, so we will agree that it can be assigned
any convenient direction in a specific problem.
~u
~v
~u + ~v
Equivalently, ~u + ~v is also the diagonal of the parallelogram whose sides are ~u and ~v .
2
~u
~u + ~v
~v
~v ~v
~ = ~u − ~v
w ~ = ~u − ~v
w
~u ~u
k~v
k<0
~v
k~v
k>0
Addition: ~u + ~v = (u1 + v1 , u2 + v2 , u3 + v3 )
3
−→
Theorem 1.2. If the initial point of the vector is not at the origin, that is if AB is a vector
with initial point A(x1 , y1 , z1 ) and terminal point B(x2 , y2 , z2 ), then
−→
AB = (x2 − x1 , y2 − y1 , z2 − z1 ) and
−→ p
|AB| = (x2 − x1 )2 + (y2 − y1 )2 + (z2 − z1 )2
1. ~u + ~v = ~v + ~u
2. (~u + ~v ) + w
~ = ~u + (~v + w)
~
3. ~u + ~0 = ~u
4. ~u + (−~u) = ~0
5. 0~u = ~0
6. 1~u = ~u
7. k(l~u) = (kl)~u
These properties are readily verified using the definitions of vector addition and multi-
plication by a scalar.
In three dimensional space, the unit vectors along the axis are ~i = (1, 0, 0), ~j = (0, 1, 0)
and ~k = (0, 0, 1). The vectors ~i, ~j and ~k are called the base vectors of the 3-dimnensional
space.
4
It follows immediately that each vector in 3-dimensional space can be expressed uniquely
in terms of ~i,~j and ~k as follows:
~u = (x, y, z) = (x, 0, 0) + (0, y, 0) + (0, 0, z) = x(1, 0, 0) + y(0, 1, 0) + (0, 0, 1) = x~i + y~j + z~k
−→
So, for example, |AB| = (3, −3, 9) = 3~i − 3~j − 9~k.
Unit vectors can be found in any direction not only in the direction of the axis. The unit
vector ~v in the same direction ~u is
1
v= ~u
|~u|
Since 1 1
|~v | = ~u = |~u| = 1
|~u| |~u|
~u · ~v = u1 v1 + u2 v2
~u · ~v = u1 v1 + u2 v2 + u3 v3
5
2.3 Angle between vectors.
Suppose ~u and ~v are nonzero vectors in two or three dimensional space that are positioned
so their initial points coincide.
We define the angle between ~u and ~v to be the angle θ determined by the vectors that
satisfies the condition 0 ≤ θ ≤ π.
~v
~u ~u ~u
θ θ θ
θ
~v ~v ~u ~v
Theorem 2.2. If ~u and ~v are nonzero vectors in two dimensional space or three dimensional
space, and if θ is the angle between them, then
~u · ~v
cos θ =
|~u||~v |
Proof. Suppose that the vectors ~u, ~v and ~v −~u are positioned to form three sides of a triangle,
as shown here.
~v − ~u
~u
θ
~v
|~v −~u|2 = (~v −~u) · (~v −~u) = (~v −~u) ·~v − (~v −~u) ·~u = ~v ·~v −~u ·~v −~v ·~u +~u ·~u = |~v |2 − 2~v ·~u + |~u|2
Then,
|~v |2 + |~u|2 − 2|~v ||~u| cos θ = |~v |2 − 2~v · ~u + |~u|2
Which we can simplify and rewrite as
6
Finally,
~u · ~v
cos θ =
|~u||~v |
Example 2.2. Find the angle between the vector ~u = ~i − 2~j + 2~k and ~v = −3~i + 6~j + 2~k
Solution.
~u · ~v 1 · (−3) + (−2) · 6 + 2 · 2 −11 11
cos θ = =p p = =−
|~u||~v | 2 2 2 2
1 + (−2) + 2 · (−3) + 6 + 2 2 2 2·7 21
Thus, 11
θ = cos−1 − = 2.12 rad
21
~u
~u
~v
proj~v ~u ~v proj~v ~u
The vector projection of ~u onto a nonzero vector ~v is the vector determined by dropping
a perpendicular from endpoints of vector ~u to the line containing ~v . The notation for this
vector is
proj~v ~u (the vector projection of ~u onto ~v )
1. If the angle θ between ~u and ~v is acute, proj~v ~u has length |~u| cos θ and direction ~v /|~v |.
7
2. If θ is obtuse, cos θ < 0 and , proj~v ~u has length −|~u| cos θ has length and direction
−~v /|~v |.
In both cases,
~v |~u||~v | ~v ~u · ~v ~v ~u · ~v
proj~v ~u = (|~u| cos θ) · = cos θ · = · = · ~v
|~v | |~v | |~v | |~v | |~v | |~v |2
The number |~u| cos θ is called the scalar component of ~u in the direction of ~v (or
of ~u onto ~v ).
To summarize,
The vector projection of ~u onto ~v is the vector
~u · ~v
proj~v ~u = · ~v
|~v |2
Note that both the vector projection of ~u onto ~v and the scalar component of ~u onto ~v
depend only on the direction of the vector ~v and not its length (because we dot |~u| cos θ with
~v
|~v |
which is the direction of ~v ).
Example 2.3. Find the vector projection of ~u = 6~i + 3~j + 2~k onto ~v = ~i − 2~j − 2~k and the
scalar component of ~u in the direction of ~v .
Solution.
~u · ~v 6−6−4 ~ 4 9~ 8~
proj~v ~u = · ~v = · (i − 2~j − 2~k) = − ~i + j+ k
|~v |2 1+4+4 9 9 9
~u · ~v 6−6−4 4
|~u| cos θ = = √ = −√
|~v | 9 9
8
3 Cross Product of two vectors
3.1 Determinants
Definition 3.1. Determinant is a function that assigns numerical values to square arrays
of numbers.
Definition 3.2. If a1 , a2 , b1 , and b2 are real numbers, then we define a 2 × 2 determinant
by,
a1 a2
= a1 b2 − a2 b1
b1 b2
Example 3.1.
3 −2
4 1 = 3 · 1 − (−2) · 4 = 3 − (−8) = 11
2 × 2 determinants on the right side arise by deleting the first row and an appropriate
column the left side. The pattern is as follows:
a1 a2 a3 a1 a2 a3 a1 a2 a3 a1 a2 a3
b1 b2 b3 = a1 b1 b2 b3 −a2 b1 b2 b3 +a3 b1 b2 b3
c1 c2 c3 c1 c2 c3 c1 c2 c3 c1 c2 c3
Example 3.2.
1 −2 0
2 2 −4 = 1 2 −4 − (−2) 2 −4 + 0 2 2
−4 −1 3 −1 3 −4
3 −4 −1
= 1 · (−18) + 2 · 10 + 0 · (−14) = 2
Theorem 3.1.
a) If two rows of a determinant are the same, then the value of the determinant is 0.
b) Interchanging two rows in the array of a determinant multiplies its value by −1
9
3.2 Cross Product.
We define The cross product in three dimensional space.
Definition 3.4. If ~u = (u1 , u2 , u3 ) and ~v = (v1 , v2 , v3 ) are vectors in three dimensional space,
then the cross product ~u × ~v is the vector defined by
u2 u3 u1 u3 u1 u2
~u × ~v = ~i − ~ ~
v2 v3 v1 v3 j + v1 v2 k (3.2)
Or equivalently,
The right side of (3.2) has the same form as the right side of (3.1) Thus we can write
informally (3.2) as
~i ~j ~k
~u × ~v = b1 b2 b3 (3.3)
c1 c2 c3
However, this is just a mnemonic device and not a true determinant since the entries in
a determinant are numbers, not vectors.
1. ~u × ~v = −~v × ~u
2. ~u × (~v + w)
~ = (~u × ~v ) + (~u × w)
~
3. (~u + ~v ) × w
~ = (~u × w)
~ + (~v × w)
~
5. ~u × ~0 = ~0 × ~u = ~0
6. ~u × ~u = ~0
2. ~v × ~u
10
Solution.
3 −2 1 −2 1 3
1. ~u × ~v = ~i − ~ ~ ~ ~ ~
0 1 2 1 j + 2 0 k = 3i − 5j − 6k.
Note: Using the definition of the cross product we can easily prove that, nonzero vectors
~u and ~v are parallel if and only if ~u × ~v = 0.
~i × ~j = ~k ~j × ~k = ~i ~k × ~i = ~j
~j × ~i = −~k ~k × ~j = −~i ~i × ~k = −~j
~k ~j
~i
For example:
0 0 1 0 1 0
~i × ~j = ~ ~ ~
1 0 i − 0 0 j + 0 1 = k
~u × ~v = (u2 v3 − u3 v2 , u3 v1 − u1 v3 , u1 v2 − u2 v1 )
so that
11
Example 3.4. Find the vector that is orthogonal to both of the vectors ~u = (2, −1, 3) and
~v = (1, 4, −2).
Solution. According to the theorem 3.3, the vector ~u × ~v will be orthogonal to both ~u and ~v .
Then,
−1 3 2 3 2 −1
~u × ~v = ~i − ~ ~ ~ ~ ~ ~ ~ ~
4 −2 1 −2 j + 1 4 k = −14i − (−7)j + 7k = −14i + 7j + 7k
It can be proved that if ~u and ~v are nonzero and nonparallel vectors, the direction of
~u × ~v relative to ~u and ~v is determined by a right-hand rule. That is the fingers of the
right hand are cupped so they curl from ~u toward ~v in the direction of rotation that takes ~u
into ~v in less than 1800 , then the thumb will point in the direction of ~u × ~v
~u × ~v
~u
~v
The next theorem lists some more important geometric properties of the cross product.
Theorem 3.4. Let ~u and ~v are nonzero vectors in three dimensional space, and let θ be
the angle between these vectors when they are positioned so their initial points are coincide.
Then,
A = |~u × ~v |
b) Referring accompanying figure, the parallelogram that has ~u and ~v as adjacent sides,
then its area A is
A = (base)(altitude) = |~u||~v | sin θ = |~u × ~v |
~v
|~v |
|~v | sin θ
θ
|~u| ~u
Figure 5: Parallelogram
The scalar triple product is defined as the dot product of one of the vectors with the
cross product of the other two
Geometrical interpretation.
~ in R3 represent adjacent sides of a parallelepiped P with ~u, ~v , w
Let the vectors ~u, ~v , w ~
forming a right-handed system.
Recall that volume V of a parallelepiped P is the area of the base parallelogram times
the height h.
V =A·h
Using cross product A = |w
~ × ~v | = |w|
~ |~v | sin ϕ
h = |~u| cos θ
Therefore V = |w|
~ |~v | sin ϕ |~u| cos θ = |~u| · |w
~ × ~v | cos θ = |~u (~v × w)|
~ Geometrically, the
13
Figure 6: Mixed product
scalar triple product ~u · (~v × w)~ is the volume of the parallelepiped defined by the three
vectors given.
~ form a left-handed system ~u · (~v × w)
If ~u, ~v , w ~ = −V . So taking the absolute value of
the scalar triple product for any order of the adjacent sides will always give the volume.
Theorem. If vectors ~u, ~v , w ~ in R3 represent any three adjacent sides of a parallelepiped,
then the volume of the parallelepiped is
Properties
1. ~u · (~v × w)
~ = ~v · (w
~ × ~u) = w
~ · (~u × ~v )
2. u (~v × w)
~ = (~u × ~v ) · w
~
3. ~u (~v × w)
~ = −~u (w
~ × ~v )
4. if any two vectors in the scalar triple product are equal, then its value is zero
14
Example 1. Find the volume of the parallelepiped with adjacent sides ~u (2, 1, 3),
~ (1, 1, −2)
~v (−1, 3, 2), w
Solution:
2 1 3
~ = −1 3 2 = −28. So volume V = |−28| = 28.
~u · (~v × w)
1 1 −2
15