Vector Differentiation: 1.1 Limits of Vector Valued Functions
Vector Differentiation: 1.1 Limits of Vector Valued Functions
Vector Differentiation: 1.1 Limits of Vector Valued Functions
where the component functions x, y, and z, are real-valued functions of the parameter t. Vector-
valued functions are also written in the form
X(t) defines a space curve C with parametric equations for the parameter t as x = x(t), y = y(t),
z = z(t).
Exercise 1.
2
−9 2
1. Given that r(t) = h2t + 1, tt−3 , t i, find limt→3 r(t). Is r continuous at t = 3.
1
2 Differentials of Vector Valued Functions
Definition 2.1. A vector-valued function is a function that outputs a vector rather than a single
number. Often we will be working with functions whose outputs are vectors in three-dimensional
space. Such a function can be written as r(t) = hx(t), y(t), z(t)i.
A curve C is defined by r = r(t), a vector-valued function of one (scalar) variable. Let us
imagine that C is the path taken by a particle and t is time. The vector r(t) is the position vector of
the particle at time t and r(t + h) is the position vector at a later time t + h. The average velocity
of the particle in the time interval [t, t + h] is then
r(t + ∆t) − r(t)
r0 (t) = lim = (2)
∆t→0 ∆t
provided the limit exist. If r0 (t) exists, then r(t) is differentiable at t. If r0 (t) exists for all t
in an open interval (a,b) then r(t)is differentiable over the interval (a,b). For the function to be
differentiable over the closed interval [a,b], the following two limits must exist as well:
r(a + ∆t) − r(a)
r0 (t) = lim+ = (3)
∆t→0 ∆t
and
r(b + ∆t) − r(b)
r0 (t) = lim− = (4)
∆t→0 ∆t
In terms of the components of r this is shown in Fig. 1
Figure 1: Velocity
x(t + ∆t) − x(t) y(t + ∆t) − y(t) z(t + ∆t) − z(t)
, ,
∆t ∆t ∆t
If each of the scalar function x, y and z are differentiable such that r(t) = x(t)i + y(t)j + z(t)k,
then this vector has a limit
2
dx dy dt
, , = (ẋ, ẏ, ż) (5)
dt dt dt
which is the instantaneous velocity of the particle v(t). This means that (if the motion is smooth)
then
r(t + ∆t) − r(t) d
v(t) = lim = r(t) = ṙ(t) (6)
∆t→0 ∆t dt
˙
Therefore, v(t) = ṙ(t) = ẋ(t)i + ẏ(t)j + (z)(t)k. This vector lies along the tangent to the curve
at r and has length u(t) = |v(t)| which is the instantaneous speed of the particle. In a similar way,
we define the acceleration,
d d2
a(t) = v(t) = 2 r(t) = r̈(t) (7)
dt dt
Example 2.2. Calculate the derivative of the function r = (3t + 4)i + (t2 − 4t + 3)j.
Using equation (2),
r(t + ∆t) − r(t)
r0 (t) = lim =
∆t→0 ∆t
[(3(t + ∆t) + 4)i + ((t + ∆t)2 − 4(t + ∆t) + 3)j] − [(3t + 4)i + (t2 − 4t + 3)j]
= lim
∆t→0 ∆t
((3t + 3∆t + 4)i − (3t + 4)i + (t + 2∆t + (∆t)2 − 4t − 4∆t + 3)j − (t2 − 4t + 3)j
2
= lim
∆t→0 ∆t
(3∆t)i + (2t∆t + (∆t)2 − 4∆t)j
= lim = lim (3i + (2t + ∆t − 4)j)
∆t→0 ∆t ∆t→0
= 3i + (2t − 4)j
3
2.2.1 Gradient
Let φ(x) defined at each point (x,y,z) be differentiable in a certain region of space. Then the
gradient of φ, expressed as ∇φ is defined by:
∂ ∂ ∂ ∂φ ∂φ ∂φ
∇φ = i+ j+ k φ= i+ j+ k
∂x ∂y ∂z ∂x ∂y ∂z
thus,
−(xi + yj + zk) −r −r
∇f = 2 2 2 3/2
= p = 3
(x + y + z ) ( (x2 + y 2 + z 2 ))3 r
2.2.2 Divergence
Let X(x, y, z) = X1 i + X2 j + X3 k be a differentiable vector field at each point (x,y,z) in a certain
region of space. The divergence of X, ∇ · X
∂ ∂ ∂
∇·X = i+ j + k · (X1 i + X2 j + X3 k)
∂x ∂y ∂z
∂X1 ∂X2 ∂X3
= i+ j+ k
∂x ∂y ∂z
2.2.3 Curl
If X(x, y, z) is a differentiable vector field, the curl (rotation) of X, ∇ × X is given by:
∂ ∂ ∂
∇×X = i+ j + k × (X1 i + X2 j + X3 k)
∂x ∂y ∂z
i j k
∂ ∂ ∂
= ∂x ∂y ∂z
X1 X2 X 3
∂ ∂
∂
∂
∂ ∂
= ∂y ∂z i + ∂x ∂z j + ∂x ∂y k
X2 X3 X 1 X3 X1 X 3
∂X3 ∂X2 ∂X1 ∂X3 ∂X2 ∂X1
= − i− − j+ − k
∂y ∂z ∂z ∂x ∂x ∂x
4
2
Example 2.4. Compute the + x j − xyk
curl of F = xyzi
i j k
∂ ∂ ∂
The curl of F is given by: ∂x ∂y ∂z
xyz x2 −xy
∂ ∂ 2 ∂ ∂ ∂ 2 ∂
(−xy) − (x ) i − (−xy) − (xyz) j + (x ) − (xyz) k
∂y ∂z ∂x ∂z ∂x ∂y
= (−x − 0)i − (−y − xy)j + (2x − xz)k
= −xi + (y + xy)j + (2x − xz)k
Exercise 2.
−y x
1. If F = x2 +y 2
i + x2 +y 2
j, show that curl of F, ∇ × F = 0
2
2. Find the curl of F(x, y, z) = ex yzi + x3 cos2 3yj + (1 + x6 )k.
3. Show that curl(a × B) = (∇ · b)a − (∇ · a)b + [b · ∇]a − [a · ∇]b
As t changes, the terminal point of r describes a space curve C with parametric equations x = x(t),
y = y(t) and z = z(t).
C = {(x(t), y(t), z(t))|t ∈ R}
Example 2.5. Find a vector-valued function that traces out the curve defined as the intersection
of the paraboloid z = x2 + y 2 with the plane y = x.
Since every equation in this problem is a function of x, we can use x itself as our parameter. The
parametrization is given as:
r(t) = hx(t), y(t), z(t)i,
we then set x(t) = t. Since our curve lies entirely in the plane y = x, it follows that y(t) = t in
our parametrization. Since the curve lies on the paraboloid z = x2 + y 2 , we similarly have
5
2.4 Continuity and Differentiability
A vector function X(t) = x1 (t)i + x2 (t)j + x3 (t)k is called continuous at t if the following scalar
functions x1 (t), x2 (t) and x3 (t) are continuous at t. Equivalently, X(t) is continuous at t if for
each positive number there exist another positive number δ such that
A scalar of vector function of t is said to be differentiable of order n if its nth derivative exists.
Let A, B and C be differentiable functions of a scalar t, and let φ be a differentiable scalar function
of t, then the following holds:
d dA dB
1. dt
(A + B) = dt
+ dt
d dB dA
2. dt
(A · B) = A · dt
+ dt
·B
d dB dA
3. dt
(A × B) = A × dt
+ dt
×B
d dφ
4. dt
(φA) = φ dA
dt
+ dt
A
d dC dB dA
5. dt
(A · B × C) = A · B × dt
+A· dt
×C+ dt
·B×C
d dC
6. dt
{A × (B × C)} = A × (B × dt
) + A × ( dB
dt
× C) + dA
dt
× (B × C)
One will observe that differentials of a vector are similar to that of elementary calculus
2. d(A · B) = A · dB + dA · B
3. d(A × B) = A × dB + dA × B
Example 2.6. If X(t) = x(t)i + y(t)j + z(t)k where x, y, z are differentiable functions of a scalar
t, prove that dX
dt
= dx
dt
i + dy
dt
j + dz
dt
k.
6
3 Multiple Integrals
Ordinary integrals of the form Z Z b
f (x)dx = f (x)dx (12)
I a
2. Linearity:
ZZ ZZ ZZ
[αf (x, y) + βg(x, y)]dxdy = α f (x, y)dxdy + β g(x, y)dxdy
A A A
If the projection of the domain A onto the x-axis is a closed interval [a, b] and A consists of all
points (x, y) with a ≤ x ≤ b and φ1 (x) ≤ y ≤ φ2 (x) then we have
ZZ Z bZ φ2 (x)
f (x, y)dxdy = f (x, y)dy dx
A a φ1 (x)
7
RR
Example 3.1. Evaluate A (x4 − 2y)dxdy, where the domain A consists of all points (x, y) with
−1 ≤ x ≤ 1 and −x2 ≤ y ≤ x2 .
If the projection of the domain A onto the y-axis is a closed interval [a, b] and A consists of all
points (x, y) with c ≤ y ≤ d and ψ1 (y) ≤ x ≤ ψ2 (y) then we have
ZZ Z d Z ψ2 (y)
f (x, y)dxdy = f (x, y)dx dy
A c ψ1 (y)
Γ : α ≤ θ ≤ β, ρ1 (θ) ≤ r ≤ ρ2 (θ)
Exercise 3.
RR
1. Evaluate (x + y)dydx, R is the region bounded by x = 0, x = 2, y = x, y = x + 2.
RRR
2. Evaluate R
xydxdy where R is the quadrant of the circle x2 + y 2 = a2 , x ≥ 0, y ≥ 0.
8
3. Additivity: If V is broken up into a finite number of non-overlapping basic regions V1 , V2 , . . . , Vn ,
then
ZZZ ZZ ZZ
f (x, y, z)dxdydz = f (x, y, z)dxdydz + f (x, y, z)dxdydz + . . .
V V1 V2
ZZ
+ f (x, y, z)dxdydz
Vn
Let V be a solid whose projection onto the xy-plane is labelled Ωxy . Then the solid V is the set of
all points (x, y, z) satisfying
ZZZ ZZ Z η2 (x)
f (x, y, z)dxdydz = f (x, y, z)dz dxdy
V Ωxy η1 (x)
we evaluate the integral with respect to z first and then evaluate the double integral over the domain
Ωxy as studied for double integrals. If Ωxy is horizontally simple, say
a ≤ x ≤ b, φ1 (x) ≤ y ≤ φ2 (x)
then the solid V itself is the set of all points (x, y, z) such that
and the triple integral over V can be expressed by three ordinary integrals as:
ZZZ Z b Z φ2 (x) Z η2 (x,y)
f (x, y, z)dxdydz = dx dy dz
V a φ1 (x) η1 (x,y)
We first integrate with z [from z = η1 (x, y) to z = η2 (x, y)], then with respect to y [from y = φ1 (x)
to y = φ2 (x)], and finally with respect to x [from x = a to x = b].
Suppose for example that the projection of V onto the xz-plane is a domain Ωxz of the form
z1 ≤ z ≤ z2 , φ1 (z) ≤ x ≤ φ2 (z)
we integrate first with respect to y, then with respect to x, and finally with respect to z. Still four
other orders of integration are possible.
9
Example 3.2.
RRR
1. Evaluate R
(x2 + y 2 + z 2 )dxdydz where R denotes the region bounded by x = 0, y = 0,
z = 0 and x + y + z = a, (a > 0)
From x + y + z = a we have a − x − y = z, the upper limit of z = a − x − y. On the xy-plane
x + y + z = a reduces to x + y = a with uper limit of y being y = a − x. On the x axis we have
the upper limit of x = a. Thus
ZZZ Z a Z a−x Z a−x−y
2 2 2 2 2 2
(x + y + z )dxdydz = (x + y + z )dz dy dx
R 0 0 0
Z a Z a−x a−x−y
2 2 3
= dx dy x z + y z + z /3
0 0 0
Z a Z a−x
a − x − y)3
2 2
= dx dy x (a − x − y) + y (a − x − y) + dy
0 0 3
Z a a−x
2 x2 y 2 y 3 y 4 (a − x − y)4
= dx x (a − x)y − + (a − x) − −
0 2 3 4 12 0
Z a 2 3 4
x (a − x) (a − x) (a − x)4
= dx x2 (a − x)2 − (a − x)2 + (a − x) − +
2 3 4 12
Z0 a 2 4 Z a
(a − x)4
x 2 (a − 4) 1 2 2 3 4
= dx (a − x) + dx = dx (a x − 2ax + x ) + dx
0 2 6 0 2 6
a
1 2 x3 ax4 x5 (a − x)5
= a − + −
2 3 4 10 30 0
5 5 5 5 5
a a a a a
= − + + =
6 4 10 30 20
Exercise 4.
RRR
1. Evaluate R
(x + y + z)dxdydz where R : 0 ≤ x ≤ 1, 1 ≤ y ≤ 2, 2 ≤ z ≤ 3.
R log 2 R x R x+logy x+y+z
2. Evaluate the integral 0 0 0
e dxdydz
4 Vector Integration
4.1 Ordinary Integral of Vectors
Let X(t) = x(t)i + y(t)j + z(t)k where x, y, z are continuous in a specified integral, be a vector
depending on a single scalar variable t. Then
Z Z Z Z
X(t)dt = i x(t)dt + j y(t)dt + k z(t)dt (13)
d
is called an indefinite integral of X(t). If there exist a vector S(t) such that X(t) = dt
(S(t)),
then Z b Z b
d
X(t)dt = (S(t)) = S(t) + c|ba = S(b) − S(a) (14)
a a dt
10
This integral can also be defined by a limit of a sum in a manner analogous to that of elementary
integral calculus.
R1
Example 4.1. r(t) = t2 i + 3tj + (2 + t)k, evaluate 0 r(t)dt.
Z 1 Z 1 Z 1 Z 1
2
r(t)dt = i t dt + j 3tdt + k (2 + t)dt
0 0 0 0
3 1 2 1
t 3t 1 3
= i+ j + [t + t1 ]10 k = i + j + 2k (15)
3 0 2 0 3 2
is called a line integral. For a closed curve C, the integral around C is given by
I I
A · dr = A1 dx + A2 dy + A3 dz (17)
C C
The line integral of the vector field A is independent of the path traversed if its value is the same
regardless of the allowable path taken from initial to terminal points. The notion of independence
of paths of line ingrals is characterized by the following theorems:
H
Theorem 4.2. A necessary and sufficient condition that C A · dr be independent of path is that
there exist a scalar function φ such that A = ∇φ.
H
Theorem 4.3. A necessary and sufficient condition that C A · dr be independent of path is that
∇ × A = 0.
H
Theorem 4.4. If ∇×A = 0, then the integral of A over an allowable closed path is 0. C A·dr = 0
Example 4.5. Find the total work done in moving a particle in a force field given by F = 3xyi −
5yj + 10zk along the curve x = t2 + 1, y = 2t2 , z = t3 from t = 1 to t = 2.
11
Z Z
Total work = F · dr = (3xyi − 5yj + 10zk) · (dxi + dyj + dzj)
ZC C
Z Z
A · dr = [(3x2 + 6y)i − 14yzj + 20xz 2 k] · (dxi + dyj + dzk)
C ZC
= (3x2 + 6y)dx − 14ydy + 20xz 2 dz
C
Along the straight line from (1,0,0) and then to (1,1,0), x = 1, z = 0, dx = 0, dz = 0, y varies
from 0 to 1. The integral is thus given by:
Z 1
(3(1)2 + 6y)0 − 14y(0)dy + 20(1)(0)2 (0) = 0
y=0
12
Along the straight line from (1,1,0) and then to (1,1,1), x = 1, y = 1, dx = 0, dz = 0, z varies
from 0 to 1. The integral over this part of the path is given by:
Z 1 Z 1 3 1
20z = 20
(3(1)2 + 6(1))0 − 14(1)(z)(0) + 20(1)(z)2 dz = 20(z)2 dz =
z=0 z=0 3 0 3
∂P ∂z ∂P ∂z
= i + k, and =j+ k
dx dx dy dy
and
∂P ∂P ∂z ∂z
× =k− i− j
dx dy dx dy
Therefore
s 2 2
∂P ∂P ∂z ∂z
dx × dy = 1 + ∂x + ∂y
13
Figure 2: Surface Integral
which is the surface area dA of the patch of a surface above an infinitesimal region in the xy plane.
Hence, the mass of the surface (density times area) is
q ∂z 0
P (x, y, f (x, y)) 1 + [fx0 (x, y)]2 + [fy0 (x, y)]2 dA, where = fx (x, y) (18)
∂x
In equation (18), we have used the facts that z = f (x, y) and that the density P (x, y, z) is essen-
tially constant on the small patch of surface. The total mass is the sum of the masses of the patches
of surface above all infinitesimal regions in R:
ZZ ZZ q
P (x, y, z)dS = P (x, y, f (x, y)) 1 + [fx0 (x, y)]2 + [fy0 (x, y)]2 dA.
S R
RR
Example 4.8. Compute the surface integral S (xy + z)dS where S is that part of the plane
x + y + z = 2 in the first octant.
0 0
If we let z = f (x, y) = 2 − x − y, such that fx (x, y) = −1 and fy (x, y) = −1. Thus the
integral becomes
ZZ ZZ p
P (x, y, z)dS = (xy + 2 − x − y) 1 + (−1)2 + (−1)2 dA
S R
14
ZZ s
dz 2 dz
(P (x, y, f (x, y)) ( ) + ( )2 + 1 dA
R dx dy
From the hemisphere, we have that r2 = x2 + y 2 + z 2 and for z = 0, we will have r2 = x2 + y 2 We
dz
have z 2 = 4 − x2 − y 2 , thus 2z dx dz
= −2x implying dx = − xz and 2z dy
dz dz
= −2y implying dy = − yz .
Therefore,
s
x2 y 2 z 2
ZZ ZZ
2 1
2 2 2
p
(x z + zy ) + + dA = (x z + zy ) (x2 + y 2 + z 2 )dA
R z2 z2 z2 R z
ZZ p
= (x2 + y 2 ) (x2 + y 2 + z 2 )dA
ZR2π Z 2 Z 2π Z 2
2
= 2 r (r)dr dθ = 2 r3 drdθ
0 0 0 0
Z 2π 2 Z 2π
1 4
= 2 r dθ = 2 4dθ
0 4 0 0
2π
= 2(4θ) = 16π
0
Exercise 6.
R
1. Evaluate R f (x, y, z)dS where f (x, y, z) = z 2 and S is the surface of the cone z 2 = x2 + y 2
between the planes z = 1 and z = 2.
if the partial derivatives of P and Q are continuous on D. Let F = [P (x, y), Q(x, y)], we define
curlF = ∂Qdx
− ∂Pdy
. Thus, in vector form, Green’s theorem is written as
I ZZ
F · dr = curlF dxdy (20)
C R
15
H
Example 5.1. Use Green’s theorem to compute I = C 3x2 y 2 dx + 2x2 (1 + xy)dy where c is a
circle with radius a.
P (x, y) = 3x2 y 2 and Q(x, y) = 2x2 (1 + xy) from which ∂Pdy
= 6x2 y and ∂Q
dx
= 4x − 6x2 y
Therefore
I ZZ
2 2 2 ∂Q ∂P
3x y dx + 2x (1 + xy)dy = − dxdy
C R dx dy
ZZ ZZ
2 2
= (4x − 6x y − 6x y)dxdy = 4 xdxdy =to
R R
H
Example 5.2. Verify Green’s theorem in the plane for C (xy + y 2 )dx + xd y where C is a closed
curve of the region bounded by y = x and y = x2 .
Note that y = x and y = x2 intersect at (0,0) and (1,1). Thus along y = x2 from (0,0) to (1,1)
the line integral equals
I 1 I 1 1
2 4 2 3 4 3 4 1 5 19
(x(x ) + x )dx + x (2x)dx = (3x + x )dx = x + x =
0 0 4 5 0 20
19 1
The required integral will be −1 + 20
= − 20 .
Example 5.3. Prove Green’s theorem in the plane R bounded by the close curve C such that any
line parallel to the coordinate axis cuts the plane in at most two points.
Let the equations of the curve ACB and ADB be y = Y1 (x) and y = Y2 (x) (see Fig. ??)
respectively. Given that R is the region bounded by C, we have
ZZ Z bZ Y2 (x)
Z b Y2 (x)
∂M ∂M
dxdy = dy dx = M (x, y) dx
R ∂y a Y1 (x) ∂y a y1 (x)
Z b Z b Z a
= M (x, Y2 ) − M (x, Y1 ) dx = − M (x, Y1 )dx − M (x, Y2 )dx
a a b
I
= M dx
C
then, I ZZ
∂M
M dx = − dxdy (23)
C R ∂y
Similarly, let the equation of the curves CAD and CBD be x = X1 (y) and x = X2 (y) respectively.
16
Figure 3: Green Theorem
Then,
ZZ Z d Z X2 (y)
Z d X2 (y)
∂N ∂N
dxdy = dx dy = N (x, y) dy
R ∂x c X1 (y) ∂x c X1 (y)
Z d Z c Z d
= N (X2 , y) − N (X1 , y) dy = N (X1 , y)dx + N (X1 , y)dy
c d c
I
= N dy
C
Then, I ZZ
∂N
N dy = dxdy (24)
C R ∂x
Adding equations (23) and (24) we have
I ZZ
∂N ∂M
M dx + N dy = − dxdy
C R ∂x ∂y
17
be a vector field whose components have continuous partial derivatives. The Divergence Theorem
states that: ZZ ZZ ZZZ
F · dS = F · ndS = (∇ · F)dV
S S R
where n is the positive normal to S drawn outwardly.
∂P ∂Q ∂R
∇·F= + +
∂x ∂y ∂z
is the divergence of the vector field F (it’s also denoted div F) and the surface integral is taken over
a closed surface. The Divergence Theorem can be also written in coordinate form as:
ZZ ZZZ
∂P ∂Q ∂R
P dydz + Qdxdz + Rdxdy = + + dxdydz
S R ∂x ∂y ∂z
As a particular case, by setting P=x, Q=y, R=z, we obtain a formula for the volume of solid G:
ZZ
1
V = xdydz + ydxdz + zdxdy (26)
3 S
Let A = A1 i + A2 j + A3 k, then ∇ · A = ∂A ∂x
1
+ ∂A
∂y
2
+ ∂A
∂z
3
. The unit n, normal to S is given by
n = n1 j + n2 j + n3 k. Thus, n1 = n · j = cosα, n2 = n · k = cosβ, n3 = n · k = cosγ. Where
α, β, γ are the angles which n makes with the x, y, z axes respectively. The quantities cosα, cosβ,
cosγ are the direction cosines of n. Thus,
Exercise 7.
RR
1. Evaluate S F · ndS, where F = 4xzi − y 2 j + yzk and S is the surface of the cube bounded by
x = 0, x = 1, y = 0, y = 1, z = 0, z = 1
18
5.3 Stoke’s Theorem
The stoke’s theorem states that if S is an open, two sided surface bounded by a closed, non-
intersecting curve C, then if A has continuous derivatives, we have:
I ZZ ZZ
Adr = (∇ × A) · dS = (∇ × A) · n dS (27)
C R R
∂A3 ∂A2 ∂A3 ∂A1 ∂A1 ∂A2
(∇ × F) · n = − cosα − − cosβ + − cosγ
∂y ∂z ∂x ∂z ∂x ∂y
and thus the theorem becomes:
Z Z I
∂A3 ∂A2 ∂A3 ∂A1 ∂A1 ∂A2
− cosα− − cosβ+ − cosγ dS = A1 dx+A2 dy+A3 dz
S ∂y ∂z ∂x ∂z ∂x ∂y C
Example 5.5. Verify Stoke’s theorem for A = (2x − y)i − yz 2 j − y 2 zk where S is the upper half
surface of the sphere x2 + y 2 + z 2 = 1 with boundary C.
The boundary C of S is a circle of radius 1 in the xy plane with center at the origin. Let the
parametric equations of C be x = cost, y = sint, z = 0, 0 ≤ t ≤ 2π. Then
I I
A · dr = (2x − y)dx − yz 2 dy − y 2 zdz
C
ZC2π
= (2cost − sint)(−sint)dt = π
0
or
i j k
∂ ∂ ∂
∇ × A = ∂x ∂y ∂z = k
(2x − y) −yz 2 −y 2 z
Therefore ZZ ZZ ZZ
(∇ × A) · n dS = k · n dS = dxdy, (28)
S S R
since k · n = dxdy.
Z 1Z √
1−x2 Z 1 Z √(1−x2 ) Z 1 p
√
dydx = 4 dydx = 4 (1 − x2 )dx = π
−1 − 1−x2 0 0 0
19