Multi Var Lockdown 14
Multi Var Lockdown 14
Contents
1. What is multivariate calculus? 2
2. Differentiability 2
2.1. Review of single-variable differentiation 2
2.2. Extension to real-valued functions in two variables 3
2.3. Extension to real-valued functions in several variables 4
2.4. Extension to functions in several variables and values in
Rm 4
3. Directional derivatives, partial derivatives, gradient,
Jacobian and differentiability 5
3.1. Directional derivative 5
3.2. Partial derivatives and gradient 6
3.3. Jacobian matrix 7
3.4. Criterion for differentiability 8
3.5. Proof of Theorem 2 20
4. Minima, maxima and saddle points 22
5. Implicit function theorem 22
6. Curves 22
6.1. Definition of curves 23
6.2. Examples 24
6.3. Length of a curve 29
6.4. Curvature 31
7. Line integrals 38
7.1. Line integrals of vector fields 38
7.2. Conservative vector fields 46
7.3. A criterion for conservative vector fields 51
7.4. Curl and divergence 52
7.5. Line integrals of scalar fields 56
8. Surface integrals 58
8.1. Parametrized surfaces 59
8.2. Definition of surface integrals 69
8.3. The surface area 77
8.4. Stokes’ theorem 78
9. Volume integrals and Gauss’ theorem 85
References 94
Date: September 7, 2021.
1
2 STEPHAN BAIER, RKMVERI
2. Differentiability
2.1. Review of single-variable differentiation. Let I be an open
interval in R and x0 ∈ I. Let f : I → R be a continuous function. We
say that f is differentiable at x0 if the limit
f (x) − f (x0 )
lim
x→x0 x − x0
exists, in which case we set f 0 (x0 ) to be this limit. This can be inter-
preted as saying that f has a good approximation by a linear function
near x0 : Assume f is differentiable at x0 with derivative f 0 (x0 ). Con-
sider the linear function
the tangent line to the function at x0 . Then for x near x0 , the difference
between f (x) and T (x) is small compared to the difference x − x0 .
NOTES ON MULTIVARIATE CALCULUS 3
Indeed,
f (x) − T (x) f (x) − (f (x0 ) + f 0 (x0 )(x − x0 ))
lim = lim
x→x0 x − x0 x→x0 x − x0
f (x) − f (x0 )
= lim − f 0 (x0 ) = 0.
x→x0 x − x0
Using the o-notation, this means nothing else than
f (x0 + h) = T (x0 + h) + o(|h|) as h → 0.
f (x) = ... .
fm (x)
By what equation do we need to replace (2.4)? Now the values of T (x)
will be vectors in Rm as well. So T (x) will be a linear function from
Rn to Rm and therefore takes the form
f1 (u) + c1,1 (x1 − u1 ) + ... + c1,n (xn − un )
T (x) = .. .
.
fm (u) + cm,1 (x1 − u1 ) + ... + cm,n (xn − un )
NOTES ON MULTIVARIATE CALCULUS 5
In short,
T (x) = f (u) + C(x − u)t ,
where C is an m × n-matrix with real entries ci,j . The condition (2.5)
(respectively, (2.6)) remains the same with the only difference that now
0 is replaced by the zero vector 0 in Rm . We are now ready to give a
general definition for differentiability.
Definition 1. Assume U is an open subset of Rn and
f : U → Rm
is a function. We say that f is differentiable at u if there exists an
m × n matrix C with real entries depending on u such that
lim ||x − u||−1 f (x) − f (u) − C(x − u)t = 0,
x→u
where 0 is the zero vector in Rm .
f (x) = ... .
fm (x)
8 STEPHAN BAIER, RKMVERI
If f1 , ..., fm possess all partial derivatives, then the Jacobian matrix for
f is the matrix ∂f1 ∂f1
∂x1
· · · ∂xn
Jf := ... .
∂fm ∂fm
∂x1
··· ∂xn
Exercises
Exercise 1: Let
U := {(x, y) ∈ R2 : x2 + y 2 < 1}.
Let f : U → R be given by
p
f (x, y) = 1 − (x2 + y 2 ).
(The graph of f is obviously a semisphere.)
Given any point (x0 , y0 ) ∈ U ,
(i) calculate the partial derivatives of f at (x0 , y0 ) and write down the
gradient vector,
(ii) calculate the
√ directional
√ derivative at (x0 , y0 ) in the direction of the
vector v = (1/ 2, 1/ 2),
NOTES ON MULTIVARIATE CALCULUS 9
Solutions
and
∂f 2(hv1 )3 (hv2 ) 2v13 v2
lim (hv1 , hv2 ) = − = − 2.
h→0 ∂y ((hv1 )2 + (hv2 )2 )2 (v12 + v22 )
Both limits depend obviously on v1 and v2 .
Exercise 4: If x 6= 0, then the derivative exists and equals
1 1
f 0 (x) = 2x sin − cos .
x x
If x = 0, we get just by the definition of the derivative,
0 1 2 1 1
f (0) = lim · h sin − 0 = lim h sin = 0.
h→0 h h h→0 h
But
1 1
lim 2x sin − cos
x→0 x x
does not exist. So f is differentiable everywhere, but the derivative is
not continuous.
The following pages show, in this order, the graphs of the functions
in Exercises 1-4, the partial derivatives with respect to x in Exercises 2
and 3, and the derivative of the function in Exercise 4. They are pro-
duced by free online calculators, as shown on top of the pages.
4/27/2020 CalcPlot3D
ex1function
Mon Apr 27 2020 17:39:56 GMT+0530 (India Standard Time)
z
2
-2
-2 -1
-1
1
1 2 y
x 2
-1
-2
z = (1-x^2-y^2)^(1/2) x
-2
-2
≤x≤ 2
≤y≤ 2
⚙
Number of Gridlines: 30
https://www.monroecc.edu/faculty/paulseeburger/calcnsf/CalcPlot3D/ 1/1
4/27/2020 CalcPlot3D
ex2function
Mon Apr 27 2020 17:39:56 GMT+0530 (India Standard Time)
z
2
-2
-2 -1
-1
1
1 2 y
x 2
-1
-2
z = xy/(x^2+y^2) x
-2
-2
≤x≤ 2
≤y≤ 2
⚙
Number of Gridlines: 30
https://www.monroecc.edu/faculty/paulseeburger/calcnsf/CalcPlot3D/ 1/1
4/27/2020 CalcPlot3D
ex3function
Mon Apr 27 2020 17:39:56 GMT+0530 (India Standard Time)
z
2
-2
-2 -1
-1
1
1 2 y
x 2
-1
-2
z = x^3/(x^2+y^2) x
-2
-2
≤x≤ 2
≤y≤ 2
⚙
Number of Gridlines: 30
https://www.monroecc.edu/faculty/paulseeburger/calcnsf/CalcPlot3D/ 1/1
4/27/2020 Desmos | Graphing Calculator
f x = x · x · sin x
1
https://www.desmos.com/calculator 1/2
4/27/2020 CalcPlot3D
ex2partialx
Mon Apr 27 2020 17:39:56 GMT+0530 (India Standard Time)
z
2
-2
-2 -1
-1
1
1 2 y
x 2
-1
-2
z = y(y^2-x^2)/(x^2+y^2)^2 x
-2
-2
≤x≤ 2
≤y≤ 2
⚙
Number of Gridlines: 30
https://www.monroecc.edu/faculty/paulseeburger/calcnsf/CalcPlot3D/ 1/1
4/27/2020 CalcPlot3D
ex3partialx
Mon Apr 27 2020 17:39:56 GMT+0530 (India Standard Time)
z
2
-2
-2 -1
-1
1
1 2 y
x 2
-1
-2
z = (x^4+3x^2y^2)/(x^2+y^2)^2 x
-2
-2
≤x≤ 2
≤y≤ 2
⚙
Number of Gridlines: 30
https://www.monroecc.edu/faculty/paulseeburger/calcnsf/CalcPlot3D/ 1/1
4/27/2020 Desmos | Graphing Calculator
1
f x = 2x · sin x −cos x
1
https://www.desmos.com/calculator 1/2
20 STEPHAN BAIER, RKMVERI
to establish that
(3.5)
∂f
lim ||(h, k)||−1 · f (x0 + h, y0 + k) − f (x0 , y0 + k) − (x0 , y0 ) · h = 0,
(h,k)→(0,0) ∂x
which does not follow immediately from the definition of the partial
derivative with respect to x because of the appearance of the term k in
f (x0 + h, y0 + k) − f (x0 , y0 + k). What we would rather like to have is
∂f
(x0 , y0 + k)
∂x
in place of
∂f
(x0 , y0 ).
∂x
We force this situation by writing the limit in (3.5) in the form
−1 ∂f
lim ||(h, k)|| · f (x0 + h, y0 + k) − f (x0 , y0 + k) − (x0 , y0 + k) · h
(h,k)→(0,0) ∂x
∂f ∂f
+ (x0 , y0 + k) − (x0 , y0 ) · h .
∂x ∂x
Now we make use of the continuity of ∂f /∂x at (x0 , y0 ), which implies
that
−1 ∂f ∂f
lim ||(h, k)|| · (x0 , y0 + k) − (x0 , y0 ) · h
(h,k)→(0,0) ∂x ∂x
∂f ∂f
lim (x0 , y0 + k) − (x0 , y0 ) = 0
k→0 ∂x ∂x
since |h| 6 ||(h, k)||. The remaining task is to establish that
(3.6)
∂f
lim ||(h, k)||−1 · f (x0 + h, y0 + k) − f (x0 , y0 + k) − (x0 , y0 + k) · h = 0.
(h,k)→(0,0) ∂x
Here we note that
∂f
f (x0 + h, y0 + k) − f (x0 , y0 + k) = (x0 + ∆(k, h), y0 + k) · h
∂x
for a suitable ∆(k, h) ∈ [0, h] by the mean value theorem for the func-
tion Fk (x) = f (x, y0 + k). Hence,
∂f
lim ||(h, k)||−1 · f (x0 + h, y0 + k) − f (x0 , y0 + k) − (x0 , y0 + k) · h
(h,k)→(0,0) ∂x
∂f ∂f
= lim ||(h, k)||−1 |h| · (x0 + ∆(k, h), y0 + k) − (x0 , y0 + k)
(h,k)→(0,0) ∂x ∂x
∂f ∂f
6 lim (x0 + ∆(k, h), y0 + k) − (x0 , y0 + k) = 0
(h,k)→(0,0) ∂x ∂x
22 STEPHAN BAIER, RKMVERI
Exercises
6. Curves
After having worked out differentiability, we now turn to integration.
We mainly focus on integration on submanifolds of R3 . We develop in-
tegration theory in 3 steps: integration on curves, surfaces and volumes.
Then we will prove the theorems of Gauss and Stokes which connect
these integrations. The first step is integration over curves. For this,
NOTES ON MULTIVARIATE CALCULUS 23
careful. If P is closed, then the initial point P (a) = A and the terminal
point P (b) = B are equal, and so P is not injective. So we want a
condition which is essentially injectivity of P except at a and b. The
precise way to put this is to assume that P in injective on both the
half-open intervals (a, b] and [a, b).
It remains to clarify which conditions we set on the initial direction
vector v. It gives the direction of the tangent to the curve at A and
thus has to agree, up to a scalar, with P 0 (a). We want to assume that
v is those unit vector which satisfies P 0 (a) = αv with α > 0. This
way, v always points in the direction in which the curve is traversed,
starting from the initial point A (in particular, if the curve is closed).
We may express v in terms of P 0 (a) as
P 0 (a)
v=
||P 0 (a)||
and α as
α = ||P 0 (a)||.
Now we are ready to give a complete definition of curves which is
most suitable in the context of integration theory. Our definition is
identical with [1, Definition 5.1], except we call B the “terminal point”
instead of “final point”.
Definition 6. A directed (or “oriented”) curve in Rn is a quadruple
(Γ, A, B, v), where Γ is a set of points in Rn ; A and B are points in
Γ, called respectively the initial and terminal points of Γ; v is a
unit vector in Rn called the initial direction, for which there exists a
mapping P : [a, b] → Rn , called parametrization of Γ, such that the
following conditions hold:
(a) There exists an open interval I, containing [a, b], and a mapping
from I to Rn which has derivatives of all orders and which coindices
with P on [a, b]
(b) P ([a, b]) = Γ, P (a) = A, P (b) = B and P 0 (a) = αv for some α > 0
(c) P 0 (t) 6= 0 for all t ∈ [a, b]
(d) P is injective on [a, b) and (a, b].
6.2. Examples.
Example 2: The circle with radius 1 and center (0, 0) in the plane,
traversed anticlockwise. This is an example of a closed curve. We want
to pick (1, 0) as initial and terminal point. Formally, this is the directed
curve (Γ, A, B, v) with
Γ = {(x, y) ∈ R2 : x2 + y 2 = 1}, A = (1, 0) = B, v = (0, 1).
A possible parametrization is
P : [0, 2π] → R2 , P (t) = (cos t, sin t) .
Again, it is straight-forward to check that all conditions (a)-(d) in Def-
inition 6 are satisfied. (Exercise 10: Do this.)
Not admissible is the parametrization
P : [0, 4π] → R2 , P (t) = (cos t, sin t)
although P ([0, 4π]) = Γ, P (0) = A = P (4π). The problem here is that
the circle is traversed twice, so we do not have injectivity on (0, 4π].
26 STEPHAN BAIER, RKMVERI
where the supremum on the right-hand side is taken over all partitions
P given by a = t0 < t1 < ... < tN −1 < tN = b of the interval [a, b].
if a = t00 < t01 < ... < t0N 0 = b is any refinement of the partition
a = t0 < t1 < ... < tN = b, the supremum on the right-hand side of
(6.2) is nothing else than the Riemann integral of the function ||P 0 (t)||.
Hence, we have the following.
Theorem 3. Let P : [a, b] → Rn be any parametrization of the directed
curve (Γ, A, B, v). Then
Zb
l(Γ) = ||P 0 (t)||dt.
a
The intersection of these two sets is the singleton {c}, where c is the
centre of the circle and satisfies
1 1
(6.3) c − (x0 + x1 ) ·(x1 −x0 ) = 0 = c − (x1 + x2 ) ·(x2 −x1 ).
2 2
32 STEPHAN BAIER, RKMVERI
Let us now write P (t) = (P1 (t), P2 (t)) and calculate what we get in
terms of the coordinate functions P1 (t) and P2 (t). We have
0 −1 0 −1
P1 P20
00
P2 −P20
P 1
= = 0 00 ·
P 00 P100 P200 P1 P2 − P20 P100 −P100 P10
and
P0 · P P10 P1 + P20 P2
= .
P 00 · P + P 0 · P 0 P100 P1 + P200 P2 + (P10 )2 + (P20 )2
Taking product gives
(P10 )2 + (P20 )2 −P20 ||P 0 ||2 −P20
P1
c= + 0 00 = P + 0 00 .
P2 P1 P2 − P20 P100 P10 P1 P2 − P20 P100 P10
Hence, the radius r of the limit circle satisfies
2
||P 0 ||2
2
r = ||c − P || = 2
0 00 0 00
||P 0 ||2
P1 P 2 − P 2 P1
and hence
||P 0 ||3
r = 0 00 .
|P1 P2 − P20 P100 |
There is a geometric interpretation for the denominator. A vector
perpendicular to the tangent vector T (t) = P 0 (t) = (P10 (t), P20 (t)) is the
so-called normal vector
N (t) = (−P20 (t), P10 (t)).
We observe that
T 0 · N = P10 P200 − P20 P100 .
Hence, r can be written in simpler form as
||T ||3 ||N ||3
r= = .
|T 0 · N | |T 0 · N |
The reciprocal
1 |T 0 · N |
=
r ||N ||3
of the radius r this is called absolute curvature, and
T0 · N
κ= .
||N ||3
is called curvature.
In our derivation of the above formula, we have assumed that if ∆
is small enough, then the points P (t − ∆), P (t) and P (t + ∆) are not
collinear. This is the case if T 0 (t) 6= 0, which means that the tangent
vector changes direction in a neighborhood of t. If T 0 (t) = 0, the above
formula for κ(t) is still meaningful: It just says that the curvature is 0
at the point P (t).
Let us summarize what we got.
NOTES ON MULTIVARIATE CALCULUS 35
7. Line integrals
7.1. Line integrals of vector fields. We shall consider two types of
integrals over curves: integrals of vector fields and scalar fields. First
we define vector fields below and explain their integration over curves.
Definition 8. Let U be a subset of Rn . A function F : U → Rn is
called vector field on U . We say that F is a continuous vector field if
F is continuous on U . If U is open, we call F a smooth vector field if
it possesses partial derivatives of all orders.
The intuition behind the integral of a vector field along a curve (we
call it line integral) is similar to that behind the Riemann integral. As-
sume F is a continuous vector field along a curve Γ parametrized by P :
[a, b] → Rn . To approximate
this integral, we first replace the curve by
a polygonal chain P (t0 ), P (t1 ), P (t1 ), P (t2 ), ..., P (tn−1 ), P (tn ) , where
P (ti ), P (ti+1 ) is the line segment connecting P (ti ) and P (ti+1 ), and
a 6 t0 < t1 < ... < tn = b is a partition of [a, b]. Now our Riemann
sums approximating the line integral in question are of the form
n−1
X
F (P (t0i )) · (P (ti+1 ) − P (ti )) ,
i=0
where “·” is the standard inner product and t0i is any point in the interval
[ti , ti+1 ]. (We thus have a tagged partition.) In analogy to the Riemann
integral over an interval, we may now define the line integral
Z
F
Γ
and still get the same limit. But this limit of Riemann sums is, by the
definition of the Riemann integral, nothing else than
Zb
F (P (t)) · P 0 (t)dt.
a
If, for example, our particle moves along a circular path with centre
0, then the tangent vector P 0 (t) is always perpendicular to the force
vector F (P (t)). Hence, the inner product F (P (t)) · P 0 (t) vanishes for
every t, and hence there is no work done. Thus, there is no change of
energy if the particle moves on a circular path around the charge at the
centre. (An analogous situation is that of a satellite orbiting earth on a
circular path.) The other extreme is when the particle moves on a line
segment in direction of the center. Then the tangent vector is in the
direction of this line segment, and the inner product F (P (t)) · P 0 (t) is
of magnitude as large as possible. The work done is exactly the change
of potential energy along this line segment. Below we make this precise
by some calculations for these cases.
NOTES ON MULTIVARIATE CALCULUS 41
(ii) Let Γ2 be the line segment with initial point x = (x, y, z) and
terminal point x/2 = (x/2, y/2, z/2). We may parametrize it by
P : [0, 1/2] → R3 , P (t) = (1 − t)x.
Then
1 q0 q
F (P (t)) = · (1 − t)x
4πε0 (1 − t)3 ||x||3
1 q0 q
= · x
4πε0 (1 − t)2 ||x||3
and
P 0 (t) = −x.
Taking the inner product, we get
1 q0 q
F (P (t)) · P 0 (t) = − · (1 − t)x
4πε0 (1 − t)3 ||x||3
1 q0 q
(7.3) = · x·x
4πε0 (1 − t)2 ||x||3
q0 q
=− .
4πε0 (1 − t)2 ||x||
Hence,
Z Z1/2
q0 q dt q0 q
F =− · 2
=− .
4πε0 ||x|| (1 − t) 4πε0 ||x||
Γ2 0
42 STEPHAN BAIER, RKMVERI
(iii) Now let us take the same initial and end points as in Example 6(i)
but connect them by a different curve. For simplicity, we take the line
segment Γ3 connecting them. It can be parametrized in the form
P : [0, 1] → R, P (t) = (1 − t, t, 0).
Then
1 q0 q
F (P (t)) = · (1 − t, t, 0)
4πε0 ((1 − t)2 + t2 )3/2
and
P 0 (t) = (−1, 1, 0).
Taking the inner product, we get
1 q0 q
F (P (t)) · P 0 (t) = · (1 − t, t, 0) · (−1, 1, 0)
4πε0 ((1 − t)2 + t2 )3/2
q0 q 2t − 1
= ·
4πε0 ((1 − t)2 + t2 )3/2
Hence, we get
Z1
2t − 1
Z
q0 q
F = · dt.
4πε0 ((1 − t)2 + t2 )3/2
Γ3 0
and so Z
F = 0.
Γ3
Definition 11. Let Γ1 , ..., Γk be directed curves (in the sense of Defi-
nition 6) such that for i = 1, ..., k − 1 the terminal point of Γi equals
the initial point of Γi+1 . Let Γ be the union of Γ1 , ..., Γk . Then Γ is
called a piecewise smooth directed curve with initial point equal to the
initial point of Γ1 and terminal point equal to the terminal point of Γk .
If, furthermore, F is a continuous vector field along Γ, then we define
its integral over Γ as
Z Xk Z
F := F.
Γ i=1 Γ
i
then F is conservative.
Proof. (i) Using Definition 11 and Theorem 4, we have
Z X k Z Xk
(7.5) F = F = (f (Ai+1 ) − f (Ai ))
Γ i=1 Γ i=1
i
where Ai is the initial and Ai+1 the terminal point of Γi for i = 1, ..., k.
But in the sum on the right-hand side of (7.5), the contributions of
f (A2 ), ..., f (Ak ) cancel out so that
Z
F = f (Ak+1 ) − f (A1 ).
Γ
so that Z
f (x + hei ) − f (x) = F.
L
To calculate the integral over L, we parametrize L by
P : [0, h] → Rn , P (t) := x + tei .
Then P 0 (t) = ei and so
Z Zh Zh
F = F (x + tei ) · ei dt = Fi (x + tei )dt,
L 0 0
where Fi is the i-th component of F . Let
gi (t) := Fi (x + tei ).
Using continuity of gi , we have
Zh
1
lim gi (t)dt = gi (0) = Fi (x).
h→0 h
0
Combining everything above, we obtain (7.6), which completes the
proof.
The curl is a vector field again. When we replace the cross product
∇ × F by a dot product ∇ · F , we get a scalar field which is of im-
portance as well. This scalar field is called divergence and denoted as
div(F ). So we have
(7.10)
∂ ∂ ∂ ∂F1 ∂F2 ∂F3
div(F ) = ∇ · F = , , · (F1 , F2 , F3 ) = + + .
∂x ∂y ∂z ∂x ∂y ∂z
54 STEPHAN BAIER, RKMVERI
Example 12: For the vector field in example 11, we see that div(F ) =
0 (at any point). We hence have no sinks nor sources and therefore no
divergence but only rotation.
Example 13: Let us look at the Coulomb field again. Recalling (7.8),
we obtain
1 q0 q
· −2x2 + y 2 + z 2 +
div(F ) = · 5/2
4πε0 (x2 + y 2 + z 2 )
1 q0 q 2 2 2
· · x − 2y + z +
4πε0 (x2 + y 2 + z 2 )5/2
1 q0 q
· x2 + y 2 − 2z 2
· 5/2
4πε0 (x2 + y 2 + z 2 )
=0
at any point (x, y, z) 6= (0, 0, 0). So if we exclude the origin, the
Coulomb field diverges nowhere, meaning that it has no sources or
sinks outside the origin.
The following graph, made with the free online plotter GeoGebra,
shows the vector field in Example 11.
56 STEPHAN BAIER, RKMVERI
R
Comment 10: If f ≡ 1, we would expect f to measure exactly the
Γ
length of the curve Γ. Indeed, recalling Theorem 3, this is the case.
where v(P (s)) is its speed at the point P (s). (To avoid infinities, we
also assume that the train doesn’t stop between A and B.) What if
we consider any other parametrization of the curve Γ? We shall show
below that the above special parametrization satisfies
||P 0 (s)|| ≡ 1.
Then we may write the above integral as
Zb
1
t= ||P 0 (s)||ds,
v(P (s))
a
so that L(u) is the distance of the point Q(u) to the initial point A
along Γ. This is a function with range [0, l], where l = l(Γ) is the length
of Γ. It is strictly increasing since ||Q0 (t)|| > 0 for all t. Now consider
Q ◦ L−1 , where L−1 is the inverse of the function L. Clearly, Q ◦ L−1 (s)
is precisely the point on Γ which is in distance s to the initial point A
along Γ and hence,
P (s) = Q ◦ L−1 (s).
By the differentiation rules, it follows that
Hence,
||Q0 (L−1 (s))||
||P 0 (s)|| = = 1,
||Q0 (L−1 (s))||
as claimed.
The special parametrization P of Γ above is an example of a unit
speed parametrization. In general, a unit speed parametrization P (t)
of a curve Γ is one which satisfies ||P 0 (t)|| ≡ 1. There is a unique
unit speed parametrization on the interval [0, l], where l is the length
of Γ, and this can be constructed as above. The name “unit speed
parametrization” makes sense remembering that ||P 0 (t)|| measures the
speed at which P (t) traverses Γ. We will make use of such parametriza-
tions later on.
8. Surface integrals
In measure theory, we covered integrals over subsets U of R2 . Basic
knowledge about this will be assumed in the following. In practice,
these integrals are calculated by slicing into intervals and double inte-
gration using Fubini’s theorem. Our aim in this section is to define,
more generally, integrals over surfaces in R3 . To this end, we first need
to parametrize them in a way similar to parametrizations of curves.
NOTES ON MULTIVARIATE CALCULUS 59
Example 17: Let U be the open unit disk, i.e., the set
U := {x ∈ R2 : ||x|| < 1} = {(x, y) ∈ R2 : x2 + y 2 < 1}.
60 STEPHAN BAIER, RKMVERI
i.e. part (ii) of Definition 16 is violated, we cannot rule out the possi-
bility of a singularity at φ(x0 , y0 ) (i.e., the surface may not be smooth
there).
S = S1 ∪ · · · ∪ Sn .
Example 21: We calculate the surface area of the semi sphere. To this
end, we return to Example 18 and take the parametrization therein,
which is
φ : (0, 1) × (−π, π) → R3 ,
defined as
√
(8.4) φ(r, θ) = (r cos θ, r sin θ, 1 − r2 ).
78 STEPHAN BAIER, RKMVERI
As said already, we will not give a full proof of Stokes theorem but
indicate how it can be proved using Green’s theorem, which is, in fact,
a special case of Stoke’s theorem. Assume S is contained in the x-y-
plane, i.e. z = 0 whenever (x, y, z) ∈ S and F is a smooth vector field
on S, consisting of vectors lying in the x-y-plane as well. Then the
curl, defined in (7.9), collapses into
∂Q ∂P
curl(F ) = − k
∂x ∂y
if
F(x, y, z) = P (x, y)i + Q(x, y)j = (P (x, y), Q(x, y), 0).
The surface S can be parametrized by (essentially) the identity map:
Since S is necessarily an open subset of R2 (Exercise 22: Check
this!), we may simply take
U := {(x, y) ∈ R2 : (x, y, 0) ∈ S}
and the parametrization as
φ(x, y) := (x, y, 0),
which makes (S, k) a simple oriented surface. Now by Definition 20 of
surface integrals over simple oriented surfaces, the right-hand side of
(8.5) equals
ZZ ZZ
∂Q ∂P
curl(F) = − dxdy.
∂x ∂y
S U
Assume S has a boundary curve Γ = δS with parametrization π :
[a, b] → R3 (I need to take a letter different from P here because I used
P already above) given by
π(t) = (x(t), y(t), 0).
Then the left-hand side of (8.5) equals
Z Zb
F= F(x(t), y(t), 0) · (x0 (t), y 0 (t), z 0 (t))dt
δS a
Zb
= (P (x(t), y(t))x0 (t) + Q(x(t), y(t))y 0 (t)) dt
a
by Definition 9 of line integrals. We formally write
x0 (t)dt = dx, y 0 (t)dt = dy, P (x(t), y(t)) = P, Q(x(t), y(t)) = Q
and the above integral therefore as
Zb Z
0 0
(P (x(t), y(t))x (t) + Q(x(t), y(t))y (t)) dt = P dx + Qdy.
a Γ
82 STEPHAN BAIER, RKMVERI
https://ocw.mit.edu/courses/mathematics/18-02sc-multivariable-calculus-
fall-2010/4.-triple-integrals-and-surface-integrals-in-3-space/part-c-line-
integrals-and-stokes-theorem/session-92-proof-of-stokes-theorem/
MIT18 02SC MNotes v13.3.pdf
F(x, y, z) = (−y, x, 0)
curl(F ) = 2k
NOTES ON MULTIVARIATE CALCULUS 83
F = (Fx , Fy , Fz ).
ZZ ZZ Z∆ Z∆
F= (F · n)||φx × φy ||dydx = (Fx , Fy , Fz ) · (0, 0, −1)dydx
A U 0 0
Z∆ Z∆
=− Fz (y, x, 0)dydx.
0 0
ZZ Z∆ Z∆
F=− Fz (x, y, 0)dxdy.
A 0 0
The integrals over the 5 other faces can be calculated similarly and are
Z∆ Z∆ Z∆ Z∆ Z∆ Z∆
Fz (x, y, ∆)dxdy, − Fy (x, 0, z)dxdz, Fy (x, ∆, z)dxdz,
0 0 0 0 0 0
Z∆ Z∆ Z∆ Z∆
− Fx (0, y, z)dydz, Fx (∆, y, z)dydz.
0 0 0 0
ZZ Z∆ Z∆
F= (Fz (x, y, ∆) − Fz (x, y, 0)) dxdy+
S 0 0
Z∆ Z∆
(9.2) (Fy (x, ∆, z) − Fy (x, 0, z)) dxdz+
0 0
Z∆ Z∆
(Fx (∆, y, z) − Fx (0, y, z)) dydz.
0 0
88 STEPHAN BAIER, RKMVERI
This completes the proof of Gauss’ theorem for this special case.
Now we indicate how to establish the general version of Gauss’ theo-
rem using this result. First, we approximate a general open bounded
subset V of R3 by the almost disjoint union W of small cubes, as in
our model above. Then we apply Gauss’ theorem for all of these small
cubes and sum up the surface integrals on the left-hand sides and the
volume integrals on the right-hand sides. The two surface integrals
over faces shared by neighboring cubes always cancel out because the
respective unit normals n point in opposite directions. So what remains
when summing the surface integrals is the sum over the faces at the
boundary of W . On the other hand, summing up the volume integrals
of the divergence over the cubes gives the volume integral over W . Now
we apply the usual limiting process and make the cubes infinitesimally
small, obtaining the claimed equation 9.1. There are other ways to
prove Gauss’ theorem but this one is most straight-forward.
is not applicable since the vector field has a singularity at the origin.
Still, we are able to make sense of it, as we will see below. Consider
the case of the unit sphere
S := {(x, y, z) : x2 + y 2 + z 2 = 1}.
The outward orientation n is then given by the normal
n(x, y, z) = (x, y, z)
at any point (x, y, z) ∈ S. To calculate the surface integral, we may
divide S into the upper semi sphere
Su := {(x, y, z) ∈ S : z > 0}
and the lower semi sphere
Sv := {(x, y, z) ∈ S : z < 0}
and add their contributions. There is a piece left, namely the unit circle
in the x-y-plane,
C = {(x, y, z) ∈ S : z = 0}.
This will, however, not contribute to the integral since C is a zero set in
R3 , and we can therefore ignore it. We parametrize Su as in Example
17 by
φ : {(x, y) ∈ R2 : x2 + y 2 < 1} → R3
defined as p
φ(x, y) = x, y, 1 − x2 − y 2 .
In the same Example 17, we found that
!
x y
φx × φy = p ,p ,1 .
1 − x2 − y 2 1 − x2 − y 2
We calculate that
1
||φx × φy || = p .
1 − x2 − y 2
We recall from Example 8 that the Coulomb field has components
1 q0 q
F1 (x, y, z) = · · x,
4πε0 (x2 + y 2 + z 2 )3/2
1 q0 q
F2 (x, y, z) = · · y,
4πε0 (x2 + y 2 + z 2 )3/2
1 q0 q
F3 (x, y, z) = · · z.
4πε0 (x2 + y 2 + z 2 )3/2
Hence, at points (x, y, z) ∈ Su , we have
q0 q q0 q q0 q
F1 (x, y, z) = · x, F2 (x, y, z) = · y, F3 (x, y, z) = · z,
4πε0 4πε0 4πε0
90 STEPHAN BAIER, RKMVERI
and hence ZZ
q0 q
F= .
2ε0
Su
A similar calculation for the lower semi sphere gives the same result
ZZ
q0 q
F= .
2ε0
Su
23, with the only difference that the factor q0 q/(4πε0 ) is replaced by 1.
We thus get ZZ ZZ
F = 2π = F.
Su Su
Adding up gives ZZ
F = 4π.
S
We have thus verified Gauss’ theorem for this example.
94 STEPHAN BAIER, RKMVERI
References
[1] S. Dineen, Multivariate calculus and geometry. 3rd ed., Springer Undergraduate
Mathematics Series. London: Springer (2014).