the scalar product 9 - bmaprecalculusbmaprecalculus.net/handouts/scalarproduct.pdf · ·...
TRANSCRIPT
The Scalar Product!"
#$9.4
IntroductionThere are two kinds of multiplication involving vectors. The first is known as the scalar productor dot product. This is so-called because when the scalar product of two vectors is calculated theresult is a scalar. The second product is known as the vector product. When this is calculatedthe result is a vector. The definitions of these products may seem rather strange at first, butthey are widely used in applications. In this Block we consider only the scalar product.
%
&
'
(
PrerequisitesBefore starting this Block you should . . .
① that a vector can be represented as adirected line segment
② how to express a vector in cartesian form
③ how to find the modulus of a vector
Learning OutcomesAfter completing this Block you should be ableto . . .
✓ calculate, from its definition, the scalarproduct of two given vectors
✓ calculate the scalar product of two vec-tors given in cartesian form
✓ use the scalar product to find the anglebetween two vectors
✓ use the scalar product to test whether twovectors are perpendicular
Learning StyleTo achieve what is expected of you . . .
☞ allocate su!cient study time
☞ briefly revise the prerequisite material
☞ attempt every guided exercise and mostof the other exercises
1. Definition of the Scalar ProductConsider the two vectors a and b shown in Figure ??.
a
b
!
Figure 1: Two vectors subtend an angle !.
Note that the tails of the two vectors coincide and that the angle between the vectors has beenlabelled !. Their scalar product, denoted by a · b, is defined as the product |a| |b| cos !. It is veryimportant to use the dot in the formula. The dot is the specific symbol for the scalar product,and is the reason why the scalar product is also known as the dot product. You should notuse a ! sign in this context because this sign is reserved for the vector product which is quitedi!erent.The angle ! is always chosen to lie between 0 and ", and the tails of the two vectors shouldcoincide. Figure ?? shows two incorrect ways of measuring !.
a
b
!
a
b
!
Figure 2: ! should not be measured in these ways.
Key Point
scalar product : a · b = |a| |b| cos !
We can remember this formula as:
“the modulus of the first vector, multiplied by the modulus of the second vector,multiplied by the cosine of the angle between them.”
Clearly b · a = |b| |a| cos ! and soa · b = b · a.
Thus we can evaluate a scalar product in any order: the operation is said to be commutative.
Engineering Mathematics: Open Learning Unit Level 19.4: Vectors
2
Example Vectors a and b are shown in the figure below. Vector a has modulus 6 andvector b has modulus 7 and the angle between them is 60!. Calculate a.b.
a
b
60!
Solution
The angle between the two vectors is 60!. Hence
a · b = |a| |b| cos ! = (6)(7) cos 60! = 21
The scalar product of a and b is equal to 21. Note that when finding a scalar product the resultis always a scalar.
Example Find i · i where i is the unit vector in the direction of the positive x axis.
Solution
Because i is a unit vector its modulus is 1. Also, the angle between i and itself is zero. Therefore
i.i = (1)(1) cos 0! = 1
So the scalar product of i with itself equals 1. It is easy to verify that j.j = 1 and k.k = 1.
Example Find i · j where i and j are unit vectors in the directions of the x and y axes.
Solution
Because i and j are unit vectors they each have a modulus of 1. The angle between the twovectors is 90!. Therefore
i · j = (1)(1) cos 90! = 0
That is i · j = 0.
More generally, the following results are easily verified:
Key Point
i · i = j · j = k · k = 1
i · j = i · k = j · k = 0
3 Engineering Mathematics: Open Learning Unit Level 19.4: Vectors
Even more generally, whenever any two vectors are perpendicular to each other their scalarproduct is zero because the angle between the vectors is 90! and cos 90! = 0.
Key Point
The scalar product of perpendicular vectors is zero.
2. A Formula for Finding the Scalar ProductWe can use the previous results to obtain a formula for finding a scalar product when the vectorsare given in cartesian form. We consider vectors in the xy plane. Suppose a = a1i + a2j andb = b1i + b2j. Then
a · b = (a1i + a2j) · (b1i + b2j)
= a1i · (b1i + b2j) + a2j · (b1i + b2j)
= a1b1i · i + a1b2i · j + a2b1j · i + a2b2j · j
Now, using the previous boxed results we can simplify this to give the following formula:
Key Point
if a = a1i + a2j and b = b1i + b2j then
a · b = a1b1 + a2b2
Thus to find the scalar product of two vectors their i components are multiplied together, theirj components are multiplied together and the results are added.
Example If a = 7i + 8j and b = 5i ! 2j, find the scalar product a · b.
Solution
We use the previous boxed formula and multiply corresponding components together, addingthe results.
a · b = (7i + 8j) · (5i ! 2j)
= (7)(5) + (8)(!2)
= 35 ! 16
= 19
The formula readily generalises to vectors in three dimensions as follows:
Key Point
if a = a1i + a2j + a3k and b = b1i + b2j + b3k then
a · b = a1b1 + a2b2 + a3b3
Engineering Mathematics: Open Learning Unit Level 19.4: Vectors
4
Example If a = 5i + 3j ! 2k and b = 8i ! 9j + 11k, find a · b.
Solution
Corresponding components are multiplied together and the results are added.
a · b = (5)(8) + (3)(!9) + (!2)(11) = 40 ! 27 ! 22 = !9
Note again that the result is a scalar: there are no i’s, j’s, or k’s in the answer.
Now do this exercise
If p = 4i ! 3j + 7k and q = 6i ! j + 2k, find p · q.
Corresponding components are multiplied together and the results are added. Answer
Now do this exercise
If r = 3i + 2j + 9k find r · r. Show that this is the same as |r|2.
Answer
Key Point
For any vector r we have |r|2 = r · r
3. Resolving One Vector Along AnotherThe scalar product can be used to find the component of a vector in the direction of anothervector. Consider Figure ?? which shows two arbitrary vectors a and n. Let n̂ be a unit vectorin the direction of n.
O
P
Q
! " " " " " " " " " " " " " " " #
" " " " " " " " " " " " " " " $
a
!
n̂ n
projection of a onto n
Figure 3:
5 Engineering Mathematics: Open Learning Unit Level 19.4: Vectors
Study the figure carefully and note that a perpendicular has been drawn from P to meet n atQ. The distance OQ is called the projection of a onto n. Simple trigonometry tells us that thelength of the projection is |a| cos !. Now by taking the scalar product of a with the unit vectorn̂ we find
a · n̂ = |a| |n̂| cos ! = |a| cos ! since |n̂| = 1
We conclude that
Key Point
a · n̂ is the component of a in the direction of n
Example The figure below shows a plane containing the point A with position vectora. The vector n̂ is a unit vector perpendicular to the plane (such a vector iscalled a normal vector). Find an expression for the perpendicular distance ofthe plane from the origin.
O
A
a
n̂
n̂
"
Solution
From the diagram note that the perpendicular distance " of the plane from the origin is theprojection of a onto n̂ and is thus a · n̂.
4. Using the Scalar Product to Find the Angle Between Two VectorsWe have two distinct ways of calculating the scalar product of two vectors. From the first KeyPoint of this block a · b = |a| |b| cos ! whislst from the last Key Point of Section 2 we havea · b = a1b1 + a2b2 + a3b3. Both methods of calculating the scalar product are entirely equivalentand will always give the same value for the scalar product. We can exploit this correspondenceto find the angle between two vectors. The following example illustrates the procedure to befollowed.
Engineering Mathematics: Open Learning Unit Level 19.4: Vectors
6
Example Find the angle between the vectors a = 5i + 3j ! 2k and b = 8i ! 9j + 11k.
Solution
The scalar product of these two vectors has already been found in the example on page 4 to be !9.The modulus of a is
!
52 + 32 + (!2)2 ="
38. The modulus of b is!
82 + (!9)2 + 112 ="
266.Substituting these into the formula for the scalar product we find
a · b = |a| |b| cos !
!9 ="
38"
266 cos !
from which
cos ! =!9"
38"
266= !0.0895
so that! = cos!1(!0.0895) = 95.14"
In general, the angle between two vectors can be found from the following formula:
Key Point
The angle ! between vectors a, b is such that:
cos ! =a · b|a| |b|
More exercises for you to try
1. If a = 2i ! 5j and b = 3i + 2j find a · b and verify that a · b = b · a.2. Find the angle between p = 3i ! j and q = !4i + 6j.3. Use the definition of the scalar product to show that if two vectors are perpendicular,their scalar product is zero.4. If a and b are perpendicular, simplify (a ! 2b) · (3a + 5b).5. If p = i + 8j + 7k and q = 3i ! 2j + 5k, find p · q.6. Show that the vectors 1
2i + j and 2i ! j are perpendicular.7. The work done by a force F in moving a body through a displacement r is given byF · r. Find the work done by the force F = 3i + 7k if it causes a body to move from thepoint with coordinates (1, 1, 2) to the point (7, 3, 5).8. Find the angle between the vectors i ! j ! k and 2i + j + 2k.
Answer
7 Engineering Mathematics: Open Learning Unit Level 19.4: Vectors
5. Computer Exercise or Activity
For this exercise it will be necessary for you to access thecomputer package DERIVE.DERIVE has routines for dealing with two- and three-dimensional vectors. To use vectors you can enter them bykeying Author:Vector. When requested for the dimension re-spond with either 2 or 3 as appropriate. You will then beable to enter your vectors. Alternatively, and this is probablyeasier, use Author:Expression and enclose your vector withinsquare brackets. For example the vector 2i+3j ! 4k wouldbe entered as [2, 3,!4].
The product of a scalar with a vector is written in an obvious way. The vector 6(2i + 3j ! 4k)would be keyed in as Author:Expression 6[2, 3,!4]. DERIVE responds with [12, 18,!24].The modulus of a vector is obtained using the ‘abs’ command. For example to find |2i+3j!4k|you would key in Author:Expression abs[2, 3,!4]. DERIVE responds with
"29.
The scalar product can be obtained in DERIVE by using the ‘.’ notation. To obtain(2i+3j! 4k).(!1i+3j +5k) you would key in Author:Expression [2, 3,!4].[!1, 3, 5]. DERIVEresponds with !13.As a useful exercise use DERIVE to obtain the solutions to Exercises 1,5,6 and 8.
Engineering Mathematics: Open Learning Unit Level 19.4: Vectors
8
End of Block 9.4
9 Engineering Mathematics: Open Learning Unit Level 19.4: Vectors
41
Back to the theory
Engineering Mathematics: Open Learning Unit Level 19.4: Vectors
10
94. |r| =!
9 + 4 + 81 =!
94 hence |r|2 = r · r.
Back to the theory
11 Engineering Mathematics: Open Learning Unit Level 19.4: Vectors
1. !4.
2. 142.1!,
4. 3a2 ! 10b2.
5. 22.
7. 39 units.
8. 101.1!
Back to the theory
Engineering Mathematics: Open Learning Unit Level 19.4: Vectors
12