LECTURE 2 First Week Functions of Several Vareables S2 2015-2016
LECTURE 2 First Week Functions of Several Vareables S2 2015-2016
2w 2w
0
(1.22)
x 2 y 2
Where w x, y is some unknown function of two variables, assumed to be
twice differentiable. Equation (1) models a variety of physical situations, as we
discussed in Section P of these notes, and shall briefly review.
2
2
2 2
x
y
2
(1.23)
The notation comes from thinking of the operator as a sort of symbolic scalar
2
product:
i
y
x
2
j i
y
x
2
2
j 2 2
y
x
2 w 0
(1.22*)
Notice that, the laplacian is a linear operator, which is it satisfies the two rules
2 u 2u 2 ,
2 c u c 2u ,
(1.25)
f x, y a x 2 y 2 bxy , ( a, b constants).
Degree
are harmonic.
B)
constant multiples c ln r are the only harmonic functions with radial symmetry, i.e., of
the form f r .
the functions
ekx sin ky
and
ekx cos ky
are harmonic.
2u 2u 2u
u
x 2 y 2 z 2
2
(1.26)
u x2 y 2 2z 2 ,
1
u ,
r
where r
R3 ,
R 3 0, 0, 0
x2 y 2 z 2 .
u x, y ln x 2 y 2
2.
3.
a)
u x, y e x sin y
b)
u x, y e2 x cos 2 x
c)
u x, y sinh x sin y
d)
u x, y sin x cosh y
e)
x
y
u x, y cos cosh
2
2
x,
y, z but not at
0, 0, 0 :
u x, y z
4.
1
x y z
2
a)
3
y
u x, y, z e x sin cos
z
2
2
b)
u x, y, z e2 y cos
3 x sin z
You can determine the rate of change of a function f with respect to one of its
several independent variables. This process is called partial differentiation, and the
result is referred to as the partial derivative of f with respect to the chosen independent
variable.
d u u d x u d y
=
dt x dt y dt .
u
u
x
u
y
t
Figure 1
u with respect to t .
u is a
(1.27)
t=0.
Solution:
By the Chain Rule for one independent variable (Eq. 1.27), you have
d u u d x u d y
=
dt x dt y dt
The first we have to find
dx dy
,
, so
dt dt
dx d
sin t cos t ,
dt dt
x 2 y y 2 2 xy ,
x x
dy d
et et ,
dt dt
x 2 y y 2 x 2 2 y , then
y y
du
= 2 xy cos t x 2 2 y et
dt
du
= 2 e0 sin 0 cos 0 e0 sin 2 0 2 e0 = 0 2 .
d t t 0
0
1
0
1
1
1
u = f x1 , x2 , x3 ,
xn we have
d u u dx1 u dx2
=
+
d t x1 d t x2 d t
u dxn
xn d t
(1.28)
dz z dx z dy
= +
dt x dt y dt
(1.29)
xy
dw
.
dt
Solution:
dw
z z x
y
,
,
and
To find derivative
, the first we have to find
. So
x y t
t
dt
w
w
dx
dt
ye xy ,
xe xy and
2t ,
3t 2 . Then by Theorem 3 the equation (3)
x
y
dt
dt
yields
dw w dx w dy
=
+
= ye xy
dt
x dt y dt
2 3
= t 3et t
2t t 2et t
2 3
2t xe 3t
xy
3t 2 = t 3et
2t t 2et
3t
2
= 2t 4 et 3t 4 et = 2t 4 3t 4 et = 5t 4 et .
5
t 0.
dz
when
dt
Solution:
The chain rule gives
dz z dx z dy
= +
dt x dt y dt
= 2 xy 3 y 4 2 cos 2t x 2 12 xy 3 sin t .
It is not necessary to substitute the expressions for x and y in terms of t. simply observe
that when t 0 we have x sin 0 0 and y cos 0 1. Therefore,
dz
= 0 3 2 cos 0 0 0 sin 0 6
dt t 0
= 2 0 1 3 1 2 1 0 12 0 1 0 = 0 3 2 0 0 0 6 .
dz
4
2
3
= 2 sin 0 cos 0 3 cos 0 2 cos 2 0 sin 0 12 sin 0 cos 0 sin 0
dt t 0
4
The derivative in the example above can be interpreted as the rate of change in z
with respect to t as the point
x, y
x, y ,
points on C and the derivative dz dt represents the rate at which the temperature
changes along C .
z
z
and
exist and are given by
s
t
z z x z y
=
+
s x s y s
y
x x y
, ,
and
all
s t s
t
z z x z y
=
+
t x t y t
z
z
y
z
x
x
x
s
x
t
y
s
y
t
(1.30)
z
z
and
.
s
t
Solution:
Applying Theorem 2 (case 2) of the Chain rule, we get
z z x z y
= + = e x sin y t 2 e x cos y 2st
s x s y s
z z x z y
= + = e sin y 2st e
t x t y t
cos y s 2
Notice that, case (2) of the chain rule contains three types of variables: s and t are
independent variables, x and y are intermediate variables, and z is the
dependent variable.
We draw branches from the dependent variable z to the intermediate variables x
and y to indicate that z is a function of x and y . Then we draw branches from x and
z z x z y
= +
s x s y s
similarly, we find z t by using the paths from z to t .
du u dx u dy u dz
=
+ +
dt x dt y dt z dt
(1.31)
du
if
dt
z t3 .
Solution:
Equation (1.32) gives
u
u
u
2 x z cos xz,
ze y ,
e y x cos xz
x
y
z
and
dx
dy
dz
1,
2t ,
3t 2 .
dt
dt
dt
du u dx u dy u dz
=
+ +
dt x dt y dt z dt
2t e
cos t .
= 2 x z cos xz 1 ze xy
= 2t 3t 2 2t 4 et 4t 3
2
x cos xz 3t 2
u u x1 u x2
=
ti x1 ti x2 ti
u xn
xn ti
xn and
(1.34)
for each i = 1, 2, , m .
y y u, v , z z u, v and t t u, v
Solution:
Applying Theorem 3 (general case) with n 4 and m 2 (in Figure below shows the
tree diagram).
Although we havent written the partial derivatives for that branch, its understood that
if a branch leads from y to u , then the partial derivative for that branch is y u . with
the aid of the tree diagram we can now write the required expressions:
w
=
u
w
=
v
w x w y w z w t
+
+
+
,
x u y u z u t u
w x w y w z w t
+
+
+
.
x v y v z v t v
g
g
s
0.
s
t
Solution:
Let x s 2 t 2 and y t 2 s 2 . Then g s, t f x, y and the chain rule gives:
g f x f y f
f
=
+ =
2s + 2s ,
s x s y s x
y
g f x f y f
f
=
+ =
2t + 2t .
t x t y t x
y
Therefore:
g
g
f
f
f
f
s
2st 2st 2st 2st 0
s
t
x
y
x
y
You probably have learnt how to differentiate and integrate functions implicitly
and parametrically from the Engineering Mathematics 1, but only up to the first order of
single variable function. In this section, we will be learning more details of implicit
differentiation.
An application of the Chain Rule to determine the derivative of a function defined
implicitly. Suppose that x and y are related by the equation F x, y 0 , where it is
assumed that y = f x is a differentiable function of x . To find the
dy
we use chain
dx
dy
dz
dx
= Fx x, y
Fy x, y
dx
dx
dx
A similar procedure can be used to find the partial derivatives of functions of
several variables that are defined implicitly
Theorem 5 (Chain Rule: Implicit Differentiation):
If the equation F x, y 0 defines y implicitly as a differentiable function of
x , then
F x, y
y
=- x
x
Fy x, y
Fy x, y 0 .
(1.35)
F x, y , z
Fx x, y, z
z
z
=- x
=
x
Fz x, y, z and y
Fz x, y, z
Fz x, y, z 0 . (1.36)
illustrated below.
3
3
Implicit differentiation of the folium x y 9 xy 0 yields:
3x 2 3 y 2
dy
dy
9x 9 y 0 .
dx
dx
Notice that, the term 9xy is considered a product of two functions and the Product
Rule is used to find its derivative, 9 x
So, now solving for
dy
9y .
dx
dy
we have that:
dx
2
3 3 y x2
d
y
d
y
9
y
3
x
3 y x2
3 y2 9x
2
2
dx
dx 3 y 9 x 3 y 2 3x
y 3x
differentiation.
The chain rule described above leads to a formula that simplifies the implicit
differentiation. Consider f x, y 0 as a function of two variables, differentiable and
defines y implicitly as a function of x , say y g x .
Let z F x, y 0 , then
dz
dx
dy
Fx
Fy
0
dx
dx
dx
dy
Fx 1 Fy
0,
dx
F
dy
dy
Fy
Fx
x , Fy 0.
dx
dx
Fy
F
dz
x , Fz 0,
dx
Fz
Fy
dz
, Fz 0.
dy
Fz
For example given a multivariable function f x, y , we defined the partial
derivative of one variable with respect to another variable. All other variables are
treated as constants.
Example 8 (Implicit Differentiation):
If z f x, y x 4 y 3 8x 2 y y 4 5x , find
z
z
and
.
x
y
Solution:
We will go by step, first
z 4 3
x y 8 x 2 y y 4 5 x 8 x3 y 3 16 xy 5 ,
x x
x y 8 x 2 y y 4 5 x 3x 4 y 2 8 x 2 4 y 3 ,
y y
z
z
and
.
x
y
Solution:
We will go by step, first
'
z
'
'
xe xy x e xy x e xy e xy xe xy xy e xy xye xy ,
x x
xe xy x e xy x e xy 0 e xy xe xy xy xxe xy x 2e xy ,
y y
Solution:
Here we applying quotient rule,
y x y z y x y z
w
y
2
x x x y z
x y z
'
0 x y z y 1 0 0
x y z
'
y x y z y x y z
w
y
2
y y x y z
x y z
'
1 x y z y 0 1 0
x y z
y x y z y x y z
w
y
2
z z x y z
x y z
'
0 x y z y 0 0 1
x y z
x y z
'
xz
x y z
'
x y z
When we are taking a partial derivative all variables are treated as fixed constant
except two, the independent variable and the dependent variable.
Lets do some examples:
Example 11 (Implicit Differentiation):
Given x2 cos y z 3 0 , find
z
z
and
.
x
y
Solution:
Differentiating with respect to x (and treating z as a function of x , and y as a
constant) gives
z 2
z
x cos y z 3 2 x 2 0 3z 2
0.
x x
x
x
x 3z 2
Note that, we get z s in the answer, but, as before, at least we get some answer.
z
So, now for
. Differentiating with respect to y (and treating z as a function of
y
y , and x as a constant) gives we have that
z 2
z
x cos y z 3 0 sin y 3z 2
0.
y y
y
z
we have that
y
z
z sin y
.
3z 2
sin y ,
2
y
y
3z
z
.
x
Solution:
Differentiating with respect to x (and treating z as a function of x , and y as a
constant) gives
sin xyz x 3z y
x
x
z
.
sin xyz xyz 1 3 0
x
x
z
z
sin xyz yz xy 1 3
x
x
z
, which gives
x
z
z
sin xyz yz xy 1 3
x
x
z
z
yz sin xyz xy sin xyz 1 3
x
x
.
z
z
xy sin xyz 3 1 yz sin xyz
x
x
z
xy sin xyz 3 x 1 yz sin xyz
z 1 yz sin xyz
.
x xy sin xyz 3
z
z
and
for the given functions
x
y
a)
xyz cos x y z ,
b)
ln x 2 y 2 tan 1 x z