• No results found

14 Vectors Operations - Handout.pdf

N/A
N/A
Protected

Academic year: 2020

Share "14 Vectors Operations - Handout.pdf"

Copied!
34
0
0

Loading.... (view fulltext now)

Full text

(1)

Vector Operations and its Applications

Mathematics 54 - Elementary Analysis 2

(2)

Vector Operations

Dot Product

Definition (Dot Product)

Let~A= 〈a1,a2,a3〉and~B= 〈b1,b2,b3〉. We define their dot product as

~A·~B=a1b1+a2b2+a3b3

Note:~A·~BR

Example

Let~A= 〈2,−1, 4〉,~B= 〈−3, 2, 0〉and~C= 〈7, 4, 1〉

1 ~A·~B=(2)(3)+(1)(2)+(4)(0)= −8 2 ~C·~B=(7)(3)+(4)(2)+(1)(0)= −13

(3)

Theorem (Properties of the dot product)

Let~A,~B and~C be vectors inR3and cR.

1 ~A·~B=~B·~A

2 ~A·¡c~B¢=c¡~A·~B¢

3 ~A¡~B±~C¢=¡~A·~B¢±¡~A·~C¢

4 ~A·~0=0

5 ~A·~A=°°~A ° °

(4)

Angle Between Vectors

We define theangle between two vectors~Aand~Bto be the angleθ[0,π] formed by the two vectors in their position representation.

(5)

Theorem

Ifθis the angle between the two vectors~A and~B, then

~A·~B=°°~A ° ° ° °~B

° °cosθ.

Proof: Consider°°~A−~B ° °

2 .

° °~A−~B

° °

2

= (~A~B)·(~A~B)

= ~A·(~A−~B)−~B·(~A−~B)

= ~A·~A~A·~B~B·~A+~B·~B

= °°~A ° °

2

−2~A·~B+° °~B

° °

2

By cosine law:

~A

~B

~A−~B

° °~A−~B

° °

2 =°°~A

° °

2 +°°~B

° °

2 −2°°~A

° ° ° °~B

(6)

Examples

Example

1 Find the angle between~A=ı2 ˆ+kand~B=ˆı3 ˆ+k

Solution:

cosθ = 〈3,−2, 3〉 · 〈1,−3, 5〉

k〈3,2, 3〉k k〈1,3, 5〉k

= 3p+6+15

22p35

= p24

770 θ = cos−1

µ

24

p

770

(7)

Examples

Example

2 Find the angle between~A=ı2 ˆ+kand~B=ˆı3 ˆk

Solution:

cosθ = 〈3,−2, 3〉 · 〈1,−3,−3〉 k〈3,−2, 3〉k k〈1,−3,−3〉k

= p3+6−9

22p19

= 0

θ = π

2

(8)

Examples

Example

3 In Physics, Work (W) = Force (~F)·Displacement (~d).

Find the work done by a man carrying a load of 100 N, while walking across a 10 meter, level surface.

Solution:

W = ~F·~d= kFkkdkcosθ

= (100)(10) cos¡

(9)

Remarks

Two vectors~Aand~Bare parallel if and only if~A=c~Bfor some nonzero scalarc.

~Aand~Bare perpendicular or orthogonal if and only if~A·~B=0.

Indeed, ifθ=π

2 is the angle between them, then

~A·~B= kAk kBkcos³π 2

´ =0

and conversely if~A·~B, then cosθ=0, soθ=π

2.

Note.

(10)

Projections

A nice application of the dot product is with projections.

Definition

(11)

Projections

Remark

1 Given two non-zero vectors~aand~b, theprojectionof~bonto the~ais

illustrated below

2 proj~

(12)

Projection

The magnitude of proja~bis given byk~bk |cosθ|, whereθis the angle between~aand~b.

Moreover,

proj~a~b = ³k~bkcosθ´ ~a

k~ak=

Ã

k~akk~bkcosθ

k~ak2

!

~a

= Ã

~a·~b

k~ak2

!

~a

Hence, given two non-zero vectors~aand~b, thevector projectionof~bonto ~ais given by the following formula:

proj~a~b=~a·~b

(13)

Projection

Example

1 Determine the projection of~A= 〈2, 1,1onto~B= 〈1, 0,2.

Solution.The projection is given by proj~B~A=(~A°·~B)~B °~B

° °

2

We need the dot product of~Aand~Band the magnitude of~B.

~A·~B=2+0+2=4 ° °~B

° °

2

=1+0+4=5

Then,

proj~B~A = 4

5〈1, 0,−2〉 =

¿4

5, 0,

−8 5

(14)

Projection

Example

2 Determine the projection of~a= 〈1, 0,2onto~b= 〈2, 1,1.

Solution.Solving for~a·~band the magnitude of~b.

~a·~b=2+0+2=4

° ° °~b

° ° °

2

=4+1+1=6

The projection is then,

projb~a = (~a°·~b)~b ° °~b

° ° °

2 = 4

6〈2, 1,−1〉

= ¿4

3, 2 3,

−2 3

(15)

Projection

Example

3 Express~A= 〈2, 3, 5as a sum of a vector parallel to~B= 〈2,1,2and

a vector perpendicular to~B.

Solution.Note that proj~B~Ais parallel to~B. Thus,

proj~B~A=(~B·~A)~B

° °~B

° °

2 =

(4310)2,1,2

4+1+4 = 〈−2, 1, 2〉.

Moreover, based from the construction of the vector projection, we can let ~C=~Aproj~B~A, then one can verify that~Cand~Aare perpendicular.

Hence,

~C= 〈2, 3, 5〉 − 〈−2, 1, 2〉 = 〈4, 2, 3.

(16)

Vector Operations

Cross Product

Definition

Let~A= 〈a1,a2,a3〉and~B= 〈b1,b2,b3〉

~A×~B= 〈a2b3−a3b2,a3b1−a1b3,a1b2−a2b1〉

Note:

~A×~B is a vector.

Moreover, we can write~A×~Bas

~A×~B = det

ˆ

ı ˆ kˆ a1 a2 a3

b1 b2 b3

= det

µ

a2 a3

b2 b3

ˆ

ı−det

µ

a1 a3

b1 b3

ˆ +det

µ

a1 a2

b1 b2

ˆ

(17)

Determinant of a 2

×

2 matrix

Note that for the matrixA=

µ

a1 a2

b1 b2

,

detA=a1b2−a2b1.

Example

1 det

µ

2 0

−1 3

=2(3)0(1)=6

2 det

µ −5 2

4 1

(18)

Cross Product

Example

1 Let~A= 〈1, 3, 4and~B= 〈2, 7,5. Find~A×~B.

Solution:

~A×~B = det

ˆ

ı ˆ kˆ

1 3 4 2 7 −5

= det

µ

3 4 7 −5

ˆ

ıdet

µ

1 4 2 −5

ˆ +det

µ 1 3 2 7 ¶ ˆ k

= (−15−28)ˆı−(−5−8) ˆ+(7−6)ˆk

(19)

Theorem (Properties of the cross product)

Let~A,~B and~C be vectors inR3and c∈R.

1 ~A×~B= −~B×~A

2 ~Aסc~B¢=c¡~A×~B¢

3 ~Aס~B±~C¢=¡~A×~B¢±¡~A×~C¢

(20)

Examples

Example

1 Suppose~A= 〈1, 0, 1and~B= 〈2, 0,1. Find~A×~Band~B×~A.

~A×~B = det

ˆ

ı ˆ kˆ

1 0 1 2 0 −1

= det

µ

0 1 0 −1

ˆ

ı−det

µ

1 1 2 −1

ˆ +det

µ 1 0 2 0 ¶ ˆ k

= 3ˆ While,

~B×~A = det

ˆ

ı ˆ kˆ

2 0 −1 1 0 1

= det

µ

0

ˆ

ı−det

µ

2

ˆ +det

µ

2 0¶

ˆ

(21)

Examples

Example

2 Show that~A×~A=~0.

Let~A= 〈a,b,c〉, then

~A×~A = det

ˆ

ı ˆ kˆ a b c a b c

  = det µ b c b c ¶ ˆ

ıdet

µ

a c a c

ˆ +det

µ a b a b ¶ ˆ k

= (bcbcı−(acac) ˆ+(ababk

= ı+0ˆ+0kˆ

(22)

Theorem

Ifθis the angle between the two vectors~A and~B, then

° °~A×~B

° °=

° °~A

° ° ° °~B

° °sinθ.

Proof: Let~A= 〈a1,a2,a3〉and~B= 〈b1,b2,b3〉.

° °~A×~B

° °

2

= 〈a2b3−a3b2,a3b1−a1b3,a1b2−a2b1〉

= (a2b3−a3b2)2+(a3b1−a1b3)2+(a1b2−a2b1)2 = (a21+a22+a23)(b21+b22+b23)(a1b1+a2b2+a3b3)2

= °°~A ° °

2° °~B

° °

2 −¡~

A·~B¢2

= °°~A ° °

2° °~B

° °

2 −°°~A

° °

2° °~B

° °

2 cos2θ

= °°~A ° °

2° °~B

° °

2

(1−cos2θ)= °°~A ° °

2° °~B

° °

2 sin2θ

(23)

Vector Cross Product

Remark

If~A×~B=~0, then the vectors are parallel.

Indeed, two vectors are parallel if and onlyθ=0, orθ=π.

In either case, sinθ=0.

Thus,°°~A×~B °

(24)

The last theorem can be geometrically interpreted as a formula for the area of a parallelogram, defined by two vectors.

Let~aand~bbe represented by directed line segments with same initial point, and angleθin between. They then determine a parallelogram with basek~akand altitude

° ° °~b

° °

°sinθ, thus the area of the parallelogram is given

by,

Area= k~ak°° °~b

° ° °sinθ=

° ° °~a×~b

(25)

Examples

Example

1 Find the area of the parallelogram defined by the vectors

~

G= −i+ˆjkand~H=ˆj+kˆ.

Solution:

~G×~H=det

ˆi ˆj kˆ

−3 1 7

0 1 1

=8ˆı+3 ˆ−3ˆk

∴Area =°°8ˆı+3 ˆ−3ˆk ° °=

p

(26)

Examples

Example

2 Find the area of the triangle with verticesA(1, 2, 4),B(2, 1, 6) and

C(1,−1, 3).

Solution:

−→

AB= −ıˆ+k, while−→AC= −3 ˆkˆ.

So−→AB×−→AC=det

ˆ

ı ˆ kˆ

−3 −1 2 0 −3 −1

=7ˆı−3 ˆ+9ˆk.

The area of the parallelogram with adjacent sides−→ABand−→ACis

° ° °

−→

AB×−→AC°° °=

°

°7ˆı−3 ˆ+9ˆk ° °=

p

49+9+81=p139

The area of the triangleABCis half the area of this parallelogram, that is

p

(27)

Theorem

The vector~A×~B is orthogonal to both~A and~B.

Proof:

Let~A= 〈a1,a2,a3〉and~B= 〈b1,b2,b3〉, then

¡~

A×~B¢

·~A = 〈a2b3−a3b2,a3b1−a1b3,a1b2−a2b1〉 · 〈a1,a2,a3〉 = (a1a2b3−a1a3b2)+(a2a3b1−a2a1b3)

+(a3a1b2−a3a2b1)

= a1a2b3−a2a1b3+a2a3b1−a3a2b1+a3a1b2−a1a3b2

= 0

A similar computation will show that¡~

A×~B¢

(28)
(29)

Theorem

If~A,~B and~C are vectors inR3, then

~A·¡~

B×~C¢

=¡~A×~B¢ ·~C

These equalities can be proven by letting ~A= 〈a1,a2,a3〉,

~B= 〈b1,b2,b3〉, and ~C= 〈c1,c2,c3〉

and using the definition of the cross and dot products.

(30)

The geometric significance of the scalar triple product can be seen by considering the parallelepiped determined by the vectors~a,~b, and~c.

The area of the base parallelogram isA=°° °~b×~c

° °

°. Ifθis the angle between

~aand~b×~c, then the heighthof the parallelepiped ish= k~ak |cosθ|. Therefore, the volume of the parallelepiped is

V=Ah= ° ° °~b×~c

° °

°k~ak |cosθ| = ¯ ¯ ¯~a·

³

(31)

Examples

1 Find the volume of the parallelipiped defined by the vectors

~u=3ˆıˆ+4ˆk,~v=2ˆı−2ˆkand~w=5ˆıkˆ.

Solution.

~u·¡

~v×~w¢

= det

3 1 4 2 1 2 5 0 −1

=3·det

µ

1 −2 0 −1

− (1)·det

µ

2 −2 5 −1

¶ +4·det

µ

2 1 5 0

= −3+820

= −15

Therefore Volume =¯¯~u· ¡

(32)

Examples

2 Use the scalar triple product to show that the vectors

~A= 〈1, 4,7,~B= 〈2,1, 4and~C= 〈0, 2,4are coplanar.

Solution.

~A·¡~

B×~C¢

= det

1 4 7 2 1 4 0 2 4

=1·det

µ −1 4

2 4

− 4·det

µ

2 4 0 4

¶ −7·det

µ

2 1 0 2

= −4+32−28=0

Therefore, the volume of the parallelepiped determined by~A,~B, and ~

(33)

Exercises

1 If~u= 〈2,3, 1,~v= 〈1, 0,1and~w= 〈−1, 3,2, find: 1 2~u~v

2 ~u~v+~w 3 ~w¡0.5~u+1.5~v¢

2 Determine whether the following vectors are parallel 1 ~u= 〈3, 2,−1〉and~v= 〈−9,−6,−3〉

2 ~A= −4ˆı−2ˆkand~B=

¿ 1 2,

−1 8 ,

1 4 À

3 Find a unit vector that points in the same direction as~T=ı5 ˆ+kˆ. 4 Find a vector of length 3 that is parallel to the vector from (2, 0,1) to

(34)

Exercises

5 Let~u=ˆı2 ˆ+kˆ,~v=ı+ˆkand~w=2 ˆkˆ. Find 1 ~u·~v

2 ~u×~v 3 ~w×~u 4 ~u·~v×~w 5 ~u×~w×~v

6 A unit vector that lies in thexy-plane that is orthogonal to~u.

6 The area of the parallelogram having 3 of its vertices to be the points

(0, 1), (4, 3) and (1, 6).

7 Find a vector of length 5 that is orthogonal to both the vectors

〈4,−1, 0〉and〈−3, 2,−1〉.

8 Find the volume of a parallelipiped defined by the vectors

References

Related documents

The FSC logo, the initials ‘FSC’ and the name ‘Forest Stewardship Council’ are registered trademarks, and therefore a trademark symbol must accompany the.. trademarks in

This paper presents the performance and emission characteristics of a CRDI diesel engine fuelled with UOME biodiesel at different injection timings and injection pressures..

Duplicate part B and attach multiples (one for each preceptor). Subsequent experiences with the same preceptor: you must complete the packet every semester for each clinical site.

 Advanced Database / Data Management & Data Structures  Data Mining (Machine Learning) & Analytics (KDD).  Statistics and Statistical Programming  Data &

Material and Methods: The dysfunction and quality of life scores from 25 children with ECC were evaluated before treatment (T0), one month (T1) and three months after treatment

· The study tour gave me insights about how the European Commission works and how CSR can be of positive influence on the growth of companies.

C Predicted cumulative number of EVD cases per cell over time in Liberia by assuming reporting rate 100% and hospitalization rate 80% and by assuming that non-hospitalized

Even for those who choose not to incorporate social or economic justice ideals into their clinical program, practice ready can, and should, mean preparing law students to