The angle between the
2
0
1
5
-dimensional vectors
a
and
b
is
3
0
∘
. Let
∥
a
∥
=
8
and
∥
b
∥
=
9
6
. Find the value of
∥
a
−
b
∥
2
.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The vectors a , b and a − b form a triangle. We can use the law of cosines to calculate:
∣ ∣ a − b ∣ ∣ 2 = ∣ ∣ a ∣ ∣ 2 + ∣ ∣ b ∣ ∣ 2 − 2 ∣ ∣ a ∣ ∣ ⋅ ∣ ∣ b ∣ ∣ cos ( 3 0 ∘ )
= 8 + 9 6 − 2 8 × 9 6 × 2 1 3
= 8 + 9 6 − 4 8
= 5 6 .
Thanks your solution is a nice one...
∥ a − b ∥ 2 = ( a − b ) . ( a − b )
= a . a + b . b − 2 a . b
= 8 + 9 6 − 2 8 9 6 2 3
= 1 0 4 − 8 × 8 × 4 × 3 × 3
= 1 0 4 − 8 × 2 × 3 = 5 6
Simple. For clarity, you might want to add in a ⋅ b = ∥ a ∥ ∥ b ∥ cos θ .
Problem Loading...
Note Loading...
Set Loading...
The fact that the vectors are 2015-dimensional is unnecessary; this applies to vectors of all dimensions. We'll can generalize this and represent a as ⟨ a 1 , a 2 , … , a n ⟩ and b as ⟨ b 1 , b 2 , … , b n ⟩ .
Using the definition of dot product of two vectors, a ⋅ b = ∥ a ∥ ∥ b ∥ cos θ
a 1 b 1 + a 2 b 2 + ⋯ + a n b n = ( 8 ) ( 9 6 ) ( 2 3 ) = 2 4
Squaring the initial equations using the definition of magnitude yields a 1 2 + a 2 2 + ⋯ + a n 2 = 8 and b 1 2 + b 2 2 + ⋯ + b n 2 = 9 6 .
Recognizing that ∥ a − b ∥ 2 = ∥ ⟨ ( a 1 − b 1 ) , ( a 2 − b 2 ) , … , ( a n − b n ) ⟩ ∥ 2 is key because that leads to ∥ a − b ∥ 2 = a 1 2 − 2 a 1 b 1 + b 1 2 + a 2 2 − 2 a 2 b 2 + b 2 2 + ⋯ + a n 2 − 2 a n b n + b n 2 .
This is the sum of the squares of the a and b terms minus twice the sum of the a n b n products, which we found above! Therefore, ∥ a − b ∥ 2 = 8 + 9 6 − 2 ( 2 4 ) = 5 6 .