Professional Documents
Culture Documents
Multivariable Calculus
M.Thamban Nair
Department of Mathematics
Indian Institute of Technology Madras
February 2007
Revised: January 2009
Contents
Preface v
2 Multiple Integrals 35
2.1 Double Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.1.1 Calculating double integrals . . . . . . . . . . . . . . . . . . . 37
ii
Contents iii
3 Line Integrals 62
3.1 Curves in the Plane and Space . . . . . . . . . . . . . . . . . . . . . 62
3.2 Line Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
3.2.1 Motivation and definition . . . . . . . . . . . . . . . . . . . . 63
3.2.2 Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
3.2.3 Area of a domain using line integral . . . . . . . . . . . . . . 66
3.2.4 Line integral of scalar valued functions . . . . . . . . . . . . . 67
3.3 Green’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
3.3.1 Conditions for line integral to be independent of
path of integration . . . . . . . . . . . . . . . . . . . . . . . . 69
4 Surface Integral 73
4.1 Integral over Surfaces . . . . . . . . . . . . . . . . . . . . . . . . . . 73
4.1.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
4.2 Stokes’ Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
4.2.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
4.3 Gauss’s Divergence Theorem . . . . . . . . . . . . . . . . . . . . . . 81
4.3.1 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
iv Contents
5 Appendix 86
Index 87
Preface
These notes are primarily for the personal use of teachers and students of IIT
Madras.
M.Thamban Nair
v
1
1.1 Introduction
Functions of more than one variables come naturally in applications. For example,
in physics one comes across the relation
PV
= c, constant,
T
where P, V, T represents the pressure, volume and temperature of an ideal gas. Since
cT cT PV
P = , V = , T =
V P c
each of P, V, T can be thought of as a function of the remaining two variables.
In elementary geometry, we know that the area of a triangle of base length b and
altitude h, area of a rectangle of sides a and b, and area of a circle of radius r are
given by
1
bh, ab and πr2 ,
2
respectively, and they are functions of the variables (b, h), (a, b) and r, respec-
tively.
p Also, distance of a point (x, y) in the plane from the origin (0, 0) is given by
x2 + y 2 .
We shall introduce some notations and basic definitions:
We use the symbol N to denote the set of all positive integers and R to denote
the set of all real numbers. For k ∈ N, we denote by Rk the set of all k-tuples
(x1 , . . . , xk ) with xi ∈ R for i ∈ {1, . . . , k}. Also, for u = (x1 , . . . , xk ) ∈ Rk , we
denote by |u| the positive square root of x21 + x22 + . . . , x2k , i.e.,
q
|u| := x21 + x22 + . . . , x2k .
1
2 Functions of Several Variables
Remark 1.1 Different sequences may have the same limit. For example, the se-
n n
quences (un ) and (vn ) with un := n+1 , 0 and vn := n+1 , n1 have the same limit
u0 := (1, 0).
Exercise 1.3 Let (un ) be a sequence in R2 . Show that (un ) converges if and only
if for every ε > 0, there exists a positive integer N such that |un − um | < ε for every
n, m ≥ N . J
Thus, for function f defined on a set D, if u0 is a limit point of D, then
• lim f (u) = α if and only if for every ε > 0, there exists a deleted neighbour-
u→u0
hood D0 of u0 such that
u ∈ D0 ∩ D =⇒ f (u) ∈ (α − ε, α + ε).
Proposition 1.1 Let f : D → R, and for some limit point u0 of D, lim f (u) exist.
u→u0
If α = lim f (u), then for every sequence (un ) in D with un → u0 as n → ∞, we
u→u0
have f (un ) → α as n → ∞.
Proof. Let α = lim f (u). Then, for every ε > 0, there exists δ > 0 such that
u→u0
for every u ∈ D with |u − u0 | < δ we have |f (u) − α| < ε. Let (un ) be a sequence in
D such that un → u0 as n → ∞. Then, there exists n0 ∈ N such that |un − u0 | < δ
for all n ≥ n0 . Therefore, we have |f (un ) − α| < ε for all n ≥ n0 . Thus, f (un ) → α
as n → ∞.
Remark 1.2 By Proposition 1.1, if (un ) and vn ) are sequences in D having the
same limit u0 , but their images under f have different limits, then lim f (u) does
u→u0
not exist.
p
EXAMPLE 1.3 Let f (x, y) = 1 − x2 − y 2 , D := {(x, y) : x2 + y 2 ≤ 1}. Then
lim f (x, y) = 1. Let us show this: Let ε > 0 be given. If ε ≥ 1, then |f (u)−1| =
(x,y)→(0,0)
1 − f (u) < ε for all u ∈ D. So, let 0 < ε < 1. Then we have
|f (u) − 1| < ε ⇐⇒ 1 − ε < f (u) ⇐⇒ (1 − ε)2 < 1 − |u|2 ⇐⇒ |u|2 < 1 − (1 − ε)2 .
p √
Thus, taking δ := 1 − (1 − ε)2 = 2ε − ε2 > 0, we have |f (u) − 1| < ε whenever
|u| < δ.
Limit and Continuity 5
Exercise 1.5 Show that the function f in Example 1.3 is continuous at all points
in D := {(x, y) : x2 + y 2 ≤ 1}. J
x2 − y 2
EXAMPLE 1.4 Let f (x, y) := xy , D := {(x, y) : x2 + y 2 6= 0}. Then
x2 + y 2
taking x = r cos θ and y = r sin θ we have r2 = x2 + y 2 , and
2
r2
r
|f (x, y)| = sin 4θ ≤
→ 0 as r2 → 0.
4 4
|u|2 √
|f (x, y)| ≤ < ε whenever |u| < 2 ε.
4
Thus, lim f (x, y) = 0. Note that f is not defined at (0, 0).
(x,y)→(0,0)
If we define
f (x, y), (x, y) 6= (0, 0),
f˜(x, y) :=
0, (x, y) = (0, 0),
then f˜ is continuous at every point in R2 .
xy
EXAMPLE 1.5 Let f (x, y) := 2 , D := {(x, y) : x2 + y 2 6= 0}. Then
x + y2
lim f (x, y) does not exist. To see this, for each m ∈ R, consider the straight
(x,y)→(0,0)
line Lm := {(x, y) : y = mx}, i.e., the straight line passing through the origin with
m
slope m. Then we see that for (x, y) ∈ Lm , f (x, y) = .
1 + m2
m
Let α be any real number and m is such that 6= α. If we take ε > 0 is
1 + m2
m
such that ε < α − , then we see that there does not exist a δ > 0 satisfying
1 + m2
|f (u) − α| < ε for all u with |u| < δ. Thus, α is not a limit of f at 0. This is
true for any α. Hence, f does not have a limit at 0. In fact, we can find different
sequences (un ) and (vn ) in D having the same limit (0, 0), but (f (un )) and (f (vn )
have different limits.
x2 y
EXAMPLE 1.6 Let z = f (x, y) := , D := {(x, y) : x2 + y 2 6= 0}. Then
x4 + y 2
lim f (x, y) does not exist. To see this, for each m ∈ R, consider the set
(x,y)→(0,0)
m
Am := {(x, y) : y = mx2 }. Then we see that for (x, y) ∈ Am , f (x, y) = .
1 + m2
Again, by the same argument as in last example, the function does not have limit
at (0, 0).
Remark 1.3 It is to be observed that the limit defined above is quite different from
the limits:
lim lim f (x, y), lim lim f (x, y).
x→x0 y→y0 y→y0 x→x0
6 Functions of Several Variables
It is possible that
• the limit lim f (x, y) does not exist but one or both of the limits
(x,y)→(x0 ,y0 )
lim lim f (x, y), lim lim f (x, y) exist, and
x→x0 y→y0 y→y0 x→x0
• any one or both of lim lim f (x, y) and lim lim f (x, y) may not exist, but
x→x0 y→y0 y→y0 x→x0
lim f (x, y) exists.
(x,y)→(x0 ,y0 )
and
m−1
lim f (x, y) = .
y=mx,x→0 m+1
Thus, separate limit exit, but the limit does not exists at (0, 0).
Note that the above function is not defined in a deleted neighbourhood of (0, 0).
EXAMPLE 1.8 Let
1 1
f (x, y) := x sin + y sin , D := {(x, y) : xy 6= 0}.
y x
Then we see that separate limit do not exist at (0, 0), but
Definition 1.9 A function f defined on a set D ⊆ R2 is said to be continuous at
a point u0 ∈ D if lim f (u) exists and is equal to f (u0 ).
u→u0
In fact, the converse of this statement is also true. That is, for every convergent
sequence (un ) with limit u0 if we have lim f (un ) = f (u0 ), then f is continuous at
n→∞
u0 .
Remark 1.6 (i) Suppose a function f is not defined at a point u0 , but lim f (u)
u→u0
exists. Then we may extend the function f to a new function f˜ defined on D̃ :=
D ∪ {u0 }, where D is the domain of f , by
(
f (u), u ∈ D,
f˜(u) := lim f (u), u = u0 .
u→u0
EXAMPLE 1.9 In Example 1.3, the function f is continuous at every point in its
domain of definition.
EXAMPLE 1.10 In Example 1.4, the function is not defined at the point u0 =
(0, 0). But, the extended function
f (x, y), (x, y) 6= (0, 0),
f˜(x, y) :=
0, (x, y) = (0, 0),
For stating two important theorems concerning continuous functions, we need to use
a few more definitions. Although we state them for subsets of R2 , they are equally
valid for subsets of Rk as well for any k ∈ N.
initial point of the path γ and u1 := γ(1) is called the final or terminal point of γ,
and we say that γ is a path joining u0 to u1 .
Definition 1.17 An open connected set together with, possibly, some or all of its
boundary points is called a domain.
Remark 1.7 Conventionally, a domain is an open connected set. We digressed
from this convention to be in conformity with most of the engineering mathematics
books.
∂f ∂f
Partial derivatives (x0 , y0 ) and (x0 , y0 ) are also denoted by fx (x0 , y0 ) and
∂x ∂y
fy (x0 , y0 ) respectively.
We denote
d d
fyx (x0 , y0 ) := fx (x, y0 ) , fyy (x0 , y0 ) := fy (x0 , y) .
dx x=x0 dy y=y0
Also, there are situations in which fx (x0 , y0 ) exists but lim fx (x, y) need
(x,y)→(x0 ,y0 )
not exist. To see this consider the function
2
x sin(1/x), x 6= 0
f (x) =
0, x = 0.
Then we have
f (x) − f (0)
= x2 sin(1/x) → 0 as x→0
x−0
so that f 0 (0) = 0, but lim f 0 (x) = lim [2x sin(1/x) − cos(1/x)] does not exist.
x→0 x→0
Partial derivatives of more than two variables are also defined analogously:
For example if f is a function of three variables, say (x1 , x2 , x3 ), then we can define
EXAMPLE 1.15 Let u = exy sin z. Then,
uxy := (ux )y = sin z(xy + 1)exy ; uxyz := (uxy )z = cos z(xy + 1)exy ;
uyz := (uy )z = exy x cos z; uyzx := (uyz )x = cos z(xy + 1)exy ;
xy
EXAMPLE 1.16 Let f (x, y) := 2 for (x, y) 6= (0, 0). We have already ob-
x + y2
served that this function does not have a limit at (0, 0). In order to check the
existence of partial derivatives of a function at a point (x0 , y0 ), a necessary condi-
tion is that the function has to be defined at that point. So, first let us the extend
the function f to
f (x, y), (x, y) 6= (0, 0)
g(x, y) :=
α, (x, y) = (0, 0)
for some α ∈ R. Note that the functions g(x, 0) and g(0, y) are continuous at x = 0
and y = 0 respectively if and only if α = 0. So, let
f (x, y), (x, y) 6= (0, 0)
g(x, y) :=
0, (x, y) = (0, 0)
Note that the g does not have a limit at (0, 0). However, g(x, 0) = 0 and g(0, y) = 0
for all x, y ∈ R. Hence,
gx (x, 0) = 0, gy (0, y) = 0 ∀ x, y ∈ R,
12 Functions of Several Variables
and
fxx (x, 0) = 0, fyy (0, y) ∀x, y ∈ R.
Now, by definition,
d d
(fx )y (0, 0) = fx (0, y) , (fy )x (0, 0) = fy (x, 0) .
dy y=0 dx x=0
Note that
f (∆x, y) − f (0, y)
fx (0, y) = lim = −y,
∆x→0 ∆x
and
f (x, ∆y) − f (x, 0)
fy (x, 0) = lim = x.
∆y→0 ∆y
Thus,
fxy (0, y) = −1, fyx (x, 0) = 1 ∀ x, y ∈ R.
In particular,
fxy (0, 0) = −1, fyx (0, 0) = 1.
The above example shows that, in general, fxy need not be equal to fyx . However,
under certain additional conditions they can be equal.
• Total increment of z is
∆z := f (x + ∆x, y + ∆y) − f (x, y).
Theorem 1.4 Suppose fx and fy exist and are continuous in a neighbourhood D1
of a point (x, y). Then there exist functions ϕ and ψ defined in the neighbourhood
D2 of (0, 0) such that
∆z = fx (x, y)∆x + fy (x, y)∆y + φ(∆x, ∆y)∆x + ψ(∆x, ∆y)∆y
for all (x, y) ∈ D1 and (∆x, ∆y) ∈ D2 , where
φ(∆x, ∆y) → 0, ψ(∆x, ∆y) → 0 as (∆x, ∆y) → (0, 0).
Definition 1.20 Suppose function f has partial derivatives at (x0 , y0 ). Then the
expression
fx ∆x + fy ∆y
is called the total differential. The total differential of z := f (x, y)f , and it is
denoted by dz, and the infinitesimals ∆x and ∆y are called the differentials of the
variables x and y and are denoted by dx and dy, respectively. Thus,
dz = fx ∆x + fy ∆y or dz = fx dx + fy dy.
The pair (fx , fy ) is called the gradient of f at u0 , denoted by
(grad f )(u0 ) or (∇f )(u0 ).
Remark 1.10 In fact, the total differential of f at a point u0 is a function:
(∆x, ∆y) 7→ fx ∆x + fy ∆y
defined in a neighbourhood of (0, 0).
By Theorem 1.4,
∆z ∼
= dz.
The above approximate equality can be used to approximate certain quantities. For
instance, if an expression for f (x, y) is known, then
f (x + ∆x, y + ∆y) ∼
= f (x, y) + dz.
EXAMPLE 1.18 Volume of the material required to make a glass of inner radius
r, inner height h and thickness k is:
V = π(r + k)2 (h + k) − πr2 h.
Writing
f (r, h) := πrh , ∆r = k = ∆h,
the above expression can be written as
f (r + ∆r, h + ∆h − f (r, h).
Thus,
V = f (r + ∆r, h + ∆h − f (r, h)
∼
= fr ∆r + fh ∆h
= π(2rh∆r + r2 ∆h).
Partial Derivatives 15
s
1+x
EXAMPLE 1.19 Let f (x, y) := . Let us find an approximate
(1 + y)(1 + z)
express for f (x, y) when x and y are close to 0. This amounts to considering the
approximate equality:
f (x, y) ∼
= f (0, 0) + fx (0, 0)x + fy (0, 0)y
1
= 1 + (1 + x − y − z).
2
and
f (x0 , y0 + ∆y) − f (x0 , y0 ) − β∆y
lim = 0.
∆y→0 ∆x
Hence fx and fy exist at u0 and we have f 0 (u0 ) = (α, β) = (fx (u0 ), fy (u0 )).
1
lim {[f (x0 + ∆x, y0 + ∆y) − f (x0 , y0 )] − [fx (u0 )∆x + fy (u0 )∆y)]} = 0.
∆ρ→0 ∆ρ
and in that case the derivative is (∇f )(x0 , y0 ) := (fx (x0 , y0 ), fy (u0 )).
Suppose z = F (u, v) where u and v are functions of (x, y), i.e., u = ϕ(x, y) and
v = ψ(x, y) for some functions ϕ and ψ. Then z itself is a function of (x, y). Thus,
Then we have
∆x z = F (ϕ(x + ∆x, y), ψ(x + ∆x, y)) − F (ϕ(x, y), ψ(x, y)).
But,
∆x u = ϕ(x + ∆x, y) − ϕ(x, y), ∆x v = ψ(x + ∆x, y) − ψ(x, y).
Hence, assuming all necessary conditions, we have
∆x z = F (u + ∆x u, v + ∆x v) − F (u, v)
= Fu ∆x u + Fv ∆x v + ϕ1 ∆x u + ϕ2 ∆x v,
where
Thus,
∆x z ∆x u ∆x v ∆x u ∆x v
= Fu + Fv + ϕ1 + ϕ2 .
∆x ∆x ∆x ∆x ∆x
Now taking limit as (∆x, ∆y) → (0, 0), we have
∂z ∂u ∂v
= Fu + Fv .
∂x ∂x ∂x
Thus we have proved the following theorem.
Partial Derivatives 17
∂z ∂u ∂v
= Fu + Fv .
∂x ∂x ∂x
A special cases:
(i) Suppose f is a function of (x, y) in a nbd of a point (x0 , y0 ), and x and y
are functions of another variable t with t ∈ [a, b]. Then z = f (x, y) is a function of
t and we have
dz ∂z dx dy
= = fx + fy .
dt ∂t dt dt
dz ∂z dy
= = fx + fy .
dx ∂x dx
2
EXAMPLE 1.20 Consider the function z = ln(u2 + v 2 ) where u = ex=y and
v = x62 + y. Then
∂z ∂z ∂u ∂z ∂v
= +
∂x ∂u ∂x ∂v ∂x
2u x+y2 2x
= 2
e + 2
u +v u +v
2 x+y2
= ue + x
u2 + v
and
∂z ∂z ∂u ∂z ∂v
= +
∂y ∂u ∂y ∂v ∂y
2u x+y2 1
= 2
e 2y + 2
u +v u +v
1 x+y 2
= 4ue + 1
u2 + v
√
EXAMPLE 1.21 Consider the function z = x2 + y where y = sin x, 0 < x < π.
Then
dz ∂z ∂z dy cos x
= + = 2x + √ .
dx ∂x ∂y dx 2 y
18 Functions of Several Variables
Euler’s Theorem:
Theorem 1.8 Suppose f is a homogeneous function of degree n in a domain D,
i.e., f (λx, λy) = λn f (x, y) for all λ ∈ R, (x, y) ∈ D. Then
∂f ∂f
x +y = nf (x, y).
∂x ∂y
F (x, f (x)) = 0 ∀ x ∈ J.
Theorem 1.9 Suppose f is implicitly defined on an interval J of a point x0 by an
equation F (x, y) = 0 with y = f (x) for x ∈ J. Assume further that Fx and Fy are
defined and are continuous in a nbd of a point (x0 , y0 ) where x0 ∈ J and y0 = f (x0 ).
If Fy 6= 0 at (x0 , y0 ), then Fy 6= 0 and f 0 (x) exists in a nbd J0 of x0 and
Fx
f 0 (x) = − ∀ x ∈ J0 .
Fy
0 = ∆F = Fx ∆x + Fy ∆y + ϕ1 ∆x + ϕ2 ∆y,
we have
∆y Fx + ϕ1 Fx
=− →− as (∆x, ∆y) → 0.
∆x Fy + ϕ2 Fy
Thus f 0 (x0 ) exists and f 0 (x0 ) = −Fx /Fy at (x0 , y0 ).
Since Fy 6= 0 at (x0 , y0 ) and Fy is continuous in a nbd of (x0 , y0 ), we know that
Fy 6= 0 for all points in a nbd of (x0 , y0 ). In particular, there exists a nbd J0 of
x0 such that Fy (x, f (x)) 6= 0 for all x ∈ J0 . Hence, the result follows from the
arguments in the above paragraph by replacing x0 by any point in J0 .
we have
∆u ∆x ∆y ∆x ∆y
= ux + uy + ϕ1 + ϕ2 .
∆s ∆s ∆s ∆s ∆s
Thus, if u has continuous partial derivatives at (x0 , y0 ), we have
∆u
lim = ux cos α + uy cos β,
∆s→0 ∆s
where α and β are the angles that ~s makes with the x-axis and y-axis respectively.
Thus
∂u ∆u
:= lim = 5u · n~s ,
∂s ∆s→0 ∆s
~s
n~s := .
|~s|
∂u
Definition 1.25 The quantity ∂s defined is called the directional derivative of
u along ~s.
Remark 1.12 We may observe by taking e~1 = (1, 0) and e~2 = (0, 1) that
∂u ∂u ∂u ∂u
= , = .
∂e1 ∂x ∂e2 ∂y
∂u
= 5u · n~s = | 5 u| cos θs ,
∂s
where θs is the angle between the vectors 5u and ~s. Thus,
∂u
≤ | 5 u|,
∂s
22 Functions of Several Variables
and
∂u
= | 5 u| ⇐⇒ θs = 0.
∂s
Note that if ~s = 5u, then n~s = 5u/| 5 u| so that
∂u
= 5u · n~s = | 5 u|.
∂s
Thus, among all directional derivatives at a point, the one along ~s = 5u is the
maximum.
If ~s = 5u,
∂u p √
(P ) = | 5 u|(P ) = 2 x2 + y 2 + z 2 (P ) = 2 3.
∂s
Exercise 1.9 Suppose f is differentiable at u0 := (x0 , y0 ). Then, prove that direc-
tional derivatives of f in any direction ~s exist at u0 , and
∂u
f 0 (u0 ) = at u0 .
∂s
for some ξx lying between x0 and x. Writing ∆x = x − x0 , the above formula can
be written as
n
d k d n+1
X 1 1
f (x) = f (x0 ) + ∆x f (x0 ) + ∆x f (x0 + ξ∆x).
k! dx (n + 1)! dx
k=1
We obtain similar formula for functions of two variables as well. For this purpose
let us define
∂ ∂ ∂f ∂f
∆x + ∆y f := ∆x + ∆y ,
∂x ∂y ∂x ∂y
and for k = 2, 3, . . .,
∂ k ∂ k−1
∂ ∂ ∂ ∂
∆x + ∆y f := ∆x + ∆y ∆x + ∆y f.
∂x ∂y ∂x ∂y ∂x ∂y
It can be seen that
k
∂ k
r k−r
∂ X
k
r k−r ∂ ∂
∆x + ∆y f= Cr (∆x) (∆y) f.
∂x ∂y ∂x ∂y
r=0
Note that, under the assumption that f has continuous partial derivatives fxy
and fyx in a nbd D0 of a point P0 ,
∂ k
∂
ϕ(k) (t) = ∆x + ∆y f (x0 + ξ∆x, y0 + ξ∆x). (∗)
∂x ∂y
Hence, using the Taylor’s formula for functions of one variable we have
n
X ϕ(k) (0) ϕ(k+1) (ξ)
ϕ(1) = ϕ(0) + +
k! k!
k=1
for some ξ lying between 0 and 1. In view of (∗), this is exactly the required
formula.
(b) In the above we have defined maximum and minimum only locally, i.e.,
in a nbd of a point. In case there exists u0 ∈ D such that f (x) < f (u0 ) (resp.
f (x) > f (u0 )) for all u ∈ D, then we say that f attains global maximum at u0
(global minimum at u0 ).
Following theorem prescribes a necessary condition for a function to have a
maximum or minimum at a point.
Theorem 1.12 Suppose f : D → R has a maximum or minimum at u0 ∈ D, and
suppose fx and fy exist at u0 . Then fx = 0 = fy at u0 .
2 < 0 at u .
(iii) u0 is a saddle point of f if fxx fyy − fxy 0
Remark 1.15 Look at the definition of a saddle point and the part (iii) in Theorem
2 < 0 is a necessary
1.13. Part (iii) in Theorem 1.13 does not say that fxx fyy − fxy
condition for u0 to be a saddle point of f ; the condition is only sufficient. The
2 < 0 is not
point u0 can be a saddle point of f even when the condition fxx fyy − fxy
satisfied; but in that case one of the conditions fxx > 0 and fxx < 0 is to satisfied
at u0 .
Then
(i) f has a maximum at u0 , if H is negative definite, and
(ii) f has a minimum at u0 if H is positive definite.
(ii) u0 is a saddle point of f if H is neither positive definite nor negative definite,
but det(H) 6= 0.
EXAMPLE 1.32 Find the distance between the straight lines given by the equa-
tions
x−1 y z x y z
(i) = = and (ii) = = .
1 2 1 1 1 1
Note that an arbitrary point po the first line given by (λ + 1, 2λ, λ) whereas an
arbitry point on the second line is given by (µ, µ, µ). Thus, we have to minimize the
function
f (λ, µ) := (λ + 1 − µ)2 + (2λ − µ)2 + (λ − µ)2 .
Note that
fx = 2x + −y + 3, fy = 2y − x − 2.
Hence
fx = 0 = fy ⇐⇒ (x, y) = (−4/3, 1/3)
and
2
fxx fyy − fxy =3 and fxx = 2 > 0 at (−4/3, 1/3).
Hence, by the above theorem, f has a minimum at (−4/3, 1/3).
2 = 3 and f
Remark 1.16 In Example 1.33, although fxx fyy − fxy xx = 2 at every
2
(x, y) ∈ R , the function has only one extremum.
EXAMPLE 1.34 Let us find the shortest distance from the origin to the plane
x − 2y − 2z = 1 (by finding extrema of certain functions).
Well, you already know that the √ shortest distance from the origin to the plane
given by ax = by + cz = d is |d|/ a2 + b2 + c2 . Thus, the answer required in the
present example is 1/3. Let us find the same by finding the minimum of certain
functions.
p
Recall that the distance from the origin to any point (x, y, z) is given by x2 + y 2 + z 2 .
Thus, the problem reduces to minimizing the function x2 + y 2 + z 2 when (x, y, z)
varies over the plane given by x − 2y − 2z = 1.
Since x − 2y − 2z = 1 implies z = 12 (x − 2y − 1), it is enough to find the minimum
value of
1
f (x, y) := x2 + y 2 + z 2 = x2 + y 2 + (x − 2y − 1)2 .
4
Note that
1 5 1
fx = 2x + (x − 2y − 1) = x − y − ,
2 2 2
fy = 2y − (x − 2y − 1) = 4y − x + 1.
Thus,
1 2
fx = 0 & fy = 0 ⇐⇒ x = & y=− ,
9 9
and in that case z = − 92 . Since the function f does not attain maximum at any
point, the minimum of f is f ( 91 , − 29 ) = 19 so that the required minimum distance is
q
f ( 19 , − 92 ) = 13 .
28 Functions of Several Variables
Exercise 1.10 Show that the shortest distance from the origin to the plane given
|d|
by ax = by + cz = d is √a2 +b 2 +c2
, by finding minimum of certain function. J
Exercise 1.11 Show that the rectangle having a maximum area for a fixed perimeter
is a square. J
f (x, y, z) := x2 + y 2 + z 2 (i)
ϕ(x, y, z) := x − 2y − 2z − 1 = 0. (ii)
The method we adopted was that, from the equation (ii), we expressed z as a
function of (x, y), namely
1
z = g(x, y) := (x − 2y − 1)
2
and substituted the same into (i) to obtain a function of two variables, namely
1
h(x, y) := f (x, y, g(x, y)) := x2 + y 2 + x2 + y 2 + (x − 2y − 1)2
4
and used the method of finding minimum of h.
In general, suppose the problem is to find an extremum of a function
f (x, y, z) (iii)
ϕ(x, y, z) = 0. (iv)
But, if the function ϕ is not simple enough to find such a function g, then the
above procedure cannot be adopted. Now we describe a procedure, called method
of Lagrange multipliers, which does not involve such a function g explicitly.
We shall consider the method of Lagrange multipliers in the case of two variables.
The procedure can be extended to any finite number of variables.
Maxima and Minima 29
(fx + fy y 0 ) + λ(ϕx + ϕy y 0 ) = 0 at P0 ∀ λ ∈ R,
i.e,
(fx + λϕx ) + (fy + λϕy )y 0 = 0 at u0 ∀ λ ∈ R,
Choosing λ0 such that fy + λ0 ϕy = 0 at (x0 , y0 ), we obtain
ϕ = 0, Fx = 0 = Fy at (λ0 , x0 , y0 ).
The parameter λ above is called the Lagrange multiplier, and the method using
Lagrange multiplier is the procedure of finding (λ, x, y) such that
ϕ = 0, Fx = 0 = Fy
so that the required point at which f attains an extremum in Sf is one among these
points.
EXAMPLE 1.35 Among all rectangles with a given perimeter `, let us find the
one having maximum area. Thus, the problem is to find the point (x0 , y0 ) at which
the function f (x, y) := xy attains maximum subject to the constraint ϕ(x, y) :=
2(x + y) − ` = 0. We consider the equation
Thus,
x = −2λ = y, ` = 2(x + y) = 4x
so that x = y = `/4.
30 Functions of Several Variables
ϕ(x, y, z) := x2 + y 2 + z 2 − d2 = 0
fx + λϕx := yz + λ(2x) = 0
fy + λϕy := xz + λ(2y) = 0
fx + λϕz := xy + λ(2z) = 0.
i.e.,
3xyz + 2λ(x2 + y 2 + z 2 ) = 0.
Thus,
3xyz + 2λd2 = 0.
Hence,
3 3
0 = yz + 2λ2x = yz − 2 x2 yz = yz 1 − 2 x2 .
d d
√ √ √
Thus, x = d/ 3. Similarly, y = d/ 3 and z = d/ 3.
EXAMPLE 1.37 Let us find the parelleloeiped of maximum volume with a given
surface area:
The function to be maximized is
f (x, y, z) = xyz
3xyz + 2λA = 0.
Maxima and Minima 31
3
yz − xyz(y + z) = 0, i.e., 3x(y + z) = A, i.e., 3(xy + xz) = A,
A
i.e.,
3(A − 2yz) = 2A, , i.e., 6yz = A, , i.e., yz = A/6.
Similarly, zx = A/6 and xy =p
A/6. Thus, so that z =
p A/6y and hence,
p x = A/6z =
2
y. Hence, x = A/6 and x = A/6. Similarly, y = A/6 and z = A/6.
EXAMPLE 1.38 Suppose a wire of length ` is cut into three pieces and are bent
them to form a circle, a square, and an equilateral triangle. Let us find the length
of these pieces so that that the total areas inscribed by these figures is minimum:
The function to be minimized is
√
2 2 3 2
f (x, y, z) := πx + y + z
4
subject to the constrained
ϕ(x, y, z) := 2πx + 4y + 3z − ` = 0.
Now, we may apply Lagrange multiplier method. The equations to be solved are:
ϕ(x, y, z) := 2πx + 4y + 3z − ` = 0
fx + λϕx := 2πx + λ(2π) = 0
fy + λϕy := 2y + λ(4) = 0
√
3
fz + λϕz := z + λ(3) = 0.
2
Thus,
6
x = −λ, y = −2λ, z = −λ √ (∗)
3
and
6
ϕ(x, y, z) := 2πx + 4y + 3z − ` = 2π(−λ) + 4(−2λ) + 3 − λ √ − ` = 0
3
Hence h 6 i
λ − 2π − 8 − 3 √ = `. (∗∗)
3
From (∗∗), we get value of λ, and then obtain the values of x, y, z, from the previous
three equations:
√
2 2 3 2 √ √
f (x, y, z) = πx + y + z = πλ2 + 4λ2 + 3 3λ2 = (π + 4 + 3 3)λ2 .
4
32 Functions of Several Variables
Exercise 1.13 Among all parallelepiped of a given volume V , find the one which
has minimum surface area.
Exercise 1.15 Show that, among all parallelepiped with the given surface area A,
the cube has the maximum volume.
Exercise 1.16 Show that, of all triangles inscribed in a circle, the equilateral tri-
angle has the greatest area.
1.10 Problems
1. Give an example of a set which is neither open or closed.
4. Let (Xn ) be a sequence in R2 . Show that (Xn ) converges if and only if for
every ε > 0, there exists N ∈ N such that |Xn − Xm | < ε whenever n, m ≥ N .
x2 − y 2
6. For the function f (x, y) := xy defined on D := {(x, y) : x2 + y 2 6= 0},
x2 + y 2
show that lim f (x, y) = 0.
(x,y)→(0,0)
x2 y
7. Show that for the function z = f (x, y) := defined on D := {(x, y) :
x4 + y 2
x2 + y 2 6= 0}, lim f (x, y) does not exist.
(x,y)→(0,0)
(y − x)(1 + x)
8. Let f (x, y) := defined on D := {(x, y) : x + y 6= 0}. Check
(y + x)(1 + y)
whether lim lim f (x, y) and lim lim f (x, y) exist. Are they same?
y→0 x→0 x→0 y→0
Problems 33
1 1
9. For f (x, y) := x sin + y sin defined on D := {(x, y) : xy 6= 0}, show that
y x
lim(x,y)→(0,0) f (x, y) = 0. Check whether lim lim f (x, y) and limx→0 limy→0 f (x, y)
y→0 x→0
exist.
10. For the following functions, examine whether fx , fy , fxx , fxy , fyy exist at
(0, 0), and if so find their values.
f (x, y), (x, y) 6= (0, 0)
(i) g(x, y) :=
0, (x, y) = (0, 0)
( 2 2
xy(x −y )
x2 +y 2
, (x, y) 6= (0, 0)
(ii) z = f (x, y) :=
0, (x, y) = (0, 0).
11. Find the constants a, b so that the surface given by ax2 − byz = (a + z)x will
be orthogonal to the surface given by 4x2 y + z 3 = 4 at the point (1, −1, 2).
12. In the following cases, find the directional derivative of the function f at the
point P0 in the direction of ~s:
(i) f (x, y, z) = x2 + y 2 − z; P0 = (1, 1, 2); ~s = 4~i + 4~j − 2~k.
(ii) f (x, y, z) = x2 y − 3xyz + +z 3 ; P0 = (3, 1, 2); ~s = 3~i − 2~j + 6~k.
(iii) f (x, y, z) = x2 yz 2 ; P0 = (1, 2, 3) ∈ R3 ; ~s = −2~i + 3~j − 6~k.
Also, Calculate the maximum rate of change of f at P0 .
13. Find ∂f 2 3
∂s at P0 = (2, −1, 1) if f (x, y, z) = xy + yz and ~
s is perpendicular to
2
the surface given by xν(z) − y = −4 at (−1, 2, 1).
14. Find the values of the constants a, b, c so that the directional derivative of
f (x, y, z) := axy 2 + byz + cz 2 x3 at P0 = (1, 2, −1) has a maximum magnitude
of 64 in the direction parallel to z-axis.
18. Suppose u is a function of (x, y) implicitly defined by u = f (g(x, u), h(y, u)),
where f , g and h are known functions. Find ∂u ∂u
∂x and ∂y .
Hint: Express the given equation in the form F (x, y, u) = 0.
du
19. If u = log(x + u), find dx .
∂y ∂y ∂2y
20. If log uy + y log u = x, find ∂u , ∂x and ∂x2
.
∂z
21. If sin zy = cos zx, compute ∂x at (x, y, z) = ( 13 , 16 , π).
34 Functions of Several Variables
∂y ∂u ∂u ∂x ∂x ∂y ∂y
23. If u = f (x + u, yu), find , , , , , , .
∂x ∂x ∂y ∂u ∂y ∂u ∂x
24. Using Taylor’s formula for functions of two variables, find an expression for
(i) f (x, y) := x2 + xy − y 2 in terms of powers of x − 1 and y + 2;
(ii) f (x, y) := (1 − 3x + 2y)3 in terms of powers of x − 1 and y + 1.
25. Find Taylor expansion for x3 − 2xy 2 at the point (x0 , y0 ) = (1, −1).
27. Test the following functions for maximum, minimum and saddle points:
(i) x4 + y 4 − x2 − y 2 + 1.
(ii) x2 + 2y 2 + 3z 2 − 2xy − 2yz − 2.
29. Find the shortest distance from the origin to the plane x − 2y − 2z = 1.
31. Show that the rectangular solid of maximum volume that can be inscribed in
a sphere is a cube.
2
Multiple Integrals
The quantity
µ(Π) := max{∆si : i = 1, . . . , n}
is called the mesh of the partition Π, and the above sum S(f, Π, P) is called the
Riemann sum for f corresponding to the partition Π.
If f (x, y) ≥ 0 for (x, y) ∈ D, then each f (Pi )∆si is the volume of the cylinder
with base Di , generators parallel to z-axis, and height f (Pi ), and S(f, D, P) is the
sum of all such volumes.
Definition 2.1 We say that f is integrable over D if S(f, Π, P) approaches some
number, say γ, as µ(Π) approaches zero, irrespective of the manner in which the
partition Π := {Di }ni=1 and the set P = {Pi }ni=1 are taken.
35
36 Multiple Integrals
More precisely, f is integrable over D, if there exists γ ∈ R such that for every
ε > 0, there exists a δ > 0 satisfying
|S(f, Π, P) − γ| < ε
for every partition Π with µ(Π) < δ, and in that case, the quantity γ is called the
integral of f over D, and we write γ as
ZZ ZZ
f (P )ds or f (x, y)dxdy.
D D
Let (nk ) be an increasing sequence of positive integers. For each k ∈ N, let
(k) k (k) (k)
Πk = {Di }ni=1 be a partition of D, and let ∆si := Area(Di ) and
nk
(k) (k)
X
(k) (k)
Sk (f, D ,P ) := f (Pi )∆si .
i=1
In the following we shall take functions for which integrals over D exist.
Theorem 2.2 For functions f and g and real number α, the following hold.
ZZ ZZ ZZ
[f (x, y) + g(x, y)]dxdy = f (x, y)dxdy + g(x, y)dxdy,
D D D
ZZ ZZ
α f (x, y)dxdy = α f (x, y)dxdydy.
D D
ZZ ZZ ZZ
f (x, y)dxdy = f (x, y)dxdydy + f (x, y)dxdydy.
D D1 D2
Double Integrals 37
where ϕ1 and ϕ2 are continuous functions on [a, b] such that ϕ1 (x) ≤ ϕ2 (x) for
a < x < b. Then we would like to see if we have
ZZ Z "Z #
b ϕ1 (x)
f (x, y)dxdy = f (x, y)dy dx. (2.1.2)
a ϕ1 (x)
D
EXAMPLE 2.1 let us calculate the two-fold iterated integrals in (i) and (ii) for
the function f (x, y) = x2 + y 2 if the domain D is the region bounded by the curves
y = x2 , x = 1 and y = 0:
1 x2
!
1 x2 1
y3 x6
Z Z Z Z
2 2 2 4 26
(x + y )dy dx = x y+ dx = x + dx = .
0 0 0 3 0 0 3 105
38 Multiple Integrals
√ ! 1
Z 1 Z y Z 1 3
2 2 x 2
(x + y )dx dy = +y x dy
0 0 03 √
y
Z 1 " 3/2
!#
1 y
= + y2 − + y 5/2 dy
0 3 3
" !#1
y y3 y 3/2
5/2
= + − +y dy
3 3 3
0
2 44 26
= − = .
3 105 105
y
Suppose D is regular in y-direction. Let us denote the integral in (2.1.2) by ID ,
that is,
Z b "Z ϕ1 (x) #
y
ID :== f (x, y)dy dx.
a ϕ1 (x)
m ≤ f (x, y) ≤ M ∀x ∈ D.
Then Z b "Z #
ϕ1 (x)
mS ≤ f (x, y)dy dx ≤ M S.
a ϕ1 (x)
By Theorem 2.4 and using the intermediate value property of continuous func-
tions:
ZZ
EXAMPLE 2.2 Let us calculate xy dxdy, where D is a region bounded by the
√ D
curves x = 1, x = 2, y = x, y = 3x. In this case,
ZZ Z 2 Z √ 3x
! Z 2
15
xy dxdy = x y dy dx = x3 dx = .
1 x 1 4
D
Remark 2.1 If f ≥ 0 on D, then we can have geometric meaning of the the above
theorem by observing that for each x, the integral
Z ϕ1 (x)
f (x, y)dy
ϕ1 (x)
from the origin passing through an interior point of D will cut the boundary of D
exactly at two different points.
Let D be a domain regular in polar coordinates, and let F (θ, ρ) be a continuous
function defined on D. We would like to express the double integral
ZZ
F (θ, ρ)dθ dρ
D
n
X
S(F, Π, P) := F (Pi )∆si
i=1
1 2 1
∆sij = ρi ∆θj − ρ2i−1 ∆θj
2 2
(ρi + ρi−1 )
= ∆ρi ∆θj
2
∗
= ρi ∆ρi ∆θj .
Let Pij = (θj∗ , ρ∗i ) where θj−1 ≤ θj∗ ≤ θj . Then we see that
m X
X n m X
X n
S(F, Πm,n , Pm,n ) := F (Pij )∆sij = F (θj∗ , ρ∗i )ρ∗i ∆ρi ∆θj − εm,n ,
j=1 i=1 j=1 i=1
Writing
Z Φ2 (θ)
g(θ) := F (θ, ρ)ρ dρ
Φ1 (θ)
42 Multiple Integrals
m
X Z β
g(θj∗ )∆θj → g(θ) dθ as m → ∞,
i=1 α
it follows that
m X
X n Z β
S(F, Πm,n , Pm,n ) := F (Pij )∆sij → g(θ) dθ as m → ∞,
j=1 i=1 α
i.e.,
!
Z β Z Φ2 (θ)
S(F, Πm,n , Pm,n ) → F (θ, ρ)ρ dρ dθ as m → ∞.
α Φ1 (θ)
Thus,
!
ZZ Z β Z Φ2 (θ)
F (θ, ρ)dθ dρ = F (θ, ρ)ρ dρ dθ.
α Φ1 (θ)
D
EXAMPLE 2.3 Let us find the volume V of the solid bounded by the spherical
surface x2 + y 2 + z 2 = 4a2 and the cylindrical surface x2 + y 2 − 2ay = 0.
Clearly, V = 4V0 , where V0 is the volume of the part in the first octant. Note
that the function to be integrated is
p
f (x, y) = 4a2 − x2 − y 2
and the domain Dp 0 over which integral is to be taken is bounded by the curves:
y = 0, y = 2a; x = 2ay − y 2 . Thus, in cartesian coordinates,
Z Z Z 2a Z √2ay−y2 p !
V0 = f (x, y) dx dy = 4a2 − x2 − y 2 dx dy.
0 0
D0
This integral is too complicated to evaluate as it is. Now let us compute it using
polar coordinates, x = ρ cos θ and y = ρ sin θ. Note that
p
F (θ, ρ) := f (ρ cos θ, ρ sin θ) = 4a2 − ρ2
with
D : 0 ≤ θ ≤ π/2, 0 ≤ ρ ≤ 2a sin θ.
Double Integrals 43
Then we have
Z π/2 Z 2a sin θ p
V0 = 2 2
( 4a − ρ )ρ dρ dθ
0 0
" #2a sin θ
π/2
(4a2 − ρ2 )3/2
Z
= − dθ
0 3
0
8a3 π/2
Z
= (1 − cos3 θ) dθ
3 0
4 3
= a (3π − 4).
9
EXAMPLE 2.4 Let us evaluate the Poisson integral
Z ∞
2
e−x dx.
−∞
Recall that Z ∞ Z a
−x2 2
e dx = lim e−x dx.
−∞ a→∞ −a
Note that 2
Z a Z a Z a
2 +y 2 ) 2
e−(x dxdy = e−x dx . (1)
−a −a −a
where Dr and DR are circular regions with origin as center and r and R as radii
√
with r < a, R ≥ a. Now, using polar coordinates,
Z Z Z 2π Z r
−(x2 +y 2 ) −ρ2 2
e dxdy = e ρ dρ dθ = π[1 − e−r ]. (3)
0 0
Dr
Similarly,
Z Z Z 2π Z r
−(x2 +y 2 ) −ρ2 2
e dxdy = e ρ dρ dθ = π[1 − e−R ]. (4)
0 0
DR
44 Multiple Integrals
Letting r → ∞, R → ∞, we have
Z ∞ 2
−x2
π≤ e dx ≤ π.
−∞
Z ∞ √
2
Thus, e−x dx = π.
−∞
x = ρ cos θ, y = ρ sin θ
(u, v) 7→ (x, y)
∂ϕ ∂ϕ ∂ψ ∂ψ
, , ,
∂u ∂v ∂u ∂v
on D.
e Suppose f is a continuous real valued function defined on D. Then we obtain
the function
f˜(u, v) := f (ϕ(u, v), ψ(u, v)
defined on D.
e
Suppose the the domain De is divided into sub-domains using straight lines par-
allel to coordinate axes. Now, lt us take a rectangle lying in D
e with its vertices
given by
x1 = ϕ(u0 , v0 ),
x2 = ϕ(u0 + ∆u, v0 ) ≈ ϕ(u0 , v0 ) + ϕu ∆u,
x3 = ϕ(u0 + ∆u, v0 + ∆v) ≈ ϕ(u0 , v0 ) + ϕu ∆u + ϕv ∆v,
and
y1 = ψ(u0 , v0 ),
y2 = ψ(u0 + ∆u, v0 ) ≈ ψ(u0 , v0 ) + ψu ∆u,
y3 = ψ(u0 + ∆u, v0 + ∆v) ≈ ψ(u0 , v0 ) + ψu ∆u + ψv ∆u.
Now,
1
Area(∆B1 B2 B3 ) ≈ |(x3 − x1 )(y3 − y2 ) − (x3 − x2 )(y3 − y1 )|.
2
Thus, we see that
so that
∂ϕ ∂ϕ
∂u ∂v −ρ sin θ cos θ
J(ϕ, ψ) = det
= det
= −ρ.
∂ψ ∂ψ ρ cos θ sin θ
∂u ∂v
Hence, in this case,
ZZ Z Z
f (x, y) dx dy = f˜(θ, ρ)ρ dθ dρ,
D D
e
46 Multiple Integrals
ZZ
EXAMPLE 2.5 Let us evaluate the double integral (y − x)dxdy where D is
D
the region bounded by the straight lines
1 7 1
y = x + 1, y = x − 3, y =− x+ , y =− x+5
3 3 3
by appropriate change of variables.
Note that
1 7 1
y − x = 1, y − x = −3, y+ x= , y + x = −5.
3 3 3
The above representation prompts us to take the variables:
1
u=y−x=1 and v = y + x
3
so that it can be seen that the domain in the uv-plane is bounded by the straight
lines
7
u = 1, u = −3, v = , v = −5.
3
The change of variables formulas are given by
3 3 1 3
x = ϕ(u, v) := − u + v, y = ψ(u, v) := u + v.
4 4 4 4
Hence,
∂ϕ ∂ϕ 3 3
∂u −
∂v 4 4
J(ϕ, ψ) = det
= det
= −3.
∂ψ ∂ψ
1 3
4
∂u ∂v 4 4
Thus,
ZZ ZZ Z 5 Z 1
3
(y − x)dxdy = f˜(u, v)|J(ϕ, ψ)|dudv = udu dv = −8.
7/3 −3 4
D D
e
ZZ
EXAMPLE 2.6 Let us write the integral f (x, y)dxdy in terms of the variables
D
u, v using the change of variables x = u − uv, y = uv, where D is bounded by the
curves y = αx, y = βx and x = c with 0 < α < β and c > 0.
It is seen that the boundary of the region determined by the lines y = αx,
y = βx, x = c correspond to the lines
α β c
v= , v= , v =1− ,
1+α 1+β u
Double Integrals 47
Thus,
β
ZZ Z
1+β
Z 1− uc
f (x, y)dxdy = f˜(u, v) dvdu.
α
1+α
0
D
x−y
ZZ
EXAMPLE 2.7 Let us evaluate cos dxdy using the change of vari-
x+y
D
ables u = x − y, v = x + y, where D is the region bounded by the lines x = 0, y =
0, x + y = 1.
Note that the transformation (u, v) 7→ (x, y) is given by
1 1
x = (u + v), x = (v − u),
2 2
and the Jacobian of the transformation is 1/2. Also, the lines x = 0, y = 0, x+y = 1
correspond to the lines u = −v, u = v, v = 1 respectively. Hence,
1 1
Z Z v u
x−y
ZZ ZZ
1 u sin 1
cos dxdy = cos dudv = cos du dv = ... .
x+y 2 v 2 0 −v v 2
D D
e
A surface in the space R3 can be given in various forms. Most common among them
are as follows:
(i) A set of the form
We shall also consider surfaces which are finite combination of surfaces of the
forms given in (i) and/or (ii).
In case (i), the surface is a level surface, and in case (ii), the surface S is said
to be parametrized by Φ.
As a special case of the above two representations, a surface S may be given by
the set of all points (x, y, z) satisfying the equation
we see that this surface has the forms in (i) and (ii) respectively.
so that
ϕx x0 (t) + ϕy y 0 (t) + ϕz z 0 (t) = 0 at t = t0 .
Thus,
∇ϕ.vγ = 0,
where vγ := (x0 (t0 ), y 0 (t0 ), z 0 (t0 )), the tangent vector to the curve at P0 . In such
case we say that S is a smooth surface. The vector
∇ϕ
~n(P ) := (P )
|∇ϕ|
is a unit normal to S. Clearly, -~n(P ) is also a unit normal to S. The above vector
~n(P ) is called the canonical unit normal to S. The plane pasing through the
point P with ~n(P ) as normal is called the tangent plane to S at P .
Suppose a surface S is represented parametrically by a function Φ : D → R3 .
Then S is a set of all points of the form Φ(u, v) := (x(u, v), y(u, v), z(u, v)) with
(u, v) varying in D. Suppose that
= EG − F 2 ,
where
E := |Φu |2 , G := |Φv |2 , F := Φu .Φv . (2.1.5)
If a surface S is given by an equation z = g(x, y) such that partial derivatives gx
and gy exist and are continuous on S, then
∇ϕ Φu × Φv gx~i + gy~j − ~k
= == q ,
|∇ϕ| |Φu × Φv | 1 + gx2 + gy2
Hence
∇ϕ ~ 1 P~
~n(P~ ) = (P ) = (x~i + y~j + z~k) = .
|∇ϕ| R R
Φθ × Φφ = −R sin φ[R sin φ cos θ~i + R sin φ sin θ~j + R cos φ~k]
= −R sin φ[x~i + ~j + ~k],
Mi := (xi , yi , zi ) ∈ Di ; zi := f (xi , yi ), i = 1, . . . , n.
Double Integrals 51
Let Si be that part of the tangent plane at Mi intersected by the cylinder with base
Di with generators parallel to z-axis. Let ∆σi for i = 1, . . . , n. Then the area of S
is defined as the limit of the sum
Xn
∆σi
i=1
∇ϕ = (gx , gy , −1)
it follows that
1
cos θi = q at Pi .
1 + gx2 + gy2
Thus,
∆si q
∆σi ≈ = ∆si 1 + gx2 + gy2 at Pi
cos θi
and hence
n q
X ZZ q
Area(S) = lim 1 + gx2 + gy2 ∆si = 1 + gx2 + gy2 dxdy.
µ(Π)→0
i=1 D
then ZZ q
Area(S) = 1 + gy2 + gy2 dxdy
D
then ZZ p
Area(S) = 1 + h2z + h2x dxdy
D
EXAMPLE 2.11 Let us calculate the area of the surface S of a sphere of radius
R using double integrals: Let us take the centre of the sphere as the origin of the
coordinate axes. Then the equation of the sphere is given by
x2 + y 2 + z 2 = R 2 .
52 Multiple Integrals
Taking
D := {(x, y) : x2 + y 2 ≤ R2 }
and
p
z = g(x, y) := R2 − (x2 + y 2 ), (x, y) ∈ D
we obtain ZZ q
Area(S) = 2 1 + gx2 + gy2 dxdy.
D
Note that
−x −y
gx = p , fy = p ,
R − (x2 + y 2 )
2 R − (x2 + y 2 )
2
and hence
q R
1 + gx2 + gy2 = p .
R2 − (x2 + y 2 )
Thus,
ZZ q
Area(S) = 2 1 + gx2 + gy2 dxdy
ZDZ
R
= 2 p dxdy
R2 − (x2 + y 2 )
D
Z 2π Z R
R
= 2 p ρ δρ dθ
0 0 R − ρ2
2
= 4πR2 .
EXAMPLE 2.12 Let us calculate the area of that part of the cylinder x2 +y 2 = a2
which is cut out by the cylinder x2 + z 2 = a2 . In this case we may take
p
y = g(z, x) := a2 − x2 ), (z, x) ∈ D
with
D : {(z, x) : z 2 + x2 ≤ a2 , z ≥ 0, x ≥ 0}.
Then ZZ p
Area(S) = 8 1 + gz2 + gx2 dxdy.
D
Note that
−x q a
gx = p , gz = 0, 1 + gx2 + gy2 = √ .
a2 − x2 ) a2 − x2
Double Integrals 53
Thus,
ZZ p
Area(S) = 8 1 + fz2 + fx2 dxdy
D
√ !
Z a Z a2 −x2
1
= 8a √ dx dx
0 0 a2 − x2
= 8a2 .
EXAMPLE 2.13 Let us calculate the area of the surface of the paraboloid y 2 +z 2 =
4x which lies between the parabolic cylinder y 2 = 2x and the plane x = 2. In this
case we may take p
z = g(x, y) := 4x − y 2 , (x, y) ∈ D
with D ⊆ R2 as the domain bounded by the curves y 2 = 2x and x = 2. Then
ZZ p
Area(S) = 2 1 + gz2 + gx2 dxdy.
D
Note that
2 −y
gx = p , gy = p ,
4x − y 2 4x − y 2
r
q
2 2
4x + 4
1 + gx + gy = .
4x − y 2
Thus,
ZZ q
Area(S) = 2 1 + gx2 + gy2 dxdy
D
ZZ r
4x + 4
= 2 dxdy
4x − y 2
D
√ !
Z 2√ Z 2x
dy
= 4 4x + 4 p dy dx
0 0 4x − y 2
Z 2√
= π 4x + 4dx
0
8 √
= π(4 − 2).
3
(i) Mass:
We would like to find a formula or representation for the mass of a material planar
region provided the density distribution of the material is known.
54 Multiple Integrals
EXAMPLE 2.14 Consider a material disc of radius R. Suppose that the surface
density f (P ) at a point P is proportional to its distance from the center O, i.e.,
f (P ) = k|OP | for some constant k. Taking O as the coordinate origin, the mass of
the disc is ZZ p Z 2π Z R
2
2 2
k x + y ds = k ρ.ρdρδθ = kπR3 .
0 0 3
D
(ax + by + c)2
ZZ
M.I(D; L) == f (x, y)dxdy.
a2 + b2
D
y = σx + c or x sin θ − y cos θ = d = 0,
where σ is the slop of the line and θ is the angle that it makes with the positive side
of the x-axis, then the formula for the moment of inertia will take the form
(y − mx − c)2
ZZ
M.I(D; L) == f (x, y)dxdy
1 + σ2
D
and ZZ
M.I(D; L) == (x sin θ − y cos θ + d)2 f (x, y)dxdy,
D
respectively. In particular, we have the following:
(iii) if L is any line through the origin i.e., equation of the line is x sin θ −y cos θ = 0,
then ZZ
Iθ := M.I(D; L0 ) = (x sin θ − y cos θ)2 f (x, y)dxdy.
D
EXAMPLE 2.17 Let us find the moment of inertia (M.I) of a material disc of unit
constant density occupying the area bounded by the circle
we have
√ !
ZZ Z 2π Z 2a
2
M.I = x dxdy = (a + ρ cos θ) ρdρ dθ = 3πa4 .
2
0 0
D
Recall that the coordinates of the centre of gravity of a finite number of material
points with masses m1 , m2 , . . . , mn located at the points P1 , P2 , . . . , Pn respectively,
with coordinates Pi = (xi , yi ), i = 1, 2, . . . , n, are given by
Pn Pn
i=1 xi m i yi mi
xC := Pn , yC := Pi=1 n .
i=1 mi i=1 mi
Note that ni=1 mi is the total mass of the points P1 , P2 , . . . , Pn . Motivated by this
P
we define the coordinates xC and yC of the centre of gravity of a material plate
occupying a region D ⊂ R2 of point density γ(x, y) is as follows:
Suppose Π := {Di }ni=1 is a partition of D, Pi ∈ Di and ∆si := Area(Di ) for i =
1, . . . , n. Since the coordinates of the centre of gravity of the points P1 , P2 , . . . , Pn
are approximately equal to
Pn Pn
i=1 xi γ(xi , yi )∆si yi γ(xi , yi )∆si
x̃ = Pn , ỹ := Pi=1
n ,
i=1 γ(xi , yi )∆si i=1 γ(xi , yi )∆si
EXAMPLE 2.18 Let us find the coordinates xC , yC of the centre of gravity of the
part of a circular plate (of unit density) of radius a in the upper half plane. Clearly,
xC = 0. By definition ZZ
1
yC = ydxdy,
M
D
πa2
ZZ
M= dxdy =
2
D
and
π a iπ h ρ3 ia a3
ZZ Z Z h
ydxdy = ρ sin θρdρdθ = − cos θ =2 .
0 0 0 3 0 3
D
4a
Thus, yC =
3π
EXAMPLE 2.19 Let us find the coordinates xC , yC of the centre of gravity of the
part of an elliptical plate (of unit density) in the first quadrant, where the ellipse is
given by
x2 y 2
+ 2 = 1.
a2 b
By definition ZZ
1
xC = xdxdy,
M
D
and
b
√ !
a a2 −x2 a
ba2
ZZ Z Z Z
a b p
xdxdy = xdy dx = x a2 − x2 dx = .
0 0 a 0 3
D
Thus,
4a
xC = .
3π
Similarly, we get
4b
yC = .
3π
Triple Integrals 59
We may observe that if f (P ) = 1 for all P in V , then the sum in (1) is nothing
but the volume of V , irrespective of the way the domain is partitioned. Thus,
n
X ZZZ
vol(V ) = ∆vi = dv.
i=1 V
Triple integrals share all that properties that double integrals have. Now, we
consider methods of evaluation of triple integrals using single and double integrals.
60 Multiple Integrals
x2 y 2
where D is the region in R2 with boundary + 2 = 1 and
a2 b
r r
x2 y 2 x2 y 2
ψ1 (x, y) = −c 1 − − 2 and ψ1 (x, y) = +c 1 − − 2.
a2 b a2 b
Thus, r
x2 y 2
ZZ
vol(V ) = 2c 1 − − 2 dxdy.
a2 b
D
Now, taking the coordinate transformations x = aρ cos θ, y = bρ sin θ we have |J| =
abρ so that Z 2π Z 1 p
4
vol(V ) = 2abc 1 − ρ2 ρdρdθ = πabc.
0 0 3
EXAMPLE 2.21 Let us find the mass of a hemisphere of radius R if the density
at each point P is proportional to the distance of P from the base: Thus, density is
given by γ(x, y, z) = kz and hence
Z 2π Z R Z √R2 −ρ2
kπR4
ZZZ
M ass = kzdx dy dz = k ρz dρ dθ = .
0 0 0 4
V
Applications 61
2.3 Applications
As in the case of double integrals, moment of inertia and centre of gravity of
a domain V in the space can be defined analogously using triple integrals:
(i). Moment of inertia of a domain V in R3 w.r.t. a point Q = (x0 , y0 , z0 ) is
defined as
ZZZ
M.I(V ; Q) = [(x − x0 )2 + (y − y0 )2 + (z − z0 )2 ]γ(x, y, z)dx dy dz,
V
respectively.
(i). Coordinates xC , yC , zC of the centre of gravity of V are defined as
ZZZ
1
xC = xγ(x, y, z) dx dy dz,
M
V
ZZZ
1
yC = yγ(x, y, z) dx dy dz,
M
V
ZZZ
1
zC = yγ(x, y, z) dx dy dz.
M
V
RRR
where M := γ(x, y, z) dx dy dz is the mass of the solid.
V
3
Line Integrals
In this chapter we consider integrals of scalar valued and vector valued functions
over curves in the place and space.
γ : [a, b] → R3
for some a, b ∈ R3 with a < b. The point u := γ(a) is called the initial point and
the point u1 := γ(b) is called the terminal or final point of the curve γ.
(ii) Given a curve γ : [a, b] → R3 , the graph of γ, namely,
Γ := {γ(t) : a ≤ t ≤ b}
62
Line Integrals 63
Consider a straight line segment in the plane joining point A to another point B,
~
and certain uniform form F is applied to at A in the direction ~s := AB. Then
we know from physics at school level that the work W of the force is given by the
equation
W = F |~s|.
F~ .~s
W = |F~ | cos θ|~s| = |F~ | |~s| = F~ .~s.
|F~ ||~s|
F~ (Pi−1 ).∆~si , i = 1, 2, . . . , n.
This force can be considered to be approximately equal to the work of the force
F~ (Pi−1 ) in displacing a moving point P from Pi−1 to Pi , and the total work of
the force F~ (P ) in displacing a moving point P from M to N can be thought of as
approximately equal to
Xn
F~ (Pi−1 ).∆~si .
i=1
Writing Pi = (xi , yi , zi ),
3.2.2 Evaluation
Consider a partition Π : a := t0 < t1 < t2 < . . . < tn = b be a partition of [a, b]. Let
for i = 1, 2, . . . , n. Let
Assume further that the curve is smooth, that is, γ(t) is differentiable on [a, b].
Then, by Mean Value Theorem, there exist ξi , ηi , ωi in [ti−1 , ti ] such that
where
f˜i := f (Qi ), g̃i := g(Qi ), h̃i := h(Qi )
for i = 1, 2, . . .. Thus,
n
X
lim F~ (Pi−1 ) · ∆~si ,
µ(Π)→0
i=1
if exists, is equal to
Z b
F̃ (t) · γ0(t)dt,
a
or Z b
[f˜(t)x0 (t) + g̃(t)y 0 (t) + h̃(t)z 0 (t)]dt,
a
where
F̃ (t) := F (γ(t))
and
f˜(t) := f (γ(t)),
g̃(t) := g(γ(t)),
h̃(t) := h(γ(t)).
EXAMPLE 3.1 Let us find the line integral of F~ (x, y, z) := x3~i + 3zy 2~j − x2 y~k
along the straight segment Γ joining the points M = (3, 2, 1) to N = (0, 0, 0).
Clearly, Z Z
F · d~s = − F~ ·
~ d~s,
Γ Γ
e
where Γ
e is the reverse of Γ. Since Γ
e has the parametrization
we have
Z Z 1
F~ · d~s = (x3 x0 + 3zy 2 y 0 − x2 yz 0 )dt
Γ
e 0
Z 1
= [(3t)3 3 + 3t(2t)2 2 − (3t)2 t)dt
0
Z 1
= [81 + 34 − 18)t3 dt
0
87
= .
4
Z
87
Hence, F~ · d~s = − .
Γ 4
EXAMPLE 3.2 Let us find the line integral of the functions 6x2 y and 10xy 2 , that
is F~ (x, y) := 6x2 y~i + 10xy 2~j along the plane curve Γ : y = x3 joining M = (1, 1) to
N = (2, 8). We may take the parametrization as: γ(t) := (t, t3 ), 1 ≤ t ≤ 2. The we
have
Z Z 2 Z 2
2 0 2 0
f dx + gdy = (6x yx + 10xy y )dt = (6t5 + 30t9 )dt = 3132.
Γ 1 1
x2 y 2 z 2
EXAMPLE 3.3 Let us find the area of enclosed by the ellipse 2 + 2 + 2 . We
a b c
may take the parametrization of the ellipse as
√xdx+ydy
R
Exercise 3.1 Show that the line integral C is dependent only on the
x2 +y 2 +1
endpoints of C, but independent of the path of integration. Using this evaluate it
along the curve C given by x2 = 4y from the point A = (−1, 1/4) to the point
B = (4, 4). J
Green’s Theorem 67
if exists, as maxi ∆si approaches 0 is the the line integral of f along Γ, and it is
denoted by Z
f (x) ds.
Γ
holds
Then
!
ZZ Z b Z ϕ2 (x)
∂f ∂f
dx dy = dy dx
∂y a ϕ1 (x) ∂y
D
Z b
= [f (x, ϕ2 (x)) − f (x, ϕ2 (x)]dx
aZ
= − f dx.
Γ
68 Line Integrals
Z
EXAMPLE 3.4 Using Green’s theorem evaluate (y 4 + x3 )dx + 2x6 dy, where C
C
is the boundary of the square [0, 1] × [0, 1] traced in counter clock-wise direction:
Taking f (x, y) = y 4 + x3 and g(x, y) = 2x6 , by Green’s theorem we have
Z Z 1Z 1
4 3 3
(y + x )dx + 2x dy = (12x5 − 4y 3 ) dxdy = 1.
C 0 0
EXAMPLE 3.5 Using Green’s theorem, obtain an express for the area of a regular
domain D in terms of line integral:
By Green’s theorem we have
ZZ ZZ Z
1 ∂x ∂(−y) 1
Area(D) = dxdy = − dxdy = (−y dx + x dy).
2 ∂x ∂y 2 Γ
D D
Exercise 3.2 Prove the identity:
ZZ 2
∂ u ∂2u
Z
∂u
2
+ 2 dx dy = ds, (3.3.2)
∂x ∂y C ∂n
D
∂u
where C is a contour bounding the domain D and is the directional derivative
∂n
∂u
of the outer normal ~n, i.e., = ∇u · ~n. The integral on the right-hand-side of the
∂n
formula in (3.3.2) is defined as in (3.2.1).
[Hint: Write the left-hand side of (3.3.2) in the form of the left-hand side of the
Green’s formula, and note that v(t) := (x0 (t), y 0 (t)) represent the tangent vector
to the curve at the point x(t) and w(t) := (y 0 (t), −x0 (t)) is in the direction of the
normal. Thus, ~n(t) = w(t)/|w(t)|.] J
Green’s Theorem 69
Theorem 3.2 Suppose f and g are real valued functions defined on a domain D
∂f ∂g
having continuous partial derivatives and satisfying
∂y ∂x
∂g ∂f
= ∀ (x, y) ∈ D.
∂x ∂y
Then Z
f dx + g dy = 0
Γ
for every closed curve Γ in D which encloses a finite number of regular domains
contained in D.
Theorem 3.3 Suppose f and g are real valued functions Z defined on a domain D
∂f ∂g
having continuous partial derivatives and . If (f dx + g dy) = 0 for every
∂y ∂x C
∂g ∂f
circle C in D, then = for all (x, y) ∈ D.
∂x ∂y
Z
Proof. Suppose (f dx + g dy) = 0 for all simple closed curve in D. Assume for
Γ
∂g ∂f
a moment that there exists P0 = (x0 , y0 ) ∈ D such that (P0 ) 6= (P0 ). Without
∂x ∂y
∂g ∂f
loss of generality, assume that (P0 ) − (P0 ) = c0 > 0. Then, by the continuity
∂x ∂y
∂g ∂f
of and , there exists a disc D0 with centre (x0 , y0 ) contained in D such that
∂x ∂y
∂g ∂f
− ≥ c0 /2 for all (x, y) ∈ D0 . Let C0 be the boundary of D0 . Then by Green’s
∂x ∂y
formula (3.3.1), we have
Z ZZ
∂g ∂f c0
(f dx + g dy) = − dx dy ≥ Area(D0 ) > 0.
C0 ∂x ∂y 2
D0
This is a contradiction to the assumption. Thus, it is not possible to have any point
∂g ∂f
at which 6= .
∂x ∂y
We observe that if there exists a function u(x, y), (x, y) ∈ D, such that
du = f dx + g dy, (x, y) ∈ D,
70 Line Integrals
then for any curve Γ lying in D with parametrization γ(t), a ≤ t ≤ b, joining points
M to N in D,
Z Z b
d
f dx + g dy = u(γ(t))dt = u(γ(b)) − u(γ(a)) = u(N ) − u(M ).
Γ a dt
Consequently, the line integral is independent of the manner in which the M is
joined to N , as long as the path of integration lies in D. This observation prompts
us to as the question:
Theorem 3.4 consider the case in which D is a rectangle with its sides parallel to
the coordinate axes, and Theorem 3.5 is for a more general domain, namely for any
simply connected domain.
Theorem 3.4 Suppose D is a rectangle with its sides parallel to the coordinate
axes, and f and g are real valued functions defined on D having continuous partial
∂f ∂g
derivatives and , satisfying
∂y ∂x
∂g ∂f
= ∀ (x, y) ∈ D.
∂x ∂y
Then there exists a function u defined on D such that
du = f dx + g dy ∀ (x, y) ∈ D.
Proof. Let P0 := (a, b) be any point in the rectangle D. For (x, y) ∈ D, let
Z x Z y
u(x, y) := f (t, y) dt + g(a, t) dt.
a b
[Note that, since D is a rectangle with its sides parallel to the coordinate axes, the
above integrals are well-defined.] Then we have
∂u
= f (x, y)
∂x
and
Z x Z y
∂u ∂ ∂
= f (t, y)dt + g(a, t) dt
∂y ∂y ∂y b
Z x a
∂
= f (t, y) dt + g(a, y)
a ∂y
Z x
∂
= g(t, y)dx + g(a, y)
a ∂t
= [g(x, y) − g(a, y)] + g(a, y)
= g(x, y).
Green’s Theorem 71
Hence, we have
∂u ∂u
du = dx + dy = f dx + gdy.
∂x ∂y
This completes the proof.
∂u
= f (x, y).
∂x
= g(x, y).
∂u
Thus, = g(x, y). Consequently, we have
∂y
du = f dx + gdy
Corollary 3.6 Suppose D is a simply connected domain, and f and g are real valued
∂f ∂g
functions defined on D having continuous partial derivatives and , satisfying
∂y ∂x
∂g ∂f
= ∀ (x, y) ∈ D.
∂x ∂y
Then for any two curves Γ1 and Γ2 a pair of points in D,
Z Z
(f dx + g dy) = (f dx + g dy).
Γ1 Γ2
In other words, the line integral over any curve joining any two points in D is
independent of the path of integration. In particular, for any closed curve Γ in D,
Z
(f dx + g dy) = 0.
Γ
4
Surface Integral
respectively. Also, we have seen that if S is a level surface such that ∇ϕ exists and
nonzero at P ∈ S, then the vector
∇ϕ
~n(P ) := (P )
|∇ϕ|
represents one to the tow unit normals to S at P . In case S is represented para-
metrically by a function Φ : D → R3 . Then S is a set of all points of the form
Φ(u, v) := (x(u, v), y(u, v), z(u, v)) with (u, v) varying in a domain D, then a unit
normal is given by
Φu × Φv
~n(P ) = ,
|Φu × Φv |
where
|Φu × Φv |2 = EG − F 2
1
A region consists of a connected open set together with some or all of its boundary points.
73
74 Surface Integral
with
E := |Φu |2 , G := |Φv |2 , F := Φu .Φv .
In the special case of S given by an equation z = f (x, y) such that partial derivatives
fx and fy exist and are continuous on S, then we have
∇ϕ Φu × Φv −gx~i − gy~j + ~k
= == q .
|∇ϕ| |Φu × Φv | 1 + gx2 + gy2
Thus, ZZ ZZ
f dS := f (Φ(u, v))|Φu × Φv |dudv.
S D
where F̃3 (x, y) := F3 (x, y, g(x, y)), (x, y) ∈ Dxy . Similarly if S is given by x =
g(y, z), (y, z) ∈ Dyz or if S is given by y = g(z, x), (z, x) ∈ Dzx , where Dxy and Dyz
are projections of S onto the xy-plane and yz-plane respectively, then
ZZ ZZ
F1 cos γdS = F̃1 (y, z)dydz,
S Dyz
ZZ ZZ
F2 cos γdS = F̃2 (z, x)dzdx,
S Dzy
With the above considerations in mind, sometimes we write,
ZZ
(F1 n1 + F2 n2 + F3 n3 )dS
S
as ZZ
F1 dy dz + F2 dz dx + F3 dx dy.
S
4.1.1 Examples
EXAMPLE 4.1 Let S be the part of the plane given by x + y + z = 1 in the first
octant. Then ZZ ZZ q
xydS = xy 1 + gx2 + gy2 dx dy,
S D
where D := {(x, y) : 0 ≤ y ≤ 1 − x, 0 ≤ x ≤ 1} and g(x, y) = 1 − x − y for all
(x, y) ∈ D. Hence,
√
ZZ √ ZZ √ Z 1 Z 1−x 3
xydS = 3 xy dx dy = 3 xydydx = .
0 0 24
S D
76 Surface Integral
EXAMPLE 4.2 Let us find the mass of the surface of a right circular cone of hight
4 units and radius of the base unity, assuming the density at each point is equal to
its distance from the vertex.
The given cone can be represented by
p
S : z = 4 x2 + y 2 , 0 ≤ z ≤ 4.
Hence
ZZ
Mass = f (x, y, z)dS
ZSZ q
= f (x, y, g(x, y)) 1 + gx2 + gy2 dxdy,
D
where D : x2 + y 2 ≤ 1 and
p p
f (x, y, z) := x2 + y 2 + z 2 , g(x, y) := 4 x2 + y 2 .
q √
Thus, 1 + gx2 + gy2 = 17 and
ZZ √ ZZ p
f (x, y, z)dS = 17 x2 + y 2 + 16(x2 + y 2 )dxdy
S D
ZZ p Z 2π Z 1
= 17 2 2
x + y dxdy = 17 ρ3 dρdθ
0 0
D
17π
= .
2
EXAMPLE 4.3 Let S be the boundary of a solid bounded by the cylindrical
2 + y 2 = 3, and plane surfaces x2 + y 2 ≤ 3 & z = 0 and z = 4 − y. Let us
surface xRR
evaluate (y + z)dS. We have
S
ZZ ZZ ZZ ZZ
(y + z)dS = (y + z)dS + (y + z)dS + (y + z)dS,
S S1 S2 S3
where
S1 := {(x, y, z) : x2 + y 2 ≤ 3, z = 0},
S2 := {(x, y, z) : x2 + y 2 = 3, 0 ≤ z ≤ 4 − y},
S3 := {(x, y, z) : x2 + y 2 ≤ 3, z = 4 − y}.
Thus, we have the following:
Integral over Surfaces 77
ZZ ZZ q
(i) (y + z)dS = [y + g(x, y)] 1 + gx2 + gy2 dx dy,
S1 D
so that ZZ ZZ √
(y + z)dS = ( 3 sin θ + z)|Φθ × Φz | dz dθ,
S2 D
where
√
D := {(θ, z) : 0 ≤ θ ≤ 2π, 0 ≤ z ≤ 4 − 3 sin θ}
and
√ √
Φ(θ, z) := ( 3 cos θ, 3 sin θ, z), (θ, z) ∈ D.
√
It is seen that |Φθ × Φz | = 3. Hence,
√ √
ZZ √ Z 2π Z 4− 3 sin θ √ 29 3π
(y + z)dS = 3 ( 3 sin θ + z) dz dθ = .
0 0 π
S2
ZZ ZZ q
(iii) (y + z)dS = [y + g(x, y)] 1 + gx2 + gy2 dx dy,
S3 D
Thus,
ZZ √ √
(y + z)dS = π(12 2 + 29 3/2).
S
78 Surface Integral
Proof. Let ~n = cos α~i + cos β~j + cos γ~k and F~ = F1~i + F2~j + F3~k. Then we have
ZZ ZZ ZZ
~
curlF .~ndS = ~
(∇ × F ).~n dS = (G1 + G2 + G3 ) dS,
S S S
where
∂F3 ∂F2
G1 = − cos α,
∂y ∂z
∂F1 ∂F3
G2 = − cos β,
∂z ∂x
∂F2 ∂F1
G3 = − cos γ.
∂x ∂y
Assume, for the sake of simplicity that S is given
q by the equation z = g(x, y),
(x, y) ∈ D. Then, we have ~n = (−gx , −gy , 1)/ 1 + gx2 + gy2 (which makes acute
angle with ~k) so that
ZZ ZZ
∂F2 ∂F1
G3 dS = − (−gx ) dx dy, (i)
∂x ∂y
S D
2
Notes by M.T. Nair, Dept. of Mathematics, IITM
Stokes’ Theorem 79
ZZ ZZ
∂F2 ∂F1
G3 dS = − (−gy ) dx dy, (ii)
∂x ∂y
S D
ZZ ZZ
∂F2 ∂F1
G3 dS = − dx dy. (iii)
∂x ∂y
S D
In this case, Γ may be given by (x(t), y(t), z(t)), a ≤ t ≤ b with its projection C as
the boundary of D given by (x(t), y(t)), a ≤ t ≤ b. Thus,
Z Z Z b
F~ .d~r = (F1 dx + F2 dy + F3 dz) = (F1 x0 + F2 y 0 + F3 z 0 )dt.
Γ Γ a
Since z 0 = gx x0 + gy y 0 we have
Z Z b
F~ .d~r = [(F1 + F3 gx )x0 + (F2 + F3 gy )y 0 ]dt
Γ Za
= (F1 + F3 gx )dx + (F2 + F3 gy )dy.
C
where
P := F1 + F3 gx , Q = F2 + F3 gy .
Since F1 , F2 , F3 are functions of x, y, z and x = g(x, y), it can be seen, using the
expressions in (i), (ii), (iii), that
ZZ ZZ
∂Q ∂P
− dx dy = (G1 + G2 + G3 ) dS.
∂x ∂y
D S
4.2.1 Examples
where Γ is the boundary of S oriented positively. In this case the geometric curve
Γ is the intersection of surface z = 5 − x2 − y 2 with the plane z = 1. Thus, Γ is the
80 Surface Integral
where
x(t) := 2 cos t, y(t) := 2 sin t, z(t) := 1, 0 ≤ t ≤ 2π.
EXAMPLE 4.5 Let us evaluate Γ F~ .d~r using Stokes’ theorem, where F~ := z 2~i +
R
y 2~j + x~k and Γ is the triangle with vertices (1, 0, 0), (0, 1, 0), (0, 0, 1). In this case,
we may take the triangular region with Γ as the boundary as the surface, and one
of the normals as ~n. Thus, S is given by the equation
S : z = (g(x, y) := 1 − x − y.
√
Let us take ~n to be the upward normal, that is, ~n = (~i + ~j + ~k)/ 3. Note that
curlF~ = (2z − 1)~j and hence
Z ZZ ZZ
F~ .d~r = curlF~ .~ndS = [(2z − 1)~j].[(~i + ~j + ~k)]dxdy,
Γ
S D
Proof. We have
ZZZ ZZZ
∂F1 ∂F2 ∂F3
divF~ dV = + + dV,
∂x ∂y ∂z
V V
ZZ ZZ
F~ · ~n dS = (F1 cos α + F2 cos β + F3 cos γ) dS.
S S
We shall prove the above only for the case of a regular region. Then V can be
represented by
V : g1 (x, y) ≤ z ≤ g2 (x, y), (x, y) ∈ D,
where D is a regular region in the xy-plane. Then, it follows that
ZZZ Z Z Z g2 (x,y) !
∂F3 ∂F3
dV = dz dxdy
∂z g1 (x,y) ∂z
V
ZDZ
= [F3 (x, y, g2 (x, y)) − F3 (x, y, g1 (x, y))]dxdy
ZDZ ZZ
= F3 (x, y, z) cos γdS − F3 (x, y, z) cos γdS,
S2 S1
3
The domain here can be a closed and bounded simply connected region, i.e., region whose
compliment is connected such that it is the closure of its interior.
82 Surface Integral
Thus, (iii) is proved. Similarly, (1) and (ii) can be proved by projecting V onto
xz-plane and yz-plane respectively.
4.3.1 Examples
where D : x2 + y 2 ≤ a2 . Since
Z 2π Z a 2π a
πa4
ZZ Z Z
2 2 2 3
x dxdy = (ρ cos θ) ρdρ dθ = cos θ ρ dρ dθ = ,
0 0 0 0 4
D
5πa4 b
ZZ
we have F~ .~ndS = .
4
S
Gauss’s Divergence Theorem 83
Next, we observe that the boundary of the domain V consist of four pieces of
surfaces, S1 , , S2 , S3 , S4 , where S1 , , S2 , S3 are parts on the coordinate planes xy-
plane, yz-plane, zx-plane, respectively, and S4 is the spherical part. Since the normal
~n on the surfaces S1 , , S2 , S3 are −~k, −~i, −~j, respectively, it can be seen (check!)
1
that that F~ ·~n = 0 on these surfaces. For the surface S4 , we have ~n = (x~i+y~i+z~i).
2
Hence, ZZ ZZ ZZ
~ ~ 1
F · ~ndσ = F · ~ndσ = (x3 − 2xy 2 + 3xz 2 )dσ.
2
S S4 S4
p
Since the surface S4 is given by z = 4 − x2 − y 2 , we have
2
dσ = p dxdy
4 − x2 − y 2
so that
ZZ ZZ
dxdy
F~ · ~ndσ = [x3 − 2xy 2 + 3x(4 − x2 − y 2 )] p ,
4 − x2 − y 2
S D
where D is the portion of the closed disc x2 + y 2 ≤ 4 in the first quadrant. It can
be easily seen (for example, using polar coordinates) that
x3 − 2xy 2
ZZ
p dxdy = 0.
4 − x2 − y 2
D
Hence,
3x(4 − x2 − y 2 )
ZZ ZZ ZZ p
F~ · ~ndσ = p dxdy = 3x 4 − x2 − y 2 dxdy. (∗ ∗ ∗)
4 − x2 − y 2
S D D
Now, (∗∗) and (∗ ∗ ∗) imply (∗). In fact, the common value of the integrals in (∗∗)
and (∗ ∗ ∗) is 3π.
84 Surface Integral
Step:4 For understanding the surface consists of 4 pieces, three plane pieces S1 , , S2 , S3
and a part S4 of the sphere, and writing F~ · ~n = 0 on S1 , S2 , S3 :
(Marks:1)
Step:5 For writing
ZZ ZZ
~
F · ~ndσ = F~ · ~ndσ
S S
Z4 Z
1
= (x3 − 2xy 2 + 3xz 2 )dσ
2
S
ZZ 4
dxdy
= [x3 − 2xy 2 + 3x(4 − x2 − y 2 )] p ,
4 − x2 − y 2
D
(Marks: 1)
Step:6 For showing
3x(4 − x2 − y 2 )
ZZ ZZ ZZ p
~
F · ~ndσ = p dxdy = 3x 4 − x2 − y 2 dxdy. ((Marks : 1)
4 − x2 − y 2
S D D
Note: If step 4 is not taken care of and write step 5 onwards without mention-
ioning anything on step 5, then zero mark is awarded at step 4, 5, 6.
Gauss’s Divergence Theorem 85
F~ .~ndS
RR
Exercise 4.3 Using Gauss divergence theorem evaluate the surface integral
S
2
where F~ = xy~i − y2 ~j + z~k and the surface S consists of three surfaces given by
z = 4 − (x2 + y 2 ), 1 ≤ z ≤ 4 on top, x2 + y 2 ≤ 1, 0 ≤ z ≤ 1 on the side and
x2 + y 2 ≤ 1, z = 0 on the bottom with ~i being the unit outward normal. J
[Hint: Use divergence theorem taking F~ = (vux − uvx , vuy − uvy , vuz − uvz ).] J
5
Appendix
In this chapter we supply certain material which are refereed within the tex but
details of which are not given.
86
Index
δ-neighbourhood, 3 Surface, 20
limit, 4
boundary, 8 limit point, 3
boundary point, 8 Line Integrals, 63
bounded set, 2
mass, 53
centre of gravity, 57, 61 Maxima, 24
closed set, 8 maximum and minimum, 9
Composition of Functions, 16 maximum at a point, 24
connected set, 9 mesh, 35, 59
continuity at a point, 6 Minima, 24
convergence, 2 Moebius strip, 50
curl, 78 moment of inertia, 54, 61
curve, 62
neighbourhood, 3
Differentiability, 14
differentiable, 15 open set, 7
Directional derivatives, 21 orientable surface, 50
domain, 9 Ostrogradsky’s formula, 81
domain of the function, 2
partial derivative, 10
ellipse of inertia, 56 Partial derivatives, 10
Euler’s Theorem, 18 Partial Increments, 13
partition, 35
Gauss’s Divergence Theorem, 81
gradient, 14 regular domain, 37
Green’s formula, 67 regular in x-direction, 37
Green’s Theorem, 67 regular in y-direction, 37
Riemann sum, 35
Implicit function Theorem, 19
Implicitly defined functions, 18 scalar filed, 20
initial point, 9 simply connected domain, 71
integrable, 35, 36, 59 Stokes’ formula, 78
integral, 36, 59 Stokes’ Theorem, 78
interior point, 7 Surface Integral, 73
Intermediate value theorem, 9 surfaces, 73
87
88 Index
total differential, 14
Total Increment, 13
Triple Integrals, 59