Download as pdf or txt
Download as pdf or txt
You are on page 1of 53

The Dot Product & The Cross Product

Mathematicians are often a little weird.

They are frequently obsessive-compulsive.

Give them a new toy, and they immediately want to do arithmetic with it.

At one point, their new toy was vectors.

Weve seen how to add and subtract vectors,

But how do you multiply vectors?

In 1773, Joseph Lagrange was working on a problem involving tetrahedrons, and he came up with two ways to multiply vectors.

Today, we call these two methods the dot product and the cross product.

And as with many ideas in mathematics, over time they underwent both evolution and mutation.

And as with many ideas in mathematics, over time they underwent both evolution and mutation. Ideas are also subject to the doctrine of survival of the fittest.

The end result was two ways of multiplying vectors that are:

The end result, though, was two ways of multiplying vectors that are: a. Extremely useful, and

The end result, though, was two ways of multiplying vectors that are: a. Extremely useful, and b. Rather bizarre in appearance.

The Dot Product

Well define the dot product as follows:


and b = b i + a2 If a = a1i j + a3 k 1 + b2 j + b3 k , then a b = a b cos , where is the anglebetweenthe vectors.

b

a

What does this definition mean?

a b = a b cos

b

b cos

a

What does this definition mean? We can think of the dot product as the length of vector a times the length of the component of vector b that is parallel to vector a.
a b = a b cos

b b cos

a

Alternatively, we could think of it as the length of vector b times the length of the component of vector a that is parallel to vector b.

a b = a b cos

b b cos

a

Alternatively, we could think of it as the length of vector b times the length of the component of vector a that is parallel to vector b. The result is the same either way.
a b = a b cos

b b cos

a

The dot product gives us a way of multiplying two vectors such that the result is a number (or scalar), not another vector.

a b = a b cos

b b cos

a

The problem, though, is that we need to know the angle between the vectors in order to accomplish this.

a b = a b cos

b b cos

a

The problem, though, is that we need to know the Angle between the vectors in order to accomplish This. And this is something we often dont know.
a b = a b cos

b b cos

a

Fortunately, however, we have a theorem to help us.

a b = a b cos

b b cos

a

Theorem : a b = a b cos = a1b1 + a2b2 + a3b3 = [ a1

a2

b1 a3 ] b 2 b3

a b = a b cos

b b cos

a

Theorem : a b = a b cos = a1b1 + a2b2 + a3b3 = [ a1

a2

b1 a3 ] b 2 b3

Proof: By the law of cosines,


a b
2

2 2 = a + b 2 a b cos .

b

a b
a

But this implies that,


(a1 b1 ) 2 + (a2 b2 ) 2 + (a3 b3 ) 2 = a12 + a2 +
2

a3 + b12
2

+ b2 + b3 2 a b cos .
2 2

b

a b
a

Expanding the left side of the equation yields,

a12 2a1b1 + b12 + a2 2 2a2b2 + b2 2 + a32 2a3b3 + b32 = a12 + a2 +


2

a3 + b12
2

+ b2 + b3 2 a b cos .
2 2

b

a b
a

Next, subtracting like terms from each side gives,


2a1b1 2a2b2 2a3b3 = 2 a b cos .

b

a b
a

And finally, we divide each side by -2.

a1b1 + a2b2 + a3b3 = a b cos = a b .

b

a b
a

As a corollary, we get the following formula for finding the angle between two vectors.
a1b1 + a2b2 + a3b3 a b = cos . = a b a b
0

b

a b
a

EXAMPLE:

+3 a = 2i j + 4k +2 b = i j 2k a b = (2)(1) + (3)(2) + (4)(2) = 4


4 4 a b 1 4 = = = = cos cos 104.3 4 + 9 + 16 1 + 4 + 4 3 29 a b 3 29

b

a b
a

A fairly immediate and important consequence of what weve seen is the following:
a b = a b cos = 0 if and only if = 90 or a = 0 or b = 0.

A fairly immediate and important consequence of what weve seen is the following:
a b = a b cos = 0 if and only if = 90 or a = 0 or b = 0.

In other words, we can determine if two vectors are perpendicular or not simply by looking to see if the dot product is zero. Furthermore, the zero vector is considered perpendicular to all vectors.

A fairly immediate and important consequence of what weve seen is the following:
a b = a b cos = 0 if and only if = 90 or a = 0 or b = 0.

In other words, we can determine if two vectors are perpendicular or not simply by looking to see if the dot product is zero. Furthermore, the zero vector is considered perpendicular to all vectors. As a final note, the dot product is also known as the scalar product.

The Cross Product

The cross product of two vectors is defined as follows:


, + a2 + b2 If a = a1i j + a3 k and b = b1i j + b3 k i j then a b = a1 a2 b1 b2 k a2 a3 = b2 b3

a3 a1 i b3 b1

a3 a1 j+ b3 b1

a2 k b2

. (a1b3 a3 .b1 ) = (a2b3 a3 .b2 )i j + (a1b2 a2 .b1 )k

The cross product of two vectors is defined as follows:


, + a2 + b2 If a = a1i j + a3 k and b = b1i j + b3 k i j then a b = a1 a2 b1 b2 k a2 a3 = b2 b3

a3 a1 i b3 b1

a3 a1 j+ b3 b1

a2 k b2

. (a1b3 a3 .b1 ) = (a2b3 a3 .b2 )i j + (a1b2 a2 .b1 )k

Isnt that cool!

The cross product of two vectors is another vector.

The cross product of two vectors is another vector.


Also, the cross product is perpendicular to both vector a and vector b.

The cross product of two vectors is another vector.


Also, the cross product is perpendicular to both vector a and vector b.

and b = b i + a2 If a = a i j + a3 k 1 + b2 j + b3 k , then a a b = a1 (a2b3 a3 .b2 ) + a2 [ (a1b3 a3 .b1 ) ] + a3 (a1b2 a2 .b1 )

= a1a2b3 a1a3b2 a1a2b3 + a2 a3b1 + a1a3b2 a2 a3b1 = 0

The cross product of two vectors is another vector.


Also, the cross product is perpendicular to both vector a and vector b.

and b = b i + a2 If a = a i j + a3 k 1 + b2 j + b3 k , then a a b = a1 (a2b3 a3 .b2 ) + a2 [ (a1b3 a3 .b1 ) ] + a3 (a1b2 a2 .b1 )

= a1a2b3 a1a3b2 a1a2b3 + a2 a3b1 + a1a3b2 a2 a3b1 = 0


The proof that the cross product is perpendicular to vector b is similar.

The cross product, a b , obeys a right-hand rule.


a b

a

b

The cross product is also known as the vector product. Furthermore, just like the dot product, so does the cross product have interesting properties.

The cross product is also known as the vector product. Furthermore, just like the dot product, so does the cross product have interesting properties.
One of the more important ones is below:

a b = a b sin , where is the anglebetweenthetwo vectors,

The cross product is also known as the vector product. Furthermore, just like the dot product, so does the cross product have interesting properties.
One of the more important ones is below:

a b = a b sin , where is the anglebetweenthetwo vectors,

The proof is amazingly simple!

Proof:
a b
2

= (a2b3 a3 .b2 ) 2 + (a1b3 a3 .b1 ) 2 + (a1b2 a2 .b1 ) 2

= a2 2b32 2a2 a3b2b3 + a32b2 2 + a12b32 2a1a3b1b3 + a32b12 + a12b2 2 2a1a2b1b2 + a2 2b12 = a12b2 2 + a12b32 + a2 2b12 + a2 2b32 + a32b12 + a32b2 2 2a1a2b1b2 2a1a3b1b3 2a2 a3b2b3 = a12b12 + a2 2b2 2 + a32b32 + a12b2 2 + a12b32 + a2 2b12 + a2 2b32 + a32b12 + a32b2 2 2a1a2b1b2 2a1a3b1b3 2a2 a3b2b3 a12b12 a2 2b2 2 a32b32 = (a12 + a2 2 + a32 )(b12 + b2 2 + b32 ) (a1b1 + a2b2 + a3b3 ) 2 2 2 2 2 2 2 = a b a b = a b a b cos

= a

2 b a

2 2 b cos = a

b

1 cos = a
2

2 2 b sin .

Thus,
a b
2

= a

2 2 b sin .

And since,
sin 0 for 0 ,

We have that,

a b = a b sin .

One application of this result is a formula for the area of a parallelogram.

Area = a b sin = a b

b

height = b sin

a

EXAMPLE (Cross Product):

+3 a = 2i j + 4k +2 b = i j 2k

EXAMPLE (Cross Product):

+3 a = 2i j + 4k +2 b = i j 2k
i j k = 14i +0 + 7k a b = 2 3 4 = 14i j + 7k 1 2 2

EXAMPLE (Area of aParallelogram):

+3 a = 2i j + 4k +2 b = i j 2k

EXAMPLE (Area of aParallelogram):

+3 a = 2i j + 4k +2 b = i j 2k

= 245 = 7 5 15.65 + 7k Area = a b = 14i

You might also like