Lecture Notes Chapter 2
Lecture Notes Chapter 2
Vectors
1. Basic Definitions
This chapter together with the following two chapters are devoted to analytic
geometry, also known as coordinate geometry, that is the study of geometry using
systems of coordinates. By introducing a so called basis and coordinate system in
the three dimensional space, one can represent a point using a triple of real num-
bers. Geometrical objects such as lines, planes, curves, etc. as well as geometrical
relations in space can then be represented by means of algebraic equations and vice-
versa. In what follows we assume that the reader has a well-developed intuition
about (the properties of) basic geometric objects such as points, lines and planes.
We begin by introducing the concept of a vector.
−→
The vector u which contains P Q is the set of all directed line segments in space that
−→
are equivalent to P Q (i.e. it is the equivalence class containing P~Q). In symbols:
n−→ −→ −→o
(1) u = RS : RS ∼ P Q .
−→
In this situation we say that the line segment P Q represents the vector u.
The direction and the magnitude of the vector u is defined as the direction and
−→
magnitude of some representative P Q. We will denote the length (or norm) of u
by the symbol kuk.
−→
In practice, one often briefly writes u = P Q instead of the using the bulky (but
more precise) notation in (1). We will often, without further mention, use this
convention in the following.
−→
The zero vector is the vector 0 = P P ; clearly k0k = 0. A vector u with kuk = 1 is
called a unit vector.
Vector Addition.
Subtraction.
−→
If u = P Q is a vector, we denote by −u the vector with the same magnitude but
−→
opposite direction, i.e., −u = QP . It is clear that u + (−u) = 0 for all u. We define
the difference between u and v by
u − v = u + (−v).
Multiplication by Scalars.
Another basic but important operation that one can perform with vectors is mul-
tiplication by scalars. (Scalar is a synonym for ”real number”). This operation
models the change of length and/or reversing of direction of a vector.
Let s ∈ R and let u be a vector. Then the product su is defined in the following
way:
(1) If s > 0 we define su to be the vector with the same direction as u and
magnitude skuk. (So su is a ”rescaled” version of u.)
(2) If s = 0 we define su = 0.
(3) If s < 0 we define su to be the vector with the direction opposite to u and
length |s|kuk.
1
Note that if u 6= 0, then the vector kuk
· u is the unit vector with the same direction
as u.
−→ −→
Example 1. Let O, P , Q be three points in space and let u = OP and v = OQ.
Let M be the mid-point of the segment P Q. We claim that
−−→ 1
(1) OM = (u + v) .
2
Figure 3
Moreover,
−−→ −−→ −→ 1 1
RN = ON − OR = (u + v + w) − w = (u + v − 2w) .
3 3
We have shown that
−−→ −−→
2RM = 3RN ,
so N lies on the median RM and divides it according to the ratio 2 : 1. By
symmetry of the expression (2), the point N is also on the other medians.
Exercises.
−→ −−→
1. Let A and B be two points and O a third point. Let a = OA, b = OB,
and let M be the midpoint of the line segment AB. Express the following
−−→ −→ −→ −−→ −−→
vectors in terms of a and b: a) OB + BA b) AB c) OM d) AM .
which is given by
−→ 1 −→ −→ −→ −→
OT = (OP + OQ + OR + OS).
4
The point T is called the centre of mass of the tetrahedron.
2. BASES AND COORDINATES 23
Definition 1. Fix a line ` and let e 6= 0 be a vector in `. For any other vector
u in ` there is then an unique real number x such that
(1) u = xe.
The vector e is called a basis for the line ` and x is the coordinate of u with respect
to the basis e.
To show this, we first choose two lines `1 and `2 in M such that e1 is in `1 and e2 is
in `2 . Let O be the point of intersection between `1 and `2 . To help our geometric
intuition, we will in the following fix O as our “origin”, and place all vectors in M
24 2. VECTORS
−−→
so that they emanate from the point O (that is e1 = OP1 for some point P1 on `1 ,
−→
u = OP , and so on.)
When we have a fixed basis for three-dimensional space, we can perform vector ad-
dition and multiplication by scalars by computing directly with coordinates relative
to this basis. If
u = x1 e1 + x2 e2 + x3 e3 v = y 1 e1 + y 2 e2 + y 3 e3 and s ∈ R
then
u + v = (x1 e1 + x2 e2 + x3 e3 ) + (y1 e1 + y2 e2 + y3 e3 )
= (x1 + y1 )e1 + (x2 + y2 )e2 + (x3 + y3 )e3 .
and
su = s(x1 e1 + x2 e2 + x3 e3 )
= (sx1 )e1 + (sx2 )e2 + (sx3 )e3 .
26 2. VECTORS
Projections.
Exercises.
−→
6. Let OP QR be a tetrahedron and introduce a basis for 3-space by e1 = OP ,
−→ −→
e2 = OQ, e3 = OR. Let A be the mid-point of the segment OP and B the
mid-point of the segment QR. Also, let C be the mid-point on the segment
−→ −−→ −→
AB. Determine the coordinates of the vectors OA, OB, and OC relative
to the basis e1 , e2 , e3 .
3. LINEAR DEPENDENCE 27
3. Linear Dependence
In this section we introduce some basic terminology that will allow us to express
relations between vectors in a more precise way. The concepts discussed below can
be extended beyond the three-dimensional space.
Definition 4. Let u1 , u2 , . . . , uk be a collection of vectors. A vector u of the
form
u = λ1 u1 + · · · + λk uk ,
where λ1 , . . . , λk are real numbers, is called a linear combination of the vectors
u1 , . . . , uk .
Example 1. The fact that two vectors u1 , u2 are linearly dependent means precisely
that there are λ1 , λ2 , not both zero, such that λ1 u1 + λ2 u2 = 0.
Thus, two vectors are linearly dependent if and only if they are parallel.
The example above has the following generalisation for arbitrary collections of vec-
tors.
Theorem 5. A collection u1 , . . . , uk is linearly dependent if and only if (at
least) one uj can be written as a linear combination of the other ui ’s.
Proof. (⇒) Assume that u1 , . . . , uk are linearly dependent. Then there are
real numbers λ1 , . . . , λk , not all zero, such that
λ1 u1 + λ2 u2 + · · · + λk uk = 0.
We can without loss of generality assume that λ1 6= 0. But then
u1 = (−λ2 /λ1 )u2 + · · · + (−λk /λ1 )u2 ,
28 2. VECTORS
Example 2. Now suppose that three vectors u1 , u2 , u3 are linearly dependent. Then
one of them, say u3 , can be written as a linear combination of u1 and u2 :
u3 = t1 u1 + t2 u2 .
Hence if u1 and u2 are in a plane M , then u3 is also in M . Conversely, if u1 , u2 ,
u3 belong to a plane M , then they are linearly dependent. To see this, it suffices to
observe that either u1 , u2 are linearly dependent, whence u1 , u2 , u3 is also linearly
dependent by the remark above, or u1 , u2 is a basis for a plane M , whence u3 ∈ M
implies that u3 is a linear combination of u1 and u2 .
Thus, three vectors are linearly dependent if and only if they are coplanar.
Equivalently, three vectors are linearly independent if and only if they form a basis
for 3-space.
Example 3. Assume that the vectors u1 , u2 , u3 have coordinates
u1 = (1, −2, 2) , u2 = (−2, 3, 1) , u3 = (−1, 3, 2)
with respect to some basis for 3-space. We shall investigate whether or not the
vectors u1 , u2 , u3 form a basis. To this end, we consider the vector equation
λ1 u1 + λ2 u2 + λ3 u3 = 0,
3. LINEAR DEPENDENCE 29
Solving this with the elimination method gives the only solution λ1 = λ2 = λ3 = 0.
Hence the collection u1 , u2 , u3 is linearly independent and (by the result of Example
2) it forms a basis for the three-dimensional space.
Example 4. Consider the vectors u1 = (3, 4, 2), u2 = (5, 3, 1), u3 = (4, 1, 7) and
v = (7, 10, −2) with respect to a given basis for the three-dimensional space. One
can show that the vectors u1 , u2 , u3 are linearly independent in the same way as
in the previous example. Then these vectors form another basis for the three-
dimensional space. Let us determine the coordinates of the vector v = (7, 10, −2)
with respect to this new basis. The question is to determine x1 , x2 , x3 such that
x1 u1 + x2 u2 + x3 u3 = v, that is,
which we write as
3x1 + 5x2 + 4x3 = 7
4x1 + 3x2 + x3 = 10 .
2x1 + x2 + 7x3 = −2
We use Gauss elimination, and choose to first eliminate x2 using the third equation.
Multiply the third equation by (−5) and add the multiple to the first equation,
respectively by (−3) and add the multiple to the second equation. The system
becomes
−7x1 − 31x3 = 17 7x1 + 31x3 = −17
−2x1 − 20x3 = 16 ⇐⇒ x1 + 10x3 = −8 .
2x1 + x2 + 7x3 = −2 xs1 + s2 + 7x3 = −2
30 2. VECTORS
We now multiply the second equation by (−7) and add the multiple to the first
equation to eliminate s1 :
− 39x3 = 39
x1 + 10x3 = −8 .
2x1 + x2 + 7x3 = −2
We get x3 = −1 from the first equation, which yields x1 = 2 in the second equation
and finally x2 = 1. The vector v has coordinates (2, 1, −1) with respect to the basis
u1 , u2 , u3 .
8. Are the vectors (1, −2, 1), (2, −1, −1), (−1, −4, 5) coplanar?
9. Prove that the vectors (1, 1, 2), (4, 4, 9), (2, 3, 7) form a basis for the three-
dimensional space. Determine the coordinates of the vector (5, 4, 3) relative
to this basis.
10. For which values of k are the following sets of vectors linearly independent?
a) (k, k 2 , k 3 ), (2, 2, 2);
b) (1, 1, 1), (1, k, 2k), (k, 1, k);
c) (1, −1, −k), (2, k, 4), (k, 2, −4).
4. EQUATIONS FOR LINES AND PLANES 31
−→ −→ −→
If Q0 = (x0 , y0 , z0 ) and P = (x, y, z), then the vector QP = OP − OQ has coordin-
ates (x − x0 , y − y0 , z − z0 ). Hence (1) can be cast in the form
x − x0 = at
(2) y − y0 = bt , t ∈ R.
z − z0 = ct
Example 1. Consider the line ` which passes through the points Q = (3, −6, −5)
and R = (4, −3, −3). A direction vector of ` is
−→ −→ −→
QR = OR − OQ = (4, −3, −3) − (3, −6, −5) = (1, 3, 2).
Since ` passes through Q, we conclude that
x − 3 = t
y + 6 = 3t , t ∈ R,
z + 5 = 2t
Let us denote
u = ae1 + be2 + ce3 , v = a0 e 1 + b 0 e 2 + c 0 e 3 , Q = (x0 , y0 , z0 ).
−→
With P = (x, y, z), QP = (x − x0 , y − y0 , z − z0 ), u = (a, b, c) and v = (a0 , b0 , c0 ),
the equation (3) can be written as
0
x − x0 = as + a t
(4) y − y0 = bs + b0 t , s, t ∈ R.
z − z0 = cs + c0 t
is a parametric representation of M .
Example 3. Let us determine the point of intersection between the line ` of Example
1 and the plane M of Example 2. To this end, we have to distinguish between the
t-parameters in the representations for ` and M and write
x − 3 = t1
x − 1 = −s + t2
` : y + 6 = 3t1 , M : y − 2 = −s − 3t2 .
z + 5 = 2t1 z = s − 3t2
34 2. VECTORS
(5) Ax + By + Cz = D
where not all coefficients A, B, C are zero. Indeed, suppose that A 6= 0 (the cases
B 6= 0 and C 6= 0 are analogous). Then a point (x, y, z) satisfies (5) if and only if
x − (D/A) = −(B/A)s − (C/A)t
y = s
z = t
for some s, t ∈ R.
Thus (5) describes the plane passing through the point (D/A, 0, 0), which is parallel
to the vectors (−B/A, 1, 0), (−C/A, 0, 1).
A point (x, y, z) is in M if and only if there are s and t satisfying these equations.
To determine when this is the case, we can first eliminate s from the last two
4. EQUATIONS FOR LINES AND PLANES 35
Since we can always choose s and t so that the first two equations are satisfied, we
see that a point (x, y, z) belongs to M if and only if the third equation is satisfied,
i.e., iff
3x − y + 2z − 1 = 0.
Lines in space can be described as the intersection between two non-parallel planes.
This is illustrated by the following example.
Example 5. The points (x, y, z) which belong to both of the planes
2x + y − 3z = 5 and x + 2y − z = 4
are precisely the solutions of the system
( (
2x + y − 3z = 5 2x + y − 3z = 5
∼ .
x + 2y − z = 4 3y + z = 3
The intersection line thus passes through the point (2, 1, 0) and has direction vector
(5, −1, 3).
Exercises.
11. Give a parametric representation for the line passing through the points
(1, −1, 4) and (2, 3, 5).
14. Find a parametric representation of the line ` which passes through the
point (3, 2, −1) and intersects the lines
x = 1 + t x = 10 + 5t
y= t and y = 5+ t .
z = −1 + t z = 2 + 2t
15. Find a parametric representation of the plane π which passes through the
points (2, 3, 0), (1, 5, 2), and (−1, 4, 3).
16. Are the four points (−1, −1, 0), (0, 4, 1), (1, 0, −1), (1, −3, −2) coplanar?
5. ANSWERS TO EXERCISES 37
17. Find, in the form Ax + By + Cz = D, the equation for the plane π which
passes through the point (1, −1, 2) and which contains the line
x = 3 − t
y = 2 + 2t .
z = 1 − 3t
18. Prove that a line with direction-vector (a, b, c) is parallel to the plane Ax +
By + Cz = D if and only if
Aa + Bb + Cc = 0.
19. Find a parametric representation for the line passing through the point
(1, 2, 4) and which is parallel to the planes
2x + y − z = 3 and 3x − 3y + z = 0.
20. Determine the equation for the plane which contains the line
(
3x + 4y + z = 5
,
x− y = −6
and which passes through the midpoint on the segment between the points
(1, 1, 2) and (3, 1, 4).
5. Answers to Exercises
1. a) a b) b − a c) 21 (a + b) d) 12 (b − a).
−→ −→ −−→ −→
2. a) OC b) AB c) OD d) AL.
−→ −−→ −→
6. OA = (1/2, 0, 0), OB = (0, 1/2, 1/2), OC = (1/4, 1/4, 1/4).
7. v = 3u1 − 4u2 .
8. Yes, (−1, −4, 5) = 3(1, −2, 1) − 2(2, −1, −1).
9. (5, 4, 3) = 23(1, 1, 2) − 4(4, 4, 9) − (2, 3, 7).
The coordinates are thus (23, −4, 1).
10. a) k 6∈ {0, 1}
b) k 6∈ {1/2, 1} c) k 6∈ {−2, 4}.
x = 1 + t
11. y = −1 + 4t .
z = 4+ t
12. The lines do not intersect and they are not parallel.
13. The lines coincide.
38 2. VECTORS
x = 5 + 2t
14. ` : y = 4 + 2t .
z= t
x = 2 − s − 3t
15. π : y = 3 + 2s + t .
z= 2s + 3t
16. Yes.
17. π : 5x − 3y − 14z = 60.
18. : x − y − z = 0.
π
x = 1 + 2t
19. y = 2 + 5t .
z = 4 + 9t
20. 13x + 36y + 7z = 83.