MTH201 Note
MTH201 Note
i
3.1 Differentials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
References 61
ii
Chapter 1
1. f ( a) exists
3. lim f ( x ) = f ( a)
x→a
x2 −4x +3
, x 6= 3
x 2 −9
f (x) =
1
3 , x=3
Solution
1
1. f (3) = 3 and is defined.
1
x2 −4x +3 ( x −1)( x −3) x −1 1
2. lim f ( x ) = lim 2 = lim = lim =
x →3 x →3 x −9 x →3 ( x −3)( x +3) x →3 x +3 3
3. lim f ( x ) = f (3).
x →3
∴ f ( x ) is continuous at x = 3.
1. f is continuous on [a, b]
2. f ( a) 6= f (b)
Then for any number y1 lying between f ( a) and f (b) there exists at least one x1 ε( a, b) 3
f ( x1 ) = y1 . (i.e f takes on every intermediate value between f ( a) and f (b).)
Theorem 1.1.3 (Rolle’s Theorem). Let the function f be continuous on a closed interval
[a, b], differentiable in the open interval ( a, b) and f ( a) = f (b). Then there exists at least
one point c in ( a, b) 3 f 0 (c) = 0.
Proof: Since f is continuous on [a, b], it must have a maximum and minimum point
on [a, b]. If f is not constant on [a, b], then the extremum is an interior point c where
f 0 (c) = 0.
N:B If the extremum values were end points and since f ( a) = f (b), it means that f
is constant which is a contradiction.
Example 1.1.2. Determine if each of the following satisfies the conditions of Rolle’s
theorem, where it does satisfy, find all the possible extremum value. If not, give the
condition that is not satisfied.
2
x , 0<x<1
1. f ( x ) =
0 , x=1
2. f ( x ) = x2 + 2x, −2 ≤ x ≤ 0
3. f ( x ) = x2 , 1≤x≤2
Solution
1. f is differentiable on (0,1)
f (1) = 0, f (0) = 0
∴ f (0) = f (1).
For continuity,
f (1) 6= lim f ( x )
x →1
2. f ( x ) = x2 + 2x, −2 ≤ x ≤ 0
f is differentiable on (-2,0)
f (−2) = 0, f (0) = 0
∴ f (−2) = f (0).
f is not continuous on [-2, 0].
∃ a c ∈ [−2, 0] such that f 0 (c) = 0
f 0 ( x ) = 2x + 2
f 0 (c) = 2c + 2 = 0
c = −1.
extreme value ⇒ f (−1) = (−1)2 + 2(−1) = −1.
Hence f ( x ) has a maximum value -1 at x = −1.
3
Let f be continuous on [a,b] and differentiable in (a,b). Then there exists at least a
point c ∈ ( a, b) such that
f (b) − f ( a)
= f 0 (c)
b−a
[ f (b) − f ( a)]
F(x) = f (x) − ( x − a ).
b−a
Example 1.1.3. Determine if each of the following functions satisfies the condition
of the mean value theorem. Where it does, find all the possible points, if not state
the condition that is not satisfied.
1. f ( x ) = 2 − 3x2 , 0≤x≤1
2. f ( x ) = x3 − 3x2 − x + 3, −2 ≤ x ≤ 3
2
3. f ( x ) = 4x 3 , −1 ≤ x ≤ 27
Solution
4
1. f is continuous on [0,1], since f is a polynomial function.
f is differentiable on (0,1), there exists,
f (1) − f (0)] −1 − 2
f 0 (c) = = = −3
1−0 1
y = mx + c
b−c b−c
b = ma + c ⇒m= ⇒ y−c = x
a a
Example 1.2.1. Determine the equation of the tangent and normal to the curve at
the given point
1. x2 y3 − x3 y2 = 12, at (−1, 2)
√
2. 2x + y − 2 sin xy = π
2, at ( π4 , 1)
3. x sin xy − y2 = x2 − 1, at (1, 1)
5
Solution
1. For tangent,
d 2 3 d
( x y − x 3 y2 ) = (12) = 0
dx dx
d 2 3 d
( x y ) − ( x 3 y2 ) = 0
dx dx
3 2 2 dy 2 2 3 dy
2xy + 3x y − 3x y + 2x y =0
dx dx
dy dy
2xy3 + 3x2 y2 − 3x2 y2 − 2x3 y =0
dx dx
dy dy
3x2 y2 − 2x3 y = 3x2 y2 − 2xy3
dx dx
dy
(3x2 y2 − 2x3 y) = 3x2 y2 − 2xy3
dx
dy 3x2 y2 − 2xy3
= 2 2
dx 3x y − 2x3 y
4( y − 2) = 7( x + 1)
4y − 8 = 7x + 7
7x − 4y + 15 = 0.
−4
For normal, gradient is 7
y −2 −4
x +1 = 7
7( y − 2) = −4( x + 1)
7y − 14 = −4x − 4
7y + 4x − 10 = 0 is the equation of the normal.
6
2. For tangent,
d √ d π
(2x + y − 2 sin xy) = ( )=0
dx dx 2
d √ d
(2x + y) − 2 (sin xy) = 0
dx dx
dy √
dy
2+ − 2 cos( xy) · ( x + y) = 0
dx dx
dy √
dy
2+ − 2 x cos( xy) + y cos( xy) = 0
dx dx
dy √ dy √
2+ − x 2 cos( xy) − y 2 cos( xy) = 0
dx dx
dy √ dy √
− 2x cos( xy) = 2y cos( xy) − 2
dx dx
dy √ √
(1 − 2x cos( xy)) = 2y cos( xy) − 2
dx
√
dy 2y cos( xy) − 2
= √
dx (1 − 2x cos( xy))
√
dy 2 cos( π4 ) − 2
| π = √
dx ( 4 ,1) (1 − 2 · π4 cos( π4 )
√ 1
2( √ ) − 2
= √ 2 1 π
1− 2· √ · 4
2
1−2
=
1 − π4
−4
=
4−π
Equation of tangent is
y −1 −4
x − π4
= 4− π
(4 − π ) = −4( x − π4 )
4y − 4 − πy + π = −4x + π
4y + 4x − 4 + πy = 0
y(4 + π ) + 4x − 4 = 0.
4− π
For the normal, gradient = 4
7
y −1 4− π
x − π4
= 4
4(y − 1) = (4 − π )( x − π4 )
π2
4y − 4 = 4x − π − πx + 4
π2
4y − 4 − 4x + π + πx − 4 =0
π2
4y + x (π − 4) + π − 4 − 4 = 0.
n
a o + a1 + a2 + · · · + a n = ∑ ai .
i =0
Convergence of a Series
lim Sn = S,
n→∞
1
1. 1·2 + 21·3 + 31·4 + · · ·
1
2. 2·3·4 + 3·42·5 + 4·35·6 + · · ·
2
3. 1·3·5 + 3·54·7 + 5·67·9 + · · ·
8
Solution
First find Sn i.e sum of the first n−terms then find the lim Sn .
n→∞
1
1. 1·2 + 21·3 + 31·4 + · · · + 1
n ( n +1)
∞ ∞
1 1 1
= ∑ = ∑ −
n =1
n ( n + 1) n =1
n n+1
1 1 1 1 1 1 1
Sn = 1− + − + − +···+ −
2 2 3 3 4 n n+1
1
Sn = 1 −
n+1
1 1
S = lim 1 − = 1− = 1−0
n→∞ n+1 ∞
S = 1.
1.
∞
∑ n = 1 + 2 + 3 + 4 + · · · diverges to + ∞
n =1
2.
∞
∑ (−n) = −1 − 2 − 3 − · · · diverges to − ∞
n =1
3.
∞
∑ (−1)n+1 = 1 − 1 + 1 − 1 + 1 − 1 + · · · oscillates finitely.
n =1
4.
∞
∑ (−2)n = 1 − 2 + 4 − 8 + 16 − · · · oscillates infinitely.
n =0
9
Example 1.3.2. Find the sum to infinity S of the series
1 2 3
+ + +···
2·3·4 3·4·5 4·5·6
1
Hence determine the smallest value of n for which |Sn − S| < 100 .
Solution
n
The general term is given by (n+1)(n+2)(n+3)
. Resolving this into partial fractions,
one obtains
n 1 2 3
=− + − .
(n + 1)(n + 2)(n + 3) 2( n + 1) n + 2 2( n + 3)
∞
1 2 n 1 2 3
∴ + +···+ = ∑− + − .
2.3.4 3.4.5 (n + 1)(n + 2)(n + 3) n=1 2(n + 1) n + 2 2(n + 3)
1 2 3 n−2 n−1 n
+ + +···+ + +
2.3.4 3.4.5 4.5.6 (n − 1)n(n + 1) n(n + 1)(n + 2) (n + 1)(n + 2)(n + 3)
1 2 3 1 2 3 1 2 3 1 2 3
= − + − + − + − + − + − +···+ − + −
4 3 8 6 4 10 8 5 12 2( n − 1) n 2( n + 1)
1 2 3 1 2 3
+ − + − − + − .
2n n + 2 2(n + 2) 2( n + 1) n + 2 2( n + 3)
1 2 n 1 2 1 3 2 3
∴ Sn = + +···+ =− + − − + −
2.3.4 3.4.5 (n + 1)(n + 2)(n + 3) 4 3 6 2( n + 2) n + 2 2( n + 3)
1 2n + 3
= − .
4 2(n + 2)(n + 3)
1 2n + 3 1
S = lim Sn = lim − = .
n→∞ n→∞ 4 2(n + 2)(n + 3) 4
1 1 2n + 3 1 1
∴ | Sn − S | < ⇒ − − <
100 4 2(n + 2)(n + 3) 4 100
10
2n + 3 1
⇒ < ⇒ 100(2n + 3) < 2(n + 2)(n + 3)
2(n + 2)(n + 3) 100
n2 − 95n − 144 = 0
√
95 ± 9025 + 576 95 ± 97.98
n= =
2 2
, that is n = −1.49 or n = 96.49. This gives n > 96.49, hence the smallest value of n
for which |Sn − S| < 10−2 is 97, since n takes positive integral values only.
1. Ratio test
3. Comparison test
4. Root test
a n +1
Ratio test: If the lim an = l then
n→∞
if l < 1 the series converges
if l > 1 the series diverges
if l = 1, the test fails.
11
1.3.1 Power Series
∞
∑ a n ( x − c ) n = a o + a1 ( x − c ) + a2 ( x − c )2 + · · · a n ( x − c ) n
n =0
with center x = 5.
In each of these cases, the convergence is absolute, except possibly at the end points
x = c − R and x = c + R in case ( I I I ). By this theorem the set of values of x for
which the power series ∑∞ n
n=0 an ( x − c ) converges is an interval centered at x = c
and we call this interval the the interval of convergence of the power series. The
number R is called the radius of convergence of the power series.
Example 1.3.3. Determine the radius and interval of convergence of the series
12
(2x +5)n
1. ∑∞
n =0 ( n2 +1)3n
( x + 52 )n
2. ∑∞ 2 n
n =0 ( 3 ) n2 +1
Solution
n2 + 1
1
= lim |2x + 5| 2
3 n→∞ n + 2n + 2
1 + n12
" #
1
= lim |2x + 5|
3 n→∞ 1 + n2 + n22
" #
1
1 1+ ∞
= |2x + 5| 2
3 1+ ∞ + ∞2
1
= [|2x + 5| · 1]
3
|2x + 5|
= .
3
The above series will converge if
|2x +5|
3 <1 ⇒ |2x + 5| < 3 ⇒ | x + 52 | < 23 .
The radius of convergence is 32 .
−3 < 2x + 5 < 3
−8 < 2x < −2
−4 < x < −1 is the interval of convergence.
13
1.3.2 Taylor’s Series
Let f ( x ) be any function and c be a constant, then if f (c) exists and f ( x ) has deriva-
tives of all orders at x = c,
0 ( x − c)2 00
f ( x ) = f (c) + ( x − c) f (c) + f (c) + · · ·
2!
h2 00
f (c + h) = f (c) + h f 0 (c) + f (c) + · · ·
2!
when c = 0
x2 00 x3 000
f ( x ) = f (0) + x f 0 (0) + f (0) + f (0) + · · ·
2! 3!
Example 1.3.4. Find the Taylor’s series expansion of the function f ( x ) = sin x about
the point x = 0.
Solution
f ( x ) = sin x, f (0) = 0
f 0 ( x ) = cos x, f 0 (0) = 1
f 00 ( x ) = − sin x, f 00 (0) = 0
f 000 ( x ) = − cos x, f 000 (0) = −1
f (iv) ( x ) = sin x, f f (iv) (0) = 0
f (v) ( x ) = cos x, f f ( v ) (0) = 1
14
∴ The Taylor’s series becomes
Example 1.3.5. Use the Taylor series expansion above to estimate the value of sin 31◦ .
Solution
sin 31◦ = sin(30◦ + 1◦ ) = sin( π6 + 0.01745)
f (c + h) = sin(c + h) = sin( π6 + 0.01745)
π
where h = 0.01745 and c = 6
π π (0.01745)2 π
sin(30◦ + 1◦ ) = sin + 0.01745 cos + (− sin ) + · · ·
6 6 2! 6
(0.01745)2
= 0.5 + 0.01745 · 0.8660 + (−0.5)
2!
= 0.51504
If
∞
f (x) = ∑ cn ( x − a)n
n =0
≡ c o + c1 ( x − a ) + c2 ( x − a )2 + · · ·
Let x = a then f ( a) = co
f 0 ( x ) = c1 + 2c2 ( x − a) + 3c3 ( x − a)2 + · · ·
f 0 ( a ) = c1
f 00 ( x ) = 2c2 + 6c3 ( x − a) + · · ·
15
f 00 ( a) = 2c2 = 2!c2
f 000 ( a) = 6c3 = 3!c3
Exercises
Obtain the Maclaurin’s series expansion of the following
( a)e x (b) cos x (c) ln(1 + x ).
16
Chapter 2
Solution
( a) f is defined on R2 , hence the domain of f is R2 .
(b) f is defined on R2 − {( x, y)/x + y ≥ 9}
(c) D ( f ) = R2 − {( x, y) : |y| ≥ | x |}
(d) D ( f ) = R2 − {( x, y) : xy < 0}
17
Example 2.0.2. : Obtain the level curves for the following functions:
x y
1. f ( x, y) = 3 1 − 3 − 4 , 0 ≤ x ≤ 2, 0 ≤ y ≤ 4 − 2x
Solution
x y
Let f ( x, y) = 3 1 − 3 − 4 =c
x y c
1− 3 − 4 = 3
y
− 3x − 4 = c
3 −1
x y
3 + 4 = 1 − 3c , 0≤c≤3
The equation above represents segments of the straight lines which lie in the
1st quadrant of the circle.
For c = 0,
x y y x
3 + 4 =1 ⇒ 4 = 1− 3
∴ y = 4(1 − 3x )
For c = 1,
x y 2 4(2− x )
3 + 4 = 3 ⇒y= 3
For c = 2,
x y 1 4(1− x )
3 + 4 = 3 ⇒y= 3
For c = 3,
x y −4x
3 + 4 =0 ⇒y= 3
p
2. f ( x, y) = 9 − x 2 − y2
Solution
Level curves are defined by f ( x, y) = c
p
f ( x, y) = c = 9 − x2 − y2 where c is a constant.
c2 = 9 − x 2 − y2
x 2 + y2 = 9 − c2
√
It is a circle centred at the origin with radius 9 − c2 . In this case, the level
curves are concentric circles centred at (0,0).
18
3. f ( x, y) = x2 − y2
Solution
Level curves are defined by f ( x, y) = c = x2 − y2 where c is a constant. These
are rectangular hyperbolas
when c = 0 ⇒ x 2 − y2 = 0 ⇒ x 2 = y2
∴ x = ±y
The lines x = y and x = −y are asymptotes.
variables
Just as in the case of single variable functions, we say that f ( x, y) approaches the
limit L as the point ( x, y) approaches the point ( a, b), and we write
lim f ( x, y) = L
( x,y)→( a,b)
lim f ( x, y) = L or lim lim f ( x, y) =L
x → ay→b x→a y→b
1. lim (2x − y2 )
( x,y)→(2,3)
19
2xy
2. lim x 2 + y2
( x,y)→(0,0)
x
3. limπ y sin y
( x,y)→( 3 ,2)
Solution
1. lim (2x − y2 ) = lim lim (2x − y2 ) = lim 2x − 9 = 2(2) − 9 = −5
( x,y)→(2,3) x →2 y →3 x →2
2xy 2xy
2. lim x 2 + y2 = lim lim x2 +y2
( x,y)→(0,0) x →0 y →0
Lets consider the limit along the line y = kx
2x (kx ) 2kx2 2k 2k
∴ lim = lim = lim = .
( x,kx )→(0,0) x2 + (kx )2 ( x,kx )→(0,0) x2 (1 + k2 ) ( x,kx )→(0,0) 1 + k2 1 + k2
Since the limit depends on k, there are infinitely many of them for each value
of k, hence the limit is not unique. Therefore it does not exist.
limπ y sin y = limπ lim y sin yx
x
= limπ 2 sin 2x = 2 sin
π
3. 6 =1
( x,y)→( 3 ,2) x→ 3 y →2 x→ 3
2x2 y
Investigate the limiting behaviour of the function f ( x, y) = x 4 + y2
as ( x, y) → (0, 0)
Consider the limit along the curve y = kx2
Since the limit depends on k and k has many values , hence the limit is not unique.
Therefore it does not exist.
20
1. f ( a, b) is defined.
2. lim f ( x, y) exists.
( x,y)→( a,b)
3. lim f ( x, y) = f ( a, b).
( x,y)→( a,b)
Given y = f ( x ), then
dy f ( x + δx ) − f ( x )
= f 0 ( x ) = lim
dx δx →0 δx
For a function of two variables x and y, we define the first derivative with respect to
x as
f 1 ( x, y) = f x ( x, y)
f ( x + h, y) − f ( x, y) ∂ f ( x, y)
= lim =
h →0 h ∂x
Similarly,
∂ f ( x, y) f ( x, y + k ) − f ( x, y)
f 2 ( x, y) = f y ( x, y) = = lim
∂y k →0 k
2. Find u x and uy if u( x, y) = x3 y2 + x4 y + y4
Solution
21
u( x, y) = x3 y2 + x4 y + y4
u x = 3x3 y2 + 4x3 y
uy = 2x3 y + x4 + 4y3
xz
3. Find all the first partial derivatives of f ( x, y, z) = y+z at (1, 1, 1).
Solution
z 1
f x ( x, y, z) = y+z ∴ f x | x=1,y=1,z=1 = 2
− xz
f y ( x, y, z) = ( y + z )2
∴ f y | x=1,y=1,z=1 = − 14
xy 1
f z ( x, y, z) = ( y + z )2
∴ f z | x=1,y=1,z=1 = 4
∂2 z
= f 11 ( x, y) = f xx ( x, y)
∂x2
∂2 z
= f 22 ( x, y) = f yy ( x, y)
∂y2
∂2 z
= f 12 ( x, y) = f xy ( x, y)
∂y∂x
∂2 z
= f 21 ( x, y) = f yx ( x, y)
∂x∂y
If w = f ( x, y, z), then
∂5 w
∂ ∂ ∂ ∂ ∂w
2
= = f 32212 ( x, y, z) = f zyyxy ( x, y, z)
∂y∂x∂y ∂z ∂y ∂x ∂y ∂y ∂z
22
Solution
f x ( x, y) = 2x (1 + y2 )
f y ( x, y) = 2x2 y
f xx ( x, y) = 2(1 + y2 )
f yy ( x, y) = 2x2
f xy ( x, y) = 4xy
f yx ( x, y) = 4xy ∴ f xy = f yx .
N:B f xy = f yx , except for discontinuous functions.
Exercise
Find all the second partial derivatives of the following functions;
a) f ( x, y) = x3 y4 b) f ( x, y) = xey − ye x
c) f ( x, y, z) = x3 y3 z3 .
Consider the function u( x, y) = ekx cos(ky). We show that for any real number k the
function u( x, y) satisfies the partial differential equation
u xx + uyy = 0
u x = kekx cos(ky)
u xx = k2 ekx cos(ky)
uy = −kekx sin(ky)
uyy = −k2 ekx cos(ky)
∴ u xx + uyy = k2 ekx cos(ky) − k2 ekx cos(ky) = 0
At any point in the xy−plane the result always holds. The equation u xx + uyy = 0 is
called Laplace equation.
23
A function of two variables which has continuous second partial derivatives in the
region of the xy−plane is said to be harmonic if it satisfies Laplace equation.
Harmonic functions play very important role in science and engineering as they are
used to model various physical quantities such as steady-state temperature distri-
butions, fluid flows and electric and magnetic potential fields.
Exercises
2. Show that if f and g are twice differentiable functions of one variable, then
∂2 w
w = f ( x − ct) + g( x + ct) satisfies the one-dimensional wave equation ∂t2
=
2
c2 ∂∂xw2 .
Solution
∂w
∂t = −c f 0 ( x − ct) + c ġ( x + ct)
∂2 w
∂t2
= c2 f 00 ( x − ct) + c2 g̈( x + ct)
∂w
∂x = f 0 ( x − ct) + ġ( x + ct)
∂2 w
∂x2
= f 00 ( x − ct) + g̈( x + ct)
∂2 w 2
∂t2
= c2 f 00 ( x − ct) + c2 g̈( x + ct) = c2 ( f 00 ( x − ct) + g̈( x + ct)) = c2 ∂∂xw2 for one
dimension
∂2 w ∂2 w ∂2 w
N:B ∂t2
= c2 ∂x2
+ ∂y2
is the wave equation in two dimensions.
dz ∂z ∂x ∂z ∂y
= · + ·
dt ∂x ∂t ∂y ∂t
24
Now, for u = f ( x, y, z), where x = φ(t), y = ψ(t), z = χ(t)
du ∂u ∂x ∂u ∂y ∂u ∂z
= · + · + ·
dt ∂x ∂t ∂y ∂t ∂z ∂t
Solution
du ∂u ∂x ∂u ∂y ∂u ∂z
= · + · + ·
dt ∂x ∂t ∂y ∂t ∂z ∂t
∂x
∂t = 2 cos 2t, ∂y
∂t = 2t, ∂z
∂t = −3e−t
∂u
∂x = 4x + z, ∂u
∂y = −z, ∂u
∂z = −y + x
du
= (4x + z)2 cos t + (−z)(2t − 1) + (−y + x )(−3e−t )
dt
At t = 0
du
= (4x + z)2 cos 0 + (−z)(2.0 − 1) + (−y + x )(−3e−t )
dt
= 2(4x + z) + z + 3y − 3x
= 8x + 2z + z + 3y − 3x
= 8x + 2z + z + 3y − 3x
= 5x + 3z + 3y
= 0+3+9
= 12
25
Given z = ( x, y) where x = φ(u, v) and y = ψ(u, v) then we have
∂z ∂z ∂x ∂z ∂y
= · + ·
∂u ∂x ∂u ∂y ∂u
and
∂z ∂z ∂x ∂z ∂y
= · + · .
∂v ∂x ∂v ∂y ∂v
In matrix form,
∂z ∂x ∂y ∂z
∂u ∂u ∂u ∂x
=
∂z ∂x ∂x ∂z
∂v ∂v ∂v ∂y
The 2 × 2-matrix is called the ”Jacobian matrix”, and its determinant is called the
”Jacobian”.
In matrix form is
∂f ∂x ∂y ∂z ∂f
∂s ∂s ∂s ∂s ∂x
∂f
∂z ∂ f
∂y
= ∂x
∂t ∂t ∂t ∂t ∂y
∂f ∂x ∂y ∂z ∂f
∂u ∂u ∂u ∂u ∂z
∂x ∂y
∂u ∂u ∂( x, y)
The Jacobian = .
∂x ∂x ∂(u, v)
∂v ∂v
26
2x +y
Example 2.3.2. Given that f ( x, y) = y−2x , where x = 2u − 3v and y = u + 2v
∂f ∂f ∂2 f
Find (a) ∂u (b) ∂v (c) ∂u2 .
Solution
∂y ∂y
∂x
(a) ∂u = 2, ∂x
∂v = −3, ∂u = 1, ∂v = 2.
∂f ∂ f ∂x ∂ f ∂y
= · + ·
∂u ∂x ∂u ∂y ∂u
∂f ∂f
= ·2+ ·1
∂x ∂y
∂f (y − 2x )2 − (2x + y)(−2)
=
∂x (y − 2x )2
2y − 4x + 4x + 2y
=
(y − 2x )2
∂f 4y
=
∂x (y − 2x )2
∂f (y − 2x )1 − (2x + y)1
=
∂y (y − 2x )2
y − 2x − 2x − y
=
(y − 2x )2
∂f −4x
=
∂y (y − 2x )2
∂f 4y × 2 (−4x )
= 2
+
∂u (y − 2x ) (y − 2x )2
8y − 4x 4(2y − x )
= 2
=
(y − 2x ) (y − 2x )2
∂f 4(2y − x )
=
∂u (y − 2x )2
27
(b)
∂f ∂ f ∂x ∂ f ∂y
= · + ·
∂v ∂x ∂v ∂y ∂v
4y(−3) −4x · 2
= 2
+
(y − 2x ) (y − 2x )2
−12y − 8x
=
(y − 2x )2
∂f −4(3y + 2x )
=
∂v (y − 2x )2
(c)
∂2 f
∂ ∂f
=
∂u2 ∂u ∂u
∂ ∂ f ∂x ∂ ∂ f ∂y
= +
∂x ∂u ∂u ∂y ∂u ∂u
∂ 4(2y − x ) ∂ 4(2y − x )
= 2
·2+ ( )·1
∂x (y − 2x ) ∂y (y − 2x )2
(y − 2x )2 (−4) − 4(2y − x )(−4(y − 2x )) 8(y − 2x )2 − 4(2y − x ) · 2(y − 2x )
=2 +
(y − 2x )4 (y − 2x )4
−8(y − 2x )2 − 32(2y − x )(y − 2x ) 8(y − 2x )2 − 8(2y − x )(y − 2x )
= +
(y − 2x )4 (y − 2x )4
−8(y − 2x ) + 32(2y − x ) 8(y − 2x ) − 8(2y − x )
= +
(y − 2x )3 (y − 2x )3
−8y + 16x + 64y − 32x + 8y − 16x − 16y + 8x
=
(y − 2x )3
56y − 16x − 8y − 8x
=
(y − 2x )3
48y − 24x
=
(y − 2x )3
24(2y − x )
=
(y − 2x )3
Example 2.3.3. Given that x = f (u, v) and y = g(u, v), where u = φ(r, s) and
v = ψ(r, s), show that
∂( x, y) ∂( x, y) ∂(u, v)
= · .
∂(r, s) ∂(u, v) ∂(r, s)
28
Here,
∂x ∂x ∂u ∂x ∂v
= · + ·
∂r ∂u ∂r ∂v ∂r
∂x ∂x ∂u ∂x ∂v
= · + ·
∂s ∂u ∂s ∂v ∂s
∂y ∂y ∂u ∂y ∂v
= · + ·
∂r ∂u ∂r ∂v ∂r
∂y ∂y ∂u ∂y ∂v
= · + ·
∂s ∂u ∂s ∂v ∂s
∂( x, y)
∂x
∂r
∂x
∂s
∂x
∂u · ∂u
∂r + ∂x
∂v · ∂v
∂r
∂x
∂u · ∂u
∂s + ∂x
∂v · ∂v
∂s
= =
∂(r, s) ∂y ∂y ∂y
· ∂u
+ ∂y
· ∂v ∂y
· ∂u
+ ∂y
· ∂v
∂r ∂s ∂u ∂r ∂v ∂r ∂u ∂s ∂v ∂s
∂x ∂x ∂u ∂x ∂x ∂u ∂x ∂x ∂u ∂u
∂u ∂v ∂r ∂u ∂v ∂s ∂u ∂v ∂r ∂s
= + =
∂y ∂y ∂v ∂y ∂y ∂v ∂y ∂y ∂v ∂v
∂u ∂v ∂r ∂u ∂v ∂s ∂u ∂v ∂r ∂s
=
∂x ∂x ∂u ∂u
∂u ∂v ∂r ∂s ∂( x, y) ∂(u, v)
= ·
∂y ∂y ∂v ∂v ∂(u, v) ∂(r, s)
∂u ∂v ∂r ∂s
EXERCISE
Given that f ( x, y) = tan−1 x
y where x = 2t + s, y = 3t − s, find
∂f ∂f
(a) ∂t (b) ∂s
Solution
(a)
∂f ∂ f ∂x ∂ f ∂y
= · + ·
∂t ∂x ∂t ∂y ∂t
∂y ∂y
∂x
∂t = 2, ∂x
∂s = 1, ∂t = 3, ∂s = −1
1
∂f y y
= 2 = x 2 + y2
∂x 1 + x2
y
29
x
∂f
−
y2 −x
= 2 = x 2 + y2
∂y 1 + x2
y
∂f y x
= 2 2
·2− 2 ·3
∂t x +y x + y2
2y 3x
= 2 −
x + y2 x 2 + y2
2y − 3x
= 2 .
x + y2
(b)
∂f ∂ f ∂x ∂ f ∂y
= · + ·
∂s ∂x ∂s ∂y ∂s
y x
= 2 2
·1+ 2
x +y x + y2
x+y
= 2
x + y2
Show that under the transformation x = r cos θ and y = r sin θ, the Laplace equation
∂2 u ∂2 u
+ 2 =0
∂x2 ∂y
becomes
∂2 u 1 ∂u 1 ∂2 u
+ + =0
∂r2 r ∂θ r2 ∂θ 2
Solution
∂u ∂u ∂r ∂u ∂θ
= · + ·
∂x ∂r ∂x ∂θ ∂x
∂u ∂u ∂r ∂u ∂θ
= · + ·
∂y ∂r ∂y ∂θ ∂y
Differentiate x = r cos θ and y = r sin θ with respect to x noting that r and θ are
functions of x, we have
30
d( x ) d
dx = dx (r cos θ ), which yields
∂r ∂θ
1= cos θ − r sin θ (2.1)
∂x ∂x
d(y) ∂r ∂θ
= sin θ + r cos θ
dx ∂x ∂x
∂r ∂θ
0 = sin θ + r cos θ (2.2)
∂x ∂x
We now solve (2.1) and (2.2) simultaneously. From (2.2), one obtains
∂θ − tan θ ∂r
=
∂x r ∂x
∂r tan θ ∂r
⇒ 1 = cos θ − r sin θ [− ]
∂x r ∂x
∂r ∂r
1 = cos θ + sin θ tan θ
∂x ∂x
∂r
1= (cos θ + sin θ tan θ )
∂x
∂r cos2 θ + sin2 θ
1= ( )
∂x cos θ
∂r 1
1= ( )
∂x cos θ
∂r ∂x 1
= cos θ ⇒ =
∂x ∂r cos θ
∂θ tan θ sin θ
=− cos θ = − .
∂x r r
31
∂y 1 ∂y r
∂r = sin θ , ∂θ = cos θ
∂u ∂u ∂r ∂u ∂θ
= · + ·
∂x ∂r ∂x ∂θ ∂x
∂u ∂u ∂r ∂u ∂θ
= · + ·
∂y ∂r ∂y ∂θ ∂y
∂u ∂u sin θ ∂u
= cos θ − .
∂x ∂r r ∂θ
∂u ∂u cos θ ∂u
= sin θ + .
∂y ∂r r ∂θ
∂ ∂u ∂2 u
( ) = 2
∂x ∂x ∂x
∂ ∂u sin θ ∂u
= [cos θ − ]
∂x ∂r r ∂θ
∂ ∂u sin θ ∂u ∂r ∂ ∂u sin θ ∂u ∂θ
= (cos θ − ) + (cos θ − )
∂r ∂r r ∂θ ∂x ∂θ ∂r r ∂θ ∂x
∂2 u sin θ ∂u sin θ ∂2 u
= (cos θ 2 + 2 − ) cos θ
∂r r ∂θ r ∂r∂θ
∂2 u ∂u cos θ ∂u sin θ ∂2 u sin θ
+ (cos θ − sin θ − − 2
)(− ).
∂r∂θ ∂r r ∂θ r ∂θ r
∂2 u 2 cos θ sin θ ∂u 2 cos θ sin θ ∂2 u sin2 θ ∂u sin2 θ ∂2 u
= cos2 θ 2 + − + + 2
∂r r2 ∂θ r ∂r∂θ r ∂r r ∂θ 2
Similarly,
∂2 u 2
2 ∂ u 2 sin θ cos θ ∂u 2 sin θ cos θ ∂2 u cos2 θ ∂u cos2 θ ∂2 u
= sin θ − + + + 2 .
∂y2 ∂r2 r2 ∂θ r ∂r∂θ r ∂r r ∂θ 2
Thus,
∂2 u ∂2 u ∂2 u 1 ∂u 1 ∂2 u
+ = + + .
∂x2 ∂y2 ∂r2 r ∂r r2 ∂θ 2
32
Chapter 3
3.1 Differentials
4 f = f ( x + ∆x, y + ∆y) − f ( x, y)
= f x ∆x + f y ∆y + ε 1 ∆x + ε 2 ∆y
where ε 1 → 0,ε 2 → 0 as ∆x → 0, ∆y → 0.
Putting ∆x = dx, ∆y = dy, we obtain
∆ f = f x dx + f y dy + ε 1 dx + ε 2 dy
∴ d f = f x dx + f y dy.
This is called the principal part of ∆ f .
1. ∆ f
33
2. d f , where x = 5, y = 4, ∆x = −0.2, ∆y = 0.1
SOLUTION
= −11.658
d f = f x dx + f y dy
= 71(−0.2) + 19.0.1
= −14.2 + 1.9
= −12.3
= 27 − 15 + 75 − 153
= 87 − 153
= −66
34
d f = f x dx + f y dy
= −142 + 19
= −123
A comparison of the results in (1) and (2) shows that the result gets more accurate
when the change is small.
EXERCISE
If z = x3 y − 4xy2 + 8y3 ; find ( a) ∆z (b) dz
Determine whether each of the following is an exact differential, if it is, then find the
function.
( a) (2xy2 + 3y cos 3x )dx + (2x2 y + sin 3x )dy
(b) (6xy − y2 )dx + (2x expy − x2 )dy
SOLUTION
∂f
( a) = 2xy2 + 3y cos 3x
∂x
∂f
= 2x2 y + sin 3x
∂y
Z
f = (2xy2 + 3y cos 3x )dx + C (y)
2x2 y2 3y sin 3x
f = + + C (y)
2 3
= x2 y2 + y sin 3x + C (y)
∂f
= 2x2 y + sin 3x + C 0 (y)
∂y
35
C 0 (y) = 0
∴ f = x2 y2 + y sin 3x + K
Definition 3.2.1. A function of two variables has a local maximum or relative max-
imum value at the point ( a, b) in its domain if f ( x, y) ≤ f ( a, b) for all points in the
domain of f that are sufficiently close to the point ( a, b).
Definition 3.2.2. If f ( x, y) ≥ f (c, d), then f has a local minimum at (c, d) in its
domain.
36
points in its domain where f takes on absolute maximum and minimum values.
∂f ∂f
Note:O f = ∂x i + ∂y j, the gradient of f in its domain where f takes absolute maxi-
mum or minimum values.
∂ 2 ∂
O( x 2 + y2 ) = ( x + y2 ) i + ( x 2 + y2 ) j
∂x ∂x
== 2xi + 2yi
37
Solution
f 1 ( x, y) = 6x2 − 6y = f x
f 2 ( x, y) = −6x + 6y = f y
f x = 0, fy = 0
At (0, 0),
38
B2 = 36, AC = 72
∴ B2 < AC i.e. 36 < 72 and A>0
⇒ (1, 1), is a minimum critical point of f . Thus, the minimum value is given by
f (1, 1) = 2 − 6 + 3 = −1
Example 3.3.2. : Find and classify the critical points of the function
2 + y2 )
f ( x, y) = x2 ye−( x .
Solution
2 + y2 ) 2 + y2 )
f x = 2xye−( x − 2x3 ye−(x
2 + y2 )
= 2xye−(x [1 − x 2 ]
2 + y2 ) 2 + y2 )
f y = x2 e−( x − 2x2 y2 e−(x
2 + y2 )
= x2 (1 − 2y2 )e−(x
f x = 0, and fy = 0
2 + y2 )
2xy(1 − x2 )e−( x =0 (3.1)
and
2 + y2 )
x2 (1 − 2y2 )e−( x =0 (3.2)
from (3.1),
2xy(1 − x2 ) = 0 (3.3)
39
x=0 or y=0 or x = ±1
from (3.4) x2 = 0, 1 − 2y2 = 0
or
q √
x=0 repeated or y = ± 12 = ± 22 .
√ √ √ √
2 2 2 2
Therefore the critical points are (0, 0), (1, 2 ), (1, − 2 ), (−1, 2 ), (−1, − 2 )
2 + y2 ) 2 + y2 ) 2 + y2 ) 2 + y2 )
f xx = 2ye−( x − 4x2 ye−(x − 6x2 ye−(x + 4x4 ye−(x
2 + y2 ) 2 + y2 ) 2 + y2 ) 2 + y2 )
f xy = 2xe−( x − 4xye−(x − 2x3 e−(x + 4x3 y2 e−(x
2 + y2 ) 2 + y2 ) 2 + y2 )
f yy = −2x2 ye−( x − 4x2 ye−(x + 4x2 y3 e−(x
At (0, 0),
A = f xx (0, 0) = 0, B = f xy (0, 0) = 0, C = f yy (0, 0) = 0, B2 = AC the test is
inconclusive.
√
At 1, 22 ,
2 + y2 )
f xx = 2y(1 − 2x2 − 3x2 + 2x4 )e−( x
2 + y2 )
= 2y(1 − 5x2 + 2x4 )e−(x
2 + y2 )
f xy = 2x (1 − 2y2 − x2 + 2x2 y2 )e−( x
2 + y2 )
f yy = 2x2 y(−3 + 2y2 )e−( x
40
0.15
0.1
0.05
f(x,y)
−0.05
−0.1
−0.15
100
90
80
100
70
60 80
50
60
40
30 40
20
20
10
y
x
√ ! √
2 2 1 √ 3
A = f xx 1, = 2· (1 − 5 + 2)e−(1+ 2 ) = −2 2e− 2
2 2
√ ! √ √
2 2 2 2 2 −3
B = f xy 1, = 2 · 1(1 − 2( ) − 1 + 2 · (1)2 · ( ) e 2)
2 2 2
1 3
= 2(1 − 1 − 1 + 2 · ) e − 2 = 0
2
√ ! √ √
2 2 2 2 3 √ 3
C = f yy 1, = 2(1)2 (2( ) − 3)e− 2 = −2 2e− 2
2 2 2
√ 3
B2 − AC = 02 − (−2 2e− 2 )2 = −4.2e−3 = −8e−3
√
2
∴ (1, 2 ) is a maximum point of f .
41
EXERCISE
Find and classify the critical points of the following functions:
1. f ( x, y) = xy − x2 − y2 − 2x − 2y + 4
−( x2 +y2 )
2. f ( x, y) = xye 2 .
It is not clear how the second derivative test for classifying points can be extended
to function of more than two variables. Such an extension is possible if the con-
ditions for classifying critical points for two variable functions as stated in terms of
quadratic forms. If u = ui + vj is a unit vector then the second directional derivative
of f ( x, y) at the point ( a, b) in the direction of the unit vector is given by:
42
Du2 f ( a, b) = u · 5(u · 5 f )( a, b)
∂f ∂f
5f = i+ j
∂x ∂y
u = ui + vj
∂f ∂f
u · 5 f = (ui + vj) · i+ j
∂x ∂y
∂f ∂f
=u +v =F
∂x ∂y
∂F ∂F
5F = i+ j.
∂x ∂y
∂ ∂f ∂f ∂ ∂f ∂f
= u +v i+ u +v j
∂x ∂x ∂y ∂y ∂x ∂y
2
∂2 f ∂2 f ∂2 f
∂ f
= u 2 +v i+ u +v 2 j
∂x ∂x∂y ∂x∂y ∂y
2 2 ∂2 f ∂2 f
∂ f ∂ f
u · 5f = (ui + vj) · u 2 + v i+ u +v 2 j
∂x ∂x∂y ∂x∂y ∂y
2
∂2 f ∂2 f ∂2 f
∂ f
= u u 2 +v +v u +v 2
∂x ∂x∂y ∂y∂x ∂y
2
∂ f 2
∂ f 2
∂ f 2
∂ f
= u2 2 + uv + uv + v2 2 .
∂x ∂x∂y ∂x∂y ∂y
∂2 f ∂2 f ∂2 f
= u2 2 + 2uv + v2 2 .
∂x ∂x∂y ∂y
∂2 f ∂2 f ∂2 f
evaluated at ( a, b) where A = ∂x2
, B= ∂x∂y , C= ∂y2
The expression (3.5) is called a quadratic form in the variables u and v. Such a
quadratic form is said to be ”positive definite” or ”negative definite” if Q(u, v) > 0
or Q(u, v) < 0 for all non-zero vectors u. Otherwise, it is said to be ”indefinite”.
Therefore, f has a local minimum, local maximum or a saddle point at the criti-
43
cal point ( a, b) if Q(u, v) is positive definite, negative definite or vanishes for some
vectors, positive for some and negative for others respectively.
∂f ∂f ∂f
u · 5(u · 5 f )( a, b, c) = (ui + vj + wk) · 5 (ui + vj + wk) · i+ j+ k
∂x ∂y ∂z
∂f ∂f ∂f
= (ui + vj + wk) · 5 u + v + w
∂x ∂y ∂z
∂ ∂f ∂f ∂f ∂ ∂f ∂f ∂f
= (ui + vj + wk) · u +v +w i+ u +v +w j
∂x ∂x ∂y ∂z ∂y ∂x ∂y ∂z
∂ ∂f ∂f ∂f
+ (u + v + w )k
∂z ∂x ∂y ∂z
∂ ∂f ∂f ∂f ∂ ∂f ∂f ∂f
=u u +v +w +v u +v +w
∂x ∂x ∂y ∂z ∂y ∂x ∂y ∂z
∂ ∂f ∂f ∂f
+w u +v +w
∂z ∂x ∂y ∂z
2 2 2 ∂2 f ∂2 f ∂2 f
∂ f ∂ f ∂ f
= u u 2 +v +w +v u +v 2 +w
∂x ∂x∂y ∂x∂z ∂x∂y ∂y ∂y∂z
2
∂2 f ∂2 f
∂ f
+w u +v +w 2
∂z∂x ∂z∂y ∂z
2
∂ f 2
∂ f 2
∂ f ∂2 f ∂2 f
= u2 2 + uv + uw + uv + v2 2
∂x ∂x∂y ∂x∂z ∂y∂x ∂y
∂2 f ∂2 f ∂2 f ∂2 f
+ vw + uw + vw + w2 2
∂y∂z ∂z∂x ∂z∂y ∂z
2
∂ f 2
∂ f 2
∂ f 2
∂ f
= u2 2 + v2 2 + w2 2 + 2uv
∂x ∂y ∂z ∂y∂x
∂2 f ∂2 f
+ 2uw + 2vw .
∂x∂z ∂z∂y
44
where A = f 11 ( a, b, c), B = f 22 ( a, b, c), C = f 33 ( a, b, c), D = f 12 ( a, b, c),
E = f 13 ( a, b, c), F = f 23 ( a, b, c).
Thus f ( x, y, z) has a local minimum at the critical point ( a, b, c) if Q(u, v, w) is pos-
itive definite. But a local maximum if Q(u, v, w) is negative definite and a saddle
point if Q(u, v, w) is positive for some vectors and negative for others. The test fails
if it vanishes.
Example 3.4.1. Find and classify the critical points of the function
f ( x, y, z) = xyz − x2 − y2 − z2 .
Solution
f x = yz − 2x = 0 (3.7)
f y = xz − 2y = 0 (3.8)
f z = xy − 2z = 0 (3.9)
from (3.9),
xy
z= (3.10)
2
45
f xx = −2, f yy = −2, f zz = −2, f xy = z, f xz = y, f yz = x at (0, 0, 0),
A = −2, B = −2, C = −2, D = 0, E=F=0
Thus, the quadratic form
= −2( u + v2 + w2 ) < 0
Therefore, (2, 2, 2) is a saddle point, since the quadratic form is negative for some
vectors and positive for others. The quadratic form can easily be verified by the
use of an alternative procedure for determining the nature of critical points of func-
tions. It is an orderly procedure for determining whether or not a quadratic form is
negative or positive definite.
46
where
u A D E
u=
v
and Q=
D B F .
w E F C
A D E
A D
> 0 and D B F >0
D B
E F C
A D E
A D
> 0 and D B F <0
D B
E F C
A D −2 0
A = −2 < 0, = =4>0
D B 0 −2
−2 0 0
−2 0
det( Q) = 0 −2 0 = −2 = −2(4) = −8 < 0
0 −2
0 0 −2
47
At (2, 2, 2), A = B = C = −2, D = E = F = 2
A D −2 2
A < 0, = =0
D B 2 −2
−2 2 2
−2 2 2 2 2 −2
det( Q) = 2 −2 2 = −2 −2 +2 = −2 · 0 − 2(−8) + 2(8) = 32 > 0
2 −2 2 −2 2 2
2 2 −2
48
Chapter 4
R2
1. If ~f = u2 − u i + 2u3 j − 3k, find 1 ~f (u)du
2
u3 u2 u4
Z 2 h i
2 3
u − u i + 2u j − 3k du = − i + j − 3uk
1 3 2 2
1
8 1 1 1
= − 2 i + 8j − 6k − − i + j − 3k
3 3 2 2
2 1 1
= i + 8j − 6k + i − j + 3k
3 6 2
5 15
= i + j − 3k
6 2
49
~ and displacement ~r are zero at t = 0, find V
If the velocity V ~ and ~r at any time
t.
Solution
Z Z
~ =
V ~adt = [12 cos 2ti − 8 sin 2tj + 16tk] dt
~ =0
Now, when t = 0, V
⇒ ~ =0
0i + 4j + 0k + C
~ = −4j
⇒C
Z Z h i
~ = 2
~r = Vdt 6 sin 2ti + 4 (cos 2t − 1) j + 8t k dt
8
= −3 cos 2ti + (2 sin 2t − 4t) j + t3 k + ~B
3
when t = 0,~r = 0
⇒ −3i + 0j + 0k + ~B = 0
⇒ ~B = 3i
8
∴ ~r = −3 cos 2ti + (2 sin 2t − 4t) j + t3 + 3i
3
8
= 3 (1 − cos 2t) i + (2 sin 2t − 4t) j + t3 k
3
50
4.2 LINE INTEGRALS
~ = A1 i +
Let C be a space curve and ~r the position vector of any point on C. Let A
~ along C is given by
A2 j + A3 k be a force. The line integral of A
Z
~ ~r,
A.d
c
Z P2
~ · d~r
A
P1
Example
~ = 3x2 + 6y i − 14yzj + 20xz2 k,
If A
~ · d~r from (0, 0, 0) to (1, 1, 1) along the following path C :
R
evaluate c A
(i) x = t, y = t2 , z = t3
(ii) the straight line from (0,0,0) to (1,0,0) then (1,1,0) and then (1,1,1).
(iii) the straight line joining (0,0,0) to (1,1,1).
Solution
(i) x = t, y = t2 , z = t3 at (0,0,0) to (1,1,1)
Let t vary from 0 to 1, then
51
Z Z 1 h ih i
∴ ~ · d~r =
A 3t2 + 6t2 i − 14t2 · t3 j + 20t(t3 )2 k dti + 2tdtj + 3t2 dtk
C 0
Z 1
= 9t2 i − 14t5 j + 20t7 k i + 2tj + 3t2 k dt
0
Z 1h i
= 9t2 − 14t5 (2t) + 20t7 (3t2 ) dt
0
Z 1
= 9t2 − 28t6 + 60t9 k dt
0
1
9t3 28t7 60t10
= − +
3 7 10 0
= 3 − 4 + 6 = 5.
Z Z 1 Z 1
2 2
∴ ~ · d~r =
A 3x i · idx = 3x dx = x3 |10 = 1
C 0 0
Z Z 1
⇒ ~ · d~r =
A (3 + y) i · jdy = 0
C 0
Z 1 Z 1
20 3 1 20
Z
∴ ~ · d~r = 20
A xz2 dz = 20 z2 dz = z |0 = .
C 0 0 3 3
~ · d~r = 1 + 0 + 20 = 23
Z
A
C 3 3
52
(iii) From (0,0,0) to (1,1,1)
Let t vary from 0 to 1. The parametric equations are paid out as follows:
t 0 1 grad Eqn
x 0 1 1 x=t
y 0 1 1 y=t
z 0 1 1 z=t
Thus the parametric equation of the straight line joining (0,0,0) and (1,1,1) are x =
t, y = t, z = t
Z Z 1
~ · d~r = 2 2 3
∴ A 3t + 6t − 14t + 20t dt
C 0
Z 1
2 3
= −11t + 6t + 20t dt
0
−11 3
= t + 3t2 + 5t4 |10
3
−11
= +3+5
3
13
=
3
Example 4.2.1. Calculate the work done by the force ~F = xyi − z2 j + xyzk when a
particle is moved from the point (1,0,2) to the point (3, -2, -1) along the straight line
joining them.
Solution
~F · d~r
R
Work done = C
53
let t vary from 0 to 1 and then proceed as follows.
t 0 1 grad equation
x 1 3 2 x = 2t + 1
y 0 -2 -2 y = −2t
z 2 -1 -3 z = 2 − 3t
Z Z 1h i
∴ ~F · d~r = (2t + 1)(−2t) · 2dt − (2 − 3t)2 (−2)dt + (2t + 1)(−2t)(2 − 3t)(−3)dt
C 0
Z 1 Z 1 Z 1
= −4 (2t + t)dt + 2 (4 − 12t + 9t )dt + 6 (2t + t2 − 6t3 )dt
2 2
0 0 0
2 1 1
t3 3 4
2 3 t h
2 3
i 1
2
= −4 t + + 2 4t − 6t + 3t + 6 t + − t
3 2 0 0 3 2 0
2 1 1 3
= + + 2(4 − 6 + 3) + 6 1 + −
3 2 3 2
−14
= +2−1
3
−11
=
3
Assignment
If ~F = xyi − xzj + 2yz2 k, evaluate ~F · d~r if C is the straight line joining (0,0,1) to
R
C
(1,2,-3).
54
4.3 SURFACE INTEGRAL
Consider a plane area S as shown above. The vector area ~S is defined as ~S = Sn̂,
where n̂ is a unit normal to the plane area. In the case of a surface S in R3 ,
Definition 4.3.1. Let V (~r ) be a scalar field and ~F (~r ) be a vector field both with a
prescribed surface S. Let ∂Si and ∂~
Si be elemental part of S and ~S respectively for
i = 1, 2, . . . , N.
Z N
S
V (~r )d~S = lim ∑ V (~r)∂~Si
∂Si →o i =1
(4.2)
Z N
S
~F (~r ) · d~S = lim ∑ ~F(~r) · ∂~Si
∂Si →o i =1
(4.3)
which is a scalar.
Z N
S
~F (~r ) ∧ d~S = lim
∂Si →o
∑ ~F(~r) ∧ ∂~Si (4.4)
i =1
55
Evaluation of Surface Integral
From (4.1),
∂~S grad f
n̂ = =
∂S | grad f |
grad f
d~S = dS (4.5)
| grad f |
∂f ∂f ∂f
But grad f = ∂x i + ∂y j + ∂z k, then from (4.2) and (4.3), we have
1.
Z Z ∂f Z ∂f Z ∂f
∂y
Vd~S = i V ∂x
dS + j V dS + k V ∂z
dS (4.6)
S S | grad f | S | grad f | S | grad f |
2.
∂f ∂f ∂f
Z Z Fx Fy Fz
∂x ∂y ∂z
~F · d~S = + + dS (4.7)
S S | 5 f| | 5 f| | 5 f|
3.
∂f ∂f ∂f ∂f ∂f ∂f
Z Z Fy
∂z − Fz ∂y Fz ∂x − Fx ∂z Fx ∂y − Fy ∂x
~F ∧ d~S = i+ j+ k dS(4.8)
S S | grad f | | grad f | | grad f |
That is,
~F = Fx i + Fy j + Fz k
∂f ∂f ∂f
d~S = i+ j+ k
∂x ∂y ∂z
56
i j k
∴ ~F ∧ d~S = Fx Fy Fz
∂f ∂f ∂f
∂x ∂y ∂z
= i Fy ∂∂zf − Fz ∂∂yf − j Fx ∂∂zf − Fz ∂∂xf + k Fx ∂∂yf − Fy ∂∂xf
In this way, the evaluation of the surface integrals is reduced to integration over the
surface S. The coordinate system to be used for performing the double integration
depends on the nature of S, as demonstrated in the following examples.
der x2 + y2 = 9 lying between the planes z = 0 and z = 2 and included in the first
quadrant.
Solution
~
R R
S Vd S = V n̂dS
grad f
But n̂ = | grad f |
, where f ( x, y, z) = x2 + y2
5( x2 + y2 ) 2xi + 2yj xi + yj xi + yj x y
∴ n̂ = 2 2
=p =p = √ = i+ j
| 5 ( x + y )| 4x2 + 4y2 x 2 + y2 9 3 3
1 1
Z Z Z
3 2 2 2 3 2
∴ Vd~S = V ( xi + yj)dS = x y z i + x y z j dS
S 3 3
We now change the coordinate from ( x, y, z) to the cylindrical coordinates (ρ, ϕ, z),
x = ρ cos ϕ, y = ρ sin ϕ, z = z.
p
dS = ρdϕdz. But ρ = x2 + y2 = 3
x = 3 cos ϕ, y = 3 sin ϕ, z = z.
57
Z π h
1 2
Z Z i
2 3 3 2 2 2 2 2 3 3 2
~
∴ VdS = 3 cos ϕ · 3 sin ϕz i + 3 cos ϕ · 3 sin ϕz j 3.dϕdz
S 3 z =0 ϕ =0
Z π Z 2 Z π
1 2 1
Z
2 5 3 2 2 2
= i 3 cos ϕ · sin ϕz dϕdz + j 35 cos2 ϕ · sin3 ϕz2 dϕdz
3 z =0 ϕ =0 3 z =0 ϕ =0
Z 2 Z π Z 2 Z π
4 2 2 3 2 4 2 2
=3 i z dz cos ϕ · sin ϕdϕ + 3 j z dz cos2 ϕ · sin3 ϕdϕ
z =0 ϕ =0 z =0 ϕ =0
8 2 8 2
= 34 · · i + 34 · · j
3 15 3 15
2 2
= 33 · 8 · i + 33 · 8 · j
15 15
9·8·2 9·8·2
= i+ j
5 5
144
= ( i + j ).
5
Exercise
If ~F = xi + xyj + xyzk, evaluate ~F · d~S, where S is the complete surface of the
R
S
sphere x2 + y2 + z2 = 4.
The volume integral of a scalar field V (~r ) over a given volume τ is the sum of all
V (~r )∂τi for all elemental volumes ∂τi , 1 ≤ i ≤ n and taking the limit of this ∂τi → 0
(i.e. as n → ∞). This is given by
Z n
τ
V (~r )∂τ = lim ∑ V (~r)∂τi
∂τi →0 i =1
(4.9)
Similarly, for any vector field ~F (~r ), the definition of the volume integral of ~F over τ
58
is
Z n
τ
~F (~r )∂τ = lim ∑ ~F(~r)∂τi
∂τi →0 i =1
(4.10)
dx dx
dr dθ
dxdy = drdθ
dy dy
dr dθ
cos θ −r sin θ
= drdθ
sin θ r cos θ
= rdrdθ
Example
R
If V = xy, evaluate τ Vdτ, where τ is the volume bounded by the planes x = y =
z = 0, 3x + 2y + z = 6
Solution
59
Z ZZZ
Vdτ = ( xy)dxdydz
τ
Since 3x + 2y + z = 6 ⇒ z = 6 − 3x − 2y
∴ z varies from 0 to 6 − 3x − 2y.
6−3x
For the y−component, y varies from 0 to 2 , that is, z is left out.
For the x −component, x varies from 0 to 2, that is, y and z are left out.
Z Z 2 Z 6−3x Z 6−3x−2y
2
∴ Vdτ = xydzdydx
τ x =0 y =0 z =0
But
Z 6−3x−2y
6−3x −2y
xydz = xyz|0
z =0
= xy(6 − 3x − 2y)
Also,
6−3x
3 2xy3 6−23x
Z
2
6xy − 3x2 y − 2xy2 dy = 3xy2 − x2 y2 − |
y =0 2 3 0
3x 3x2 x
= (6 − 3x )2 − (6 − 3x )2 − (6 − 3x )3
4 8 12
x 2 3x 1
= (6 − 3x ) 3 − − (6 − 3x )
4 2 3
9x
= (2 − x )3
8
60
Hence
Z 2
9x
Z
Vdτ = (2 − x )3 dx
τ x =0 8
1 2
9 x
Z
4 2 4
= − (2 − x ) |0 + (2 − x ) dx
8 4 4 0
2
9 x 4 1 5
= − (2 − x ) − (2 − x )
8 4 20 0
9 1
= 0 − − · 32
8 20
9 32 9
= = .
8 20 5
61
References
62