Vector Calculus
Vector Calculus
Eegunjobi A S
F = ∇f .
F(x, y ) = Mi + Nj
∂N ∂M
= .
∂x ∂y
∂f ∂f
F(x, y ) = ∇f (x, y ) = i
+j
∂x ∂y
y2 y2
∂ 2 ∂ 2
=i x y− +j x y−
∂x 2 ∂y 2
= 2xy i + (x 2 − y ) j.
∂f ∂f
= 2xy and = x2 − y.
∂x ∂y
Integrate the first equation with respect to x:
Z
f (x, y ) = 2xy dx = x 2 y + g(y ).
y2
Z
f (x, y ) = (x 2 − y ) dy = x 2 y − + h(x).
2
y2
f (x, y ) = x 2 y − + K,
2
where K is a constant.
Solution
We are given a vector field
∂ϕ ∂ϕ
F(x, y ) = (10x + 3y ) i + (3x + 2y ) j = ∇ϕ(x, y ) = i+ j
∂x ∂y
Z
∂ϕ
= 10x+3y =⇒ ϕ(x, y ) = (10x+3y ) dx = 5x 2 +3xy +g(y ),
∂x
i j k
∂ ∂ ∂
curl F = ∇ × F = ∂x ∂y ∂z
M N P
∂P ∂N ∂P ∂M ∂N ∂M
= − i− − j+ −
∂y ∂z ∂x ∂z ∂x ∂y
∂M ∂N ∂P
div F = ∇ · F = + + .
∂x ∂y ∂z
0 ≤ t ≤ 1.
Solution: p √
ds = 12 + 22 + 12 dt = 6 dt,
Z
2
Z 1 √
(x − y + 3z) ds = (t 2 − 2t + 3t) 6 dt
C 0
√
5 6
= .
6
dW ≈ F · T ds = F · dr.
C1 : ti, 0≤t ≤1
Z Z 1h i
y dx + x 2 dy = (4x − x 2 ) + x 2 (4 − 2x) dx
C 4
Z 1
69
= (4x + 3x 2 − 2x 3 )dx = .
4 2
F = 2t 2 i + t 2 j, r′ (t) = i + j.
Z 1 h i1
W = (2t 2 + t 2 )dt = t 3 = 1.
0 0
R
Example: Calculate C F · dr, where C is from (−1, 4) to (1, 2)
and F(x, y ) = 2xy i + (x 2 − y )j.
Solution: Potential f (x, y ) = x 2 y − 12 y 2 . By the theorem:
2 1 2 2 1 2
f (1, 2) − f (−1, 4) = 1 (2) − (2) − (−1) (4) − (4) = 4.
2 2
1 1
x3 x4 x5
Z
2 3 4
1
= x − 2x + x dx = − + = .
0 3 2 5 0 30
2π
243 2π 1 + cos 2θ
Z Z
81 2
=3 cos θ dθ = dθ
4 0 4 0 2
sin 2θ 2π
243 243 243π
= θ+ = (2π) = .
8 2 0 8 4
1 1
× base × height = × 4 × 3 = 6
2 2
(1, 2), (4, 5), (7, 8), (9, 5), (6, 1), (3, 0), (0, 1)
Compute Cross-Products
x1 y2 = 1 · 5 = 5
x2 y3 = 4 · 8 = 32
x3 y4 = 7 · 5 = 35
x4 y5 = 9 · 1 = 9
x5 y6 = 6 · 0 = 0
x6 y7 = 3 · 1 = 3
x7 y1 = 0 · 2 = 0
Sum of forward products = 5 + 32 + 35 + 9 + 0 + 3 + 0 = 84
x2 y1 = 4 · 2 = 8
x3 y2 = 7 · 5 = 35
x4 y3 = 9 · 8 = 72
x5 y4 = 6 · 5 = 30
x6 y5 = 3 · 1 = 3
x7 y6 = 0 · 0 = 0
x1 y7 = 1 · 1 = 1
Sum of backward products = 8 + 35 + 72 + 30 + 3 + 0 + 1 = 149
1 1
A= |84 − 149| = · 65 = 32.5
2 2
Eegunjobi A S MTM611S- Vector Calculus
Alternate form of Green’s theorem:
Z Z ZZ
∂N ∂M
F · dr = M dx + N dy = − dA
C C R ∂x ∂y
ZZ
= (curl F) · k dA.
R
Evaluate:
Z 3 Z 3
2 27 9
(x − −x + 2x) dx = 3x − x 2 dx = −9= .
0 0 2 2
(a) Use
R Green’s theorem to evaluate
C (y − x) dx + (2x − y ) dy , where C is the ellipse
x = 2 cos θ, y = sin θ.
(b) Evaluate C ex cos 2y dx − 2ex sin 2y dy , where C is
R
x 2 + y 2 = 9.
(c) Find the work done by F(x, y ) = xy i + (x + y )j
counterclockwise around the unit circle.
(d) Calculate the work done by
√
F(x, y ) = (x 3/2 − 3y )i + (6x + 5 y )j counterclockwise
around the triangle with vertices (0, 0), (5, 0), (0, 5).
Partial derivatives:
∂x ∂y ∂z ∂x ∂y ∂z
ru = i+ j+ k, rv = i+ j+ k.
∂u ∂u ∂u ∂v ∂v ∂v
Normal vector:
N = rv × ru .
Surface area: ZZ
A= ∥ru × rv ∥ dA.
D
Differential surface area:
dS = ∥ru × rv ∥ dA.
Let z = g(x, y ):
s
ZZ ZZ 2 2
∂g ∂g
f (x, y , z) dS = f (x, y , g(x, y )) 1 + + dA
S R ∂x ∂y
q
dS = 1 + (gx )2 + (gy )2 dA.
For parametric surfaces:
ZZ ZZ
f (x, y , z) dS = f (r(u, v ))∥ru × rv ∥ dA.
S D
G(x, y , z) = z − g(x, y ).
∇G −gx i − gy j + k
N= = q
∥∇G∥ 1 + gx2 + gy2
Flux integral: ZZ
F · N dS.
S
−gx i − gy j + k
q
NdS = q gx2 + gy2 + 1dA = ∇G(x, y , z)dA
1 + gx2 + gy2
Solution
∂G ∂G ∂G
G(x, y , z) = z−15+2x−3y =⇒ ∇G(x, y , z) = i +j +k
∂x ∂y ∂z
q √
∇G(x, y , z) = 2i−3y +k , dS = 1 + (2i)2 + (−3j)2 dA = 14dxdy
ZZ Z 2Z 4 √ √
(x−2y +z)dS = (x−2y +15−2x+3y ) 14dydx = 128 14
s 0 0
(a) Evaluate ZZ
(x − 2y + z) dS,
S
where S is z = 4 − x, 0 ≤ x ≤ 4, 0 ≤ y ≤ 3.
(b) Evaluate ZZ
xy dS,
S
√
where S is z = h, 0 ≤ x ≤ 2, 0 ≤ y ≤ 4 − x 2.
(c) Verify
Z 3 Z 2(3−x)
243
y (3 − x) dy dx = .
0 0 2
where S is r(u, v ) = ui + v j + 2v k, 0 ≤ u ≤ 1, 0 ≤ v ≤ 2.
where S is r(u, v ) = ui + v j + 2v k, 0 ≤ u ≤ 1, 0 ≤ v ≤ 2.
(e) Set up in polar coordinates:
ZZ
xy
dS,
z
S
where S is z = x 2 + y 2 , 4 ≤ x 2 + y 2 ≤ 16.
Cylindrical to rectangular:
x = r cos θ, y = r sin θ, z=z
Rectangular to cylindrical:
y
r 2 = x 2 + y 2, tan θ = , z=z
x
Eegunjobi A S MTM611S- Vector Calculus
Eegunjobi A S MTM611S- Vector Calculus
The spherical Coordinate System
In a spherical coordinate system, a point P in space is
represented by an ordered triple (ρ, θ, ϕ).
(a) ρ is the distance between P and the origin, ρ ≥ 0.
(b) θ is the same angle used in cylindrical coordinates for
r ≥ 0..
(c) ϕ is the angle between the positive z-axis and the line
segment OP, 0 ≤ ϕ ≤ π.
Note that the first and third coordinates, ρ and ϕ, are
nonnegative.
The figure above shows how rectangular and spherical
coordinates correspond. Use the following formulas to convert
between them..
Spherical to rectangular:
x = ρ sin ϕ cos θ, y = ρ sin ϕ sin θ, z = ρ cos ϕ
Rectangular to spherical:
Eegunjobi A S MTM611S- Vector Calculus
Divergence Theorem- Definitions and Theorems
Let Q be a solid region in space bounded by the surface S
oriented outward by a unit normal N.
Let F(x, y , z) be a vector field whose component functions
have continuous first partial derivatives.
The divergence theorem states that
ZZ ZZZ
F · N dS = divF dV .
S Q
(a) F(x, y , z) =
2xi − 2y j + z 2 k S: cube bounded by the planes x =
0, x = 1, y = 0, y = 1, z = 0, z = 1
(b) F(x, y , z) = 2xi − 2y j + z 2 k S: cylinder x 2 + y 2 =
4, 0 ≤ z ≤ 3
(c) F(x, y , z) =
xy i+zj+(x +y )k S: surface bounded by the planes y =
4 and z = 4 − x and the coordinate planes
(a)
ZZZ Z 1Z 1Z 1
∇ · F = 2z, div F dV = 2zdzdydx = 1
Q 0 0 0
(b)
ZZZ Z 2π Z 2Z 3
∇·F = 2z, div F dV = 2zrdzdrdθ = 36π
Q 0 0 0
(c)
ZZZ Z 4 Z 4 Z 4−x
∇ · F = y, div F dV = ydzdydx = 64
Q 0 0 0
F(x, y , z) = xzi + zy j + 2z 2 k
Solution
We want to verify that
Z ZZ
F · dr = (curl F) · N dS.
C S
∇G(x, y , z)
q
N dS = (gx )2 + (gy )2 + 1 dA = ∇G(x, y , z) dA.
∥∇G(x, y , z)∥
i j k
∂ ∂ ∂
curl F = ∂x ∂y ∂z = 2y i + 2j + k.
2z x y2
Finally,
ZZ ZZ
(curl F) · N dS = (2y i + 2j + k) · (2xi + 2y j + k) dA
S R
Z 2 Z √ 4−x 2
= √ (4xy + 4y + 1) dydx
−2 − 4−x 2
Z 2 p
=2 4 − x 2 dx = Area of a circle = 4π.
−2
Eegunjobi A S MTM611S- Vector Calculus
Example
R
Use Stokes’s Theorem to evaluate C F · dr with
F(x, y , z) = 2y i + 3zj + xk, C is oriented counterclockwise as
viewed from above and C: is a triangle with vertices (2, 0, 0),
(0, 2, 0), and (0, 0, 2)
i j k
⃗ ⃗
N = AB × AC = −2 2 0
−2 0 2
or in coordinate form:
For a full circle, t ∈ [0, 2π]. For an arc, restrict t to match the
starting and ending angles.
If the curve is given by y = f (x) over the range x ∈ [a, b], the
parametrization is: