Docsity

Applied mathematics 1, Lecture notes of Applied Mathematics

Toggle sidebar
bg1
1
Addis Ababa University , CNCS
ADDIS ABABA UNIVERSITY
COLLEGE OF NATURAL AND COMPUTATIONAL SCIENCES
DEPARTMENT OF MATHEMATICS
Applied Mathematics IB (Math 1041)
Academic year 2020
PART I: INTRODUCTION TO LINEAR ALGEBRA
Chapter 1: Vectors and Vector Spaces
Introduction
Some of the things we measure are determined by their magnitudes. To record
mass, length or time for example , We need only to write down a number and name an
appropriate unit of measure.But we need more information to describre force ,
displacement or velocity. To describe force we need to record the direction in which it
acts as well as how large it is . To describe a body‟s disp[alcement , we have to say in
what direction it moves as well as how far. To describe a body‟s velocity, we have to
know where the body is headed as well as how fast it is going.
Quantities that have direction as well as magnitude are usually represented by
arrows that point in the direction of the action and whose lengths give the magnitude of
the action in terms of a suitably chosen unit.. When we discuss these arrows abstractly ,
we think of them as directed line segments and we call them vectors and their study
comprises this chapter. Here we focus on the in n-vectors i.e n-dimensional vectors n.
The concept of a vector is basic for the whole module. It provides geometric
motivation for everything that follows. Hence the properties of vectors, both algebraic
and geometric, will be discussed in full. That is points in n. Scalar product and vector
product are also studied here. So points in 2 and 3 can be treated as a special case for
n. Geometrical interpretations are also presented whenever necessary.
The cross (vector) product is included for the sake of completeness. It is the only
aspect of the theory of vectors which is valid only in 3-dimensional space (not 2, nor 4,
nor n-dimensional space)
In the final section of this unit, you will study how to write equation of a line and
equation of a plane in 2 and 3- dimensional vector space.
At the end of this unit , you will be able to
Plot a point in space
Interpret vectors geometrically
Determine whether two or more vectors are parallel or not
Find the norm of a vector
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Applied mathematics 1 and more Lecture notes Applied Mathematics in PDF only on Docsity!

ADDIS ABABA UNIVERSITY

COLLEGE OF NATURAL AND COMPUTATIONAL SCIENCES

DEPARTMENT OF MATHEMATICS

Applied Mathematics IB (Math 1041) Academic year 2020

PART I: INTRODUCTION TO LINEAR ALGEBRA

Chapter 1: Vectors and Vector Spaces

Introduction

Some of the things we measure are determined by their magnitudes. To record mass, length or time for example , We need only to write down a number and name an appropriate unit of measure.But we need more information to describre force , displacement or velocity. To describe force we need to record the direction in which it acts as well as how large it is. To describe a body‟s disp[alcement , we have to say in what direction it moves as well as how far. To describe a body‟s velocity, we have to know where the body is headed as well as how fast it is going.

Quantities that have direction as well as magnitude are usually represented by arrows that point in the direction of the action and whose lengths give the magnitude of the action in terms of a suitably chosen unit.. When we discuss these arrows abstractly , we think of them as directed line segments and we call them vectors and their study comprises this chapter. Here we focus on the in n -vectors i.e n -dimensional vectors  n.

The concept of a vector is basic for the whole module. It provides geometric motivation for everything that follows. Hence the properties of vectors, both algebraic and geometric, will be discussed in full. That is points in  n. Scalar product and vector product are also studied here. So points in ^2 and ^3 can be treated as a special case for  n. Geometrical interpretations are also presented whenever necessary.

The cross (vector) product is included for the sake of completeness. It is the only aspect of the theory of vectors which is valid only in 3-dimensional space (not 2, nor 4, nor n -dimensional space) In the final section of this unit, you will study how to write equation of a line and equation of a plane in 2 and 3- dimensional vector space. At the end of this unit , you will be able to

 Plot a point in space  Interpret vectors geometrically  Determine whether two or more vectors are parallel or not  Find the norm of a vector

 Find the angle between two vectors  Find the projection of one vector onto the other  Describe vectors and their properties  Calculate the scalar product and vector (cross) product of vectors  Calculate norm of a vector, angle between vectors and projection of vectors  Write equation of a line and equation of a plane  Calculate area of a parallelogram and volume of parallelepiped using dot product and vector product

1.1 Definition of points in n-space

A natural way in which vectors arise is in simultaneous study of several characteristics of an individual. Suppose we want to study a 1 = height , a 2 = weight ,a 3 = age and a 4 = blood pressure of an individual. The values of all these can together be represented by an ordered 4-tuple A= (a 1 ,a 2 ,a 3 ,a 4 ) which can be viewed as an element of ^4.

Definition 1.1.1 :Suppose A = (a 1 , a 2 , …..,an) and B = (b 1 , b 2 , …..,bn) be two points in n-space and c.

a) A + B = (a 1 + b 1 , a 2 + b 2 , ….., an + bn) b) c A = (ca 1 , ca 2 , …..,can)

Example 1.1.1 : Let A = ( -1,3,6,2) , B = (0,-5,-1,4) , C = (2,-1,3) and D = (0,0,0,0)

Find a) A + B b) A + C c) -2 A d) B + D

Solution

a) A + B = ( -1+0,3+-5,6+-1,2+4) = (-1,-2,5,6) b) A + C is not defined because A is a 4 dimensional space while C is a 3 dimensional space. c) -2 A = -2(-1,3,6,2) = ( (-2)(-1) , (-2)(3) , (-2)(6) , (-2)(2)) = ( 2,-6,-12,-4) d) B + D = (0,-5,-1,4) + (0,0,0,0) = ( 0 + 0 , -5 + 0 , -1 + 0 , 4 + 0 ) = (0,-5,-1,4)

Definition 1.1.2: Suppose A and B be two points in n-space , we define A - B = A +(- B )

Example 1.1.2 : Let A = ( 4,1,0,2,3) , B = (0,1,-4,8,-3). Find A – B Solution

= ([a 1 + b 1 ], [a 2 + b 2 ], ….., [an+bn]) = (a 1 +b 1 , a 2 + b 2 , ….., an+bn) = (a 1 , a 2 ,.., an) + (b 1 , b 2 , …..,bn) = (a 1 , a 2 ,.., an) +  (b 1 , b 2 , …..,bn) = A + B

4. (+) A = ( +)(a 1 , a 2 , ..,an) = ([ +]a 1 , ([ +] a 2 , ..,[ +]an) = (a 1 +a 1 , a 2 +a 2 , ..,an +an) = (a 1 , a 2 , ..,an ) + (a 1 ,a 2 , ..,an) = (a 1 , a 2 , .., an ) +(a 1 , a 2 , .., an) = A + A 5. ( A )= (a 1 ,a 2 , ..,an) = ([a 1 ] , [a 2 ], .., [an]) = ([]a 1 , []a 2 , …., []an) = (a 1 , a 2 , .., an ) = ()A

6 , 7 and 8 are left as an exercise for the student.

1.2 Vectors in-space; Geometric interpretation in 2-and 3-spaces.

Activity 1.2.

Draw a vector whose initial point is A and terminal point B. a) A = (1,2) and B = ( -2,0) b) A = (0,-2) and B = (1, 1)

Let us consider a vector in a plane. Let A = (a 1 ,a 2 ) and B = (b 1 ,b 2 ) where a 1 ,a 2 , b 1 ,b 2  b 1 = a 1 + ( b 1 - a 1 ) b 2 = a 2 + ( b 2 - a 2 )

B = (b 1 ,b 2 ) = ( a 1 + ( b 1 - a 1 ) , a 2 + ( b 2 - a 2 ) ) = (a 1 ,a 2 ) + ( b 1 - a 1 , b 2 - a 2 ) = (a 1 ,a 2 ) + [( b 1 , b 2 ) + -1 ( a 1 , a 2 ) = A + ( B – A ) Therefore B = A + ( B – A )

Activity 1.2.2 : Let A = (1,4) , B = (-1,5) , C = (2,1) and D =(0,2) Find a) B – A b) D - C

Draw the vectors AB and CD on the coordinate plane.

Definition 1.2.1 : A vector AB is determined by the points A and B where A is the intial point and B is a terminal point

Definition 1.2.2: Suppose AB and CD be two vectors.We say AB is equivalent to

CD written ABCD iff B – A = D – C

Example 1.2.1: Let A = (4,3) B = (2,-1) C = (1,2) and D = (-1,-2) Find a) B - A b) D – C c) Determine whether or not AB is equivalent to CD. d) Find a point P such that OPAB e) Can we always reduce any vector to equivalent vector whose initial point is the origin? Solution:

a) B – A = (2,-1) + -1(4,3) = ( 2 - 4, -1-3) = (-2,-4) b) D – C = (-1,-2)+-1(1,2) = (-1-1,-2 -2) = (-2,-4) c) Since B – A = D – C , ABCD d) Let P = (x,y). OPAB if and only if B - A = P - O B - A = (-2,-4) while P - O = (x,y) B – A = P - O if and only if ( -2,-4) = (x ,y) That means P = (-2,-4) e) yes

Remark : Every vector is equivalent to a vector whose initial point is the origin.

Example 1.2.2 : Show that AB is equivalent to CD where A = (-1,0) , B = (0,1), C =(0,0) and D = (1,1)

Solution: B – A = (0,1) – (-1,0) = (1,1) D – C = (1,1) – (0,0) = (1,1)

Since B – A = D – C , AB is equivalent to CD

Definition 1.2.3: Two vectors AB and CD are said to be parallel if there exists   such that B – A = ( D – C )

Example 1.2.3 : Show that AB is parallel to CD where A = (-1,0) , B = (0,1), C = (0,0) and D = (1,1)

Solution: B – A = (0,1) – (-1,0) = (1,1)

A – B = (2,0,-1,2) – (1,-1,3,5) = ( 1,1, -4, -3)

( A – B ). A = (1,1,-4,3).(2,0,-1,2)

Theorem1.3.1: Let A , B and C be vectors in n dimensional space and   then

a) A. B = B. A b) A .( B + C ) = A.B + A.C = ( B + C ). A = B.A + C.A c) ( A ). B = ( A. B ) = A ( B ) = ( A. B ) d) A.A  0 and A.A = 0 if and only if A = 0.

Proof: Let A = (a 1 , a 2 , …..,an) and B =(b 1 , b 2 , …..,bn) and C = (c 1 , c 2 , …..,cn) be three vectors in n-dimensional space and  .

a) A.B = a 1 b 1 + a 2 b 2 + …..+ an bn by definition = b 1 a 1 +b 2 a 2 +……+bn an multiplication is commutative = B.A by definition

b) A .( B + C ) = a 1 (b 1 + c 1 ) + a 2 (b 2 + c 2 ) …..+ an (bn +cn) = a 1 b 1 + a 1 c 1 + a 2 b 2 + a 2 c 2 +…..+anbn + ancn = (a 1 b 1 + a 2 b 2 + .+anbn )+ (a 1 c 1 + a 2 c 2 +…+ ancn) = A.B + A.C

c) ( A ). B = (a 1 ,a2, …,an).b 1 , b 2 , …..,bn) =(a 1 )b 1 +(a 2 )b 2 .+ …..+ (an)bn

. = a 1 (b 1 )+ a 2 (b 2 ).+ …..+ an (bn) . = A.( B)

d) A.A = a 1 a 1 + a 2 a 2 + …..+ an an by definition = a 12 + a 2 2 + …..+ an^2  0 since it is a sum of non negative numbers. A.A = 0 if and only if each of the ai „s are zero. that is ai =0 for i = 1,2,…n. hence A = 0.

Activity 1.3.1: Let A = (0,4) and B = (1,0).Draw the vectors whose initial point is O and terminal point is at A and B respectively

Find a) A. B b) The angle between A and B c) Find two non zero vectors A and B such that A. B

Definition1.3.2 : Two vectors A and B are said to be perpendicular (orthogonal ) Iff A. B = 0. Example 1.3.1 : Show that the vectors A = (1,3,2) and B = (-4,2,-1) are perpendicular.

Solution : A. B = 1.(-4) + 3.2 + 2.(-1) = 0 Hence A is perpendicular to B

Activity 1.3.2: Find the value of x such that the vectors A = (-1,4,5,2) and B =(3,x,1,0) are perpendicular.

Activity 1.3.3: Which of the following pairs of vectors are perpendicular? a) (-5,2,7) and (3,1,-2) b) (-1,1,1) and (3,2,1)

The norm of a vector

Definition1.3.3: Let A = (a 1 , a 2 , …..,an).The norm of the vector A denoted by || A || is defined as || A || = A. A = 2 2 2

2 a 1 (^)  a ....  an

Example 1.3.2: Let A = (-1,3,0,5) .Find the norm of A

Solution : Let A = (a 1 , a 2 ,a 3 , a 4 ) = (-1,3,0,5)  a 1 = -1, a 2 = 3 , a 3 = 0 and a 4 = 5 || A || = 2 4

2 3

2 2

2 a 1 (^)  aaa = (  1 )^2  32  02  52 = 1  9  0  25 =  35

Example 1.3.3: Let A = (x,y,z) || A || = x^2  y^2  z^2

Let w = x^2  y^2 || A || = w^2  z^2 = x^2  y^2  z^2

Theorem1.3.2 : Prove that a) || A ||  0 if A  0 b) || A || = ||- A || c) || A| | = |||| A || where   Proof : Let A = (a 1 , a 2 , …..,an). and  

a) || A || = A. A = a 1 (^) 2  a 22 ....  an^2

Since a 12 + a 22 + …..+an^2 is a non negative number || A ||=0 if and only if ai,=0 for i =

Definition 1.3.5 : The distance between two points A and B in n space is defined as || A – B || = ( AB )( AB )

Example 1.3.7: Let A = (-1,2,-2) and B =(2,3,-1)

Solution: d = || A – B || = ( AB )( AB ) A – B = (-1,2,-2) – (2,3,-1) = ( -1 -2 , 2 – 3, -2 – (-1)) = ( -3,-1,-1) d = || A – B || = ( AB )( AB ) = (  3 , 1 , 1 )( 3 , 1 , 1 ) = 9  1  1 = 11

Example 1.3.8 : Let A = (1,2) and B =(3,-1).Find the distance between B and A. Solution: d = || B - A || B – A = (3,-1) – (1,2) = (2,-3)

d = || B - A || = 2 2 ( 3 )^2 = 4  9 = 13

Theorem 1.3.3: Given A and B points in n- space || A + B || = || A - B || iff AB Proof :

( ) Suppose || A + B || = || A - B ||

 ( AB )( AB ) = ( AB )( AB )

Squaring both sides ( A + B )( A + B ) = ( A - B )( A - B )  A^2 + 2 AB + B^2 = A^2 - 2 AB + B^2  4 A. B = 0  A. B = 0  AB (  ) Suppose AB. A. B = 0  2 AB = -2 ABA^2 + 2 AB + B^2 = A^2 - 2 AB + B^2 ( A + B ) 2 = ( A – B )^2  ( AB )( AB ) = ( AB )( AB )  || A + B || = || A - B ||

Theorem 1.3.4 : a) If AB , then || A + B || 2 = || A ||^2 + || B ||^2 b) If AB , then A   B ,   Proof : a) || A + B || 2 = A^2 + 2 AB + B^2 = A^2 + B^2 Since AB = || A ||^2 + || B ||^2 b ) A .( B ) =( A.B )= .0 = 0 .Hence A and  B are perpendicular

Example 1.3.9 : Let A = (3,4).Find the angles A makes with positive X,Y axes Solution :

|| A || = 5

Let  be the angle the vector A makes with the x axis Cos= 35 = 37^0

Definition 1.3.6: The angle between two non zero vectors a and b defined to be the angle  where 0     , formed by the corresponding directed line segments whose initial points are the origin. Theorem 1.3.5 : Let a = a 1 i +a 2 j + a 3 k and b = b 1 i + b 2 j + b 3 k be two non zero vectors and let  be the angle between a and b , then a.b = || a |||| b ||cos

i.e cos  = || |||| ||

a b

ab

Proof :

Use the law of cosines on the triangle formed by a , b and b - a || b – a ||^2 = || b || 2 + || a || 2 -2|| a |||| b || cos where  be the angle between a and b b – a = ( b 1 - a 1 )i + (b 2 - a 2 )j + (b 3 - a 3 ) k || b – a ||^2 = (b 1 - a 1 )^2 + (b 2 - a 2 ) 2 + (b 3 - a 3 )^2 = (b 1 2 -2a 1 b 1 + a 12 ) + ( b 2 2 - 2a 2 b 2 + a 22 ) + ( b 3 2 - 2a 3 b 3 + a 32 )

|| b ||^2 = b 12 + b 22 + b 32 || a ||^2 = a 12 + a 22 + a 32 || b – a ||^2 = || b || 2 + || a || 2 -2|| a |||| b || cos  (b 12 -2a 1 b 1 +a 12 ) + (b 22 -2a 2 b 2 + a 22 ) + (b 32 -2a 3 b 3 + a 32 ) = (b 12 + b 22 + b 32 ) + ( a 12 + a 22 + a 32 ) -2|| a |||| b || cos  -2a 1 b 1 + -2a 2 b 2 + -2a 3 b 3 = -2||a||||b|| cos  a 1 b 1 + a 2 b 2 + a 3 b 3 = || a |||| b || cos  a. b = || a |||| b || cos

Corollary 1.3.6 : Two non zero vectors a and b are perpendicular iff a.b = 0 Cos90^0 = 0 Example 1.3.10 : Find the angle between the vector a = i+ 2j + k and a) Positive x – axis b) Negative x-axis

Solution :

a) .Let a = i+ 2j + k and b = i where  > 0 be the positive x-axis || a || = 2 , || b || =  a.b =  a.b = || a |||| b || cos   = 2 cos  cos = ½  =60^0

b) .Let a = i+ 2j + k and b = i where  < 0 be the negative x-axis || a || = 2 , || b || = ||

a 2 = || A || cos  Cos = a^2 || A ||

Similarly positive Z– axis k = (0,0,1) A .k = || A ||||k|| Cos

a 3 = || A || cos  Cos= a^3 || A ||

Cos , Cos  and Cos  are called the directional cosines of A

Example1.3.13 : Let A = 4i – 3k. Find the angle the vector a makes with the positive X,Y Z axes.

Solution : A = 4i – 3k , ||A|| = 5

Cos = 5

4   =37^0

Cos  = 5

0   =90^0

Cos  = 5

^3   = 143^0

Hence A makes 37^0 , 90^0 and 143^0 with the positive X,Y Z axes.

Example 1.3.14: Let A = (1,-4,3) Find a) the angles the vector makes with the positive X,Y and Z axes. b) the angles the vector makes with the negative X ,Y and Z axes.

Solution A = 1i + -4j + 3k = a 1 i + a 2 j + a 3 k  a 1 = 1 , a 2 = -4 and a 3 = 3 And || A|| = (^) 12 ( 4 )^2  32 = 26

a) Positive X- axis i = (1,0,0) || i|| = 1

A .i = || A| | |i || Cos  a 1 = || A || cos  1 = 26 cos Cos = 1/ 26   = cos-1^ ( 1/ 26 )   = 78^0 Similarly positive Y – axis j = (0,1,0) ||j || = 1 A.j = || A |||| j || Cos  a 2 = || A || cos  -4 = 26 cos cos = -4/ 26   = cos-1^ (-4/ 26 )   = 1420 Similarly positive Z– axis k = (0,0,1) || k || = 1 A .k = || A ||||kj|| Cos  a 2 = || A || cos  3 = 26 cos

cos = 3/ 26   = cos-1^ (3/ 26 )   = 540

b) A makes 180^0 - 78^0 = 102^0 , 180^0 - 142^0 = 38^0 and 180^0 - 54^0 = 136^0 with the negative X,Y Z axes.

Activity 1.3. In the above example A = 4i – 3k Find the angle the vector a makes with the negative X,Y Z axes.

Activity 1.3. Let A =2j -2k. Find the angle the vector a makes with the positive X,Y Z axes.

Activity 1.3. Let A =2j -2k. Find the angle the vector a makes with the positive X,Y Z axes.

Example 1.3.15: Show that Cos^2  + Cos^2  + Cos^2  = 1 Solution : Cos = a^1 || A ||, Cos = a^2 || A ||

and Cos= a^3 || A ||

Cos^2  =

2 1 || ||

A

a , Cos^2  =

2 2 || ||

A

a and Cos^2  =

2 3 || ||

A

a

Cos^2  + Cos^2  + Cos^2  =

2 1 || ||

A

a +

2 2 || ||

A

a +

2 3 || ||

A

a

2 3

2 2

2 1 || A ||

aaa

Therefore Cos^2  + Cos^2  + Cos^2 

The Projection of one vector onto another

Let A and B be two vectors and  be the angle between them P = Proj (^) B A P = c B ( A – P )  P  ( A – P ). P = 0  ( A – cB ) .cB = 0 c( A.B – c B.B ) = 0  A.B - c B.B = 0 A B

 c = BB

AB

P

P= c B = BB

AB

B

Example 1.3.16 : Let A = (1,2,3) and B = (-1,1,3) Find a) Proj (^) B A b) Proj (^) A B

Taking square roots on both sides || A + B ||  || A ||+ || B ||

Resolution of a vector

If a and a ^ ( two non zero vectors ) are perpendicular then any non zero vector b lying in the same plane as a and a ^ can be expressed as a sum of the two vectors Proj (^) ab and Proj (^) a ^ b which are parallel to a and a ^ respectively.

Proj (^) ab = a a

a b ) || ||

Proj (^) a ^ b = ( a^ .b/||a||^2 ) a b = Proj (^) ab + Proj (^) a ^ b

Example1.3.18 : Let a = 2i + 3j , a ^ = -3i +2j and b = i + j Resolve b into vectors parallel to a and a ^.

Solution : a. a ^ = 0

a.b = 2 + 3 = 5 a ^ .b = -3 + 2 = -1 , || a ||^2 =(-3)^2 +2^2 = 13 || a| |^2 = a 12 + a 22 +a 32 = 4 + 9 + 0 = 13 Proj (^) ab = 2 || ||

a

ab a

(2i + 3j)

Proj (^) a b = ( 2 || ||

a

a b ) a

(-3i + 2j)

Proj (^) ab + Proj (^) a b = 13

(2i + 3j)+ 13

(-3i + 2j) = i + j

Activity 1.3.10: Let a = i + 2j , a ^ = -2i + j and b = 3i + 4j Resolve b into vectors parallel to a and a ^.

1.4 The Cross product

Definition 1.4.1 : Let A = (a 1 , a 2 ,a 3 ).and B = (b 1 , b 2 ,b 3 ).be two vectors in three dimensional space. We define A x B = i(a 2 b 3 - b 3 a 2 ) – j(a 1 b 3 - a 3 b 1 ) + k(a 1 b 2 - a 2 b 1 )

Example 1.4.1 : Let A = (1,-1,3) and B = (2,1,1) Find

a) A x B b) B x A Solution : A = (1,-1,3) = (a 1 , a 2 ,a 3 ) and a 1 = 1 , a 2 = -1 , a 3 = B = (2,1,1) = (b 1 , b 2 ,b 3 ) and b 1 = 2 , b 2 = 1 , b 3 = a) A x B = i(a 2 b 3 - b 3 a 2 ) – j( a 1 b 3 - a 3 b 1 ) + k( a 1 b 2 - a 2 b 1 ) = i (-1.1 – 1.(-1)) – j(1.1 -3.2) + k(1.1 – (-1)2) = i(-1 + 1 ) – j(1 – 6) + k(1 + 2) = 0i + 5j + 3k

b) B x A = i(b 2 a 3 - a 3 b 2 ) – j(b 1 a 3 - b 3 a 1 ) + k(b 1 a 2 - b 2 a 1 ) = i (1.3 – 3.1) – j(1.3 – 1.1) + k(2.(-1) – 1.1) = i(3 - 3) – j (1 – 6) + k(-2 - 1) = 0i - 5j - 3k =-(0i + 5j + 3k) = - ( A x B )

Using the definition of cross product one can show the following properties.

Theorem 1.4.

  1. A x B = - ( B x A )
  2. If A and B are parallel , then A x B = 0 3. A x( B + C ) = A x B + A x C and ( B + C ) x A = B x A + C x A
  3. For any   , ( A) x B = ( A x B ) = A x ( B )
  4. ( A x B ) x C = ( A.C ) B – ( B.C ) A
  5. A x B is perpendicular to both A and B.
  6. ( A x B ) 2 = ( A.A )( B.B ) – ( A.B ) 2

Using (7) , || A x B ||^2 = || A ||^2 || B ||^2 - || A ||^2 || B ||^2 Cos^2  = || A ||^2 || B ||^2 ( 1 - Cos^2  ) = || A ||^2 || B ||^2 sin^2   || A + B ||^2 = || A ||^2 || B ||^2 sin^2  Taking square root on both sides || A + B || = || A |||| B || |sin  | Since 0    180 , |sin  | = sin . Hence || A + B || = || A |||| B || sin  Remark : ( A + B ) x CA x ( B x C ) Let A = i , B = i and C = j ( A x B ) x C = 0i + 0j + ok and A x ( B x C )= 0i – j + 0k Example1.4.2 : It follows from (1) that i × i = j × j = k × k = 0; i × j = k, j × k =i, k × i = j

Example 1.4.2: Let u and v be vectors in R^3 , we have (u × v).v = u.(v × v) = u.0 = 0 , (u × v).u = -(v × u).u = -v. (u × u) = -v.0 = 0.

Solution: - L= i+j-2k=1i+1j-2k r 0 = li+lj+3k=i+j+3k equation of the line l is r = r 0 + tL = (i+j+3k)+t(i+j-2k) = ( 1+t ) i + (1+t)j + (3-2t)k Activity1.5.1 : Find a vector equation of the line that contains (2,0,1) and is parallel to 2i – k

Example 1.5.2: - Find the parametric equations of the line that contains (1. 1, 3) and parallel to i+ j+k Solution: Take (x 0 , y 0 ,z 0 )= (1, 1,3) And L = ai+bj+ck = i+ j+k

Hence the parametric equations of the line is x = x 0 +at = 1+1t y= y 0 +bt = 1+ t z= z 0 +ct = 3 + t

Let x = x 0 +at , y= y 0 +bt and z = z 0 +ct be a parametric equation of a line. Suppose all a, b, c are non - zero. If you solve each of these three equations for t, you will get

t= a

xx 0 , t = b

yy 0 and t = c

zz 0

a

xx 0

b

yy 0

c

zz 0 is called the symmetric equations of line l.

If a = 0 and b and c are non zero x= x 0 , y= y 0 +bt , z = z 0 +ct

t b

yy 0  t= c

zz 0

x = x 0 , b

yy 0  = c

zz 0 is the symmetric equations of line l.

Activity:1.5.2 - Find the symmetric equations of the line x= x 0 + at , y = y 0 +bt , z = z 0 +ct where a) b = 0 b) c = 0 c) b = c = 0

Example1.5.3 Find symmetric equations of the line l that contains the two points P= (1, 1,2) and Q=(2, 0,-1). Solution :- First we find a vector L parallel to l .Since P and Q are two distinct points lying on l, the vector PQ will serve as L. L = PQ ( 2  1 ) i ( 0  1 )) j ( 1  2 ) ki  j  3 k Take a point on l. Let us take P = (1, 1,2)

P = (1, 1,2) = (x 0 y0, z 0 ) x 0 = 1 y 0 = 1, z 0 = 2 L = i - j – 3 k = ai + bj + ck a = 1 , b= -1 , c= - Symmetric equations of l are

c

z z b

y y a

x x 0 0  0 

Which becomes

xy z

Activity1.5.3 : On Example 1.5.3 above ,take a point on l as Q= (-2,1,-3). Find its symmetric equation.

Many long and difficult computations can be simplified with the help of vector methods. Next we will compute the distance between a given line and a given point not on the line.

Theorem 1.5.1 : Let l be a line parallel to a vector L , and let Q be a point not on l. Then the distance D between Q and l is given by

D = || ||

L

LXPQ

where P is any point on l

Proof: Let  be the angle between L and PQ ,so that 0  1800 because angle

between two vectors is between 0 and 1800.

D=|| PQ ||sin

|| L x PQll || L |||| PQ || Sin 

= ||L || D

It follows that D = || ||

L

LXPQ

Example1.5.4: - Find the distance D from the point (3, -1, 1) to the line l with parametric equations x   1  2 t , y  2  3 t , z  t

Solution First we will show that (3,-1,1)  l.

t t

x t

If you put t = 2 in y = 2 + 3t ,we get y = 8 which is different from -1.

Hence(3,-1,1)  l

Put t = 0. x = -1 + 2(0) = -1 , y = 2 + 3(0) = 2 and z = -0 = 0 (-1,2,0) is on l. Take Q = (3,-1,1) , P =(-1,2,0)

PQ = (3- (-1) , -1 – 2, 1 – 0) = (4 , -3 ,1) PQ = 4i + -3j + k

L = 2i + 3j +- k