fun with vectors. definition a vector is a quantity that has both magnitude and direction examples?

37
Fun with Vectors

Upload: yadiel-warnes

Post on 14-Dec-2015

222 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Fun with Vectors

Page 2: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Definition

• A vector is a quantity that has both magnitude and direction

• Examples?

Page 3: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Represented by an arrow

A (initial point)

B (terminal point)

v, v, or AB

Page 4: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

If two vectors, u and v, have the same length and direction, we say they are equivalent

uv

Page 5: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

ab

Vector addition

Page 6: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

ab

Vector addition: a + b

Page 7: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

a

b

Vector addition: a + b

a+b

Page 8: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

a

b

Vector addition: a + b

a+b

Page 9: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Scalar Multiplication

a

Page 10: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Scalar Multiplication

a2a

-a -½ a

Page 11: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Subtraction

ba

Page 12: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Subtraction

ba

-b

Page 13: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Subtraction

ba

-ba+(-b)

Page 14: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Subtraction

ba

-ba+(-b)

Page 15: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Subtraction

ba

-b

a+(-b)

If a and b share the same initial point, the vector a-b is the vectorfrom the terminal point of b to the terminal point of a

Page 16: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Let’s put these on a coordinate system

We can describe a vector by putting its initial point at the origin.

We denote this as a=<a1,a2>

where (a1,a2) represent the terminal point

Page 17: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Graphically

x

y

a=<a1,a2>

(a1,a2)

y

x

z

v=<a,b,c>

a

b

c

(a,b,c)

Page 18: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Given two points A=(x1,y1) and B=(x2,y2),

The vector v = AB is given by

v = <x2 - x1, y2 - y1>

…or in 3-space, v = <x2 - x1, y2 - y1, z2 - z1>

Page 19: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Graphically

A=(-1,2)B=(2,3)

A

B

v = <2-(-1), 3-2> = <3,1>

v

Page 20: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Recall, a vector has direction and length

Definition: The magnitude of a vector v = <x,y,z> is given by

222 zyxv

Page 21: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Properties of VectorsSuppose a, band c are vectors, c and d are scalars

1. a+b=b+a2. a+(b+c)=(a+b)+c3. a+0=a4. a+(-a)=05. c(a+b)=ca+cb6. (c+d)a=ca+da7. (cd)a=c(da)8. 1a=a

Page 22: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Standard Basis Vectors

1

1,0,0

0,1,0

0,0,1

kji

k

j

i

Definition: vectors with length 1 are called unit vectors

Page 23: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Example: We can express vectors in terms of this basis

a = <2,-4,6> a = 2i -4j+6k

Q. How do we find a unit vector in the same direction as a?

A. Scale a by its magnitude

11

1

a

aa

av

aa

v

Page 24: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

6,4,256

1

6,4,26)4(2

1

1

222

aa

v

Examplea = <2,-4,6>

Page 25: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

12.3 The Dot Product

Motivation: Work = Force* Distance

Box

F

D

Fx

Fy

Page 26: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Box

DF

Fx

Fy

To find the work done in moving the box, we want the part of F in the direction of the distance

)cos(FFx

)cos( FDW

Page 27: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

One interpretation of the dot product

)cos( DFDF

Where is the angle between F and D

Page 28: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

A more useful definition

332211 babababa

)cos( 2222

bababa

You can show these two definitions are equal by considering the following triangle and applying the law of cosines! See page 808 for details

y

x

z

ba-b

aThink, what is |a|2?

Page 29: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Example

a=<2,-1,0>, b=<1,-8,-3>

Find a.b and the angle between a and b

Page 30: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

The Dot Product

If a = <a1,a2,a3> and b=<b1,b2,b3> then

The dot product of a and b is a NUMB3R given by

332211 bababa ba

)cos(baba

Page 31: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

The Dot Product

baba

)cos( 0)2/cos(

0)cos(2

0

a and b are orthogonal if and only if the dot product of a and b is 0

Other Remarks:

a

b

0)cos(2

Page 32: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Properties of the dot productSuppose a, b, and c are vectors and c is a scalar

1. a.a=|a|2

2. a.b=b.a

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

4. (ca).b=c(a.b)=a.(cb)

5. 0.a=0

Page 33: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Yet another use of the dot product: Projections

a.b=|a| |b| cos( )

Think of our work example: this is ‘how much’ of b is in the direction of a

b

a|b| cos( )

Page 34: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

We call this quantity the scalar projection of b on a

)cos(ba

babcompa

Think of it this way: The scalar projection is the length of the shadow of b cast upon a by a light directly above a

Page 35: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Q. How do we get the vector in the direction of a with length compab?

A.We need to multiply the unit vector in the direction of a by compab.

aa

ba

a

a

a

babproja

2

We call this the vector projection of b onto a

Page 36: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Examples/Practice!

Page 37: Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?

Key Points

• Vector algebra: addition, subtraction, scalar multiplication

• Geometric interpretation• Unit vectors• The dot product and the angle between

vectors• Projections (algebraic and geometric)