You are on page 1of 72

Engineering Mathematics I (MATH ZC 161)

BITS Pilani
K K Birla Goa Campus

Dr. Amit Setia (Assistant Professor) Department of Mathematics

BITS Pilani, K K Birla Goa Campus

BITS Pilani
K K Birla Goa Campus

Chapter 7: Vectors

BITS Pilani, K K Birla Goa Campus

Outline of lecture 10
7.1 7.2 7.3 7.4 7.5 Vectors in 2-space Vectors in 3-space Dot product Cross product Lines and planes in 3-Space

04/09/2012

Engineering Mathematics I (MATH ZC 161)

3
BITS Pilani, K K Birla Goa Campus

Scalars & Vectors

Scalars: A quantity that has magnitude Vectors: A quantity that has both magnitude and direction

04/09/2012

Engineering Mathematics I (MATH ZC 161)

4
BITS Pilani, K K Birla Goa Campus

VECTORS IN 2-SPACE

04/09/2012

Engineering Mathematics I (MATH ZC 161)

5
BITS Pilani, K K Birla Goa Campus

Geometric Vectors
Geometrically, a vector can be represented by a directed line segment- i.e. by an arrow & is denoted either by a boldface symbol or by a symbol with an arrow over it.

For example: u , v, AB .
04/09/2012 Engineering Mathematics I (MATH ZC 161) 6
BITS Pilani, K K Birla Goa Campus

04/09/2012

Engineering Mathematics I (MATH ZC 161)

7
BITS Pilani, K K Birla Goa Campus

Notation and Terminology


A vector whose initial point (or end) is A and whose terminal point (or tip) is B

is written as AB .

The magn magnitude itude of a ve vect ctor is written || AB || Vectors are said to be free, which means that a vector can be moved from one position to another provided its magnitude and direction are not changed.
04/09/2012 Engineering Mathematics I (MATH ZC 161) 8
BITS Pilani, K K Birla Goa Campus

Two vectors that have the same magnitude and same direction are said to be equal.

BITS Pilani, K K Birla Goa Campus

The negative of a vector AB written as AB is a vector that have the same magnitude but has opposite direction.

BITS Pilani, K K Birla Goa Campus

Example

04/09/2012

Engineering Mathematics I (MATH ZC 161)

11
BITS Pilani, K K Birla Goa Campus

If k 0 is a scalar,

the scalar multiple of a vector k AB

is a vector that is |k | times as long as AB . If k > 0,

then k AB has the same direction as


that of AB otherwise opposite of AB .


04/09/2012 Engineering Mathematics I (MATH ZC 161) 12
BITS Pilani, K K Birla Goa Campus

Two vectors are parallel they are nonzero scalar multiple of each other.

04/09/2012

Engineering Mathematics I (MATH ZC 161)

13
BITS Pilani, K K Birla Goa Campus

Addition & Subtraction


If nonparallel vectors AB and AC are the sides of a parallelogram,

then the main diagonal or AD is the sum of


AB and AC. AD = AB + AC
04/09/2012 Engineering Mathematics I (MATH ZC 161) 14
BITS Pilani, K K Birla Goa Campus

The difference of two vectors AB and AC is defined by AB AC = AB + ( AC ). If AB = AC , then AB AC = 0.


04/09/2012

Engineering Mathematics I (MATH ZC 161)

15
BITS Pilani, K K Birla Goa Campus

Vectors in a Coordinate Plane


We shall denote the set of all vectors in the plane by R 2 . The vector with initial point the origin O and the terminal point P( x1 , y1 ) is called the position vector of the point P and is written OP =< x1 , y1 >

04/09/2012

Engineering Mathematics I (MATH ZC 161)

16
BITS Pilani, K K Birla Goa Campus

Components
In general, a vector a in R is any ordered pair of real numbers, a =< a1 , a2 > The numbers a1 , a2 are said to be the components of the vector a.
2

04/09/2012

Engineering Mathematics I (MATH ZC 161)

17
BITS Pilani, K K Birla Goa Campus

Addition, Scalar Multiplication, Equality

Let a =< a1 , a2 > and b =< b1 , b2 > be vectors in R .


2

i ) Addition: a + b =< a1 + b1 , a2 + b2 > ii ) Scalar multiplication: ka =< ka1 , ka2 > iii ) Equality: a = b iff a1 = b1 , a2 = b2

04/09/2012

Engineering Mathematics I (MATH ZC 161)

18
BITS Pilani, K K Birla Goa Campus

Example

If a =< 1, 4 > and b =< 6,3 >, find a + b, a b, 2a + 3b. Solution: a + b =< 1 + (6), 4 + 3 >=< 5, 7 > a b =< 1 (6), 4 3 >=< 7,1 > 2a + 3b =< 2,8 > + < 18,9 >=< 16,17 >
04/09/2012 Engineering Mathematics I (MATH ZC 161) 19
BITS Pilani, K K Birla Goa Campus

Properties of Vectors

i )a + b = b + a ii )a + (b + c) = (a + b) + c iii )a + 0 = a iv)a + (a) = 0


04/09/2012 Engineering Mathematics I (MATH ZC 161) 20
BITS Pilani, K K Birla Goa Campus

v) k (a + b) = ka + kb, k is a scalar vi ) (k1 + k2 )a = k1a + k2a, k1 , k2 are scalars vii )k1 (k2a) = (k1k2 )a viii )1a = a ix) 0a = 0
04/09/2012 Engineering Mathematics I (MATH ZC 161) 21
BITS Pilani, K K Birla Goa Campus

Magnitude of a vector
The magnitude, length, or norm of a vector a is denoted by ||a||. Let a =< a1 , a2 > then ||a|| = a12 + a2 2 Clearly, ||a|| 0 for any vector a and ||a|| = 0 a = 0
04/09/2012 Engineering Mathematics I (MATH ZC 161) 22
BITS Pilani, K K Birla Goa Campus

Unit Vectors
A vector that has magnituide 1 is called a unit vector. We can obtain a unit vector u in the same direction 1 as a nonzero vector a by the positive scalar || a || 1 u= a || a ||
04/09/2012 Engineering Mathematics I (MATH ZC 161) 23
BITS Pilani, K K Birla Goa Campus

VECTORS IN 3-SPACE

04/09/2012

Engineering Mathematics I (MATH ZC 161)

24
BITS Pilani, K K Birla Goa Campus

Rectangular Coordinate System


In three dimensions, or 3-space, a rectangular coordinate system is constructed using three mutually orthogonal axes. The point at which these axes intersect is called the origin O. These axes are labeled in accoordance with the so-called right-hand rule.
04/09/2012 Engineering Mathematics I (MATH ZC 161) 25
BITS Pilani, K K Birla Goa Campus

Right Hand Rule


If the fingers of the right hand, pointing in the direction of the positive x axis, are curled towards the positive y axis, then the thumb will point in the direction of a new axis perpendicular to the plane of the x-and y axes. This new axis is labeled the z axis.
04/09/2012 Engineering Mathematics I (MATH ZC 161) 26
BITS Pilani, K K Birla Goa Campus

04/09/2012

Engineering Mathematics I (MATH ZC 161)

27
BITS Pilani, K K Birla Goa Campus

Cartesian Coordinates of a point


If x = a, y = b, z = c are planes perpendicular to the x axis, y axis, and z axis, respectively then the point P at which these planes intersect can be represented by an ordered triple of number (a, b, c) said to be the rectengular or Cartesian coordinate of the point.

04/09/2012

Engineering Mathematics I (MATH ZC 161)

28
BITS Pilani, K K Birla Goa Campus

Octants
Each pair of coordinate axes determine a coordinate plane. As shown in figure, the x and y axes determines the x y plane and so on. The coordinate plane divide 3-space into eight parts known as Octants.
04/09/2012 Engineering Mathematics I (MATH ZC 161) 29
BITS Pilani, K K Birla Goa Campus

Distance Formula

The distance between two points P 1 ( x1 , y1 , z1 ) and P2 ( x2 , y2 , z2 ) in 3-space is given by d (P ( x1 x2 ) + ( y1 y2 ) + ( z1 z2 ) 1, P 2) =


2 2 2

04/09/2012

Engineering Mathematics I (MATH ZC 161)

30
BITS Pilani, K K Birla Goa Campus

Example
Find the distance between (2, 3, 6) and ( 1, 7, 4). Solution: Let P 1 = (2, 3, 6) and P 2 = ( 1, 7, 4) then
2 2 2 d (P , P ) = (2 ( 1)) + ( 3 ( 7)) + (6 4) = 29. 1 2

04/09/2012

Engineering Mathematics I (MATH ZC 161)

31
BITS Pilani, K K Birla Goa Campus

Midpoint Formula
If P 1 = ( x1 , y1 , z1 ) and P 2 = ( x2 , y2 , z2 ) are two distinct points, then the coordinate of the midpoint of the line segment between them are x1 + x2 y1 + y2 z1 + z2 , , 2 2 2
04/09/2012 Engineering Mathematics I (MATH ZC 161) 32
BITS Pilani, K K Birla Goa Campus

Vectors in 3-Space
A vector a in 3-space is any ordered triple of real numbers a =< a1 , a2 , a3 > where a1 , a2 , a3 are the components of the vector. The set of all vectors in 3-space will be denoted by the symbol R 3 .
04/09/2012 Engineering Mathematics I (MATH ZC 161) 33
BITS Pilani, K K Birla Goa Campus

The position vector of a point P( x1 , y1 , z1 ) in space is the vector OP =< x1 , y1 , z1 > whose initial point is the origin O and whose terminal point is P.

04/09/2012

Engineering Mathematics I (MATH ZC 161)

34
BITS Pilani, K K Birla Goa Campus

Component Definitions in 3-Space


Let a =< a1 , a2 , a3 > and b =< b1 , b2 , b3 > be vectors in R 3 . i ) Addition: a + b =< a1 + b1 , a2 + b2 , a3 + b3 > ii ) Scalar multiplication: ka =< ka1 , ka2 , ka3 > iii ) Equality: a = b iff a1 = b1 , a2 = b2 , a3 = b3 iv) Negative: b = (1)b =< b1 , b2 , b3 >
04/09/2012 Engineering Mathematics I (MATH ZC 161) 35
BITS Pilani, K K Birla Goa Campus

v) Subtraction: a b = a + (b) =< a1 b1 , a2 b2 , a3 b3 > vi ) Zero vector: 0 = <0,0,0> vii ) Magnitude: || a ||= a + a2 + a3
2 1 2
04/09/2012 Engineering Mathematics I (MATH ZC 161)

36
BITS Pilani, K K Birla Goa Campus

Vector Between Two Points

If OP 1 and OP 2 are the position vector of the points P 1 = ( x1 , y1 , z1 ) and P 2 = ( x2 , y2 , z2 ),

then the vector P 1P 2 is given by P 1P 2 = OP 1 OP 2 =< x2 x1 , y2 y1 , z 2 z1 >


04/09/2012

Engineering Mathematics I (MATH ZC 161)

37
BITS Pilani, K K Birla Goa Campus

The i ,j ,k Vectors
Any vector a =< a1 , a2 , a3 > in 3-space can be expressed as a linear combination of the unit vectors i =< 1, 0, 0 >, j =< 0,1, 0 >, k =< 0, 0,1 > a = a1i + a2 j + a3k

04/09/2012

Engineering Mathematics I (MATH ZC 161)

38
BITS Pilani, K K Birla Goa Campus

Dot Product
The dot product is also known as inner product or scalar product. The dot product of two vectors a and b is denoted by aib and is a real number defined in terms of the components of the vectors.
04/09/2012 Engineering Mathematics I (MATH ZC 161) 39
BITS Pilani, K K Birla Goa Campus

Dot Product of Two Vectors


In 2-space, the dot product of two vectors a =< a1 , a2 > & b =< b1 , b2 > is the number aib = a1b1 + a2b2 In 3-space, the dot product of two vectors a =< a1 , a2 , a3 > & b =< b1 , b2 , b3 > is the number aib = a1b1 + a2b2 + a3b3
04/09/2012 Engineering Mathematics I (MATH ZC 161) 40
BITS Pilani, K K Birla Goa Campus

Example

1 If a = 10i + 2 j 6k and b = i + 4 j 3k 2 then 1 aib = (10) + (2)(4) + (6)(3) = 21. 2

04/09/2012

Engineering Mathematics I (MATH ZC 161)

41
BITS Pilani, K K Birla Goa Campus

Properties of Dot Product


i )aib = 0 if a = 0 or b = 0 ii )aib = bia iii )ai(b + c) = aib + aic iv)ai(kb) = (ka)ib = k (aib), k is a scalar v)aia 0 vi )aia =|| a ||
04/09/2012

Engineering Mathematics I (MATH ZC 161)

42
BITS Pilani, K K Birla Goa Campus

Alternative Form of the Dot Product

The dot product of two vectors a and b is aib =|| a || ||b || cos , where is the angle between the vectors such that 0
04/09/2012 Engineering Mathematics I (MATH ZC 161) 43
BITS Pilani, K K Birla Goa Campus

Properties
If a and b are nonzero vectors, then by alternative definition aib > 0 is acute i) ii ) aib < 0 aib = 0 is obtuse cos = 0 i.e. =

iii )

04/09/2012

Engineering Mathematics I (MATH ZC 161)

44
BITS Pilani, K K Birla Goa Campus

Criterion for Orthogonal Vectors

Two nonzero vectors a and b are orthogonal aib = 0

04/09/2012

Engineering Mathematics I (MATH ZC 161)

45
BITS Pilani, K K Birla Goa Campus

Angle Between Two Vectors


Let a =< a1 , a2 , a3 > and b =< b1 , b2 , b3 > be two vectors in 3-space then the angle between them can be determined by the given formula a1b1 + a2b2 + a3b3 cos = || a || ||b||

04/09/2012

Engineering Mathematics I (MATH ZC 161)

46
BITS Pilani, K K Birla Goa Campus

Problem
Find the angle between the vectors a = 2i + 3 j + k & b = i + 5 j + k

04/09/2012

Engineering Mathematics I (MATH ZC 161)

47
BITS Pilani, K K Birla Goa Campus

Solution
a = 2i + 3j + k & b = i + 5 j + k a1b1 + a2b2 + a3b3 2 + 15 + 1 cos = = || a || ||b|| 14 21 14 42 = = 9 14 21 42 o 43.0 = cos 9
1
04/09/2012 Engineering Mathematics I (MATH ZC 161) 48
BITS Pilani, K K Birla Goa Campus

Direction Cosines of a vector


For a nonzero vector a = a1i + a2 j + a3k in 3-space, the angle , ,and between a and the unit vectors i,j and k respectively are called direction angles of a. ai a j ak cos = , cos = , cos = || a || || a || || a || a3 a1 a2 cos = , cos = , cos = || a || || a || || a || we say that cos , cos & cos are the direction cosines of a
04/09/2012 Engineering Mathematics I (MATH ZC 161) 49
BITS Pilani, K K Birla Goa Campus

Direction cosines of a nonzero vector are 1 simply the components of the unit vector a : || a || a3 1 a1 a2 i+ j+ k a = || a || || a || || a || || a || = cos i + cos j + cos k cos + cos + cos = 1
2 2 2
04/09/2012 Engineering Mathematics I (MATH ZC 161) 50
BITS Pilani, K K Birla Goa Campus

04/09/2012

Engineering Mathematics I (MATH ZC 161)

51
BITS Pilani, K K Birla Goa Campus

Component of a on b

To find the component of a on a vector b, we dot a with a unit vector in the direction of b. 1 aib compb a = ai b = || b || || b ||

04/09/2012

Engineering Mathematics I (MATH ZC 161)

52
BITS Pilani, K K Birla Goa Campus

Projection of a onto b
The projection of a onto b is given by 1 aib projba = (compb a) b = b || b || bib

04/09/2012

Engineering Mathematics I (MATH ZC 161)

53
BITS Pilani, K K Birla Goa Campus

Example
Find the projection of a = 4i + j onto the vector b = 2i + 3 j. Solution: 1 compb a = ai b || b || 1 11 = (4i + j) (2i + 3j) = 13 13 1 projb a = (compb a) b || b || 22 33 11 1 = (2i + 3 j) = 13 i + 13 j 13 13
04/09/2012 Engineering Mathematics I (MATH ZC 161) 54
BITS Pilani, K K Birla Goa Campus

Cross Product of Two Vectors


The cross product of two vectors a =< a1 , a2 , a3 > and b =< b1 , b2 , b3 > is the vector a b = (a2b3 a3b2 )i (a1b3 a3b1 ) j + (a1b2 a2b1 )k

i j = k j k = i ki = j

j i = k k j = i i k = j

ii = 0 j j = 0 k k = 0

04/09/2012

Engineering Mathematics I (MATH ZC 161)

55
BITS Pilani, K K Birla Goa Campus

i a b = a1 b1

j a2 b2

k a3 b3

04/09/2012

Engineering Mathematics I (MATH ZC 161)

56
BITS Pilani, K K Birla Goa Campus

Properties of the Cross Product


i )a b = 0 if a = 0 or b = 0 ii )a b = b a iii )a (b + c) = a b + a c iv)a (kb) = (ka) b = k (a b), k scalar v)a a = 0 vi )ai(a b) = 0 vii )bi(a b) = 0
04/09/2012 Engineering Mathematics I (MATH ZC 161) 57
BITS Pilani, K K Birla Goa Campus

Magnitude of the Cross Product

For nonzero vector a and b, if is the angle between a and b(0 ), then ||a b|| =|| a || ||b|| sin

04/09/2012

Engineering Mathematics I (MATH ZC 161)

58
BITS Pilani, K K Birla Goa Campus

Parallel Vectors
Two vectors are parallel if they have the forms a and ka, where a is any vector and k is a scalar.

Two nonzero vectors a and b are parallel ab = 0

04/09/2012

Engineering Mathematics I (MATH ZC 161)

59
BITS Pilani, K K Birla Goa Campus

Scalar Triple Product


The scalar triple product of a vector a,b and c is a (b c). a1 a (b c) = b1 c1 a2 b2 c2 a3 b3 c3

04/09/2012

Engineering Mathematics I (MATH ZC 161)

60
BITS Pilani, K K Birla Goa Campus

Vector triple product

The vector triple product of three vectors a,b and c is a (b c) a (b c) = (a c)b (a b)c

04/09/2012

Engineering Mathematics I (MATH ZC 161)

61
BITS Pilani, K K Birla Goa Campus

Area of a parallelogram
The area of a parallelogram with sides a and b =|| a b || | area of a parallelogram = Base altitude

04/09/2012

Engineering Mathematics I (MATH ZC 161)

62
BITS Pilani, K K Birla Goa Campus

Area of a triangle

The area of a triangle with sides a and b is 1 A = || a b || 2

04/09/2012

Engineering Mathematics I (MATH ZC 161)

63
BITS Pilani, K K Birla Goa Campus

Problem

Find the area of a triangle formed by a = i + 2 j + 3k b = i 3 j 5k

04/09/2012

Engineering Mathematics I (MATH ZC 161)

64
BITS Pilani, K K Birla Goa Campus

Solution
a = i + 2 j + 3k b = i 3j 5k i ab = 1 j 2 k 3 = i + 8 j 5 k

1 3 5 The area of a triangle with sides a and b is 1 3 A = || a b || = 10 2 2


04/09/2012 Engineering Mathematics I (MATH ZC 161) 65
BITS Pilani, K K Birla Goa Campus

Volume of a Parallelepiped
If the vectors a,b and c do not lie in the same plane, then the volume of the parallelepiped with edges a,b and c shown in figure is V = |a (b c)|

04/09/2012

Engineering Mathematics I (MATH ZC 161)

66
BITS Pilani, K K Birla Goa Campus

Problem
Find the volume of a parallelepiped formed by vectors a = i + 2 j + 4k b = 2i + j c = 5 j + 3k

04/09/2012

Engineering Mathematics I (MATH ZC 161)

67
BITS Pilani, K K Birla Goa Campus

Solution
a = i + 2 j + 4k b = 2i + j c = 5 j + 3k 1 2 4 a (b c) = 2 1 0 = 31 0 5 3
04/09/2012 Engineering Mathematics I (MATH ZC 161) 68
BITS Pilani, K K Birla Goa Campus

Coplanar Vectors

Vectors that lie in the same plane are said to be coplanar. a (b c) = 0 a,b and c are coplanar.

04/09/2012

Engineering Mathematics I (MATH ZC 161)

69
BITS Pilani, K K Birla Goa Campus

Problem

Determine whether the vectors a = i + 2 j + 4k b = 2i + j c = 5 j + 3k are coplanar or not.


04/09/2012 Engineering Mathematics I (MATH ZC 161) 70
BITS Pilani, K K Birla Goa Campus

Solution
a = i + 2 j + 4k b = 2i + j c = 5 j + 3k 1 2 4 a (b c) = 2 1 0 = 31 0 0 5 3 a, b & c are not coplanar.
04/09/2012 Engineering Mathematics I (MATH ZC 161) 71
BITS Pilani, K K Birla Goa Campus

Thanks
BITS Pilani, K K Birla Goa Campus

You might also like