Partial Differentiation
Partial Differentiation
Partial Differentiation
I N T R O D U C T I O N
Many applications require functions with more than one variable: the ideal gas
LEARNING OUTCOMES
19
PartiadDflerentuatien
Example 5. 1
derivatives of fr,y)=x'+*'y-2
Find the partial
Solution
.r.y)=3r+ 21
S.(.y)=2x'y-4y
5.1.1 Differentiability
Af=,:y,
Ox )Ar +ro.y,)Ay
Oy 6,Ar+6,Ay +
(T,) =lim
jx, y+h)- f(x.
h-0
h
y)
120
Partial Differentiation
re the rate
rate of
of change ofz with respect to y when x is fixed.
/yisthe
Example 5.2
Increments
is the actual
is called the of fand inerement
Af= f(x+ Ar, y Ay)- f(t,y) +
is moved to (r+Ax,y +Aw).
change in the function fas (x,y)
Total differentials
differential offand is the tangent plane
df=Ar+ Ay is called the total
OX Oy The
is moved to (x+Ar, y+Av).
approximation to the change in / as (x,y)
for the
total differential is actually the equation
=/,(x. y) dr + f (x, y)dy
coordinates centered at
the point of tangency.
dngent plane in local
definced by the equation
) is
The
Ctotal differential of , y.
and are independent of each
d e + d +dt whether
or not . y z
y are
continuous,
121
P a r t i a l
D i f e r e m i a t i o n
Example 5.3
( td+d=(2r+3y)dr+(3r-2))d
Ox
Az-f(2.05,2.96) -f(2,3)
[(2.05+32.05)(2.96)-(2.96)*]- [2 +3(2)(3)-3
= 0.6449
5.2.1 Second
partial derivative
If z=
f(x, y), we use the
following notations.
aaff.
Ox Ox Ox
Cr Cy Cx
( -f
y x ycx
Partial Diferentiation
(a.b)=1,(a,
b) or
oyOx OxOy
or
= i fthe derivatives involved
.
are continuous.
Example 5.4
derivatives of f(r,y)=x+ry'-2y
ind the second partial
Find
Solution
J =6xy?
f dy
function off anddz
=J
dt oy dt
,
differentiable
dt Oxr
Example 5.5
du
find
x =e'cos 1, y=e sin 1, dt
If u=x -and
Solution
du u dr du dy
d x dt 0y di
(-2r)(e'sin/ +e'cos
t
sin1)+
2x(e cost-c'
1)-2esin 1(e sin14+ecOst)
2e cos(e'cost-e'
sin
123
Partial Differentiation
Cs Ox Os oy os
Example 5.6
Ifz= e siny, where x=st and y =st, find 0zl Os and Ôz/Ot.
Solution
Since the chain rule
gives
Oz oz Oy Oz z ox
OS ox s y s and Cz Oy
ô ax ot y Ot
we calculate the derivatives:
=
e sin Ox
y
Ox
OS =e cos y 2st
Oy
Oy
2st OX
OS 2s
yS
Ot
Partial Differentiation
Example5.77
6ry.
Find if +"=
Solution
with
Finding means thaty Is a tunction ofr: that isy=fx). Differentiating y
TOspect to r gives
-3y =6 I.1-
dr
PartialDifterentiation
Example 5.8
Solution
Findingand
Cx
means that z =f(x, y). erentiatingz with
we have
respect to
3 +0+3+612+x=0
Ox
x++2 I+=0
+2x=--2yz
Ox
0z +2yz
Ox
Similarly, +2.xy
_y+2xz
5.5 Extreme Values 2xy
Partial derivatives
just as derivatives can be used to
You could be used tofind the extrema of
should
variables. be able of functions of two
to find extrema
find extreme
and saddle functions of a
single variabi
points of
functions variad
of
126
Partial Diferentiation
eritical point if
)
a )= oy )=0
Example 5.9
2r + 3y-4r +3y + 5.
Determine the critical pointfor flx, y)
=
Solution
S,,y)=4r-4 S,(x,y)=6y+3
0=6y+3
0 4x-4
is (1.-).
So the critical point for f(r.y)=2x
+3y-4x +3y +5
ce
points deri
crifical
smooth
version
of the s e c o n d ve test.
to test
two-dimensiOnal
presihle
t 5s
a
m n i m u n s
using
D e r i v a t i v e
Test)
(Second
y) are
continuous in
Theorem
derivatives
o1 x,
secomd partial
Sugypoe
neighhourthood
the
of the point
(,X,)
and
(XYo)= ôy ,)=6
Define
(40,o) ycr
p L
=
o o ) /y,(a o)-|J, (p.-y)
(p-Jo)
Ar-4
I,a.y)= -6y+3
117=,
,
0=4r-4 and 0=-6y +3
TPhs,t n ec
ical point for the given function is at |-|.
' rlical
Todelcmune i t .
:f any relative extrema or saddle points exist we need to find the
artial derivatives.
s m dp r a r t i
evaluate
need to
We
O
D=f.(a,b) S,(a,5)-[S,(a,b)
= (-4)-(-6)-0
=24.
Example 5.11
Findallrelative extrema
for f(r.y) =y' -x'.
Solution
maximum
<0 but it is not a
saddle point because D
* -r'at (0,0) is
,)= a
OI minimum.
120
Partial Differentiation
Theorem
Theorem: Extreme
Value
bounded region
closed and
D.
a
continuous on
Suppose that fr, v)
has both an
is
absolute maximum
and a b s o l u t e m i n i m u m on R.
.Then
values of a
function can only ocur at
ical po
The extreme
Theorem:
anywhere clse.
they cannot o c c u r
Example 5.12
function /(x,y)
= ar +2jy" -4y on therei
regon
Find the absolute extrema ofthe
R:r.)y2x' and y s4
Solution
6x >* = 0
f(x,y) =
=1
f(x,y) 4y -4>4y =4~y
=
Now we need to test the boundary conditions. One boundary is at the line
Put this value into thefcquation and reduce to just a function of N.
Taking the first derivative, we get/ ' r . 4) - 6r, which has a eritical pom
So have the
now we
point (0, 4) to test later.
The sccond
boundary is y=x, so makc this replacement.
f(x.x)=3r +2(r )-4()=31 +2r - 4r2
Partial Differentiation
and gr, y) =c
,=ig, (2) F =0 (1)
(2)
glr,y)=c (3)F =0
Notice that
gx, y) = c (3)
dx dy
or
Vg dei dg
131
Partial Differentiation
2 Evaluatef(x. F) at all of the points found
is the maximum value
in
(). Thc
of f ( . )and the small largest of thes
vaiue off (a. y). est value 1s
the r
Example 5.13
Find the smallest value of r v subject to the constraint
Solution
33
Using Lagrange multipliers, we havc
f =g (1)
f.is (2)
glx. v} c(3)
This gives us the three cquatsons
2x-3 (1)
2y- (2)
3x3(3)
Solve for x and y in (I) and (2).
respetIveiy, w
Plugging these into (3).
we have
Plugging in . 3
nto
into our
ou
cquations aaboye