Functions of Sev Var 21
Functions of Sev Var 21
Functions of Sev Var 21
1. Introduction
The term ordered pair refers to two real numbers, where one is designated as the “first”
number and the other as the “second”. The symbol ( x, y) is used to denote the ordered
pair consisting of the real numbers x, y . Every ordered pair ( x, y) determines a point
P in the xy-plane with coordinates x, y and conversely, to each point in xy-plane
a unique ordered pair may be assigned.
by d ( P0 , P) | P0 P | ( x x0 ) 2 ( y y0 ) 2 .
If P0 ( x0 , y0 , z0 ) and P( x, y, z ) then d ( P0 , P) | P0 P | ( x x0 )2 ( y y0 )2 ( z z0 )2 .
d ( P0 , P) r .
( x0 , y0 , z0 ) .
Deleted neighbourhood
A point P is an interior point of a set D if there exists a circle with centre at P which
contains points of D only.
A point P is called a boundary point of D if every circle with the centre P contains
points that are in D and points that are not in D.
A region is closed if it contains all of its boundary points.
A region is open if it contains none of its boundary points; that is, every point of the
region is an interior point .
1
2. Functions of two variables
Recall that a function f is a correspondence that associates with each element of a set X
a unique element of a set Y. If both X and Y are subsets of , then f is called a
function of (one) real variable. If X is a subset of a product then f is called a
function of two (real) variables.
Definition 2.1 Let D be a set of ordered pairs of real numbers. A function f of two
variables is a correspondence that associates each pair ( x, y) in D with a unique real
number z, denoted by f ( x, y) . The set D is called the domain of f. The range of f
consists of all real numbers f ( x, y) , where ( x, y) is in D.
For functions of two variables we may represent the domain D by points in an xy-plane.
1
Example 2.1 Find the domain of f ( x, y ) .
x y
1) Plane: f ( x, y) z 5 x y ;
z 5 x; x y 5, x 0, x 5, y 0,
The graph of the parabola z ax 2 is revolved about the z-axis. A circular paraboloid
is generated. The z-axis is called the axis of the paraboloid.
2
x2 y 2
3) Paraboloid has the equation cz .
a 2 b2
Trace of the surface – a curve formed by the intersection of a surface and a plane.
x2 y 2 z 2
6) Ellipsoid has the equation 1.
a 2 b2 c 2
x2 y 2 z 2
8) In general, a cone has the equation 0 ( an elliptical cone).
a 2 b2 c2
Traces in plane parallel to the xy-plane are ellipses.
9) Cylinder
If K is a curve in a plane and l is a line not parallel to the plane, then the
set of all points ( x, y, z ) generated by a moving line traversing K parallel to
l is called a cylinder. This curve K is called the directrix of the cylinder.
3
x2 y2
- elliptic cylinder 1;
a 2 b2
- parabolic cylinder z x2 ;
x2 z 2
- hyperbolic cylinder 1.
a2 b2
Definition 4.1 Let a function f of two variables be defined at every point ( x, y) in the
interior of a circle centred at (a, b) , except possibly at (a, b) . Then
lim f ( x, y) g
( x , y ) ( a , b )
0 0 ( x, y) 0 ( x a)2 ( y b)2 f ( x, y) g .
number g along every possible curve or path trough (a, b) . Put in negative way:
If f ( x, y) does not approach the same number g for two different paths to (a, b) ,
lim f ( x, y) exists, and the limit is the same as f (a, b) that means, f is
( x , y ) ( a , b )
4
A function z f ( x, y) is continuous on a region D of the xy-plane if f is continuous
at every point of D.
The sum and product of two continuous functions are continuous; the quotient of two
continuous functions is continuous, except at points where the denominator is zero.
Lastly, the graph of a continuous function is a surface with no breaks.
5. Partial Differentiation
The derivative of a function of one variable y f (x) is given by
f ( x0 x) f ( x0 )
f ' ( x0 ) lim .
x 0 x
In exactly the same manner, we can define a derivative of a function of two variables
z f ( x, y) with respect to each variable.
Definition 5.1
If z f ( x, y) , then the partial derivative with respect to x is
f f ( x x, y) f ( x, y)
lim
x x 0 x
f
Note that in the definition of , the variable y is fixed. So, the following remark is
x
valid
Remark 5.1
f
To compute , use the laws of ordinary differentiation while treating y as a constant.
x
f
To compute , use the laws of ordinary differentiation while treating x as a constant.
y
5
A symbol such as denotes the operation of taking a partial derivative, in this case
x
3
with respect to x; for example,
x
x y 2 3x 2 .
f f
The partial derivatives and can be represented by alternative symbols:
x y
f f
fx fy .
x y
f f ( x x, y) f ( x, y) ( x x)3 y 2 x3 y 2
lim lim
x x 0 x x 0 x
x 3 3x 2 x 3x(x) 2 (x) 3 x 3
y 2 lim y 2 lim 3x 2 3xx 3x 2 y 2 ,
x 0 x x 0
f f ( x, y y) f ( x, y) x 3 ( y y ) 2 x 3 y 2
lim lim
y y 0 y y 0 y
y 2 2 yy (y) 2 y 2
x 3 lim x 3 lim 2 y y 2 x 3 y .
y 0 y y 0
Geometric interpretation
Let z f ( x, y) have partial derivatives at ( x0 , y0 ) . If y is a constant, say y y 0 , the
R( x0 x, y0 , f ( x0 x, y0 )) as
f ( x0 x, y0 ) f ( x0 , y0 )
,
x
we have
f f ( x0 x, y0 ) f ( x0 , y0 )
( x0 , y0 ) lim .
x x 0 x
6
f
In other words, ( x0 , y0 ) can be interpreted as the slope of the tangent line at point
x
( x0 , y0 , f ( x0 , y0 )) on a curve K of intersection between the surface z f ( x, y) and a
f
plane y y0 . In turn, is the slope of the tangent line at a point on a curve of
y
intersection between surface z f ( x, y) and a plane x constant .
Example 5.2 Find the slope of the tangent line at (2,1,4) for z 9 x 2 y 2 .
f
2 x
x
At (2,1,4) the slope is
f
(2,1) 4 .
x
In the plane x 2 , x is a constant and so we find the partial derivative with respect to
y:
f
2 y
y
At (2,1,4) the slope is
f
(2,1) 2 .
y
- f ( x, y) a x
2
sin y
.
7
f
the partial derivative of with respect to x. The latter types of partial derivatives are
y
called mixed partial derivatives.
For z f ( x, y) :
Second-order partial derivatives:
f 2 f f 2 f
f xx ( x, y) and f yy ( x, y ) ;
x x x 2 y y y 2
Mixed second-order partial derivatives:
f 2 f f 2 f
f xy ( x, y ) and f yx ( x, y ) .
y x yx x y xy
Higher-order partial derivatives for functions of three or more variables are defined in a
similar manner. The second and third-order partial derivatives are denoted by f xx , f yy ,
f xxx and so on. The subscript notation for mixed second partial derivatives is f xy or
f xy . Note that
f 2 f f 2 f
f xy ( x, y ) and f yx ( x, y ) .
y x yx x y xy
Example 6.1 Find the second partial derivatives of the function f if:
- f ( x, y) e xy ; f xx y 2 e xy , f yy x 2 e xy , f xy f yx e xy (1 xy ) ;
- f ( x, y) x 2 y 3 ;
f ( x, y) x y ;
Theorem 6.1
Let f be a function of two variables. If the first and the second partial derivatives are
continuous on an open region E, then
8
2f 2f
(x , y ) (x , y ) , for ( x0 , y 0 ) E .
yx 0 0 xy 0 0
5f
- f ( x, y) x 5 y 3 , . 360 x 2 y
x 2 y 2 x
Example 7.1 If
z u 2 u sin v , u( x, y) xe 2 y and v( x, y) xy
then
z x 2e4 y xe 2 y sin xy .
partial derivatives, then composite function z f u( x, y), v( x, y) has first partial
derivatives
f f u f v f f u f v
and .
x u x v x y u y v y
9
u
Example 7.2 If f (u, v) ln , u( x, y) x sin y and v( x, y) x cos y use the
v 1
f f
Chain Rule to find and .
x y
u v
sin y cos y
x x
u v
x cos y x sin y
y x
f v 1 1 1 f v 1 1 1
u u v 1 u v u ( v 1) 2
v 1
f 1 cos y f x sin y
cot x
x x 1 x cos y y 1 x cos y
8. Directional derivatives
Definition 8.1
Let function f ( x, y) be defined on neighbourhood of ( x0 , y0 ) and v (vx , v y ) be a unit
vector. The directional derivative of f at P( x0 , y0 ) in the direction of v , denoted by
D f ( x0 , y0 ) , is
v
f ( x0 tv x , y0 tv y ) f ( x0 , y0 )
D f ( x0 , y0 ) lim .
v t 0 t
It is easy to see that the first partial derivatives of f are special cases of the directional
derivative. As a matter of fact, if v i , then vx 1, v y 0 , and the limit in the
f ( x0 , y0 t ) f ( x0 , y0 )
D f ( x0 , y0 ) lim f y ( x, y) .
j t 0 t
10
The following theorem provides a formula for finding directional derivatives.
Theorem 8.1 If f ( x, y) is a differentiable function of two variables and v (v x , v y )
1 3 5
P( x0 , y0 , z0 ) (3,4,5) in the direction of the vector v , , .
3 3 3
9 16 3 25 5
108
11
Let the plane be perpendicular to the xy-plane that contains a vector v and let a curve
K be the trace of the surface z f ( x, y) . The directional derivative D f ( x0 , y0 ) is
v
D f ( x0 , y0 ) tan
v
Definition 8.2
If f ( x, y) is a function of two variables, then the gradient of f at point ( x0 , y0 ) is a
vector
f f
f ( x0 , y0 ) ( x0 , y0 ), ( x0 , y0 ) .
x y
The symbol , an inverted capital Greek delta, is called “del” or “nabla”. The vector
f is usually read “grad f ”.
Example 8.5 If
f ( x, y) sin x 2 y 2 , find the gradient of f at the point
( x0 , y0 ) (3,4) .
3 4
5 , 5
Interpretation
1. The gradient vector f ( x0 , y0 ) points in the direction in which f increases most
rapidly.
2. f ( x0 , y0 ) is perpendicular to the level curve at point P( x0 , y0 ) ( level curve or
12
Theorem 8.2
f f
Let , be continuous functions at point P( x0 , y0 ) and let v be the unit vector,
x y
then
D f ( x0 , y0 ) f ( x0 , y0 ) v .
v
Thus, to find the directional derivative of f in the direction of unit vector v , we may
dot the gradient of f with v .
(The symbol u v is read “ u dot v ”. The dot product is also referred to as the scalar
product or inner product. It is important to note that u v is a scalar, not a vector.)
Example 8.6
The temperature in a rectangular box is approximated by
T ( x, y, z) 10 cos( x y) 20 sin( x z) , 0 x, y, z .
If a mosquito is located at , , , in which direction should it fly to cool off as
2 2 2
rapidly as possible?
We have
f f f
10 sin( x y) 20 cos( x z ) , 10 sin( x y ) and 20 cos( x z ) .
x y z
Hence
f f f
, , 20 , , , 0 and , , 20 .
x 2 2 2 y 2 2 2 z 2 2 2
13
9. Differentials
Definition 9.1 Let z f ( x, y) and let x and y be the increments of x and y ,
respectively. The increment f of z f ( x, y) is
f f ( x0 x, y0 y) f ( x0 , y0 ) .
Note that the increment f represents the change in the value of f if ( x0 , y0 ) changes to
( x0 x, y0 y) .
The next definition extends the concept of differentials to functions of two variables.
f
Let f ( x, y) have first partial derivatives on some region D and suppose that and
x
f
are continuous at P0 ( x0 , y0 ) in D. If ( x0 dx, y0 dy) is in D and
y
f f ( x0 x, y0 y) f ( x0 , y0 ) then
f df .
Thus
f ( x0 dx, y0 dy ) f ( x0 , y0 ) df ( x0 , y0 ) .
f ( x, y) x 4 y 2 P0 ( x0 , y0 ) (1,1)
f f
4x3 y 2 (1,1) 4
x x
f f
2x4 y (1,1) 2
y y
14
f (1,1) 1
2 3 8 6
(1.02) 4 (0.97) 2 f ( x0 , y0 ) df ( x0 , y0 ) 1 4 2 ( ) 1 1,02
100 100 100 100
f 1,018460419344.
f ( x, y) x 2 y 2 P0 ( x0 , y0 ) (3,4)
f x f 3
(3,4)
x x2 y 2 x 5
f y f 4
(3,4)
y x2 y2 y 5
f (1,4) 9 16 5
3 1 4 2 5
(3,01) 2 (3,98) 2 f ( x0 , y0 ) df ( x0 , y0 ) 5 5 4,99
5 100 5 100 500
f 4,9900400…
The concept of differentials can be extended to functions of more than two variables. For
example, suppose that w f ( x, y, z ) where f is defined on a some region D. Let the
first partial derivatives exist and be continuous functions at ( x0 , y0 , z0 ) . Then
f f f
df dx dy dz
x y z
11
f (1,1,2) 1
12
15
f yx y 1 f 1 10
(1,1,2) 2 1
x yz x 1
f f
x y ln x y z x y ( z ) y z 1 (1,1,2) 2
y y
f f
x y y z ln y (1) (1,1,2) 0
z z
dx 0,02 dy 0,01 dz 0,01
Thus
0,981,01 f ( x0 , y 0 , z 0 ) df ( x0 , y 0 , z 0 )
1,012,01
1 1 (0,02) (2) 0,01 0 0,01 1 0,02 0,02 0,96
f 0,960400... .
Exact differentials
Definition 9.3
A differential expression
P( x, y)dx Q( x, y)dy
is said to be an exact differential if there exists a function f such that
df P( x, y)dx Q( x, y)dy
Theorem 9.1
Let P and Q be continuous and have continuous first partial derivatives in some region
D. Then
P( x, y)dx Q( x, y)dy
is an exact differential if and only if
P Q
y x
for all ( x, y) in the region.
16
The expression is exact.
Definition 10.1
A function f of two variables is said to have a local maximum [local minimum] at
P( x0 , y0 ) if there exists a neighbourhood of P( x0 , y0 ) such that
f ( x0 , y0 ) f ( x, y) f ( x0 , y0 ) f ( x, y)
for all other pairs ( x, y) in the neighbourhood.
Geometrically, if a surface S is the graph of f, then the local maxima correspond to the
high points on S and the local minima correspond to the low points on the graph of f.
The local minima and maxima are called the local extrema of f.
Theorem 10.1
If
o f has extremum at point P( x0 , y0 )
f f
o there exist and ,
x y
f f
then ( x0 , y 0 ) 0 and ( x0 , y 0 ) 0 .
x y
Definition 10.2
If z f ( x, y) has first partial derivatives, then the solutions of
f f
( x, y ) 0 and ( x, y ) 0
x y
are called critical points.
The critical points correspond to points where f could possibly have a relative
extremum. In some texts critical points are called stationary points.
The following theorem gives sufficient conditions for ascertaining relative extrema.
17
Theorem 10.2 Second Partial Test for Relative Extrema
Suppose that first and second partial derivatives of function f are continuous at some
neighbourhood of point P( x0 , y0 ) and let
f f
o ( x0 , y 0 ) 0 , ( x0 , y 0 ) 0 ,
x y
2f 2f
( x , y ) ( x0 , y 0 )
x 2 xy
0 0
o D ( x0 , y 0 ) 2 0.
f 2f
( x0 , y 0 ) ( x0 , y 0 )
yx y 2
Then function f ( x, y) has an extremum at point P( x0 , y0 ) .
2f
f ( x0 , y0 ) is a local minimum if ( x0 , y 0 ) 0 and f ( x0 , y0 ) is a local
x 2
2f
maximum if ( x0 , y 0 ) 0 .
x 2
f min (1,1) 1
18
11. Constraint extrema
Sometimes one is asked to find the maximum or minimum of a function subject to a
given side condition or constraint. Then the side condition is used to eliminate one of the
variables in the function so that well-known tests for finding extrema were applicable.
So, consider the following examples:
Example 11.3 Find the point on the plane x 2 y z 1 closest to the origin.
1 1 1
, ,
6 3 6
19