Professional Documents
Culture Documents
Unit The Dot Product: Solutions Block Vector Arithmetic
Unit The Dot Product: Solutions Block Vector Arithmetic
Block I : Vector A r i t h m e t i c
comment
While w e w a i t u n t i l t h e f i n a l p a r t of t h i s e x e r c i s e t o have you
supply t h e v a r i o u s d e t a i l s , t h e main aim of t h i s e x e r c i s e i s t o
emphasize t h a t , s i n c e c e r t a i n r u l e s f o r numerical p r o d u c t s a r e n o t
obeyed by d o t p r o d u c t s , t h e r e i s no r e a s o n t o s u s p e c t t h a t t h e two
t y p e s of m u l t i p l i c a t i o n w i l l behave e x a c t l y a l i k e . I n p a r t i c u l a r ,
i n numerical a r i t h m e t i c w e may conclude t h a t i f a b = a c and a # 0
t h e n b = c . What w e a r e having you show i n p a r t ( a ) i s t h a t i f
2 # d t h e r e a r e a number of ( i n f a c t , i n f i n i t e l y many) v e c t o r s +C
+ + + +
such t h a t A - B = A - C . T h i s shows t h a t t h e c a n c e l l a t i o n law i s
d i f f e r e n t f o r d o t p r o d u c t s and w e cannot go around b l i t h e l y can-
+ + + + +
c e l l i n g A ' s i n a n e x p r e s s i o n such a s A * B = A - C , s i n c e i t need n o t
+ +
be t r u e t h a t B = C.
A t any r a t e , t a c k l i n g t h i s e x e r c i s e w i t h t h e p a r t s i n t h e g i v e n
o r d e r , w e have:
a. Introducing t h e abbreviation (a,b,c) t o denote t h e vector
+ + +
a i + b j + ck, we have
We desire that
+ +
A - C = (1,1,1) (x,y,Z) = ( 1 )+~ ( 1 ) +~ ( 1 1 2 = x + y + Z
Solutions ., ,. .. :
Block 1: Vector A r i t h m e t i c , ,
Unit 4: The Dot Product
1 . 4 . 1 (L) continued
+ + -++
From (1) and ( 2 ) we s e e t h a t A - B = AoC i f and o n l y i f
+ -+
A o B = (1,1,1) (2,3,4) = 9
+ +
A - C = (1,1,1)
+-+
(5,7,-3)
+ +
= 5 + 7 - 3 = 9
Therefore, A - B = A * C
+ + +-+
and comparing t h i s with e q u a t i o n (1) w e see t h a t A - B = A 0 C a s
asserted.
+ + + +
b. We have A * B = A - C , whence
+-+
A*B - +A - C+ = 0
Hence, by t h e d i s t r i b u t i v e p r o p e r t y of t h e d o t p r o d u c t , e q u a t i o n
(4 ) becomes
*For t h e r i g o r - o r i e n t e d r e a d e r , what we r e a l l y a r e d o i n g i s
+ + + + + + + +
A . B - A'C A * B + (-A)*C
+ -+ + -+ -+ +
= A-B + (-1)A-C ( s i n c e -A = ( - l ) A )
+ + + + + + + +
= A-B + A*(-l)C ( s i n c e m A 0 C = A 0 m C f o r any s c a l a r m)
+ - + -+ + + +
= A - B + A*(-C) ( s i n c e ( - l ) C = -C)
+ + +
= A a ( B + [-C]) (by t h e " u s u a l " d i s t r i b u t i v e r u l e )
+ +
= A-(B - +
C) (by t h e d e f i n i t i o n of B
+
- +C )
Solutions
Block 1: Vector A r i t h m e t i c
U n i t 4: The Dot Product
1 . 4 . 1 (L) c o n t i n u e d
S i n c e t h e d o t p r o d u c t of two v e c t o r s i m p l i e s t h a t e i t h e r one of
-+
t h e v e c t o r s i s 0 o r t h e two v e c t o r s a r e p e r p e n d i c u l a r , w e may con-
c l u d e from (5) t h a t
+ + + +
I n p a r t ( a ) w e chose A s o t h a t A #
+
d
and w e r e q u i r e d t h a t B # C.
+
Hence, i t must be t h a t B
-+
- C is perpendicular t o A. A s a check,
notice t h a t
Therefore,
Therefore,
1.4.1(L) continued
+
I f we denote t h i s plane by M I C may be any v e c t o r which o r i g i n a t e s
i n t h e plane M and t e r m i n a t e s a t t h e head of B. Again, p i c t o r i a l l y ,
(P i s any p o i n t i n M
+
Therefore, OP l i e s i n M
+
Theref o r e , OP I A
+ + + +
But, OP + C = B + OP =
+ +
-
B C. Therefore,
+ +
1(
+ +
- ) Theref o r e ,
A - B = A*C)
+ + + + +
I n summary, t h e n , t o f i n d a l l C such t h a t A - B = A - C , we c o n s t r u c t
+ +
t h e plane t o which A i s p e r p e n d i c u l a r . Then, any v e c t o r C which
+
o r i g i n a t e s i n t h i s plane and t e r m i n a t e s a t t h e head of B s a t i s f i e s
t h e requirement.
+
I n terms of p a r t ( a ) , i n t h i s p a r t i c u l a r problem, i f each C which
works i s placed a t ( 0 , 0 , 0 ) it w i l l t e r m i n a t e i n t h e plane, whose
e q u a t i o n , i n f a c t , i s x + y + z = 9.
1.4.1 (L) c o n t i n u e d
with and % a s g i v e n i n t h e e x e r c i s e .
A s , a more c o m p u t a t i o n a l check, w e have:
+
I f S ( X ~ , ~ ~i .s Zi n~ t)h e p l a n e p e r p e n d i c u l a r t o A = ( 1 1 1 ) t h e n
-P + +
A - O S = 0. S i n c e OS = (xl, ylr z ) w e have
x
1
+ y1 + z1 = 0 , o r z 1 = - (xl + yl).
So suppose ( ~ ~ . y ~ does
, z ~b )e l o n g t o M. Then zl = - f x l + y l ) .
1 . 4 . 1 (L) continued
+
From ( 7 ) we s e e t h a t t h e sum of t h e components of C i s
d. One f r i n g e b e n e f i t of t h e f i r s t t h r e e p a r t s of t h i s e x e r c i s e i s
t h a t n o t only h a s i t s u p p l i e d more d r i l l i n v e c t o r a r i t h m e t i c b u t
i t h a s a l s o made it seem q u i t e n a t u r a l i n v e c t o r a r i t h m e t i c t h a t
+ + + + + + + +
we can have A - B = A * C without e i t h e r A = 0 o r B = C.
The purpose of t h i s p a r t of t h e e x e r c i s e i s t o once again empha-
s i z e t h e c r u c i a l concept of s t r u c t u r e . Recall t h a t , i n o r d i n a r y
a r i t h m e t i c , i f a , b , and c a r e numbers and i f ab = a c , t h e n e i t h e r
a = 0 o r b = c. This r e s u l t f o l l o w s inescapably from t h e proper-
t i e s of m u l t i p l i c a t i o n of numbers. The d o t product has very d i f f -
e r e n t p r o p e r t i e s from t h e "ordinary" product. To be s u r e t h e d o t
+ + + +
product i s commutative_ ( A - B = B - A ) and it obeys t h e d i s t r i b u t i v e
+ + +
p r o p e r t y of m u l t i p l i c a t i o n "overH a d d i t i o n ; t h a t i s , A * ( B + C ) =
+ + + +
A - B + A - C , b u t h e r e t h e resemblance ends. For one t h i n g , t h e d o t
product i s n ' t even a b i n a r y o p e r a t i o n ( i . e . , it i s n o t c l o s e d )
s i n c e by use of i t we combine two v e c t o r s t o form a s c a l a r . For
another t h i n g , t h e d o t product i s n o t a s s o c i a t i v e . Indeed not
+ + + + + +
-
o n l y i s it n o t t r u e t h a t A * ( B * C ) = ( A * B ) * C b u t even more c r u c i a l l y ,
+ + + + + +
t h e e x p r e s s i o n s A * ( B * C ) and ( A * B ) * C a r e n o t even d e f i n e d , s i n c e ,
+ +
f o r example, A - B i s a number and we do not " d o t H a number ( s c a l a r )
with a v e c t o r . T h i r d l y , t h e r e i s no analog of a m u l t i p l i c a t i v e
identity. Namely, we cannot d o t a v e c t o r with any v e c t o r t o o b t a i n
t h e o r i g i n a l v e c t o r a s t h e product s i n c e t h e d o t product of two
vectors i s n o t a vector. F i n a l l y , t h e concept of m u l t i p l i c a t i v e
i n v e r s e s i s a l s o l a c k i n g f o r d o t products. Namely, not only i s
t h e r e no i d e n t i t y v e c t o r with r e s p e c t t o d o t products, b u t even i f
t h e r e were, i t would n o t be p o s s i b l e , a s w e have a l r e a d y s a i d
s e v e r a l times i n t h i s paragraph, t o d o t two v e c t o r s t o o b t a i n a
vector.
Solutions
Block 1: Vector A r i t h m e t i c
U n i t 4 : The Dot Product
1 . 4 . 1 (L) c o n t i n u e d
*A Note on F r a c t i o n s I n v o l v i n g Dot P r o d u c t s
-- -
I n o r d i n a r y a r i t h m e t i c i f a f 0 t h e n ab
ac c'
T h i s r e s u l t was
dependent on s e v e r a l p r o p e r t i e s of numerical a r i t h m e t i c . For
example, l e t
Then,
ab = (ac)x
But, by t h e a s s o c i a t i v e p r o p e r t y ( a c ) x = a ( c x ) . Therefore,
ab = a (cx),
and s i n c e a f 0 i t f o l l o w s t h a t
Solutions
Block 1: Vector Arithmetic
Unit 4: The Dot Product
Note continued
-+
C e r t a i n l y w e might f e e l tempted t o c a n c e l on A from both t h e
numerator and denominator i n ( 3 ) . I f we d i d t h i s w e would o b t a i n
defined!
g o r example, w i t h i n t h e ,proper c o n t e x t of o u r remarks how should
B
,--be i n t e r p r e t e d ? To c a p t u r e t h e f l a v o r of d i v i s i o n being t h e
n
L
i n v e r s e of m u l t i p l i c a t i o n and t h a t h e r e m u l t i p l i c a t i o g r e f e r s t o a
B
Note c o n t i n u e d
and e q u a t i o n ( 6 ) i s meaningful s i n c e a s c a l a r m u l t i p l i e d by a
vector i s a vector. Indeed ( 6 ) s a y s t h a t $i s t h a t v e c t o r which
-+
when s c a l e d t o m t i m e s i t s l e n g t h (if* > 0) y i e l d s t h e v e c t o r A.
+ +
Mechanically, t h e key p o i n t i s t o view A - B a s - a s i n g l e number and
-h +
thus t h a t t h e A and B a r e i n s e p a r a b l e i n t h e e x p r e s g i g n . I n t h i s
A *B
way w e w i l l n o t ( h o p e f u l l y ) be tempted t o "reduce" +--7 (Perhaps
A*C
t h i s i s more analogous t o t h e f a c t t h a t i n o r d i n a r y f r a c t i o n s we
-
cannot reduce a+b
a +c
to $ even though a- i s i n b o t h numerator and
denominator.)
+
a. W e a r e g i v e n t h a t Po ( 2 , 3 , 4 ) i s i n o u r p l a n e M and t h a t V = ( 5 , 8 , 6 )
+
i s perpendicular t o our plane. W e p l a c e V s o t h a t it o r i g i n a t e s
a t Po. Thus,
+ -4
Now t h e p o i n t P ( x , y , z ) i s i n t h e p l a n e i f and o n l y i f V I POP, and
+ -*
t h i s i n t u r n r e q u i r e s t h a t V-POP = 0. That i s
or
1 . 4 . 2 continued
Therefore,
5x + 8y + 62 = 58
b. When x = y = 1 , equation ( 1 ) y i e l d s
Therefore,
I
i s i n M. Since 72 < 8 , it f o l l o w s t h a t ( 1 , 1 , 8 ) i s above t h e
plane.
Solutions
Block 1: Vector Arithmetic
Unit 4: The Dot Product
1.4.3 continued
Now
and
+
AC = (4-1, 4-2, 9-31 = (3,2,61
Therefore,
Therefore,
20 -1 20
0 = arc cos -
21 - cos 21
20
(the angle whose cosine is 21).
We may look this up in the tables if we wish to conclude
cos 0 q 0.952
Therefore,
i
Solutions
Block 1: V e c t o r Arithmetic
Unit 4: The Dot Product
1.4.4(L1
S t r i c t l y s p e a k i n g , i t i s o u r b e l i e f t h a t from a c o m p u t a t i o n a l
p o i n t of view t h e r e i s no need f o r t h i s t o be l a b e l e d a l e a r n i n g
e x e r c i s e . Y e t , w e would l i k e t o c r e a t e a n o p p o r t u n i t y t o empha-
s i z e once a g a i n how v e c t o r methods can be used t o s o l v e a non-
v e c t o r problem. I n t h i s c a s e , we a r e given a l i n e i n t h e xy-plane
and a p o i n t n o t i n t h e xy-plane ( i n particular, then, t h e point i s
n o t on t h e g i v e n l i n e ) .
From o u r knowledge of Euclidean geometry
w e know t h a t t h e r e i's one and o n l y one l i n e t h a t c a n be drawn from
t h e given p o i n t perpendicular t o t h e given l i n e . This e x e r c i s e
a s k s u s t o f i n d t h e c o o r d i n a t e s of t h e p o i n t a t which t h e perpen-
d i c u l a r from t h e p o i n t i n t e r s e c t s t h e given l i n e . Pictorially,
1 . 4 . 4 (L) c o n t i n u e d
becomes q u i t e simple. We f i r s t r e c o g n i z e t h a t t h e g e n e r a l p o i n t P
on o u r l i n e i s g i v e n by ( x , -3x + 2, O ) , whence
while
Hence,
= 0. TO be c o n s i s t e n t w i t h t h e f a c t t h a t
+
A * B = 0 means A and B a r e o r t h o g o n a l , one o f t e n d e f i n e s t h e 0-vector
t o be o r t h o g o n a l t o e v e r y v e c t o r . )
( A s a f i n a l n o t e on t h i s t e c h n i q u e , o b s e r v e t h a t w e might have
been lucky and p i c k e d o u r p o i n t Po i n such a way t h a t i t t u r n e d
o u t t o be t h e p o i n t a t which t h e p e r p e n d i c u l a r from A m e t o u r l i n e .
Had t h i s happened, a l g e b r a i c a l l y , t h e q u a d r a t i c e q u a t i o n r e s u l t i n g
+ +
from PA-PPo = 0 would have had t h e q u a d r a t i c t e r m v a n i s h and t h e r e
would have been o n l y t h e one s o l u t i o n t o e q u a t i o n (1). Anyone who
i s i n t e r e s t e d c a n work t h i s e x e r c i s e choosing Po t o be
(-1/10, 23/10) and see t h a t t h i s d o e s indeed happen.)
Solutions
Block 1: Vector Arithmetic
Unit 4: The Dot Product
Pictorial Summary
+ + + 2 + -P
(where we are using to abbreviate vl vl and v2 = v2 v2).
Without the details of a formal mathematical proof, we proceed as
follows:
Solutions
Block 1: Vector Arithmetic
Unit 4: The Dot Product
The point is that (1) always holds, The more convenient result that
we're used to, namely
+ -b ' t - t.t
was valid because i - j = 0 and i - 1 - J 3
-
- 1.
f
+
In our present exercise
- + 2 -+ 2
(1) v1 = v1 + + 52
-f
v1 = (3.2.5) (3.2,5) = 3 22 = 38
+ 2 - - + -+
v2 = (2,7,3) (2.7.3) = 22 + 72 + 32 = 62
(2) V2 =V2
-+
(3) G1 v2 = (3.2.5) (2,7.3) = 3(2) + 2(7) + 5(3) = 35
+ +
(The answer (3G1 + 4G2) (4vl - 3v2) = 0 would have been t r u e had
-+ -+ + 2
vl v2 = 0 and vl = :22 = 1, b u t t h i s was n o t t h e c a s e h e r e . )
+
B = 4vl
-+
- 3G2 = 4 ( 3 , 2 , 5 ) - 3(2,7,3) = (6,-13,ll)
+
= 6i - +
13j + +
Ilk
+ + + + + +
I n t h i s form ( s i n c e l2= j2 = g2 = 1 and i * j = i - k = k = j = 0 ) w e
have
*See n o t e a t t h e end o f t h i s e x e r c i s e .
Solutions
Block 1: Vector ~ r i t h m e t i c
Unit 4: The Dot Product
1.4.5 (L) c o n t i n u e d
-+ -+
r e p r e s e n t A and B. The r e p r e s e n t a t i o n o n l y a f f e c t s how w e compute
-+ -+
A-B, f o r example, whether e q u a t i o n (1) must be used o r whether w e
can u s e ( 2 ) .
On t h e one hand, t h e r e c t a n g l e h a s
area (a + b) (c + d ) ; on t h e o t h e r
hand, i t i s a c + ad + bc + bd.
Note continued
Therefore,
= ac + ad + bc + bd ( s i n c e bc + ad = ad + bc)
(where
+ + + +
= c-a + c-b + 3.; + 3.G
a. We have
+ + +
Since A - C = 0, we may d o t both s i d e s of (1) with A t o o b t a i n
Solutions
Block 1: Vector A r i t h m e t i c
U n i t 4: The Dot Product
- -
1.4.6 (L) c o n t i n u e d
i . 5 = ii.( x i + E )
+ +
= x +2
A + O
+ 2
= xA
+ -+ +2
Since A - B , A , a nd x a r e s c a l a r s , e q u a t i o n ( 2 ) may be s o l v e d t o
yield
+ -+ +
R e f e r r i n g t o o u r diagram t h e v e c t o r p r o j e c t i o n of B o n t o A i s xA;
hence, from , ( 3 ) , t h i s i s
+ +
F i n a l l y , from ( l ) ,C = B - xA-+ ( n o t i c e how w e c o n t i n u e t o u s e v e c t o r
a l g e b r a i n a r a t h e r n a t u r a l way), whereupon ( 3 ) y i e l d s
b. I n p a r t ( a ) we emphasized a l g e b r a i c v e c t o r t e c h n i q u e s i n o r d e r t o
show a g a i n t h e s t r u c t u r e of v e c t o r a r i t h m e t i c . In t h i s particular
e x e r c i s e , t h i s was e q u i v a l e n t t o s o l v i n g a geometric problem non-
geometrically.
The purpose of p a r t ( b ) i s t o emphasize t h e geometric f a c t t h a t i f
+ + +
uA d e n o t e s t h e u n i t v e c t o r i n t h e d i r e c t i o n of A t h e n B-uA d e n o t e s
+ +
t h e l e n g t h of t h e p r o j e c t i o n of 3 o n t o d. ( I f B-u i s p o s i t i v e
A -+
t h e n t h e a n g l e between d and 8 i s a c u t e , w h i l e i f % - u A i s riega-
t i v e , t h e angle i s obtuse - a s we s h a l l s e e below.)
To s e e t h i s r e s u l t w i t h o u t r e f e r e n c e t o d o t p r o d u c t s , w e have
Solutions
Block 1: Vector A r i t h m e t i c
Unit 4: The D o t Product
1.4.6 (L) c o n t i n u e d
+
I f 0 > 90° t h e n l ~ l c o s0 i s n e g a t i v e o r t h e p r o j e c t i o n i s measured
-+
i n t h e o p p o s i t e s e n s e of A. That i s
-+ +
Equation ( 6 ) s t a r t s t o look l i k e
-+
it-8 (= B * A ) e x c e p t t h a t t h e f a c t o r
IA~ i s missing. W e t h e n n o t i c e t h a t i f 121 = 1 t h e missing f a c f o r
+
c a u s e s no change. But 121 = 1 i s t h e same a s s a y i n g t h a t A i s a
-+
u n i t v e c t o r and t h i s c e r t a i n l y a p p l i e s t o u,. Moreover, t h e f a c t
n
-b -+
t h a t u, i s + d e f i n e d t o have t h e same s e n s e a s A ( t h a t i s , s i n c e
. A
7i s a p o s i t i v e s c a l a r m u l t i p l e of A) means t h a t t h e
1AI +
a n g l e between A and 5 i s t h e same a n g l e a s between A
and 5.
Pictorially,
Solutions
lock 1: Vector A r i t h m e t i c
U n i t 4: The Dot Product
1.4.6 ( L ) c o n t i n u e d
I n o t h e r words,
But, by d e f i n i t i o n of t h e d o t p r o d u c t ,
Comparing ( 7 ) and ( 8 ) y i e l d s t h e r e s u l t t h a t t h e ( d i r e c t e d ) l e n g t h
+ +
of . t h e p r o j e c t i o n of 5 o n t o 2 i s B*uA
Thus, t h e v e c t o r p r o j e c t i o n of 5 o n t o i s simply t h e d i r e c t e d
l e n g t h of t h e p r o j e c t i o n of 5 o n t o % m u l t i p l i e d by t h e u n i t v e c t o r
i n t h e d i r e c t i o n of A. That i s ,
+
S i n c e uA = -, (9) becomes
I ti I
? .
Solutions . .
Block 1: Vector A r i t h m e t i c ., .
1 . 4 . 6 ( L ) continued
1.4.7
P i c t o r i a l l y , w e have
But
Therefore,
Solutions
Block 1: Vector A r i t h m e t i c
U n i t 4 : The Dot Product
The s l o p e of R i s - a - s i n c e a x + by + c = 0 , b f 0 y = a c
b
b
-Ex 5. -+
-
Hence, t h e l i n e p e r p e n d i c u l a r t o R h a s s l o p e a.
Therefore, t h e
-+ -b -+
v e c t o r V = a i + bj i s p e r p e n d i c u l a r t o R.
The d i s t a n c e we s e e k i s e q u a l t o t h e l e n g t h of t h e p r o j e c t i o n of
A
P: o n t o $, and t h i s i s merely t h e d o t p r o d u c t of A:P with t h e
-+
u n i t v e c t o r i n t h e d i r e c t i o n of N.
-+
ue = u n i t v e c t o r i n d i r e c t i o n of 8 =
ai + bj
m
while
Therefore,
* T h i s p o i n t was o b t a i n e d b y l e t t i n g x = 0 i n a x +
by + c = 0 ( o t h e r
p o i n t s would do a s w e l l ) . T h e o n l y t i m e we a r e i n t r o u b l e i s when
b = 0, b u t i n t h i s c a s e a x + by + c = 0 r e d u c e s t o a x + c = 0
which i s t h e l i n e x = --a
p a r a l l e l
C
t o the y-axis. In t h i s case, it
is t r i v i a l t o find the required distance. S o , w i t h o u t l o s s of
g e n e r a l i t y , we may a s w e l l a s s u m e t h a t b # 0.
Solutions
1.4.9 continued
MIT OpenCourseWare
http://ocw.mit.edu
The following may not correspond to a particular course on MIT OpenCourseWare, but has been
provided by the author as an individual learning resource.
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.