Math 170 Lecture8
Math 170 Lecture8
Vector Fields
Nova Scotia
(a) Ocean currents off the coast of Nova Scotia (b) Airflow past an inclined airfoil
F (x, y) = P (x, y)i + Q(x, y)j or Notice that P and Q are scalar functions o
scalar fields to distinguish them from vecto
F (x, y) =< P (x, y), Q(x, y) >. z F (x, y, z)
Example 3
As with the vector functions in Section 10.
A vector field on R2 defined by F (x, y) = −yi + xj.and show that F is continuous if and only
continuous.
We sometimes identify a point 共x, y, z兲
Solution. write F共x兲 instead of F共x, y, z兲. Then F bec
to a vector x.
To understand the vector field we draw the image vectors F (x, y) on the
EXAMPLE 1 A vector field on ⺢ is defined 2
plane starting at the point (x, y). For example, F (1, 0) = j, F (0, 1) = −i,
F (0, 3) = −3i. F共x, y兲 苷
F(0, 3)
y SOLUTION Since F共1, 0兲 苷 j, we draw the ve
(0, 3) in Figure 5. Since F共0, 1兲 苷 i, we draw
共0, 1兲. Continuing in this way, we draw a n
sent the vector field in Figure 5.
It appears that each arrow is tangent to
F (1, 0) this, we take the dot product of the positio
x
0 F共x兲 苷 F共x, y兲:
x ⴢ F共x兲 苷 共x i
苷 xy
Example 4
Sketch the vector fields on R3 defined by F (x, y, z) = zk.
Solution.
Again, to understand the vector field we draw the image vectors F (x, y, z)
in the space, starting at the point (x, y, z). For example, F (1, 0, 0) = 0,
F (0, 1, 1) = k, F (0, 3, −3) = −3k. Observe that vectors are perpendicular
to xy−plane.Closer to the 920plane
■ shorter vectors.
CHAPTER 13 VECTOR CALCULUS
Example 5
Find the gradient vector field of f (x, y) = x2 y − y 3 .
Solution.
Since ∇f (x, y) = fx (x, y)i + fy (x, y)j, we obtain
Definition 6
A vector field F is called a conservative vector field if it is the gradient
vector field of some function f , i.e. F = ∇f . In this situation f is called a
potential function for F .
Note: Not every vector field is conservative. We will see how to determine
conservative vector fields.
We will define an integral with single variable which is not integrated over
an interval but along a curve both on the plane and in the space. For this
purpose we describe curves in parametric equations.
t i*
a t i-1 ti b t
which is similar to a Riemann
FIGURE 1 the following definition by ana
2 Definition If f is defined
the line integral of f along
MATH 170 Calculus II 10 / 33
Line Integrals
z
In the special case wh
the parameter, we can w
a x b. Formula 3 th
0
C y
f(x, y)
If f is continuous then the limit exists and the line integral can be
evaluated by the following formula:
s
dx 2
Z Z b 2
dy
f (x, y)ds = f (x(t), y(t)) + dt
C a dt dt
EXAMPLE 1 Evaluate xC
Solution . x 2 y 2 苷 1.
The curve is given analytic equation but in order to apply the formula we
SOLUTION In order to use
need to express C in parametric equation. Unit circle can be parametrized
Recall that the unit circ
as x = cos t and y = sin t. Upper half circle is described by parameter
0 ≤ t ≤ θ.
y and the upper half of th
≈+¥=1 (See Figure 3.) Therefo
(y˘0)
y 共2 x 2 y
C
_1 0 1 x
FIGURE 3
MATH 170 Calculus II 14 / 33
Line Integrals
Solution (Cont.)
dx dy
Also f (x(t), y(t)) = 2 + (cos t)2 sin t, and = sin t, = − cos t, then
dt dt
Z Z θ p
2
(2 + x y)ds = (2 + cos2 t sin t) (sin t)2 + (− cos t)2 dt
C 0
Z θ
2
= (2 + cos2 t sin t)dt = 2π +
0 3
y
C¢
Suppose now that C is
number of smooth curves
point of Ci1 is the termin
C∞
the sum of the integrals o
C£
C™
y f 共x, y兲 ds 苷 y
C¡ C C
0 x
EXAMPLE 2 Evaluate xC 2x
FIGURE 4 from 共0, 0兲 to 共1, 1兲 follow
A piecewise-smooth curve
SOLUTION The curve C is sh
MATH 170 y Calculus II can choose x as the16param
/ 33
Line Integrals
926 ■ CHAPTER 13 VECTOR CALCULUS
y
C¢
Suppose now that C is a piecewis
Example 9 number of smooth curves C1, C2, . . .
point of Ci1 is the terminal point of
R C∞ 2 from
Evaluate C 2xds if C consists of arc C1 of the the sum y
parabola of =
the x
integrals of f along ea
C£
C™
(0, 0) to (1, 1) followed by C2 vertical line segment from (1, 1) to (1, 2).
y f 共x, y兲 ds 苷 y f 共x, y兲 ds
C¡ C C1
0 x
Solution. EXAMPLE 2 Evaluate xC 2x ds, where
We can parametrize C1 by x=
FIGURE 4 t, y = t2 where 0 ≤ from
t ≤共0,
1.0兲 to 共1, 1兲 followed by the
A piecewise-smooth curve
SOLUTION The curve C is shown in Fig
y can choose x as the parameter and th
(1, 2) x苷x
C™
Therefore
冑冉 冊
(1, 1)
C¡ 1 dx
y 2x ds 苷 y 2x
C1 0 dx
(0, 0) x
1
苷 y 2xs1 4x 2
0
FIGURE 5
C=C¡ 傼 C™
On C2 we choose y as the parameter,
MATH 170 Calculus II 17 / 33
Line Integrals
Solution (cont.)
Then, √
1
5 5−1
Z Z p
2xds = 2
2t 1 + 4t dt =
C1 0 6
We parametrize the curve C2 as x = 1, y = t where 1 ≤ t ≤ 2. Then,
Z Z 2 p
2xds = 2(1) 02 + 12 dt = 2
C2 1
Hence, √
5 5−1
Z
2xds = +2
C 6
If we replace ∆si with ∆xi or ∆yi in the definition of line integral, then
we obtain two new line integrals
Z n
X
f (x, y)dx = lim f (x⋆i , yi⋆ )∆xi
C n→∞
i=1
Z n
X
f (x, y)dy = lim f (x⋆i , yi⋆ )∆yi
C n→∞
i=1
These integrals are called the line integrals of f with respect to x and
y. Following formulas show how these integrals are evaluated
Z Z b
f (x, y)dx = f (x(t), y(t))x′ (t)dt
C a
Z Z b
f (x, y)dy = f (x(t), y(t))y ′ (t)dt
C a
where x′ (t)dt
= dx and y ′ (t)dt
= dy. Line integral with respect to x and
y may occur together.
Z Z Z
P (x, y)dx + Q(x, y)dy = P (x, y)dx + Q(x, y)dy
C C C
y P共x, y兲 dx y Q共
Example 10 C C
y EXAMPLE 4 Evaluate xC y 2 dx x d
共5, 3兲 to 共0, 2兲 and (b) C 苷 C2
(0, 2) 共5, 3兲 to 共0, 2兲. (See Figure 7.)
C™
C¡ SOLUTION
0 x (a) A parametric representation fo
4
x=4-¥ x 苷 5t 5
(_5, _3) (Use Equation 8 with r0 苷 具5,
and Formula 7 gives
FIGURE 7
y y 2 dx x dy 苷
C1
MATH 170 Calculus II 21 / 33
Line Integrals
Solution (cont.)
Then dx = −2tdt, dy = dt,
Z Z 2
2 5
y dx + xdy = t2 (−2t)dt + (4 − t2 )dt = 40
C −3 6
Solution (cont.)
b) We parametrize the line segment by r(t) = (1 − t)(−5, −3) + (0, 2)
which gives x = t − 5, y = 5t − 3 where 0 ≤ t ≤ 1.
Z Z 1
2 5
y dx + xdy = (5t − 3)2 (5dt) + (5t − 5)(5dt) = −
C 0 6
.
Note: Observe that the result of a) and b) are different, although the
initial and terminal points of curves are the same.
B y f 共x, y兲 dx 苷 y f 共x, y
C C
FIGURE 8 f共
y C
Then we have Z Z
f (x, y)dx = − f (x, y)dx
−C C
Z Z
f (x, y)dy = − f (x, y)dy
−C C
Z Z
f (x, y)ds = f (x, y)ds
−C C
Line integral with respect to x and y change sign because in the limit
definition ∆xi and ∆yi change sign but ∆si is always positive.
Example 11
R
Evaluate C y sin zds if C is circular helix given by the parametrization
x = cos t, y = sin t, z = t where 0 ≤ t ≤ 2π
Solution.
By the above formula
Z Z 2π p
y sin zds = sin t sin t sin2 t + cos2 t + 1dt
C 0
Z 2π √ √ Z 2π
1
= sin2 t 2dt = 2 (1 − cos 2t)dt
0 0 2
√
= 2π
.
10 yC
P共x, y, z兲 dx
EXAMPLE 6 Evaluate xC y dx z dy
from 共2, 0, 0兲 to 共3, 4, 5兲 followed
MATH 170 Calculus II 共3, 4, 0兲. 30 / 33
_1 Line Integrals in space_1
2
0 0 苷y sin 2tssin 2t cos 2t
0
y x
Example 12 1 1
2
苷 s2 y 共1 cos 2t兲 dt 苷
R 1
2
Evaluate
FIGURE 9 ydx + zdy + xdz where C consists of the line segment
C
0 C1
from (2, 0, 0) to (3, 4, 5) followed by the vertical line segment C2 from
(3, 4, 5) to (3, 4, 0). EXAMPLE 6 Evaluate xC y dx z dy x dz, whe
from 共2, 0, 0兲 to 共3, 4, 5兲 followed by the vertica
共3, 4, 0兲.
Solution.
z SOLUTION The curve C is shown in Figure 10. Us
We write C1 as
(3, 4, 5)
苷 0⟩
r共t兲 0,
⃗r(t) = (1 − t)⟨2, 共1 +
t⟨3, 0典 t具3, 4
t兲具2,4,0,5⟩
or, in = ⟨2 + t, 4t,
parametric 5t⟩ as
form,
C¡
C™
0 or, in parametric form,x 苷
as2 t
(2, 0, 0) y y 苷 4t z苷
(3, 4, 0) x =Thus
2+t y = 4t z = 5t 0 ≤ t ≤ 1
x
1
FIGURE 10 y y dx z dy x dz 苷 y 共4t兲 dt 共
C1 0
Solution (cont.)
Thus
Z Z1
ydx + zdy + xdz = (4t)dt + (5t)4dt + (2 + t)5dt
C1
0
Z1 1
t2
= (10 + 29t)dt = 10t + 29 = 24.5
2 0
0
Solution(cont.)
Likewise C2 can be written in the form
or
x = 3 y = 4 z = 5 − 5t 0⩽t⩽1
Then dx = 0 = dy, so
Z Z1
ydx + zdy + xdz = 3(−5)dt = −15
C2
0