MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose...

31
MTHSC 206 Section 12.3 –Dot Products and Projections Kevin James Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Transcript of MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose...

Page 1: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

MTHSC 206 Section 12.3 –Dot Productsand Projections

Kevin James

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 2: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Definition

Suppose that a = (a1, a2, a3) and b = (b1, b2, b3). Then we definethe dot product a · b of a and b by

a · b = a1b1 + a2b2 + a3b3.

Example

(1, 2,−1) ·(2, 3,−2) = (1)(2)+(2)(3)+(−1)(−2) = 2+6+2 = 10

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 3: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Definition

Suppose that a = (a1, a2, a3) and b = (b1, b2, b3). Then we definethe dot product a · b of a and b by

a · b = a1b1 + a2b2 + a3b3.

Example

(1, 2,−1) ·(2, 3,−2) =

(1)(2)+(2)(3)+(−1)(−2) = 2+6+2 = 10

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 4: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Definition

Suppose that a = (a1, a2, a3) and b = (b1, b2, b3). Then we definethe dot product a · b of a and b by

a · b = a1b1 + a2b2 + a3b3.

Example

(1, 2,−1) ·(2, 3,−2) = (1)(2)+(2)(3)+(−1)(−2)

= 2+6+2 = 10

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 5: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Definition

Suppose that a = (a1, a2, a3) and b = (b1, b2, b3). Then we definethe dot product a · b of a and b by

a · b = a1b1 + a2b2 + a3b3.

Example

(1, 2,−1) ·(2, 3,−2) = (1)(2)+(2)(3)+(−1)(−2) = 2+6+2 = 10

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 6: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Properties of the Dot Product

Suppose that a, b, c ∈ R3 and d ∈ R.

1 a · a = |a|2.

2 a · b = b · a.

3 a · (b + c) = a · b + a · c .

4 (da) · b = d(a · b) = a · (db).

5 0 · a = 0.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 7: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

The Geometry of Dot Products

Theorem

Suppose that a and b are vectors in R2 or R3. Then,

a · b = |a||b| cos(θ),

where θ is the angle between a and b.

Corollary

Suppose that a, b and θ are as above. Then

cos(θ) =a · b|a||b|

.

Example

The angle between (1, 1, 1) and (1, 1, 0) is θ = arccos( 2√6

).

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 8: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

The Geometry of Dot Products

Theorem

Suppose that a and b are vectors in R2 or R3. Then,

a · b = |a||b| cos(θ),

where θ is the angle between a and b.

Corollary

Suppose that a, b and θ are as above. Then

cos(θ) =a · b|a||b|

.

Example

The angle between (1, 1, 1) and (1, 1, 0) is θ = arccos( 2√6

).

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 9: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

The Geometry of Dot Products

Theorem

Suppose that a and b are vectors in R2 or R3. Then,

a · b = |a||b| cos(θ),

where θ is the angle between a and b.

Corollary

Suppose that a, b and θ are as above. Then

cos(θ) =a · b|a||b|

.

Example

The angle between (1, 1, 1) and (1, 1, 0) is θ =

arccos( 2√6

).

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 10: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

The Geometry of Dot Products

Theorem

Suppose that a and b are vectors in R2 or R3. Then,

a · b = |a||b| cos(θ),

where θ is the angle between a and b.

Corollary

Suppose that a, b and θ are as above. Then

cos(θ) =a · b|a||b|

.

Example

The angle between (1, 1, 1) and (1, 1, 0) is θ = arccos( 2√6

).

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 11: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Fact

Two vectors are perpendicular or orthogonal if and only if a · b = 0.

Example

i , j and k are pairwise orthogonal.

Direction Angles

Suppose that a ∈ R3 and that α, β and γ are the angles between aand the x-, y - and z-axes (respectively). Then,

cos(α) =a1|a|, cos(β) =

a2|a|

and cos(γ) =a3|a|.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 12: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Fact

Two vectors are perpendicular or orthogonal if and only if a · b = 0.

Example

i , j and k are pairwise orthogonal.

Direction Angles

Suppose that a ∈ R3 and that α, β and γ are the angles between aand the x-, y - and z-axes (respectively). Then,

cos(α) =a1|a|, cos(β) =

a2|a|

and cos(γ) =a3|a|.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 13: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Fact

Two vectors are perpendicular or orthogonal if and only if a · b = 0.

Example

i , j and k are pairwise orthogonal.

Direction Angles

Suppose that a ∈ R3 and that α, β and γ are the angles between aand the x-, y - and z-axes (respectively). Then,

cos(α) =a1|a|, cos(β) =

a2|a|

and cos(γ) =a3|a|.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 14: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Note

Suppose that a ∈ R3 is a vector and that α, β and γ are itsposition angles. Then,

1 cos(α)2 + cos(β)2 + cos(γ)2 = 1.

2 a = (|a| cos(α), |a| cos(β), |a| cos(γ)) =|a|(cos(α), cos(β), cos(γ)).

31|a|a = (cos(α), cos(β), cos(γ)).

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 15: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Note

Suppose that a ∈ R3 is a vector and that α, β and γ are itsposition angles. Then,

1 cos(α)2 + cos(β)2 + cos(γ)2 = 1.

2 a = (|a| cos(α), |a| cos(β), |a| cos(γ)) =

|a|(cos(α), cos(β), cos(γ)).

31|a|a = (cos(α), cos(β), cos(γ)).

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 16: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Note

Suppose that a ∈ R3 is a vector and that α, β and γ are itsposition angles. Then,

1 cos(α)2 + cos(β)2 + cos(γ)2 = 1.

2 a = (|a| cos(α), |a| cos(β), |a| cos(γ)) =|a|(cos(α), cos(β), cos(γ)).

31|a|a = (cos(α), cos(β), cos(γ)).

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 17: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Note

Suppose that a ∈ R3 is a vector and that α, β and γ are itsposition angles. Then,

1 cos(α)2 + cos(β)2 + cos(γ)2 = 1.

2 a = (|a| cos(α), |a| cos(β), |a| cos(γ)) =|a|(cos(α), cos(β), cos(γ)).

31|a|a = (cos(α), cos(β), cos(γ)).

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 18: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Projections

Definition

Suppose that a = ~PQ and b = ~PR (Q 6= R). Let L be a linewhich is perpendicular to the line containing a and passes throughR. Let S be the intersection point of L with the line containing a.Then the vector ~PS is the vector projection of b onto a and isdenoted by Proja(b).

Definition

The scalar projection of b onto a (or component of b along a) isdefined to be the signed magnitude of Proja(b) and is denoted bycompa(b).

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 19: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Projections

Definition

Suppose that a = ~PQ and b = ~PR (Q 6= R). Let L be a linewhich is perpendicular to the line containing a and passes throughR. Let S be the intersection point of L with the line containing a.Then the vector ~PS is the vector projection of b onto a and isdenoted by Proja(b).

Definition

The scalar projection of b onto a (or component of b along a) isdefined to be the signed magnitude of Proja(b) and is denoted bycompa(b).

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 20: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Note

Suppose that a and b are vectors and that θ is the angle betweenthem.

1 compa(b) = |b| cos(θ).

2 a · b = |a||b| cos(θ).

3 compa(b) = a·b|a| .

4 Proja(b) = compa(b) a|a| = a·b

|a|2 a =(a·ba·a

)a.

Example

Let a = (1, 1, 0) and b = (1, 1, 1). Compute the vector and scalarprojections of b onto a.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 21: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Note

Suppose that a and b are vectors and that θ is the angle betweenthem.

1 compa(b) = |b| cos(θ).

2 a · b = |a||b| cos(θ).

3 compa(b) = a·b|a| .

4 Proja(b) = compa(b) a|a| = a·b

|a|2 a =(a·ba·a

)a.

Example

Let a = (1, 1, 0) and b = (1, 1, 1). Compute the vector and scalarprojections of b onto a.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 22: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Note

Suppose that a and b are vectors and that θ is the angle betweenthem.

1 compa(b) = |b| cos(θ).

2 a · b = |a||b| cos(θ).

3 compa(b) = a·b|a| .

4 Proja(b) = compa(b) a|a| = a·b

|a|2 a =(a·ba·a

)a.

Example

Let a = (1, 1, 0) and b = (1, 1, 1). Compute the vector and scalarprojections of b onto a.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 23: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Note

Suppose that a and b are vectors and that θ is the angle betweenthem.

1 compa(b) = |b| cos(θ).

2 a · b = |a||b| cos(θ).

3 compa(b) = a·b|a| .

4 Proja(b) = compa(b) a|a| =

a·b|a|2 a =

(a·ba·a

)a.

Example

Let a = (1, 1, 0) and b = (1, 1, 1). Compute the vector and scalarprojections of b onto a.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 24: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Note

Suppose that a and b are vectors and that θ is the angle betweenthem.

1 compa(b) = |b| cos(θ).

2 a · b = |a||b| cos(θ).

3 compa(b) = a·b|a| .

4 Proja(b) = compa(b) a|a| = a·b

|a|2 a =

(a·ba·a

)a.

Example

Let a = (1, 1, 0) and b = (1, 1, 1). Compute the vector and scalarprojections of b onto a.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 25: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Note

Suppose that a and b are vectors and that θ is the angle betweenthem.

1 compa(b) = |b| cos(θ).

2 a · b = |a||b| cos(θ).

3 compa(b) = a·b|a| .

4 Proja(b) = compa(b) a|a| = a·b

|a|2 a =(a·ba·a

)a.

Example

Let a = (1, 1, 0) and b = (1, 1, 1). Compute the vector and scalarprojections of b onto a.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 26: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Note

Suppose that a and b are vectors and that θ is the angle betweenthem.

1 compa(b) = |b| cos(θ).

2 a · b = |a||b| cos(θ).

3 compa(b) = a·b|a| .

4 Proja(b) = compa(b) a|a| = a·b

|a|2 a =(a·ba·a

)a.

Example

Let a = (1, 1, 0) and b = (1, 1, 1). Compute the vector and scalarprojections of b onto a.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 27: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Application

Suppose that a constant force vector F acts on an object moving itfrom P to Q.

Then the work done is component of F acting in the direction ofD = ~PQ multiplied by the distance the object has moved, namely|PQ|.So, if θ is the angle between the force vector F and thedisplacement vector D, then

W = (|F | cos(θ))|D| = |F ||D| cos(θ) = F · D.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 28: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Application

Suppose that a constant force vector F acts on an object moving itfrom P to Q.Then the work done is component of F acting in the direction ofD = ~PQ multiplied by the distance the object has moved, namely|PQ|.

So, if θ is the angle between the force vector F and thedisplacement vector D, then

W = (|F | cos(θ))|D| = |F ||D| cos(θ) = F · D.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 29: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Application

Suppose that a constant force vector F acts on an object moving itfrom P to Q.Then the work done is component of F acting in the direction ofD = ~PQ multiplied by the distance the object has moved, namely|PQ|.So, if θ is the angle between the force vector F and thedisplacement vector D, then

W = (|F | cos(θ))|D| =

|F ||D| cos(θ) = F · D.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 30: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Application

Suppose that a constant force vector F acts on an object moving itfrom P to Q.Then the work done is component of F acting in the direction ofD = ~PQ multiplied by the distance the object has moved, namely|PQ|.So, if θ is the angle between the force vector F and thedisplacement vector D, then

W = (|F | cos(θ))|D| = |F ||D| cos(θ) =

F · D.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections

Page 31: MTHSC 206 Section 12.3 Dot Products and Projections · The Geometry of Dot Products Theorem Suppose that a and b are vectors in R2 or R3. Then, a b = jajjbjcos( ); where is the angle

Application

Suppose that a constant force vector F acts on an object moving itfrom P to Q.Then the work done is component of F acting in the direction ofD = ~PQ multiplied by the distance the object has moved, namely|PQ|.So, if θ is the angle between the force vector F and thedisplacement vector D, then

W = (|F | cos(θ))|D| = |F ||D| cos(θ) = F · D.

Kevin James MTHSC 206 Section 12.3 –Dot Products and Projections