the dot product the cross product - doc benton dot product & the cross product. ... vector b...

53
The Dot Product & The Cross Product

Upload: vudan

Post on 07-Apr-2018

235 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

The Dot Product&

The Cross Product

Page 2: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

Mathematicians are often a little weird.

Page 3: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

They are frequently obsessive-compulsive.

Page 4: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

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

Page 5: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

At one point, their new toy was “vectors.”

Page 6: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

We’ve seen how to add and subtract vectors, …

Page 7: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

But how do you multiply vectors?

Page 8: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

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

Page 9: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

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

Page 10: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

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

Page 11: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

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.

Page 12: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

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

Page 13: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

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

a.Extremely useful, and

Page 14: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

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

a.Extremely useful, and

b.Rather bizarre in appearance.

Page 15: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

The Dot Product

Page 16: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

We’ll define the dot product as follows:

1 2 3 1 2 3ˆ ˆˆ ˆ ˆ ˆ ,

cos , .

If a a i a j a k and b b i b j b k

thena b a b where is theanglebetweenthevectorsθ θ

= + + = + +

⋅ =

θ a

b

Page 17: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

What does this definition mean?

cosa b a b θ⋅ =

θ

b

acosb θ

Page 18: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

What does this definition mean?

cosa b a b θ⋅ =

θ

We can think of the dot product as the length ofvector a times the length of the component of vector b that is parallel to vector a.

b

acosb θ

Page 19: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

cosa b a b θ⋅ =

θ

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

b

acosb θ

Page 20: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

cosa b a b θ⋅ =

θ

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

The result is the same either way.

b

acosb θ

Page 21: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

cosa b a b θ⋅ =

θ

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

b

acosb θ

Page 22: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

cosa b a b θ⋅ =

θ

The problem, though, is that we need to know theangle between the vectors in order to accomplishthis.

b

acosb θ

Page 23: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

cosa b a b θ⋅ =

θ

The problem, though, is that we need to know theAngle between the vectors in order to accomplishThis.And this is something we often don’t know.

b

acosb θ

Page 24: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

cosa b a b θ⋅ =

θ

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

b

acosb θ

Page 25: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

[ ]1

1 1 2 2 3 3 1 2 3 2

3

: cosb

Theorem a b a b a b a b a b a a a bb

θ⎡ ⎤⎢ ⎥⋅ = = + + = ⎢ ⎥⎢ ⎥⎣ ⎦

θ

cosa b a b θ⋅ =

b

acosb θ

Page 26: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

[ ]1

1 1 2 2 3 3 1 2 3 2

3

: cosb

Theorem a b a b a b a b a b a a a bb

θ⎡ ⎤⎢ ⎥⋅ = = + + = ⎢ ⎥⎢ ⎥⎣ ⎦

θ

b

a

a b−

2 22 2 cos .a b a b a b θ− = + −

Proof: By the law of cosines,

Page 27: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

θ

b

a

a b−

2 2 21 1 2 2 3 3( ) ( ) ( )a b a b a b− + − + −

But this implies that,

2 2 2 2 2 21 2 3 1 2 3 2 cos .a a a b b b a b θ= + + + + + −

Page 28: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

θ

b

a

a b−

2 2 2 2 2 21 1 1 1 2 2 2 2 3 3 3 32 2 2a a b b a a b b a a b b− + + − + + − +

Expanding the left side of the equation yields,

2 2 2 2 2 21 2 3 1 2 3 2 cos .a a a b b b a b θ= + + + + + −

Page 29: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

θ

b

a

a b−

1 1 2 2 3 32 2 2 2 cos .a b a b a b a b θ− − − = −

Next, subtracting like terms from each side gives,

Page 30: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

θ

b

a

a b−

1 1 2 2 3 3 cos .a b a b a b a b a bθ+ + = = ⋅

And finally, we divide each side by -2.

Page 31: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

θ

b

a

a b−

1 1 2 2 3 3 cos .a b a b a ba ba b a b

θ+ +⋅

= =

As a corollary, we get the following formula for findingthe angle between two vectors.

0 θ π≤ ≤

Page 32: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

θ

b

a

a b−

EXAMPLE:

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

(2)( 1) (3)(2) (4)( 2) 4a b⋅ = − + + − = −

14 4 4cos cos 104.34 9 16 1 4 4 3 29 3 29

a ba b

θ θ − ⎛ ⎞⋅ − − −= = = ⇒ = ≈ °⎜ ⎟+ + + + ⎝ ⎠

Page 33: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

A fairly immediate and important consequence of what we’ve seen is the following:

cos 0 90 0 0.a b a b if and only if or a or bθ θ⋅ = = = ° = =

Page 34: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

A fairly immediate and important consequence of what we’ve seen is the following:

cos 0 90 0 0.a b a b if and only if or a or bθ θ⋅ = = = ° = =

In other words, we can determine if two vectors areperpendicular or not simply by looking to see if the dotproduct is zero. Furthermore, the zero vector is consideredperpendicular to all vectors.

Page 35: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

A fairly immediate and important consequence of what we’ve seen is the following:

cos 0 90 0 0.a b a b if and only if or a or bθ θ⋅ = = = ° = =

In other words, we can determine if two vectors areperpendicular or not simply by looking to see if the dotproduct is zero. Furthermore, the zero vector is consideredperpendicular to all vectors.

As a final note, the dot product is also known as the“scalar product.”

Page 36: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

The Cross Product

Page 37: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

The cross product of two vectors is defined asfollows:

1 2 3 1 2 3

2 3 1 3 1 21 2 3

2 3 1 3 1 21 2 3

2 3 3 2 1 3 3 1 1 2 2 1

ˆ ˆˆ ˆ ˆ ˆ ,

ˆˆ ˆˆˆ ˆ

ˆˆ ˆ( . ) ( . ) ( . ) .

If a a i a j a k and b b i b j b k

i j ka a a a a a

then a b a a a i j kb b b b b b

b b b

a b a b i a b a b j a b a b k

= + + = + +

× = = − +

= − − − + −

Page 38: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

The cross product of two vectors is defined asfollows:

1 2 3 1 2 3

2 3 1 3 1 21 2 3

2 3 1 3 1 21 2 3

2 3 3 2 1 3 3 1 1 2 2 1

ˆ ˆˆ ˆ ˆ ˆ ,

ˆˆ ˆˆˆ ˆ

ˆˆ ˆ( . ) ( . ) ( . ) .

If a a i a j a k and b b i b j b k

i j ka a a a a a

then a b a a a i j kb b b b b b

b b b

a b a b i a b a b j a b a b k

= + + = + +

× = = − +

= − − − + −

Isn’t that cool!

Page 39: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

The cross product of two vectors is another vector.

Page 40: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

The cross product of two vectors is another vector.

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

Page 41: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

The cross product of two vectors is another vector.

( ) [ ]

2 3 1 2 3

1 2 3 3 2 2 1 3 3 1 3 1 2 2 1

2 3 11 2 3 1 3 2 1 3 2 3 12 3 21

ˆ ˆˆ ˆ ˆ ˆ ,

( . ) ( . ) ( . )

0

If a a i a j a k and b b

a

i b j b k then

a a b a

a b a a b

a b a b a a b a b a a b a

a a ba a b

b

aa ab a b

= + + = + +

⋅ × = − + −

+ −− +

− + −

= − =

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

Page 42: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

The cross product of two vectors is another vector.

( ) [ ]

2 3 1 2 3

1 2 3 3 2 2 1 3 3 1 3 1 2 2 1

2 3 11 2 3 1 3 2 1 3 2 3 12 3 21

ˆ ˆˆ ˆ ˆ ˆ ,

( . ) ( . ) ( . )

0

If a a i a j a k and b b

a

i b j b k then

a a b a

a b a a b

a b a b a a b a b a a b a

a a ba a b

b

aa ab a b

= + + = + +

⋅ × = − + −

+ −− +

− + −

= − =

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

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

Page 43: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

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

a b

a b×

Page 44: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

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

Page 45: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

sin , ,a b a b where is theanglebetweenthetwovectorsθ θ× =

One of the more important ones is below:

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

Page 46: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

sin , ,a b a b where is theanglebetweenthetwovectorsθ θ× =

One of the more important ones is below:

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 proof is amazingly simple!

Page 47: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

Proof:

2 2 2 2 2 2 2 22 3 2 3 2

2 2 2 22 3 3 2 1 3 3 1 1 2 2 1

2 2 2 2 2 2 2 2 2 2 2 21 2 1 3 2 1 2 3 3 1 3 2

1 2 1 2 1 3 1 3 2 3 2 3

3 3 2 1 3 1 3 1 3 3 12 2 2 2

1 2 1 2 1

1

2 2 1

2 21

2

( . ) (

2

2

. ) ( . )

2 2 2

a b a a b b a b a b a a b b a b

a b

a b a b a b a b a b a b a b

a b a b a b a b a b a ba a b b a a b b a a b

a b

a a b b b

b

a

× = − + − + −

= + + + + +

=

= − + + − +

− −

+ +

+

( ) ( )

2 2 2 22 2 3 3

2 2 2 2 2 2 21 2 3 1 2 3 1 1 2 2

2 2 2 2 2 2 2 2 2 2 2 21 2 1 3 2 1 2 3 3 1 3 2

1 2 1 2 1 3 1 3 2 3 2 3

2 22

222

2 2 2 2 2 21 1 2 2 3 3

3

2

2

2

3

2

2

co

( )( ) (

2 2 2

co

s

s

)

a b a b a

a

a b a b a b a b a b a b

a a b

a b a b

a a a b b b a b a b a b

b a a

b a b a b a b

bb b a a b b

a b a b

θ

+

= + + + + − +

= −

+ + + + + +

− − −

= −

+

= −

( )2 22 22 21 cos sin .a b a bθ θ θ= − =

Page 48: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

Thus,2 22 2sin .a b a b θ× =

And since,

sin 0 0 ,forθ θ π≥ ≤ ≤

We have that,

sin .a b a b θ× =

Page 49: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

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

sinArea a b a bθ= = ×

a

b sinheight b θ=

Page 50: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

EXAMPLE (Cross Product):

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

Page 51: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

EXAMPLE (Cross Product):

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

ˆˆ ˆˆ ˆˆ ˆ ˆ2 3 4 14 0 7 14 7

1 2 2

i j ka b i j k i k× = = − + + = − +

− −

Page 52: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

EXAMPLE (Area of aParallelogram):

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

Page 53: The Dot Product The Cross Product - Doc Benton Dot Product & The Cross Product. ... vector b that is parallel to vector a. b G a G b cos ... Microsoft PowerPoint - VectorProducts.ppt

EXAMPLE (Area of aParallelogram):

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

ˆˆ14 7 245 7 5 15.65Area a b i k= × = − + = = ≈