Lecture 6
Lecture 6
A function is continuous if we draw its graph by a pen then the pen is not raised so that there is
no gap in the graph of the function
The graph of a continuous function of two variables to be constructed from a thin sheet of
clay that has been hollowed and pinched into peaks and valleys without creating tears or
pinholes.
1. f (x0,y0) if defined.
2. lim f ( x, y) exists.
( x , y )( x0 , y0 )
3. lim f ( x, y) = f (x0,y0).
( x , y )( x0 , y0 )
The requirement that f (x0,y0) must be defined at the point (x0,y0) eliminates the possibility of a
hole in the surface z = f (x0,y0) above the point (x0,y0).
(1) Consider the function of two variables x2 y 2 ln( x 2 y 2 ) now as we know that the Log
function is not defined at 0, it means that when x = 0 and y = 0, our function x2 y 2 ln( x 2 y 2 )
is not defined.
Consequently the surface z x 2 y 2 ln( x2 y 2 ) will have a hole just above the point (0,0) as
shown in the graph of x2 y 2 ln( x 2 y 2 )
(2) The requirement that lim f ( x, y) exists ensures us that the surface z = f(x,y) of the
( x , y )( x0 , y0 )
function f(x, y) doesn’t become infinite at (x0, y0) or doesn’t oscillate widely.
1
Consider the function of two variables . Now as we know that the Natural domain of
x2 y2
the function is whole the plane except origin. Because at origin, we have x = 0 and y =0. In the
1
defining formula of the function, we will have at that point which is infinity. Thus the limit of
0
1 1
the function does not exist at origin. Consequently the surface z will
x y
2 2
x y2
2
approach towards infinity when we approach towards origin as shown in the figure above.
(3) The requirement that
lim f ( x, y) = f (x0,y0)
( x , y )( x0 , y0 )
ensures us that the surface z f ( x, y) of the function f ( x, y) doesn’t have a vertical jump or
step above the point (x0,y0).
0 if x 0and y 0
f ( x, y)
1 otherwise
Now as we know that the Natural domain of the function is whole the plane. But you should note
that the function has one value “0” for all the points in the plane for which both x and y have
nonnegative values. And value “1” for all other points in the plane. Consequently the surface
0 if x 0and y 0
z f ( x, y )
1 otherwise
Example
Check whether the limit exists or not for the function
x2
lim f ( x, y ) 2
( x , y )(0,0) x y2
Solution:
First we will calculate the Limit of the function along x-axis and we get
x2
lim f ( x, y ) 2 1 (Along x-axis, y = 0)
( x , y ) (0,0) x 0
Now we will find out the limit of the function along y-axis and we note that the limit is
y2
lim f ( x, y ) 2 1 (Along y-axis, x = 0).
( x , y )(0,0) y 0
Now we will find out the limit of the function along the line y = x and we note that
x2 1
lim f ( x, y) 2 (Along y = x)
( x , y ) (0,0) x x 2
2
It means that limit of the function at (0, 0) doesn’t exist because it has different values along
different paths. Thus the function cannot be continuous at (0, 0). And also note that the function
is not defined at (0, 0) and hence it doesn’t satisfy two conditions of the continuity.
Example
Check the continuity of the function at (0,0)
sin( x2 y 2 )
if (x, y) (0 ,0 )
f ( x , y) x2 y2
1 if (x, y) (0,0 )
Solution:
First we will note that the function is defined on the point where we have to check
the Continuity that is the function has value at (0, 0). Next we will find out the Limit of the
sin x
function at (0, 0) and in evaluating this limit, we use the result lim 1 and note that
x 0 x
Sin(x2 + y2)
lim f(x,y) = lim
(x,y ) (0,0) (x,y ) (0,0)
x2 + y2
=1 = f(0, 0)
This shows that f is continuous at (0,0)
1. f (x0,y0,z0) if defined.
2. lim f ( x, y, z ) exists.
( x , y , z )( x0 , y0 , z0 )
Solution:
First of all, note that the given function is not defined on the cylinder x 2 y 2 1 = 0.
Thus the function is not continuous on the cylinder x 2 y 2 1 0
However, f ( x, y, z ) is continuous at all other points of its domain.
The function of the form f ( x, y) 3 x 2 x5 is continuous every where in the domain because it is
the product of continuous functions g ( x) 3x 2 and h( y) y 5 .
CONTINUOUS EVERYWHERE
(1) f ( x, y) ln(2 x y 1)
The function f is continuous in the whole region where 2 x y 1, y 2 x 1 . And its region is
shown in figure below.
y < 2x+1
1 xy
(2) f ( x, y) e
The function f is continuous in the whole region of xy-plane.
1
(3) f ( x, y) tan ( y x)
The function f is continuous in the whole region of xy- plane.
(4) f ( x, y) y x
The function is continuous where x ≥ y
y
x≥y
Partial Derivative
Let f a function of x and y. If we hold y constant, say y y0 and view x as a variable, then
f ( x, y0 ) is a function of x alone. If this function is differentiable at x x0 , then the value of
this derivative is denoted by f x ( x0 , y0 ) and is called the Partial derivative of f with respect of
x at the point ( x0 , y0 ).
Similarly, if we hold x constant, say x x0 and view y as a variable, then f ( x0 , y) is a
function of y alone. If this function is differentiable at y y0 , then the value of this derivative is
denoted by f y ( x0 , y0 ) and is called the Partial derivative of f with respect of y at the point
( x0 , y0 ).
Example
Let f ( x, y) 2 x3 y 2 2 y 4 x be a surface. Find the partial derivative of f with
respect to x and y at point (1, 2).
Solution:
Treating y as a constant and differentiating with respect to x , we obtain
f x ( x, y) 6 x 2 y 2 4
Treating x as a constant and differentiating with respect to y , we obtain
f y ( x, y) 4 x3 y 2
Substituting x = 1 and y = 2 in these partial-derivative formulas yields.
f x (1, 2) 6 1 2 4 28
2 2
f y (1, 2) 4 1 2 2 10
3
Example
Let z 4 x 2 2 y 7 x 4 y5 be a surface. Find the partial derivative of z with respect to x
and y.
Solution:
Z = 4x2 - 2y + 7x4y5
z
8 x 28 x 3 y 5
x
z
2 35 x 4 y 4
y
Example
Let z f ( x, y ) x 2 sin2 y be a surface. Find the partial derivative of z with
respect to x and y.
Solution:
z f ( x, y) x 2 sin2 y
Then to find the derivative of f with respect to x, we treat y as a constant.
z
Therefore, f x 2 x sin 2 y
x
Example
x2 y 2
Let z ln be a surface. Find the partial derivative of z with respect to x and
x y
y.
Solution:
By using the properties of the ln we can write it as
z = ln(x2 + y2) ln (x + y)
z 1 1
= 2 2 . 2x
x x + y x+y
2x2 + 2xy x2 y2
=
(x2 + y2)(x + y)
x2 + 2xy y2
= 2
(x + y2)(x + y)
Similarly, (or by symmetry)
z y2 + 2xy x2
=
y (x2 + y2)(x + y)
z x 4 sin( xy 3 )
z 4
x sin( xy 3 )
x x
x 4 sin( xy 3 ) sin( xy 3 ) ( x 4 )
x x
x cos( xy ) y sin( xy )4 x
4 3 3 3 3
z
x 4 y 3 cos( xy 3 ) sin( xy 3 )
x
z 4
x sin( xy 3 )
y y
x 4 sin( xy 3 ) sin( xy 3 ) ( x 4 )
y y
x 4 cos( xy 3 ).3xy 2 sin( xy 3 ).0
3 x5 y 2 cos( xy 3 )
Example: Find the partial derivative of z with respect to x and y.
z = cos(x5 y4)
z
sin( x 5 y 4 ) ( x 5 y 4 )
x x
5 x 4 y 4 sin( x5 y 4 )
z
sin( x 5 y 4 ) ( x5 y 4 )
y y
4 x y sin( x5 y 4 )
5 3
w = x2 +3y2+4z2-xyz
w
= 2x – yz
x
w
= 6y - xz
dy
dw
= 8z - xy
dz