Professional Documents
Culture Documents
Chapter 1
Chapter 1
Alan McCarthy
UNSW
Term 1, 2024
Question
A car is travelling from the origin O in the direction N 30◦ E for 50 km, then
turns to E 45◦ S for 40 km. What is the distance and position of the car from the
starting point?
Note that to answer this question, you need to know both the magnitudes, i.e. 50
km, and the directions of motion, i.e. NE.
Question
Is vector addition similar to standard addition? i.e. does it follow the same type of
rules as the addition of real numbers?
You can manipulate vector sums much as you can numbers because of the
If λ > 0, λv denotes the vector with the same direction, but magnitude is
scaled by λ, i.e. |λv| = λ|v|.
If λ = 0 then λv = 0.
If λ < 0 then we define λv = |λ|(−v).
E.g. (−1)v = ??
Definition
If λ ̸= 0 and u = λv, then we say that u and v are parallel. They are said to be
in the same direction if λ > 0.
Since λ ∈ (0, 1), the point P lies on the line AB between A and B.
Exercise: Using the result above prove that the three medians of a triangle are
concurrent.
Alan McCarthy (UNSW) Chapter 1: Introduction to Vectors Term 1, 2024 15 / 64
Back to the problem at the beginning
A car is travelling from the origin O in the direction N 30◦ E for 50 km, then
turns to E 45◦ S for 40 km. What is the distance and position of the car from the
starting point?
If we denote i and j the unit vectors from O in the E and N directions,
respectively, by definition of geometric vectors we can write
So, we decomposed the vectors a, b and c into two components, one in the E
direction and one in the N direction.
More conveniently, we will use the notation
In particular, we have
1 0
i= , j= ,
0 1
and they are called standard basis vectors since any vector a ∈ R2 can be written
as combination of them.
The coordinates of
You can do all this with 3-dimensional geometric vectors too, in the same way as
for R2 : we choose an origin O, three directions x, y and z, and unit basis vectors
i, j and k.
You can write vectors in the form
a = a1 i + a2 j + a3 k, b = b1 i + b2 j + b3 k
a1 b1
which have coordinates a2 , b2 .
a3 b3
Again
a1 + b1 λa1
coordinates of a + b = a2 + b2 , coordinates of λa = λa2 .
a3 + b3 λa3
Hence coordinate vectors of 3-dim vectors lie in R3 whilst those of 2-dim vectors
lie in R2 .
a1 b1 a 1 + b1 a1 λa1
a2 b2 a 2 + b2 a2 λa2
.. + .. := .. , λ . := . .
. . . .. ..
an bn an + bn an λan
0 a1 −a1
The zero element is 0 = ... and the negative is given by − ... = ...
0 an −an
(so we can define subtraction!).
Important: each Rn is a separate system. You can’t add a 3-tuple to a 7-tuple!
1 1
Q: Compute 3 1 − 2 1 =
−2 −2
Alan McCarthy (UNSW) Chapter 1: Introduction to Vectors Term 1, 2024 27 / 64
Properties of arithmetic on Rn
As with R2 , the vector addition and scalar multiplication inherit nice properties
from addition and multiplication on R. That is, if a, b, c ∈ Rn and λ, µ ∈ R then
Commutativity: a + b = b + a,
Associativity: (a + b) + c = a + (b + c),
Distributive (vector) law: λ(a + b) = λa + λb,
Distributive (scalar) law: (λ + µ)a = λa + µa.
λa = 0 if and only if λ = 0 or a = 0,
etc
As inR2 ,
e1 , . . . , en are called the standard basis vectors of Rn , since any vector
a1
a2
a = . ∈ Rn can be written a = a1 e1 + a2 e2 + · · · + an en .
..
an
Alan McCarthy (UNSW) Chapter 1: Introduction to Vectors Term 1, 2024 29 / 64
As in R2 , we can identify a point A with coordinates (a1 , . . . , an ) in Rn with the
−→
position vector OA, with initial point O and terminal point A.
−−→
If we choose another point B in Rn , the displacement vector AB is the geometric
−−→ −−→ −→
vector with tail A and head B, and AB = OB − OA.
Example: 1) The coordinate vector for the displacement from the point A with
coords (1, 2) to the point B with coords (2, −4) is
−−→
AB =?
Definition
Let a, b ∈ Rn .
p
The length of a is defined to be |a| = a21 + · · · + a2n .
the distance between a and b is defined to be dist(a, b) = d(a, b) = |b − a|.
1
1
1 ?
Example. a) What is
b) What is |λa|?
d) Suppose that the point A has coordinates (1, 2, 3) and the point B has
coordinates (−1, 2, 5). What is the distance between A and B?
L = {x ∈ Rn | x = a + λv, λ ∈ R}
for some fixed vectors 0 ̸= v, a ∈ Rn . Note that a gives a point on the line and v
has the coordinates of a vector parallel to the line.
The expression
x = a + λv, λ ∈ R,
is called a parametric vector form for the line L through a parallel to v. We call λ
the parameter, and as it varies over R, while the variable x varies over all the
points of the line L.
0
Answer: Each point on the line has coordinate vector
x =?
Question
Find a parametric vector form for the line y = 3x + 2 in R2 .
Answer 1: Consider
2 points on the line, e.g. A = (0, 2) and B = (1, 5), then
−−→ 1
take v = AB = . Then the parametric vector form of the line is given by
3
x 0 1
x= = +λ , λ ∈ R.
y 2 3
Question
1 2
Write the line x = +λ , λ ∈ R, in Cartesian form.
−1 1
x = a + λv,
where
x a1 v1
x = y , a = a2 , v = v2 ∈ R3 , λ ∈ R.
z a3 v3
(the line passes through the point with position vector a and is parallel to v)
Thus,
x = a1 + λv1 , y = a2 + λv2 , z = a3 + λv3 .
Eliminating λ (if v1 , v2 , v3 are non-zero), we obtain the Cartesian form
x − a1 y − a2 z − a3
= = = λ.
v1 v2 v3
Question
Find a cartesian form for
1 4
x = 2 + λ 5 , λ∈R
3 6
x+3 y 3z − 2
Find a parametric vector form for the line in R3 given by = = .
4 2 5
x = a + λv, λ ∈ R.
(the line passes through the point with position vector a and is parallel to v)
If none of the components of v is 0,then the Cartesian form for the line through
v1
v2
(a1 , a2 , . . . , an ) parallel to v = . is
..
vn
x1 − a1 x2 − a2 xn − an
= = ··· = .
v1 v2 vn
(Why?)
If a point P lies between A and B, the position vector of P is
(Why?)
Find the equation of the line in R4 through the points A(1, 1, 2, 0) and
B(2, 0, 1, 1) in parametric vector form and Cartesian form.
x = a + λv, x = b + µw, a, b, v, w ∈ R3
are parallel if the direction vectors v and w are parallel, that is, v = αw for some
α ̸= 0.
Question
3 −2 4 3
Are the lines x = −1 + λ −3 and x = 0 + µ 92 parallel?
2 4 1 −6
1 0
Question: Describe geometrically the set span 2 , 0.
3 1
1 3
2 6
What about span
0 , 0?
1 3
2
Example: Describe span .
1
1 0
Describe span 0 , 0.
0 1
1 0 0
Describe span 0 , 1 , 0.
0 0 1
Definition
Let a, v 1 and v 2 be fixed vectors in Rn , and suppose that v 1 and v 2 are not
parallel. Then the set
S = {a + λ1 v 1 + λ2 v 2 : λ1 , λ2 ∈ R},
is the plane through the point with position vector a, parallel to the vectors v 1
and v 2 .
Question
Find a parametric vector equation for the plane through the points A(1, 2, 1),
B(2, −1, −1) and C(0, 1, 2).
ax + by + cz = d
where not all a, b, c are 0. This is called the Cartesian form for the plane.
In Rn , n > 3, if not all a1 , a2 , . . . , an are zero, an equation of the form
a1 x1 + a2 x2 + · · · + an xn = d
is called a hyperplane.
Question
Find a parametric vector form for the plane in R3 with equation
x + y − 2z = 1.