Professional Documents
Culture Documents
MatheMatical
analysis
(advanced differentiation
and integration )
Preparation
Dr. Moutaz Ramadan
1- Functions of Two Variables. …………………………...………..……… 5
2- Partial Differentiation. ………….……….……………………………….…… 15
3- Multiple Integrals. ……………………………………….………………….......… 40
4- Vector Integrations: Vector Line Integral, Green’s,
Stoke’s, Gauss Divergence Theorems …...............................…… 91
5- Orthogonal Curvilinear Coordinates ……...............................… 117
6- General Exercises. ………………………………………………………..…………… 139
7- References. …………………………………………..…………………………..…………… 143
Functions of Two Variables
The range of the function f is an image of the set of its values f ( x, y) for
all ( x, y) in its domain.
R f {z : ( x, y) Df such that z f ( x, y)}
Example 1
(a) What is the domain of f ( x, y ) x 2 y 2 ?
(b) What are the values f (2,3) and f (2, 3) of this function at (2,3) and
( 2, 3) ?
(c) What is its range?
Solution
(a) Because the expression x 2 y 2 is defined for all x and y , the domain
of f is the entire xy -plane.
(b) f (2,3) 22 32 13
-5 -
Functions of Two Variables
(c) The values x 2 y 2 of the function are all nonnegative and for every
Example 2
Find the domain and range for the following functions
(i) z 1 x 2 y 2
1
(ii) z
1 x2 y2
x
(iii) z sin 1 xy
2
Solution
(i) The function is defined by ( x, y ) that satisfy the
condition
D f {( x, y ) 2 :1 x 2 y 2 0}
{( x, y ) 2 : x 2 y 2 1}
Then the range is the set of the points on the circle and the center
is the origin with radius equal one.
(ii) [By the student].
(iii) The function is defined by ( x, y ) that satisfy the condition
x
xy 0 and 1 1
2
i.e.
x
D f {( x, y ) : 1 1 and xy 0}
2
{( x, y ) : 2 x 2 and ( x 0, y 0 or x 0, y 0}
{( x, y ) : 2 x 0 and y 0 or 0 x 2, y 0}
{( x, y ) : 2 x 0 and y 0} {( x, y ) : 0 x 2, y 0}
-6 -
Functions of Two Variables
Figure 1
-7 -
Functions of Two Variables
Neighborhoods
x x y y0 2 , is a circular
2 2
defined other neighborhoods; e.g., 0
neighborhood of ( x0 , y0 ) .
Limits
or
lim
( x , y ) ( x0 , y0 )
f ( x, y ) l
0 x x0 , 0 y y0 .
We can use the for a circular neighborhood open ball
0 x x0 y y0 2 , instead of in rectangular neighborhood.
2 2
Example
If
3 xy if ( x, y ) (1,2)
f ( x, y )
0 if ( x, y ) (1,2)
-8 -
Functions of Two Variables
Prove that
lim
( x , y ) (1,2)
f ( x, y ) 6
Solution
Let 0 such that f ( x, y ) l whenever 0 x x0 ,
0 y y0 , then
-9 -
Functions of Two Variables
Example:
Prove that
lim
( x , y ) (0,0)
( x 2
y 2
)0
Solution
{ By the student [sol. ]}
2
Example:
Prove that
lim ( x 2 2 y ) 5
( x , y ) (1,2)
Solution
{By the student [sol. ]}
5
Example:
Discuss the existence of the limit
y
lim tan 1 ( )
( x , y ) (0,1)
x
Solution
In this case we solve by two different paths,
y 1 y
Firstly, lim tan 1 ( ) lim tan ( ) lim tan 1
( )
x 0
y 1
x y 1
0 y 1
2
y 1 y
Secondly, lim tan 1 ( ) lim tan ( ) lim tan 1
( )
x 0
y 1
x y 1
0 y 1
2
-10-
Functions of Two Variables
y y
lim tan 1 ( ) lim tan 1 ( )
x 0
y 1
x x0
y 1
x
y y
lim tan 1 ( ) lim tan 1 ( ) does not exists.
( y , x ) (1,0)
x y 1
x 0
x
This example give different results..It follows that if two different
approaches give different values, the limit cannot exist.
Iterated Limits
exist, their equality does not guarantee the existence of this last limit. To
complete the solution, we use the second test.
The second test, we determine the limit of the function f ( x, y) about the
set of lines y mx passes throw the origin point, therefore the limit is
dependent to m then the limit is not exist. But if the limit is independent
to m then the limit is exist.
Example
Find the limits (if exists) for the following functions
y
(i) lim tan 1 ( )
( x , y )(0,0)
x
2 xy
(ii) lim ( )
( x , y ) (0,0)
x y2
2
-11-
Functions of Two Variables
3x 2 y
(iii) lim ( 2 )
( x , y ) (0,0)
x y4
Solution
y
(i) L1 lim{lim f ( x, y )} lim{lim tan 1 ( )}
x 0 y 0 x 0 y 0
x
0
lim{tan 1 ( )} lim{0} 0
x 0
x x 0
y
L2 lim{lim f ( x, y )} lim{lim tan 1 ( )}
y 0 x 0 y 0 x0
x
y
lim{tan 1 ( )} lim{ }
y 0
0 x0
2 2
L1 L2
Then the limit does not exist.
2 xy
(ii) L1 lim{lim f ( x, y )} lim{lim( )}
x 0 y 0 x 0 y 0
x y2
2
0
lim{( )} lim{0} 0
x 0
x 0
2 x0
2 xy
L2 lim{lim f ( x, y )} lim{lim( )}
y 0 x 0 y 0 x 0
x2 y 2
0
lim{( )} lim{lim(0)} 0
y 0
0 y2 y 0 x 0
Then, there exist the limit about the origin point. Applying the second test
We put y mx , we get
2 xy 2 x ( mx )
lim ( ) lim( )
( y , x ) ( 0,0)
x y
2 2 x0
x ( mx ) 2
2
2mx 2 2m 2m
lim( 2 ) lim( )
x0
x m x2 2 x0
1 m 2
1 m2
The limit is depend on the constant m . Then, the limit does not exist.
-12-
Functions of Two Variables
3x 2 y
(iii) L1 lim{lim f ( x, y )} lim{lim( )}
x0 y 0 x 0 y 0
x2 y4
0
lim{( 2 )} lim{0} 0
x0
x 0 x0
3x 2 y
L2 lim{lim f ( x, y )} lim{lim( )}
y 0 x 0 y 0 x 0
x2 y 4
0
lim{( )} lim{lim(0)} 0
y 0
0 y4 y 0 x 0
Then, there exist the limit about the origin point. Applying the second test
We put y mx , we get
3x 2 y 3 x 2 ( mx)
lim ( 2 ) lim( )
( y , x ) (0,0)
x y4 x 0
x 2 ( mx) 4
3mx 3 2mx 0
lim( 2 ) lim( ) 0
x0
x (1 m 4 x 2 ) x 0
1 m4 x 2 1 0
The limit is not depend on the constant m . Then, the limit is exist and
3x 2 y
lim ( 2 )0
( x , y ) (1,1)
x y4
Continuity
x x y y0 2 .
2 2
0
-13-
Functions of Two Variables
at ( x0 , y0 )
( x , y )lim
( x , y )
f ( x, y ) l the limit exists as ( x , y ) ( x0 , y0 ) .
0 0
3. l f ( x0 , y0 )
Example
Discuss the continuity for the following functions at the point (0, 0)
x2 y 2
if ( x, y ) (0,0)
(i) f ( x, y ) x 2 y 2
0 if ( x, y ) (0,0)
Solution
Using the definition of continuity, firstly we find the limit about the
point (0, 0)
x2 y 2
L1 lim{lim f ( x, y )} lim{lim( 2 )}
x 0 y 0 x 0 y 0
x y2
x2 0
lim{( 2 )} lim{1} 1
x 0
x 0 x0
x2 y 2
L2 lim{lim f ( x, y )} lim{lim( )}
y 0 x 0 y 0 x 0
x2 y 2
0 y2
lim{( )} lim{lim( 1)} 1
y 0
0 y2 y 0 x 0
L1 L2
Then the limit does not exist. Therefore the function is not continuous in
the point (0, 0) .
-14-
Partial Differentiation
PARTIAL DIFFERENTIATION
The purpose of this section is to show you how to find the derivative of a
function with respect to one of the independent variables while the other
variable(s) is/are held constant.
Let's consider a function with two variables
z f ( x, y )
The goal is to differentiate the function with respect to one of the
variables in question while keeping the other variable constant.
z
Therefore, the partial derivative of f with respect to x , denoted by or
x
f x , or, f x ( x , y ) , is defined by
z f ( x x, y ) f ( x, y )
fx lim (1)
x x0 x
z
Similarly, the partial derivative of f with respect to y , denoted by
y
or f y or f y ( x, y ) , is defined by
z f ( x, y y ) f ( x, y )
fy lim , (2)
y y 0
y
provided the limit exists.
z
where the function in (1) obtained by differentiating f with respect to
x
z
x , treating y as a constant and the function in (2) obtained by
y
differentiating f with respect to y , treating x as a constant. The process
of taking partial derivative is called partial differentiation.
The above definitions can easily be extended to functions of three or
more variables.
-15-
Partial Differentiation
Solution:
To find f x differentiate the function with respect to x , treating y as a
constant..
z
fx 2x 3y
x
-16-
Partial Differentiation
constant.
z
fy 4 y 3x
y
Z f ( x, y ) 3x 2 2 xy 2 1
Solution:
z
fx 6x 2 y2 (Treating y as a constant)
x
z
fy 4 xy (Treating x as a constant)
y
f x (2,3) 6(2) 2(3)2 12 18 6,
f y (2,3) 4(2) (3) 24
Note that the partial differentiation differs from the previous discussion
of differentiation is that we must hold ( n 1) independent variables
constant while allowing one variable to vary. Otherwise no new rules are
needed for the computation of partial derivatives.
3x1 2 x2
Example 3: Given y , find the partial derivatives.
x12 3x2
Solution:
The partial derivatives can be found by applying the quotient rule. By
treating x2 as a constant
-17-
Partial Differentiation
By treating x1 as a constant
y
(ii) f ( x, y) x 2 y sec ,
x
(iii) f ( x, y ) tan 1 ln xy ,
Solution:
(i)
f 1
xy sin xy cos xy
x 2 x cos xy
f 1
x 2 x cos xy
x 2 sin xy
-18-
Partial Differentiation
CONCEPT OF DIFFERENTIALS
-19-
Partial Differentiation
y x3 3x
Solution:
dy
dy dx or f ( x)dx
dx
dy (3 x 2 3)dx 3( x 2 1)dx
Note that the error will be large when change in x is large and it will be
small when change in x is small and becomes a good approximation for
the actual change in y .
-20-
Partial Differentiation
TOTAL DIFFERENTIALS
-21-
Partial Differentiation
dz (6 x y )dx ( x 6 y 2 ) dy
y y
dy dx1 dx2 ,
x1 x2
We obtain
1( x x ) x (1) 0( x x ) x (1)
dy 1 2 2 1 dx1 1 2 2 1 dx2
( x1 x2 ) ( x1 x2 )
x2 x1
dy 2
dx1 2
dx2
( x1 x2 ) ( x1 x2 )
x2 x1
dy 2
dx ( x x ) 2 dx2
( x1 x2 )
1
1 2
RULES OF DIFFERENTIALS
x2 .
1. dc 0
2. d (cu n ) cnu n1du
3. d (u v) du dv
4. d (uv ) vdu udv
u vdu udv
5. d
v v2
-23-
Partial Differentiation
Solution:
dy d (3x12 ) d ( x1 x22 ) (by rule 3).
Therefore students may use a method, which they think is simpler to find
the total differential dy .
z f ( x, y ) 3 x 3 x 2 y y 17
Solution:
dz d (3x 3 ) - d ( x 2 y ) dy d (17) (by rule 3)
9 x 2 dx - x 2 dy - yd ( x 2 ) dy ( by rule 1, 2 and
4)
9 x 2 dx - x 2 dy - y (2 x ) dx dy (by rule 2)
= (9 x 2 - 2 xy ) dx - ( x 2 -1) dy
-24-
Partial Differentiation
TOTAL DERIVATIVES
f
You can use the partial derivative f r in order to find the direct
r
effect of r on y .
-25-
Partial Differentiation
dy
The process of finding the total derivative is called total differentiation
dr
of y with respect to r .
y f ( x, r ) 5 x 2 - 3r 1
where x h(r ) 2r
dy dx
Solution: The total derivative fx fr
dr dr
dy
10 x (2) (-3) 20 x 3
dr
Substituting x 2 r , we get
dy
20 (2r ) - 3 40r - 3
dr
Solution:
dz dx f dx f
fx ft .
dt dt x dt t
f
1( x 2t ) ( x t )(1) ,
x
dx f
7 , 1( x 2t ) ( x t )(2)
dt t
Therefore,
-26-
Partial Differentiation
dz
1( x 2t ) ( x t )(1) (7) 1( x 2t ) ( x t )(2)
dt
dz
( x 2t x t )(7) x 2t 2 x 2t
dt
dz
(2 x t )(7) x 4t 14 x 7t x 4t
dt
dz
15 x 3t
dt
By Substituting by
x 2 7t ,
we get
dz
15(2 7t ) 3t 108t 30
dt
Note that in the above examples you can check the results obtained by
substituting the function x h( r ) and h(t ) in the function y and z
respectively.
Example1. y f ( x) 2 x 1
x2 1
Example 2. y f ( x)
x3
-27-
Partial Differentiation
Implicit Differentiation
The direct use of an equation that defines a function implicitly to find the
derivative of the dependent variable with respect to the independent
variable is called implicit differentiation.
-28-
Partial Differentiation
y F
i , (i 1,2,3,...,n) , Fy 0
xi Fy
F F
where Fi and Fy
xi y
dy F F F
x but Fx 6 x and Fy 1
dx Fy x y
dy 6x
6 x
dx 1
dy
Example 5: Find for the implicit function x2 + y2 – 25 = 0
dx
Solution:
F F
Fx 2 x and F y 2y
x y
dy F 2x x
Hence x , ( y 0)
dx Fy 2y y
-29-
Partial Differentiation
As stated above in this section you will learn how to use the concept of
partial derivatives that we have discussed to find the extreme values of
functions of the type z f ( x, y ) . Before going to the discussion, let us
see how to find the second order partial derivatives of a function.
f xx , f yy , f xy and f yx .
Z z
2
z 2 z
f xx 2 , f yy 2
x X x y y y
Z 2 Z Z 2 Z
f xy , f yx
y x yx x y xy
Students can use any one of the notations which they like is convenient.
Let's consider a function with two variables
z f ( x, y )
The goal is to differentiate the function with respect to one of the
variables in question while keeping the other variable constant.
Therefore, the second partial derivative of f with respect to x , denoted
by f xx is defined by
2 f f ( x x , y ) f x ( x , y )
f xx lim x
x 2 x 0
x
-30-
Partial Differentiation
2 f f ( x, y y ) f y ( x, y )
f yy lim y ,
y 2 y0
y
provided the limit exists.
constant.
The other two second order partial derivatives ( f xy and f yx ) are called the
cross or mixed partial derivatives and each measures the rate of change of
one first-order partial derivative with respect to the other variable, are
defined by
2 f 2 f ( x, y y) f x ( x, y)
f yx ( f x ) lim x
yx y y 0
y
2 f f ( x x, y ) f y ( x, y )
f xy ( f y ) lim y
xy x x 0
x
If f xy f yx , then the function f ( x, y ) is homogenous function.
Now let us see the following examples on how to find the four second
order partial derivatives
-31-
Partial Differentiation
Example 1: Find the four second order partial derivatives of the function
z x3 2xy 5y
Solution:
In order to find the second order partial derivatives, we have to find first
the first partial derivatives
z
fx 3x 2 2 y and
x
z
fy 2 x 5
y
The partial derivatives of f x and f y with respect to x and y are
z
f xx (3 x 2 y ) 6 x
2
x x x
z
f yy ( 2 x 5) 0
y y y
y x y
z
f yx 2 x 5 2
x y x
From the above result, the mixed partial derivatives f xy and f yx are the
same.
Young's theorem: As long as the two mixed partial derivatives are both
continuous
f xy f yx
-32-
Partial Differentiation
Example 2: Find the four second order partial derivatives of the function
z x3 2x2 y2 4 y 2x 15
Solution:
z
fx 3 x 2 4 xy 2 2
x
z
fy 4 x 2 y 4
y
Therefore, the second order partial derivatives are:
z
f xx 3x 4 xy 2 6 x 4 y
2 2 3
x x x
z
f yy 4 x 2 y 4 4 x 2
y y y
z
f yx (3x 4 xy 2) 8 xy
2 2
y x y
z
f xy (4 x 2 y 4) 8 xy
x y x
In this section we will see the necessary conditions for finding the relative
extremum of a function z f ( x, y ) .
The necessary condition is to find the values of x and y which make the
first partial derivatives of the function z f ( x, y ) zero. That is,
f x = f y 0 . These values play an important role in finding the relative
-33-
Partial Differentiation
simultaneously for x and y . After this we use the second order test in
order to know that the solutions for the above equations corresponds to
the relative maximum, relative minimum or saddle points.
f xx f yy f xy2 .
f xx f yy f xy2 .
signs.
▪ f (a, b) is an inflection point if f xx f yy f xy2 and f xx , f yy have the same
signs.
The test fails to give information about the behaviour of the function if
f xx f yy f xy2 .
-34-
Partial Differentiation
condition
- Second-Order
sufficient f xx >0 , f yy 0 , f xx < 0 , f yy 0
Solution:
Step 1: Find the critical points from the first partial derivatives
z
fx 2x
x
z
fy 2y
y
f x = f y 0 is the necessary condition
2 x=2 y 0
x 0 and y 0
The only critical point is (0,0)
Step 2: Check the Second-Order sufficient conditions
z
f xx (2 x) 2
x x x
z
f yy (2 y ) 2
y y y
z
f xy (2 x) 0
y x y
Evaluating the second order partial derivatives at the critical values of the
function, we get:
-35-
Partial Differentiation
Therefore, since f xx f yy f xy2 the point (0,0) belongs to the saddle point.
-36-
Partial Differentiation
Solution:
Step 1. Find f x and f y
z
fx 2 x y 2 0
x
z
fy x 2y 1 0
y
2 x y 2 (1)
x 2 y 1 ( 2)
Solving equations (1) and (2) simultaneously we get x 5 / 3 and y 4 / 3
.That is (5/ 3,4 / 3) is the critical point
Example 6: z x 4 8 x 2 6 y 2 12 y 3
-37-
Partial Differentiation
Solution:
Step 1. Find f x and f y
z
fx 4 x 3 16 x 0
x
z
fy 12 y 12 0
y
x x x
z
f yy (12 y 12) 12
y y y
z
f xy (4 x 16 x) 0
3
y x y
At x 0, f xx 16 0, f yy 12 0
At x 2, f xx 32 0, f yy 12 0
At x 2, f xx 32 0, f yy 12 0
f xy 0 , f xy2 0
-38-
Partial Differentiation
Z 2 z z 2 z
f xx 2 . f yy 2
x X x y y y
Z 2 Z Z 2 Z
f xy , f yx
x y xy y x yx
Young’s theorem: f xy f yx
condition
-Second-Order f xx >0 , f yy 0 , f xx < 0 , f yy 0
sufficient
f xx f yy f xy2 and f xx f yy f xy2
condition
-39-
Multiple Integrals
Multiple Integrals
-40-
Multiple Integrals
-41-
Multiple Integrals
-42-
Multiple Integrals
-43-
Multiple Integrals
-44-
Multiple Integrals
-45-
Multiple Integrals
-46-
Multiple Integrals
-47-
Multiple Integrals
-48-
Multiple Integrals
-49-
Multiple Integrals
-50-
Multiple Integrals
-51-
Multiple Integrals
-52-
Multiple Integrals
-53-
Multiple Integrals
-54-
Multiple Integrals
-55-
Multiple Integrals
-56-
Multiple Integrals
-57-
Multiple Integrals
-58-
Multiple Integrals
-59-
Multiple Integrals
-60-
Multiple Integrals
-61-
Multiple Integrals
-62-
Multiple Integrals
-63-
Multiple Integrals
-64-
Multiple Integrals
-65-
Multiple Integrals
-66-
Multiple Integrals
-67-
Multiple Integrals
-68-
Multiple Integrals
-69-
Multiple Integrals
-70-
Multiple Integrals
-71-
Multiple Integrals
-72-
Multiple Integrals
-73-
Multiple Integrals
-74-
Multiple Integrals
Triple Integrals
-75-
Multiple Integrals
-76-
Multiple Integrals
-77-
Multiple Integrals
-78-
Multiple Integrals
-79-
Multiple Integrals
-80-
Multiple Integrals
-81-
Multiple Integrals
-82-
Multiple Integrals
-83-
Multiple Integrals
-84-
Multiple Integrals
-85-
Multiple Integrals
-86-
Multiple Integrals
-87-
Multiple Integrals
-88-
Multiple Integrals
-89-
Multiple Integrals
-90-
Vector Integrations
-91-
Vector Integrations
-92-
Vector Integrations
-93-
Vector Integrations
-94-
Vector Integrations
-95-
Vector Integrations
-96-
Vector Integrations
-97-
Vector Integrations
-98-
Vector Integrations
-99-
Vector Integrations
-100-
Vector Integrations
-101-
Vector Integrations
-102-
Vector Integrations
-103-
Vector Integrations
-104-
Vector Integrations
-105-
Vector Integrations
-106-
Vector Integrations
-107-
Vector Integrations
-108-
Vector Integrations
-109-
Vector Integrations
-110-
Vector Integrations
-111-
Vector Integrations
-112-
Vector Integrations
-113-
Vector Integrations
-114-
Vector Integrations
-115-
Vector Integrations
-116-
Orthogonal Curvilinear Coordinates
-117-
Orthogonal Curvilinear Coordinates
-118-
Orthogonal Curvilinear Coordinates
-119-
Orthogonal Curvilinear Coordinates
-120-
Orthogonal Curvilinear Coordinates
-121-
Orthogonal Curvilinear Coordinates
-122-
Orthogonal Curvilinear Coordinates
-123-
Orthogonal Curvilinear Coordinates
-124-
Orthogonal Curvilinear Coordinates
-125-
Orthogonal Curvilinear Coordinates
-126-
Orthogonal Curvilinear Coordinates
-127-
Orthogonal Curvilinear Coordinates
-128-
Orthogonal Curvilinear Coordinates
-129-
Orthogonal Curvilinear Coordinates
-130-
Orthogonal Curvilinear Coordinates
-131-
Orthogonal Curvilinear Coordinates
-132-
Orthogonal Curvilinear Coordinates
-133-
Orthogonal Curvilinear Coordinates
-134-
Orthogonal Curvilinear Coordinates
-135-
Orthogonal Curvilinear Coordinates
-136-
Orthogonal Curvilinear Coordinates
-137-
Orthogonal Curvilinear Coordinates
-138-
General Exercises
General Exercises
(i) z y sin x
1 1
(ii) z
x 1 y
-139-
General Exercises
-140-
General Exercises
-141-
General Exercises
-142-
References
References
McGraw-Hill, 1976.
2004.
-143-