Professional Documents
Culture Documents
Basic Vector PDF
Basic Vector PDF
1 Contents of lectures
1. General introductions. Scalars and vectors. Cartesian components. Direction cosines.
Engineering Maths 1.2
Geometric representation. Modulus of a vector. Unit vectors. Parallel vectors.
Vector Algebra 2. Addition of vectors: parallelogram rule; triangle law; polygon law; vector laws for addition.
Dr P. A. Sleigh 3. Multiplication of vectors: the scalar product; work done by a force; angle between vectors;
Email: P.A.Sleigh@leeds.ac.uk components of forces in given directions.
Engineering Mathematics 1.2: Vectors Algebra 1 Engineering Mathematics 1.2: Vectors Algebra 2
a) A temperature of 100o C
2 Scalars and Vectors b) An acceleration of 9.8142 m/s towards earth
In engineering much of the work in both analysis and design involves forces. You will be familiar c) The weight of a 2 kg mass
with forces in structural members in space frames, and know that a force acts in a given d) The sum of 500.00
direction with a given magnitude. A force is a three dimensional quality and one of the most e) A North easterly wind of 20 knots
common examples of a vector. Two other common vector quantities are acceleration and
Answers: a) Scalar b) Vector c) Vector d) Scalar e) Vector
velocity.
Note: To qualify as a vector the quantity must also satisfy some other basic rules of combination
In this section of the module we will introduce some formal mathematical notation and rules for
(addition, multiplication etc.) which we will see later in this course. For example, angular
the manipulation (multiplication, addition etc.) of these vector quantities. In the early stages it
displacement is a quantity that has both direction and magnitude but it does NOT obey the
will be easy to recognise the geometric meaning of vector addition and multiplication, but as the
addition rule - so it is NOT a vector
problems become more complex (notably, when they are three-dimensional) the formal rules
become more important.
x -axis
3
A Vector quantity is defined completely when we know both its magnitude (with units) and its x 3
direction of application.
Some examples are force, velocity and acceleration. P(x ,x ,x )
1 2 3
r
o x 2
x -axis
2
Two very simple (and common) examples demonstrating the differences between scalars and
vectors are speed - a scalar, and velocity - a vector. x 1
x, y, z, axis system
A velocity of 10 km/h at 20 degrees is a vector quantity.
Examples:
Engineering Mathematics 1.2: Vectors Algebra 3 Engineering Mathematics 1.2: Vectors Algebra 4
Z-axis
Z-axis
z
z
P(x,y,z)
r P(x,y,z)
o y Y-axis r
o y Y-axis
x
x
X-axis
X-axis
x1 , x2 , x3 axis system
The order and direction of axes are assumed to be 'right handed'. This definition comes from
imagining a right handed screw - if you turn the screw in the direction from axis Ox to Oy the Z-axis
screw advances along Oz . (and Oy to Oz along Ox, from Oz to Ox along Oy). This is convention z
and MUST be adhered to.
The distance from point O to point P, r, can be calculated using the Pythagoras theorem to give P(x,y,z)
(
r = x2 + y2 + z2 )
1/ 2
o
r y Y-axis
2) The position of the top corner of the lecture room was required. To find this a theodolite
2.3 A Geometric Representation
was set up as in the figure below. The distance to the side wall, along the x-axis is, 7m We represent vectors geometrically by line segments in space. The length of the line
and the following angles were measured: TOx = 70o and TOy = 50o . representing the magnitude and the direction of the line the direction of the vector.
Calculate the co-ordinates of the corner relative to the position of he theodolite.
A A
z y
x
a a
7m
O O
Engineering Mathematics 1.2: Vectors Algebra 7 Engineering Mathematics 1.2: Vectors Algebra 8
Their length is the same.
The unit vectors i, j, k
Their direction is the same. The unit vectors in the co-ordinate directions are denoted i, j, and k.
(The arrows indicate the direction along the line) i = (1,0,0), j = (01,0) and k = (0,0,1)
These two vectors are equivalent (equal). Any vector r can be expressed in terms of its component x, y, z with respect to the unit vector
(i,j,k) by
By the same argument, the two vectors are also equivalent to a vector of the same length and r = xi + yj + zk
direction which starts at the origin. We can therefore use a co-ordinate notation of three
numbers - as used previously for OP - to represent any vector (anywhere in three dimensional The notation (x,y,z) is interpreted as (xi, yj, zk).
space).
2.6.1 Example:
We have shown a vector described in two ways: in terms of co-ordinates (x, y, z) and also
A vector a = (3,1,4 ) = 3i j + 4k
represented geometrically by a line from an origin to this point. We say a dual definition can be
used either a geometrical or a co-ordinate (component) one. (
The modulus of a = a = 3 2 , ( 1) ,4 2
2
)
1/ 2
= 26
a OA a (a1 , a 2 , a3 )
2.7 Equal Vectors
Two vectors a and b are equal if they have the same magnitude and direction i.e.
The magnitude, modulus or length of the vector a is written as a or OA and given in Using the component definition
component form by
a = (a1 , a 2 , a 3 ) b = (b1 , b2 , b3 )
(
a = a12 + a 22 + a 3 )
2 1/ 2
then
a
a =
a
Engineering Mathematics 1.2: Vectors Algebra 9 Engineering Mathematics 1.2: Vectors Algebra 10
2.8 Parallel Vectors
3 Vector Addition
If is a scalar and a = b
3.1 The boat problem
then
A boat steams at 4 knots due East for one hour. The tide is running North-North-East at 3 knots.
if >0, the vector a is in the same direction as b and has magnitude b Where will the boat be after one hour?
if <0, the vector a is in the opposite direction to b and has magnitude b A diagram of the vectors involved looks like that below, where a represents the velocity of the
boat and b represents the velocity of the tide.
In component form
NNE
a1 = b1 a 2 = b2 a 3 = b3
North
B C
This can be summarised as the vectors a and b are
a+b
Parallel if > 0 b b
Anti-parallel if < 0.
O a East
A
The net velocity of the boat is represented by the line OC which is the sum of a and b.
This leads to the parallelogram rule for vector addition which may be written:
The sum, or resultant, of two vectors a and b is found by forming a parallelogram with a and b
as two adjacent sides.
The sum a + b is the vector represented by the diagonal of the parallelogram.
B C
b
a+b
O a A
In component form
a + b = (a1 + b1 , a 2 + b2 , a3 + b3 )
Engineering Mathematics 1.2: Vectors Algebra 11 Engineering Mathematics 1.2: Vectors Algebra 12
3.3 Vector Laws for addition and subtraction
Because the vector a is the same as any other vector which is parallel and in the same Commutative law
direction, a or b could be "moved" in the figure above to form a triangle. This leads to the
a+b=b+a
triangle law.
Order is NOT important
If two vectors a and b are represented in magnitude and direction by the two sides of a triangle
taken in order, then their sum is represented in magnitude and direction by the closing third
a+b
side. b
a
b a+b
a+b
b
In component form
The triangle rule can be made more general to apply to any geometrical shape - or polygon.
(a1 + b1 , a2 + b2 , a3 + b3 ) = (b1 + a1 , b2 + a2 , b3 + a3 )
This then becomes the polygon law.
Associative law
If from a point O, say, as in the figures below, lines are drawn to represent the vectors a, b, c, d,
and e. Then the closing side represents the vector r and r is the sum of the vectors a, b, c, d, (a + b) + c = a + (b + c)
and e.
B
D d b This follows from the component definition and geometrically - from the triangle or polygon law.
C
e A
E c E In component form
e c
D
B a
r r d
b
C
a O c
O A
a+(b+c)
(a+b)+c b+c
r =a+b+c+d+e a+b
b
a
Engineering Mathematics 1.2: Vectors Algebra 13 Engineering Mathematics 1.2: Vectors Algebra 14
(a1 + b1 ) + c1 = a1 + (b1 + c1)
B
(a2 + b2 ) + c2 = a2 + (b2 + c2)
a-b
(a3 + b3 ) + c3 = a3 + (b3 + c3) b
a
O A
Distributive law
-b
(a + b ) = a + b
This follows from the component definition or geometrically from similar triangles
( (a1 + b1 ), (a2 + b2 ), (a3 + b3 )) = (a1 + b1 , a 2 + b2 , a3 + b3 ) This is an important result as it shows that the vector represented by the line joining two points
is given by taking the vector giving the position of the first point from that for the second
B BA = OA OB = BO + OA = b + a = a b
(a+b) = a+b
b 3.4 Vector Addition Examples
B
(1)
a+b b
In component form:
(
c = 12 ,2 2 ,12 )
1/ 2
= 6
Geometrically:
Engineering Mathematics 1.2: Vectors Algebra 15 Engineering Mathematics 1.2: Vectors Algebra 16
2) From analysis of the forces in a new bridge it is calculated that the following forces are
imposed at one of the bridge supports (in Newtons).
4 Vector Multiplication
We have seen how vectors can be added, another natural operation in maths is to multiply
F1 = (1,1,1)
quantities together. The idea of multiplication of vectors becomes very useful in engineering. In
F2 is 6N and acts in the direction (1,2,-2)
particular we will show how to use them to calculate moments and work-done with great ease.
F3 is 10N and acts in the direction (1,2,-2)
In order to design the bridge support the resultant force is required. What is the force the
Two types of multiplication exist. They are called the vector and scalar products.
support must impose on the bridge to reduce the resultant force to zero.
4.1 The Scalar Product
The first force is given in the usual vector form. The second two are in valid forms but need to
(also known as the dot product or the inner product)
be converted so that we can perform the usual vector addition.
First calculate the unit vectors in the direction of F2 and F3
A
F
F 2 = 2 =
(1,2,2) = 1 (1,2,2)
F2 1+ 4 + 4 3
F
F 3 = 3 =
(3,4,0) = 1 (3,4,0) a
F2 9 + 16 + 0 5
So the in vector for the two forces are
P
1 2 2 O
F2 = 6 , , = (2,4,4 ) N
3 3 3 The component of the vector a in the direction of OP is easily calculated as equivalent to the
3 4 length ON by
F2 = 10 , ,0 = (6,8,0 )
5 5 ON = a cos
The resultant force F is found by vector addition
F = F1 + F1 + F1 = (1,1,1) + (2,4,4 ) + (6,8,0 ) = (9,3,3)
Considering the constant force F in the figure below, which acts through the point O. If this force
is moved along the line OA, along the vector a, then we can calculate the work done by the
The force the support must impose on the bridge is equal and in the opposite direction as the
force. (Remember: work done is the component of the force in the direction of movement
resultant i.e.
multiplied by distance moved by the point of application.)
Reaction force = ( 9,3,3)
F F
O a A
The component of F along OA is F cos . This force is moved the distance a , giving,
Engineering Mathematics 1.2: Vectors Algebra 17 Engineering Mathematics 1.2: Vectors Algebra 18
This is the scalar product of the two vectors F and a and can be seen as a geometric
definition. (3) Use of the "dot" is essential to indicate that the calculation is a scalar product.
The scalar product of two vectors a = (a1 , a 2 , a 3 ) and b = (b1 , b2 , b3 ) is written with a dot () ab = ba
between the to vectors. a b cos = b a cos
It is defined in component form as
a b = a1b1 + a 2 b2 + a 3b3 Associative Law
You cannot have a scalar product of three vectors as 'dotting' the first two gives a scalar.
And in geometrical form
a b = b a cos Distributive Law (for a scalar multiplier)
Brackets are multiplied out in the usual way.
The two definitions can be proved to be equivalent by the cosine rule for a triangle, Distributive Law (for vector addition)
B a (b + c ) = a b + a c
Powers of vectors
b a a = a12 + a 22 + a32
= a a cos 0
2
=a
(1) The scalar product of two vectors gives a number (a scalar) BUT a b = 0 does not imply that a and b are perpendicular, because a could be zero or b could
be zero.
And we can write (i) The i direction is the vector (1,0,0) so the component in the i direction is
Unit vector =
(3,1,2)
4.3 Scalar Product Examples 14
Component of F in direction (3, 1, -2) is
(1) Find the angle between the two vectors a = (2, 0, 3) and b = (3, 2, 4)
F
(3,1,2) = (2,2,3) (3,1,2) / 14 =
2
Using a b = b a cos and a b = a1b1 + a 2 b2 + a 3b3 14 14
a b = 6 + 0 + 12 = 18
a = (2, 0, 3) = (4 + 0 + 9 )
1/ 2
= 13
b = (3, 2, 4 ) = (9 + 4 + 16 )
1/ 2
= 29
18 = 13 29 cos
18
cos = = 0.927
13 29
= 22.02
n
4.6 Area calculation
Area = h AB = AD sin AB = AD AB
Engineering Mathematics 1.2: Vectors Algebra 23 Engineering Mathematics 1.2: Vectors Algebra 24
The area of the triangle PQR is given by Distributive law with addition
Q a (b + c ) = (a b ) + (a c )
Engineering Mathematics 1.2: Vectors Algebra 25 Engineering Mathematics 1.2: Vectors Algebra 26
There are several ways, the determinant form is shown here It can be shown that in general,
i j k (a b ) c = (a c )b (b c )a
a b = a1 a2 a3 It can also be shown that
b1 b2 b3
a (b c ) = (a c )b (a b )c
a2 a3 a a3 a a2
=i j 1 +k 1 (2) Find the area of the triangle having vertices at
b2 b3 b1 b3 b1 b2
P= (3, 2, 2), Q= (1, -1, 2), R = (2, 1, 1)
4.10 Examples
(1) Given the three vectors a = (3, 1, 1), b = (2, -1, 1), c = (0, 1, 2)
i j k
R
ab = 3 1 1
2 1 1
1 1 3 1 3 1 P
=i j +k
1 1 2 1 2 1
1
Area PQR = PQ PR
= (2,1,5) 2
PQ = ( 2,3,0 ) PR = ( 1,1,1)
(a c )b (b c )a = 3b 1a
= (6,3,3) (3,1,1)
= (3,4,2 )
Engineering Mathematics 1.2: Vectors Algebra 29 Engineering Mathematics 1.2: Vectors Algebra 30
(c) If (a b ) c = 0 then either
5 Vector Equations of Lines and Planes
i) a = 0, or
ii) b = 0 or 5.1 The Vector Equation of a Line
iii) c =0 or Consider the line which passes through the points A and B with position vectors a and b
iv) two of the vectors are parallel or respectively and a point P, which has position vector r, and lies on this line as shown
a r
b
OA = a OB = b OP = r
From this diagram we can see that
OP = OA + AP
r = a + AP
If t is some multiple of AB such that
r = a + t AB
as a + AB = b , then
r = a + t (b a )
So the equation of the line AB is:
r = (1 t )a + tb
for < t < .
In component form
r = ( x, y , z )
a = (a1 , a 2 , a 3 )
b = (b1 , b2 , b3 )
( x, y, z ) = (1 t )(a1 , a 2 , a3 ) + t (b1 , b2 , b3 )
= (a1 , a 2 , a 3 ) + t [(b1 , b2 , b3 ) (a1 , a 2 , a3 )]
Engineering Mathematics 1.2: Vectors Algebra 31 Engineering Mathematics 1.2: Vectors Algebra 32
x = (1 t )a1 + tb1 In Cartesian form
x a1 x 1 y 1 z
t= = = =s
b1 a1 4 3 7
Similarly for y and z (3) Do r1 and r2 intersect?
y a2 z a3 For the lines to intersect then t and s should be such that:
t= t=
b2 a 2 b3 a3 3t = 1 4 s
Hence the Cartesian equation of a line passing through the points (a1,a2,a3) and (b1,b2,b3).is 1 + 3t = 1 3s
2 + 5s = 7 s
x a1 y a2 z a3
= = =t are all satisfied.
b1 a1 b2 a 2 b3 a3
(4) Find the angle between the two lines which are in the same direction as the two vectors c =
(3,3,5) and d = (-4,-3,-7)
5.2 Equation of line examples:
c d = c d cos
r = (1 t )a + tb = a + t (b a )
c d = 12 9 35 = 56
(1) Find the equation of the line r1 through the points (0,1,-2) and (3,4,3).
r = (1 t )a + tb
c = (9 + 9 + 25)
1/ 2
= 43
= (0,1 t ,2 + 2t ) + (3t ,4t ,3t )
d = (16 + 9 + 49 )
1/ 2
= (3t ,1 + 3t ,2 + 5t ) = 74
i.e. x = 3t y = 1 + 3t z = 2 + 5t
56
In Cartesian form cos = = 0.9927
43 74
x 0 y 1 z + 2
= = =t = 173.1
3 0 3 1 3 + 2
x 0 y 1 z + 2
= = =t
3 2 5
(2) Find the equation of the line r2 through the points (1,1,0) and (-3,-2,-7)
r = (1 s )a + sb
= (1 s,1 s,0) + ( 3s,2s,7 s )
= (1 4s,1 3s,7 s )
Engineering Mathematics 1.2: Vectors Algebra 33 Engineering Mathematics 1.2: Vectors Algebra 34
5.4 Examples involving both lines and planes
5.3 The Vector Equation of a Plane (1) Find the equation of the plane through the points
a = (3,2,0) b = (1,3,-1) c = (0,-2,3)
We can use the fact that a line joining any two points in the plane is perpendicular to the normal
to the plane.
a - b lies in the plane
i.e. n and AP are perpendicular. a - b = (2, -1, 1)
a - c lies in the plane
n a - c = (3, 4, -3)
Engineering Mathematics 1.2: Vectors Algebra 35 Engineering Mathematics 1.2: Vectors Algebra 36
(2) (a) Find the point where the plane r (1,2,1) = 4 (or x + 2 y + z = 4 ) meets the line (3) Find the perpendicular distance from the point P (2,-3,4) to the plane x+2y+2z=13
r = a + t (b a )
1 (3) Find the equation of the line of intersection of the two planes given by:
= (2,1,1) +(1,1,2)
5 x+y+z=5 and 4x + y + 2z = 15
11 6 3
= , , In vector from these planes can be written:
5 5 5
r (1,1,1) = 5
(b) Find the angle that the line makes with the plane.
r (4,1,2) = 15
The normal to the plane is (1, 2, 1) = n.
The line of intersection must be perpendicular to both the vectors (1,1,1) and (4,1,2).
A vector in the direction of the line is (1, 1, 2) = b - a
Hence a vector in the direction of the line must be in the direction
(1,1,1)(4,1,2) = (1,2,-3)
(b a ) n = b a n cos
(b a ) n = 1 + 2 + 2 = 5
To complete the equation of the line we need to find any one point on the line. Choosing x=0
b a = (1 + 1 + 4 )
1/ 2
= 6 then, from the Cartesian equations of the two planes,
n = (1 + 4 + 1)
1/ 2
= 6 y+z=5
5 y + 2z = 15
cos = = 0.833
6 Hence for x=0, y=-5 and z = 10
= 33.56
And the point (0, -5, 10) is a point on the line.
The equation of the line can then be written r = (0, -5, 10) + t (1, 2, -3)
Engineering Mathematics 1.2: Vectors Algebra 37 Engineering Mathematics 1.2: Vectors Algebra 38