Vectors
Vectors
1
VECTORS
2
3
What is a Vector?
• A quantity that has both Magnitude and Direction
• Examples
• Wind
• Boat or aircraft travel
• Forces in physics
• Geometrically it is a
Terminal
directed line segment point
Initial point
3
4
Vector Notation
• Given by
Angle brackets <a, b> a vector with
Ordered pair (a, b)
Initial point at origin, terminal point at the specified ordered pair
(a, b)
4
5
Vector Notation
An arrow over a letter V
• or a letter in bold face V V
An arrow over two letters
• The initial and terminal points
AB
A
• or both letters in bold face AB
B
V AB
5
6
Equivalent Vectors
•
(a, b)
Pt xt , yt Pi xi , yi
6
7
7
8
• Magnitude V a b2 2
• Addition
• V + W = <a + c, b + d>
8
9
Vector Addition
• Sum of two vectors is the single equivalent vector which
has same effect as application of the two vectors
9
10
Vector Subtraction
• The difference of two vectors is the result of adding a
negative vector
• A – B = A + (-B)
A
B
A-B
-B
10
11
A
• A+C
C
• B–A
• C + 2B
11
12
Magnitude of a Vector
• Magnitude found using Pythagorean theorem or distance
formula
• Given A = <4, -7> A 4 (7) 65
2 2
12
13
Unit Vectors
• Definition:
• A vector whose magnitude is 1
• Typically we use the horizontal and vertical unit vectors i
and j
• i = <1, 0> j = <0, 1>
• Then use the vector components to express the vector as a sum
• V = <3,5> = 3i + 5j
13
14
Unit Vectors
• Use unit vectors to add vectors
• <4, -2> + <6, 9>
4i – 2j + 6i + 9j = 10i + 7j
• Use to find magnitude
- 3i 4j - 3 4
2
2 1/2
5
• Use to find direction
• Direction for -2i + 2j
2
tan
2
3
4 14
15
15
• The components form two sides of a right triangle with a
hypotenuse of length A.
• The magnitude and direction of A are related to its
components through the expressions
16
17
Applications of Vectors
• Sammy is steering his boat at a heading of 327° at
18mph. The current is flowing at 4mph at a heading of
60°. Find Sammy's course
17
Solution
• To find Sammy's course you have to add the two
velocities (vectors), 18 mph 327º and 4 mph 60º.
• To add the two vectors analytically you decompose each
vector into their vertical and horizontal components.
• Case 1: 18 mph 327º
• Horizontal component: 18 mph × cos (327º) = 15.10 mph
• Vertical component: 18 mph × sin (327º) = - 9.80 mph
• Vector notation:
• Addition:
• The magnitude:
• Direction:
• arctan(1.73) ≈ 59.97º
19
20
Application of Vectors
• A 120 N force keeps an 800 N box from sliding down an
inclined ramp. What is the angle of the ramp?
• What we have
is the force,
the weight
creates
parallel to the
ramp
20
Solution
21
22
Dot Product
Given vectors V = <a, b>, W = <c, d>
• Dot product defined as
22
23
V W V W cosα
23
24
V W V W cosα
VW
cos
V W
24
25
25
26
26
27
27
28
Scalar Projection
• Given two vectors v and w
v
w
projwv
The projection of v on w
• Projwv = v cos
28
29
Scalar Projection
• The other possible configuration for the projection
w projwv
The projection of v on w
• Formula used is the same but result will be negative
because > 90°
v cos
29
30
V W
0 90
V W
30
Parallel Vectors
•
31
Perpendicular Vectors
32
33
34
W F s
F s cos
37°
34
Curl and Divergence
Curl
36
Curl
•If F = P i + Q j + R k is a vector field on and the partial
derivatives of P, Q, and R all exist, then the curl of F is the
vector field on defined by
• (1)
37
Curl
•It has meaning when it operates on a scalar function to
produce the gradient of f :
38
Curl
(2)
39
Example 1
•If F(x, y, z) = xz i + xyz j – y2 k, find curl F.
•Solution:
•Using Equation 2, we have
40
Example 1 – Solution cont’d
41
Curl
•Recall that the gradient of a function f of three variables is
a vector field on and so we can compute its curl.
curlf 0 (3)
42
Curl
•Since a conservative vector field is one for which F = f,
Theorem 3 can be rephrased as follows:
43
Curl
•The reason for the name curl is that the curl vector is
associated with rotations.
•It occurs when F represents the velocity field in fluid flow.
Particles near (x, y, z) in the fluid tend to rotate about the
axis that points in the direction of curl F(x, y, z), and the
length of this curl vector is a measure of how quickly the
particles move around the axis (see Figure 1).
Figure 1 44
Curl
•If curl F = 0 at a point P, then the fluid is free from rotations
at P and F is called irrotational at P.
•If curl F = 0, then a tiny paddle wheel moves with the fluid
but doesn’t rotate about its axis.
45
Divergence
46
Divergence
•If F = P i + Q j + R k is a vector field on and
∂P/∂x, ∂Q/∂y, and ∂R/∂z exist, then the
divergence of F is the function of three
variables defined by
(4)
(5)
48
Example 4
•If F(x, y, z) = xz i + xyz j - y2 k, find div F.
•Solution:
•By the definition of divergence (Equation 4 or 5) we have
• div F = F
• = z + xz
49
Divergence
•If F is a vector field on, then curl F is also a vector field
on . As such, we can compute its divergence.
•Theorem:
•If F = Pi + Qj + Rk is a vector field on and P, Q and R have
continuous second order partial derivatives, then,
div curl F 0
(6)
51
Divergence
•If f is a function of three variables, we have
52
Divergence
•We can also apply the Laplace operator to a vector field
2
F=Pi+Qj+Rk
• 2F = 2P i + 2Q j + 2R k
53