Chapter 1 Presentation
Chapter 1 Presentation
Vectors
Introduction
Vectors
Preliminaries-Fields
Vectors
Preliminaries-Fields
Addition is associative,
x + (y + z) = (x + y ) + z
for all x, y , z in F .
There is a unique element 0 (zero) in F such that x + 0 = x,
for every x in F .
For each element x in F there corresponds a unique element
−x also in F such that x + (−x) = 0.
Multiplication is commutative,
xy = yx
for all x and y in F .
Multiplication is associative,
x(yz) = (xy )z
for all x, y , z in F .
Vectors
Preliminaries-Fields
Vectors
Preliminaries-Cartesian Product of Sets
Vectors
Vector Spaces
Definition
A vector is an element of a vector space
Vectors
Vector Spaces
Vectors
Vector Spaces
Vectors
Vector Spaces
Vectors
Vector Space R2
Then this forms a vector space where the zero vector is given by
~0 = (0, 0) and the negative of a vector ~a is given by
−~a = −(a1 , a2 ) = (−a1 , −a2 ).
We refer to a1 and a2 as the components or coordinates of the
vector ~a.
Vectors
Vector Space R3
Vectors
Remark
Vectors
Norm on a Vector Space
Vectors
The Euclidean Norm
Definition
The Euclidean norm of a vector ~x = (x1 , x2 , ..., xn ) in Rn is
defined to be
q
||~x || = x12 + x22 + · · · + xn2
Example 1
The norm u~ = (−1, 5) is given by
p of the vector √
u || = (−1)2 + 52 = 26
||~
Example 2
The norm of the vector ~x = ( √12 , √12 ) is given by
q q
||~x || = ( √12 )2 + ( √12 )2 = 12 + 12 = 1
Remark: Vectors like the one above whose norm is equal to 1 are
called unit vectors. The common or standard unit vectors in R3
are given by (1,0,0), (0,1,0) and (0,0,1). Typically we label them
~i, ~j, ~k.
Vectors
Geometric Interpretation of Vectors
Vectors
Vector Addition
To define vector addition of these arrow vectors we use what is
called the Parallelogram Rule
To add u~ and ~v first line them up so that the tail of each
vector meet at the same point O
Then use u~ and ~v as the two sides of a parallelogram
The sum u~ + ~v is then given by the vector running along the
diagonal of the parallelogram with its tail at O.
Vectors
Scalar Multiplication
Scalar multiplication is done by making the vector longer or shorter
by a factor of some number k.
If |k| > 1 then the resulting vector k u~ is longer than the
original vector
If k is positive the resulting vector k u~ points in the same
direction as u~ and if k is negative then k u~ points in the
direction of −~ u.
If u~ has its head at the point A = (a1 , a2 , a3 ) then the
resulting vector k u~ will have its head at the point
(ka1 , ka2 , ka3 )
Vectors
Position Vectors
Definition
Arrows starting at some point O which we call the origin and
ending at any point P are called position vectors.
Vectors
Triangle Rule
Suppose that we had a vector AB ~ from any point A to B where
neither A or B were the origin. How would we go about finding the
coordinate representation of such a vector?
The Triangle Rule simply says that OB ~ = OA~ + AB~
Rearranging this gives a formula for how to determine the vector
~ in terms of position vectors:
AB
~ = OB
AB ~ − OA~
Vectors
Triangle Rule-Examples
Example 1
~ from the point A = (0, 12, −1) to
Determine the vector AB
B = (9, −1, −1).
~ = (0, 12, −1) and
Solution: The position vectors are given by OA
~ = (9, −1, −1). Thus we have that
OB
~
AB = OB~ − OA~ = (9, −1, −1) − (0, 12, −1) = (9, −13, 0)
Example 2
Given the two position vectors u~ = (2, −3) and ~v = (0, 12 )
determine the vector from the point (0, 12 ) to the point (2, −3).
Solution: The formula AB ~ = OB ~ − OA ~ tells us that to get the
vector from A to B we take the vector going to the end point (B)
minus the vector going to the starting point (A). Thus the vector
from the point (0, 21 ) to the point (2, −3) is given by
~ = u~ − ~v = (2, −3) − (0, 21 ) = (2, − 72 ).
w
Vectors
Norm/Length of a Vector
Consider a vector u~ from the origin to a point (a, b, c). The length
of this vector is simply the length of the line segment which is
given by Pythagoras’ theorem:
√
u || = a2 + b 2 + c 2
||~
Of course if this was a vector in R2 the corresponding length would
be:
√
u || = a2 + b 2
||~
Vectors
Properties of the Norm
Example 1
p of the vector u~ =√(−1, 3, 1)
Determine the length
u || = (−1)2 + 32 + 12 = 11
Solution: ||~
Example 2
If u~ and ~v are vectors such that ||~ u + ~v || = 0 then show that
~v = −~ u.
Solution: From the coincidence property of the norm we know that
u + ~v || = 0 ⇔ u~ + ~v = ~0 ⇔ ~v = −~
if ||~ u.
Vectors
Norm-Examples
Example 3
Let u~ = (3, −4), determine the length of the vector 6~
u and −6~
u.
Solution: From the Homogeneity property of the norm we have
that:
p √
||6~ u || = 6 32 + (−4)2 = 6 9 + 16 = 6(5) = 30
u || = |6| ||~
Also || − 6~
u || = | − 6| ||~
u || = 6||~
u || = 30.
Vectors
Norm-Examples
Example 4
Let u~ = (−4, 0) and ~v = (3, a) where a is some constant. If
||~v || ≤ 5 determine p the range of values which a can take.
Solution: ||~ u || = (−4)2 + 0 = 4 and
u~ + ~v = (−4 + 3, 0 + a) = (−1, a). From the triangle inequality we
have:
p
||~
u + ~v || = (−1) 2 2
√ + a ≤ ||~ u || + ||~v || = 4 + ||~v ||
2
⇒ 1+a ≤4+5=9
⇒ 1 + a2 ≤ 81
√⇒ a2 ≤ 80 √
⇒ − 80 ≤ a ≤ 80
Vectors
Unit Vectors
Definition
A unit vector is simply a vector of length/norm 1, denoted by û.
Example
Determine the unit vector pointing in the same direction as
u~ = (2, −1) and the unit vector pointing in the opposite direction
as u~.
p √
u || = 22 + (−1)2 = 5. This gives the unit vector
Solution: ||~
as:
u~ 1
û = = √ (2, −1)
||~u ||
2 5 −1
⇒ û = √ , √
5 5
To determine the unit vector pointing in the opposite direction as
2 1
u~ we simply take −û = − √ , √ .
5 5
Vectors
Dot/Scalar Product of Vectors
Definition
The dot product or scalar product of two vectors
u~ = (a1 , a2 , ..., an ) and ~v = (b1 , b2 , ..., bn ) in Rn is denoted and
defined by:
u~ · ~v = a1 b1 + a2 b2 + ... + an bn
u~ · ~v = a1 b1 + a2 b2 + a3 b3
and in R2 we have:
u~ · ~v = a1 b1 + a2 b2
Vectors
Remarks
Vectors
Relationship between dot product and norm
u ||2 = u~ · u~
||~
Vectors
Properties of the Dot Product
Vectors
Dot Product-Examples
Example 1
Let u~ = (1, 2, 3) and ~v = (0, −3, −1). Determine u~ · ~v , ~v · u~ and
(− 13 u~) · ~v
Solution:
Vectors
Dot Product-Examples
Example 2
Determine which of the following vectors are orthogonal:
u~ = (1, −2, 3), ~v = (4, 5, −1), w
~ = (2, 7, 4).
Solution:
Therefore u~ and w
~ are orthogonal.
Vectors
Dot Product-Examples
Example 3
2 3
Let u~ = 3 and ~v = −1 Then u~ · ~v = 6 − 3 + 8 = 11
−4 −2
Example 4
Suppose u~ = (1, 2, 3, 4) and ~v = (6, k, −8, 2). Find k such that
the two vectors are orthogonal.
Solution: Since u~ and ~v are orthogonal we have that u~ · ~v = 0.
Using this gives
u~ · ~v = 6 + 2k − 24 + 8 = −10 + 2k = 0 ⇒ k = 5
Vectors
Dot Product-Examples
Example 5
Let u~, ~v , ~a, ~b ∈ Rn such that u~ = ~a + ~b and ~v = ~a − ~b. Simplify
the dot product of u~ and ~v .
Solution:
u~ · ~v = ~a · ~a + ~b · ~a + ~a · (−~b) + ~b · (−~b)
= ||~a||2 + ~a · ~b − ~a · ~b − ||~b||2
= ||~a||2 + ||~b||2
Vectors
Distance, Angles and Projections
Definition
The distance between two vectors u~ = (a1 , a2 , ..., an ) and
~v = (b1 , b2 , ..., bn ) in Rn is denoted and defined by:
p
u − ~v || = (a1 − b1 )2 + (a2 − b2 )2 + · · · + (an − bn )2
u , ~v ) = ||~
d(~
Vectors
Properties of the Distance
We can show that the distance between two vectors has the
following properties.
Let ~a = (a1 , a2 , ..., an ), ~b = (b1 , b2 , ..., bn ) and ~c = (c1 , c2 , ..., cn )
be three points in Rn , then the following properties hold:
1 Positivity: d(~ a, ~b) ≥ 0
2 Coincidence: d(~a, ~b) = 0 ⇔ ~a = ~b
3 Symmetry: d(~a, ~b) = d(~b, ~a)
4 Triangle inequality: d(~a, ~c ) ≤ d(~a, ~b) + d(~b, ~c )
Vectors
Remark
Vectors
Angles between vectors
Definition
The angle θ between any two non-zero vectors u~, ~v ∈ Rn is
defined to be:
u~ · ~v
cos θ =
||~
u ||||~v ||
Vectors
Angles between vectors
u~ · ~v = ||~
u ||||~v || cos θ
Vectors
Perpendicular Vectors
Vectors
Projection Vector
Definition
The projection of a vector u~ onto a non-zero vector ~v is the
vector denoted and defined by:
! !
u~ · ~v u~ · ~v
u , ~v ) =
proj(~ ~v = ~v
||~v ||2 ~v · ~v
Vectors
Projection Vector
Vectors
Projection Vector-Example
Example: Suppose u~ = (1, −2, 3) and ~v = (2, 4, 5). Then
p √
u − ~v || = (1 − 2)2 + (−2 − 4)2 + (3 − 5)2 = 41
u , ~v ) = ||~
d(~
To find the angle between these vectors θ we first determine:
u~ · ~v = 2 − 8 + 15 = 9
||~u ||2 = 1 + 4 + 9 = 14
||~v ||2 = 4 + 16 + 25 = 45
Then
u~ · ~v 9
cos θ = =√ √
||~
u ||||~v || ! 14 45
9
⇒ θ = cos −1 √ √ = 70.0o (1 d.p.)
14 45
And the project of u~ onto ~v is given by:
! !
u~ · ~v 9 2 4
proj(~u , ~v ) = ~v = (2, 4, 5) = , ,1
||~v ||2 45 5 5
Vectors
Projection Vector-Example cont.
Example 2
Prove that proj(~ u+w ~ , ~v ) = proj(~ u , ~v ) + proj(~
w , ~v ).
Solution: Left as an exercise. Hint: Apply the formula for the
projection of a vector with u~ + w ~ as the first vector and ~v as the
second vector then apply the distributive property of the dot
product (~a + ~b) · ~c = ~a · ~c + ~b · ~c .
Vectors
Linear Combinations
Definition
Let u~1 , u~2 , ..., u~n be any vectors and c1 , c2 , ..., cn be any numbers.
An expression of the form
Vectors
Linearly Dependent Vectors
Definition
Two non-zero vectors u~ and ~v are linearly dependent if there
exists some number λ 6= 0 such that u~ = λ~v .
If any two linearly dependent vectors lie on the same line. We call
such vectors co-linear.
Definition
Any three non-zero vectors u~, ~v and w
~ are said to be linearly
dependent if there exists numbers c1 , c2 , c3 which are not all zero,
such that
c1 u~ + c2 ~v + c3 w
~ =0
Vectors
Linearly Dependent Vectors-Examples
Example 1
Determine if the vectors u~ = (3, 5) and ~v = (−3, 7) are linearly
dependent.
Vectors
Linearly Dependent Vectors-Examples
Example 2
Find the value of k such that the vectors u~ = (1, −1) and
~v = (3k, 6) are co-linear.
Vectors
Basis vectors in R2
For any vector u~ = (a1 , a2 ) in R2 we can write it as the linear
combination:
u~ = (a1 , a2 ) = a1 (1, 0) + a2 (0, 1)
If we define two vectors ~i = (1, 0) and ~j = (0, 1) then this gives
u~ = a1~i + a2~j. Vectors ~i and ~j are called basis vectors for R2 since
we can write any vector in R2 as a unique linear combination of ~i
and ~j.
Vectors
Basis vectors in R3
For any vector u~ = (a1 , a2 , a3 ) in R3 we can write it as the linear
combination:
u~ = (a1 , a2 , a3 ) = a1 (1, 0, 0) + a2 (0, 1, 0) + a3 (0, 0, 1)
If we define three vectors ~i = (1, 0, 0), ~j = (0, 1, 0) and
~k = (0, 0, 1) then this gives u~ = a1~i + a2~j + a3 ~k. Vectors ~i, ~j and ~k
are called basis vectors for R3 since we can write any vector in R3
as a unique linear combination of ~i and ~j.
Vectors
The Standard Basis
Definition
The vectors ~i = (1, 0) and ~j = (0, 1) are referred to as the
standard basis in R2 while the vectors ~i = (1, 0, 0), ~j = (0, 1, 0)
and ~k = (0, 0, 1) are referred to as the standard basis in R3 .
Vectors
Properties of The Standard Basis
Vectors
Example 1
Let u~ = (−7, 1, 2) be a vector in R3. We can write this vector in
−7
the following equivalent ways: u~ = 1 or u~ = −7~i + ~j + 2~k.
2
Example 2
Let u~ = 3~i + ~j − 4~k and ~v = −~j + 5~k. Then the dot product is
given by
Vectors
Direction Cosines
Definition
The direction cosines of u~ is the cosine of the angle made by u~
with each of the basis vectors.
Since in R2 and R3 the basis vectors lie on the axis of a Cartesian
coordinate system the direction cosines are equivalent to the cosine
of the angle made by by u~ with each of the axes.
Vectors
Direction Cosines
u~ · ~i a1
cos(α) = =
u ||||~i||
||~ ||~
u ||
Vectors
Direction Cosines
u~ · ~j a2
cos(β) = =
||~ ~
u ||||j|| ||~
u ||
u~ · ~k a3
cos(γ) = =
u ||||~k||
||~ ||~
u ||
Vectors
Direction Cosines
Vectors
Direction Cosines-Examples
Example 1
Determine the angle which the vector u~ = −~i − 2~j + 3~k makes
with the positive x,y and z-axis in R3 .
Vectors