School of Engineering & Built Environment Mathematics: DR Derek Hodson
School of Engineering & Built Environment Mathematics: DR Derek Hodson
ENVIRONMENT
Mathematics
Tutorial Exercises
Dr Derek Hodson
Contents Page
Vectors1 / D Hodson
As you are all aware, we can use numbers to measure or quantify physical quantities. For
example, a thermometer may tell us that the temperature at a particular point in a room at a
particular time is 24°C. A voltmeter may indicate a voltage of 9V across the terminals of a
battery. Many quantities, such as temperature and voltage, require just a single number to
specify or measure them; others may require more than one number. Relative position is a
physical quantity that we can measure. We might say that Jack is 6.5m from Jill. If we do,
then we haven’t told the whole story. Is Jack 6.5m to Jill’s right, to her left, behind her,
above her, or what? To specify relative position completely we must give not only a distance,
but a direction as well. This would require at least two numbers.
Basically, physical quantities that are specified by single numbers are termed scalars, while
those that require more than one number are called vectors.
Examples of Scalars
mass
energy
temperature
length
area (sometimes)
volume
density
voltage
current
entropy
............
Examples of Vectors
relative position
area (sometimes)
displacement
velocity
acceleration
force
moment of force (torque)
linear momentum
angular momentum
............
2
In most practical cases a vector will be a quantity specified by a magnitude and a direction.
The simplest way to represent such a composite quantity is by an arrow whose length is
scaled to correspond to the magnitude and whose orientation represents the vector’s direction
of action. In general the arrow will lie in 3-dimensional space, but to keep things simple (just
for the moment) we shall work in 2 dimensions, like a map.
There are various ways to specify the direction of action, for example compass points or map
bearings if we are dealing with relative position or displacement. We shall use the
mathematical convention of drawing an arrow on an Oxy axes system and recording the angle
it makes with the positive direction of the x-axis (with positive angles measured anticlockwise
and negative angles, clockwise).
Examples
y y y
4 5
120°
45°
x x x
O O O −45°
3
y 4
y
45°
x x
O 4 O
45°
v = ( 4 , 45° ) v = ( 4 , 45° )
3
v = v1 + v 2
v v2
v1
x
O
It is easily demonstrated that the order of addition does not matter. That is,
v = v1 + v 2 = v 2 + v1 .
This definition, sometimes called the triangle law for the addition of two vectors, is fairly
natural when thinking in terms of displacement, but the same definition proves to be
applicable for other types of vector. Consider to forces, F 1 and F 2 acting at the origin. The
net effect of the two forces is given by the vector sum, as defined above.
y
F = F1 + F 2
F1
F F2
F2
F1
x
O
This is the parallelogram rule for adding two vectors, which is clearly equivalent to the
triangle law.
4
v = v1 + v 2
v v2
v1
x
O
Algebraically, we would like the vector notation to behave like scalar notation. That is,
v = v1 + v 2
should lead to
v1 = v − v 2 .
Writing this as
v1 = v + ( − v 2 )
and noting from the diagram that v 1 can be interpreted as the net result of “moving” along v ,
then backwards along v 2 , it should be obvious that ( − v 2 ) is simply v 2 with its direction
reversed. This means that vector subtraction is just a special case of vector addition.
All this defines vector addition and subtraction geometrically, but does not give us an easy
way of evaluating vector sums and differences. We can do such calculations using
trigonometry and Pythagoras, but they aren’t straightforward calculations. Later we shall
look at an alternative representation of two-dimensional vectors, one that makes the addition
and subtraction of vectors dead easy. Before that, let us look at one other piece of vector
arithmetic.
5
If we have a vector v and a positive scalar k, then we can define the product k v as a vector
oriented in the same direction as v with a magnitude k times that of v :
3v
0.5 v
x
O
Using the definitions of vector addition and multiplication by a scalar, we can now develop an
alternative algebraic representation of a two-dimensional vector that is easier to work with
than the polar form.
A unit vector is a vector with magnitude equal to one unit. We introduce two unit vectors,
one parallel to the x-axis and one parallel to the y-axis; these we denote by i and j
respectively:
y y
i j
x x
O O
i = (1 , 0° ) j = (1 , 90° )
6
This means that any vector parallel to one of the axes can be expressed as a scalar multiple of
either i or j :
y y
2i 3j
x x
O O
y y
− 2.5 i − 1.5 j
x x
O O
Bearing this and the definition of vector addition in mind, we can take any two-dimensional
vector v and decompose it into the sum of two component vectors, one parallel to the x-axis
and one parallel to the y-axis:
v
y j
xi
x
O
Algebraically we have
v = xi + y j .
The vector is completely specified by the two values x and y . These are the Cartesian or
rectangular components of the vector and we can use these as an alternative to the polar
components r and θ .
7
The advantage of the rectangular form over the polar is that vector arithmetic is easier. If we
have two vectors, v1 = x1 i + y1 j and v 2 = x 2 i + y 2 j , then it is quite easy to see
that
v = v1 + v 2 = ( x1 + x 2 ) i + ( y1 + y 2 ) j
v v2 y2 j
( y1 + y 2 ) j
x2 i
v1 y1 j
x1 i
( x1 + x 2 ) i
x
O
v = xi + y j
k v = (k x) i + (k y) j .
Examples
(i) v1 + v 2 [Ans: 9 i + 10 j ]
(ii) v1 − v 2 [Ans: 5 i − 2 j ]
(iii) 3 v 1 [Ans: 21 i + 12 j ]
(iv) 3 v1 + 2 v 2 [Ans: 25 i + 24 j ]
8
Instead of always carrying the i and j , we can use an abbreviated notation for the Cartesian
form:
v = (x , y) .
We have to be a little careful when using this notation since ( x , y ) is also used for the
coordinates of a point on the Oxy axes system. In most cases, the correct interpretation should
be clear from the context. In this abbreviated form we have
v 1 + v 2 = ( x1 + x 2 , y1 + y 2 )
v 1 − v 2 = ( x1 − x 2 , y1 − y 2 )
k v = (k x , k y) .
(i) v1 + v 2 [Ans: ( 9 , 10 ) ]
(ii) v1 − v 2 [Ans: ( 5 , − 2 ) ]
(iii) 3 v 1 [Ans: ( 21 , 12 ) ]
(iv) 3 v1 + 2 v 2 [Ans: ( 25 , 24 ) ]
Rectangular Form: v = (x , y)
⎛ y⎞
Rectangular → Polar: r = v = x2 + y2 θ = tan −1 ⎜ ⎟ .
⎝ x ⎠
The conversion “Polar → Rectangular” is quite straightforward, but care must be taken when
applying “Rectangular → Polar”, since the quadrant in which θ lies must be determined
before evaluating the inverse tangent.
9
Examples
(2) (a) A vector has magnitude 2 and direction 210° . Express the vector in its
Cartesian component form.
v = ( r , θ ° ) = ( 2 , 210° )
x = r cos θ ° y = r sin θ °
= 2 cos (210° ) = 2 sin (210° )
= − 1.732 = −1
v = − 1.732 i − 1 j = ( − 1.732 , − 1)
v = ( x , y ) = (− 4 , 2)
r = x2 + y2
= (−4 ) 2 + 2 2
= 20
= 4.472
⎛ y⎞
θ = tan −1 ⎜ ⎟
⎝ x ⎠
⎛ 2 ⎞
= tan −1 ⎜ ⎟ [ 2nd quadrant angle]
⎝ −4 ⎠
= 153.43°
v = ( 4.472 , 153.43° )
Most calculators have these conversion formulae pre-programmed. Please refer to your own
calculator’s instruction booklet for information on how to implement these conversion
processes or, if that fails, ask in the tutorial classes.
10
y2 y
Q
y1
P
x
O x1 x2
P Q = ( x 2 − x1 , y 2 − y1 ) .
Example
y
Q
x
O
P Q = ( − 1 − 3 , 2 − ( − 2.5 ) )
= ( − 4 , 4.5 )
11
We now extend the arithmetic of vectors and introduce a way of multiplying two vectors
together. There are, in fact, two ways of multiplying vectors together. In this section we shall
look at the way that results in a scalar product, i.e. a number rather than another vector. Later
we shall look at the other way which does result in another vector.
v2
θ v1
x
O
v1 . v 2 = v1 v 2 cos θ .
Because we usually make a clear dot between the two vectors to distinguish this from the
other form of multiplication that we shall see later, this is sometimes referred to as the dot
product.
For two (two-dimensional) vectors expressed in polar form, this scalar product is given by
v 1 . v 2 = r1 r2 cos ( θ1 − θ 2 ) .
v 1 . v 2 = x1 x 2 + y1 y 2 .
Examples
v 1 . v 2 = 2 × 3 + 4 × 5 = 26
v 1 . v 2 = 3 × ( − 6 ) + ( − 1 ) × ( − 2 ) = − 16
12
(5) (a) Determine the angle of separation of the two vectors v 1 = ( 2 , 4 ) and
v2 = (3 , 5) .
v 1 . v 2 = 2 × 3 + 4 × 5 = 26
v1 = 22 + 42 = 20
v2 = 32 + 5 2 = 34 .
v1 . v 2
cos θ =
v1 v 2
26
=
20 34
= 0.99705
Note: Usually we have to take care with quadrants when we invert a trig function.
However, the angle of separation of two vectors will always be between 0°
and 180° (inclusive) and this is what a calculator cosine inversion will
always give us.
v 1 . v 2 = 3 × ( − 6 ) + ( − 1 ) × ( − 2 ) = − 16
v1 = 32 + ( − 1) 2 = 10
v2 = ( − 6)2 + ( − 2 )2 = 40 .
v1 . v 2
cos θ =
v1 v 2
− 16
=
10 40
= − 0.8
The scalar product has a number of applications. Here are just a few:
Two vectors are said to be orthogonal if they act at right-angles to each other. For v 1 and v 2
at right-angles we have
v1 . v 2 = v1 v 2 cos 90° = 0 .
This gives us a test for orthogonality; we look for a scalar product equal to zero.
We have already spoken about vectors having components parallel to the x and y axes. Using
the dot product, we can determine the component of a vector in any given direction. Consider
a vector v and a direction specified by a unit vector u ( i.e. u = 1 ).
θ
u
x
O
The component of v in the direction of u is given by the length of the double-headed arrow
in the above diagram. This is exactly the dot product
Fk .d , k = 1, 2 ,..., n .
14
So far we have only considered two-dimensional vectors. The Cartesian form of a vector
provides an easy and natural way of extending vectors into three dimensions. We take the
Oxy axes system and include a third axis, a z-axis, perpendicular to both the x and y axes:
y j
i
O x
Denoting the unit vector parallel to the new z-axis by k , any three-dimensional vector v can
be decomposed into the sum of three component vectors, one in each of the axes directions:
v = x i + y j + z k = (x , y , z) .
Vector magnitudes, addition, subtraction, multiplication by scalars, and dot products follow
naturally. For v = ( x , y , z ) , v 1 = ( x1 , y1 , z1 ) and v 2 = ( x 2 , y 2 , z 2 ) we have:
Magnitude: v = x2 + y2 + z2
Addition: v 1 + v 2 = ( x1 + x 2 , y1 + y 2 , z1 + z 2 )
Subtraction: v 1 − v 2 = ( x1 − x 2 , y1 − y 2 , z1 − z 2 )
Mult. by scalar: k v = (k x , k y , k z)
Note: The polar form of a vector does not extend as naturally into three dimensions as
the rectangular form. There do exist alternative three-dimensional forms of
vectors related to the polar form, however we do not consider them here.
15
Having now extended into 3D, we can now consider the other form of vector multiplication,
the so-called vector product of two vectors. This may seem a bit strange, but it does have
practical applications.
i j k
v1 × v 2 = x1 y1 z1 ,
x2 y2 z2
where the right-hand-side is the determinant of a 3 × 3 matrix. Recall that this is determined
using cofactors:
y1 z1
cofactor of i = +
y2 z2
x1 z1
cofactor of j = −
x2 z2
x1 y1
cofactor of k = + .
x2 y2
y1 z1 x1 z1 x1 y1
v1 × v 2 = i − j + k .
y2 z2 x2 z2 x2 y2
Notes
i) Unlike the dot product which takes two vectors and returns a number, the vector product
returns another vector.
ii) The resultant product vector will be perpendicular two both of the original vectors. See
in class for the “right-hand rule”.
iv) When writing a cross product on paper we can use ∧ instead of × ; this avoids
confusion with an x. It’s still referred to as a cross product!
Summary Examples in 3D
(i) v1 + v 2 ;
(ii) v1 − v 2 ;
(iii) v 1 . v 2 ;
(i) v 1 + v 2 = ( 2 + 3 , (−1) + 2 , 3 + 4 ) = ( 5 , 1 , 7 )
(ii) v 1 − v 2 = ( 2 − 3 , (−1) − 2 , 3 − 4 ) = ( − 1 , − 3 , − 1)
(iii) v 1 . v 2 = 2 × 3 + (−1) × 2 + 3 × 4 = 16
i j k
(iv) v1 × v 2 = 2 −1 3
3 2 4
−1 3 2 3 2 −1
= i − j + k
2 4 3 4 3 2
= i [ (−1) × 4 − 3 × 2 ] − j [ 2 × 4 − 3 × 3 ] + k [ 2 × 2 − (−1) × 3 ]
= i [ − 4 − 6 ] − j [8 − 9 ] + k [ 4 + 3]
= − 10 i + 1 j + 7 k
= ( − 10 , 1 , 7 )
(v) Over . . .
17
(v) v 1 . v 2 = 2 × 3 + (−1) × 2 + 3 × 4 = 16
v1 = 2 2 + ( − 1) 2 + 32 = 14
v2 = 32 + 2 2 + 4 2 = 29 .
v1 . v 2
cos θ =
v1 v 2
16
=
14 29
= 0.79407
(vi) Magnitude of v 2 : v2 = 32 + 2 2 + 4 2 = 29
v2 1
Unit direction vector: u = = (3 , 2 , 4)
v2 29
1
u . v1 = (3 , 2 , 4 ) . ( 2 , −1 , 3)
29
1
= ( 3 × 2 + 2 × (−1) + 4 × 3 )
29
1
= × 16
29
= 2.9711
18
Angle between sides AB and AC is the angle of separation of the relative position
vectors A B and A C .
B
θ
A
A B = (1 − 3 , − 4 − 2 , 5 − 4 ) = ( − 2 , − 6 , 1) AB = 41
AC = ( 2 − 3 , 0 − 2 , −1 − 4 ) = ( −1 , − 2 , − 5) AC = 30
A B . AC
cos θ =
AB AC
9
=
41 30
= 0.25662
Angle: θ = 75.13°
19
Tutorial Exercises
Two-Dimensional Vectors
(1) Sketch the following vectors (given in polar form) emanating from the specified points:
(2) Sketch the following vectors (given in rectangular form) emanating from the specified
points:
(3) Convert the following vectors to rectangular (Cartesian) form, first using the conversion
formulae stated on p8, and then using the conversion functions on your calculator:
(4) Convert the following vectors to rectangular (Cartesian) form without the aid of
conversion formulae or calculator:
(5) Convert the following vectors to polar form, first using the conversion formulae stated
on p8, and then using the conversion functions on your calculator:
(i) (− 3 , 2) (ii) (3 , − 2)
(iii) ( − 4 , − 3 ) (iv) ( 4 , 3)
(v) ( − 2 , 1) (vi) ( 2 , − 1) .
20
(6) Convert the following vectors to polar form without the aid of conversion formulae or
calculator:
(i) (5 , 0) (ii) ( 0 , 10 )
(iii) ( − 8 , 0 ) (iv) (0 , − 2) .
(i) v1 + v 2 (ii) v1 + v 2 + v 3
(iii) v 1 + ( − v 2 ) (iv) v1 − v 3
(v) 2 v1 (vi) 3v 2
(vii) 2 v 1 + 3 v 2 (viii) 4 v 1 − 2 v 2 + 5 v 3 .
(8) For each of the following pairs of vectors, determine the magnitudes v 1 , v 2 , the
scalar (dot) product v 1 . v 2 and the angle of separation θ :
v1 = ( 2 , 2 ) ⎫ v1 = ( − 4 , 6 ) ⎫
(i) ⎬ (ii) ⎬
v 2 = (1 , − 3 ) ⎭ v2 = (5 , − 8) ⎭
v1 = ( 3 , 4 ) ⎫ v1 = ( 3 , 4 ) ⎫
(iii) ⎬ (iv) ⎬ .
v 2 = (1 , 0 ) ⎭ v 2 = ( 0 , 1) ⎭
(iv) Confirm your answer by the direct measurement of the angle on your diagram.
21
(iii) Confirm your answer by the direct measurement of the angle on your diagram.
(11) For each of the following pairs of vectors, determine the component of v 1 in the
direction of v 2 (see p13 and the 3D Example (6)(vi) on pp16-17):
v1 = ( 2 , 2 ) ⎫ v1 = ( − 4 , 6 ) ⎫
(i) ⎬ (ii) ⎬ .
v 2 = (1 , − 3 ) ⎭ v2 = (5 , − 8) ⎭
Three-Dimensional Vectors
(i) v1 + v 2 + v 3 (ii) 4 v1 + 3 v 2 − 2 v 3
(iii) v 1 + ( − v 3 ) (iv) − 2 v1 + v 2 + 5 v 3
(v) v1 . v 2 (vi) v2 . v3
(15) The unit vectors i , j and k are written in Cartesian form as follows:
i = (1 , 0 , 0 )
j = (0 , 1 , 0)
k = ( 0 , 0 , 1) .
(17) A force F acts through a point P . The moment of force (torque) about a second point
Q is given by
M = r×F ,
F = 4i + 5 j − 2k
P is ( 2 , 3 , − 5 )
Q is (1 , 2 , − 3 ) .
23
Answers
(1) (i)
y
x
O
(2) (i)
y
x
O
(i) (4 , 0) (ii) ( 0 , 8)
(iii) ( − 6 , 0 ) (iv) ( 0 , − 5)
(v) ( 0 , − 3) (vi) ( − 10 , 0 )
(iii) v 1 + ( − v 2 ) = ( 6 , − 7 ) (iv) v1 − v 3 = ( 9 , − 2 )
(v) 2 v1 = ( 8 , − 6 ) (vi) 3 v 2 = ( − 6 , 12 )
(vii) 2 v 1 + 3 v 2 = ( 2 , 6 ) (viii) 4 v 1 − 2 v 2 + 5 v 3 = ( − 5 , − 25 )
(ii) v1 = 52 v2 = 89 v 1 . v 2 = − 68 θ = 178.32°
(iii) v1 = 5 v2 = 1 v1 . v 2 = 3 θ = 53.13°
(iv) v1 = 5 v2 = 1 v1 . v 2 = 4 θ = 36.87°
−4 − 68
(11) (i) ≈ − 1.265 (ii) ≈ − 7.208
10 89
(iii) ( − 2 , − 7 , 5 ) (iv) ( 27 , 26 , − 25 )
(14) 105.40°
(15) (i) i .i = j . j = k .k = 1
i. j = i.k = j.k = 0
i× j = k ; j×k = i ; k×i = j
(16) (i) d = P Q = ( − 3 , −1 , 2)
(ii) F .d = 3
(17) r = P Q = ( − 1 , − 1 , 2 )
M = r × F = ( − 8 , 6 , − 1) = − 8 i + 6 j − k
Note: A torque produces a rotation. The direction of the torque vector gives the
direction of the axis of that rotation.