Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
NASA's Ares I-X test rocket lifted off Oct. 28, 2009, at 11:30 a.m. EDT from
Kennedy Space Centre in Florida for a two-minute powered flight.
Lecture 11
Application of partial derivatives
-Total differential
-Small Errors
Total differential
Say we have a function
Let
x
y
u f ( x, y )
f ( x, y )
u
x
=small increment in y
=small increment in
Corresponding increment in
u will be:
u f ( x x, y y ) f ( x, y )
x
y
u [ f ( x x, y y ) f ( x, y y )] [ f ( x, y y ) f ( x, y )]
Total differential
f ( x, y )
u
u f ( x, y )
We can re write as:
u [ f ( x x, y y ) f ( x, y y )] [ f ( x, y y ) f ( x, y )]
Rearranging gives:
f ( x x, y y ) f ( x, y y )
f ( x , y y ) f ( x , y )
x
y
x
y
f
f
u
x y
x
y
f
f
dx dy
This can also be written in terms of a differential as: du
x
y
From the definition of a partial derivative this gives:
f
f
du
dx dy
x
y
Density
mass
m
m
4 3 3m
3 r
4r 3
Volume
of a sphere
4
3
r 3
( m, r )
Suppose that the mass m can be measured to an accuracy of 0.5% and the radius r to an
accuracy of 1%. To what accuracy can the density be estimated?
d
dm
dr
m
r
Rate of change density
as m changes
(r constant)
d
dm
dr
m
r
m
4r 3
3m
4r 3
3m
( 3)
4
r
4r
Remember
definition of a
percentage error is:
3
3m
d
dm
(3)dr
3
4
4r
4r
d
3
dm
4r 3
+
3m
4r 3
3m
( 3) dr
4
4r
3m
4r 3
dm
dr
3
m
r
% error in
0.5 3 1 3.5%
Error (%)
d
dm 3dr
m
r
[exact calculated ]
100
exact
Is this realistic?
% error in
3.5%
If m = 4kg and r = 1m
3m
3 4
3
3
4
4r
= 0.9549
3m
4r 3
3 4.02
4 (0.99) 3
= 0.98908
Error (%)
[exact calculated ]
100
exact
Consider the volume V of a cone; it depends on the cone's height h and its radius r
according to the formula
V
V
dV
dr
dh
r
h
Error (%)
[exact calculated ]
100
exact
V
V
dV
dr
dh
r
h
dV
2rh
dr
3
+
r 2 h
3
dV
dr dh
2
r
h
r 2
% error in V 2 1 2
dh
3
r 2 h
3
dV
dr dh
r
h
4%
V
V
dV
dr
dh
r
h
dV
2rh
dr
3
+
r 2 h
3
dV
dr dh
2
r
h
r 2
% error in V 2 1 2
dh
3
r 2 h
3
4%
V
V
dV
dr
dh
r
h
dV
2rh
dr
3
+
r 2 h
3
dV
dr dh
2
r
h
r 2
% error in V 2 1 2
dh
3
r 2 h
3
4%
Multiple choice
1) If
f ( x, y ) ?
2 f
xy
df
y dx
df
x dy
u
xy
f xy
Multiple choice
2) Iff
( x, y ) x
101
2y
2 f
2
x
A
1010x 99
C 10100x
99
10100 x
101x
100
Multiple choice
3) If
f ( x, y ) xy cos( y )
f xy
A xy sin( y )
C y sin( y ) cos( y )
D xy cos( y ) xy sin( y )
Multiple choice
4) If
f ( x, y, z ) 5 yxz
f yxz
A
5x
0
5y
Multiple choice
5) If P (u , v, w) e 2uvw
3P
wuv
2uvwe
uvwe
2 uvw
2 uvw
8uvwe
2 uvw
Multiple choice
6) If
and
r
0
A
r
C
1
r
0
r
All are true
Remember making an attempt on ALL the tasks is a compulsory part of the module
if you are one of the few whove not done it please do it as soon as possible.
x2 y2
2 1
2
a
b
is given by
2T
ab 2
be measured?
d
da
db
dT
a
b
T
d
da
db
dT
a
b
T
a: 1%.
b: 0.5%
c:1%
2T
a 2b 2
2T
ab 2
2.2T
ab 3
ab 2
2T
2
2
.
2
T
2 2 da
dT
db
2
a b
ab
ab3
2T
2.2T
2 2 da
3 db
d
a
b
ab
2T
2T
ab 2
ab 2 L
For
WORST
CASE
We find
size of
errors
d
da
a
d
da
db
2
b
2
db
b
ab 2 dT
2T
ab 2
dT
T
dT
= % + 2 (1)% + 2% =
Q: A cube has sides of length a and mass m. If a and m can be measured within
an accuracy of 2% and 3%, respectively, then to what accuracy can the density of
the cube be estimated?
Work in pairs or 3s - work this out (you can use your notes)
Put your hand up when you think youve an answer
Ill want to see some working.
Density
mass
m
m
volume volume.of .cube a 3
Q: A cube has sides of length a and mass m. If a and m can be measured within
an accuracy of 2% and 3%, respectively, then to what accuracy can the density of
the cube be estimated?
Work in pairs or 3s - work this out (you can use your notes)
Put your hand up when you think youve an answer
Ill want to see some working.
Density
mass
m
m
volume volume.of .cube a 3
d
dm
dr
m
r
( m, a )
Clickers?/chocolate
Q: A cube has sides of length a and mass m. If a and m can be measured within
an accuracy of 2% and 3%, respectively, then to what accuracy can the density of
the cube be estimated?
N.B Density depends on 2 variables m and a, ( m, a )
Density
mass
m
m
d
dm
da
m
a
d
1
3m
3 dm
a
a 4 da
m
m
a3
a3
dm 3da
m
a
d
dm 3dr
m
r
13
a
m
3m
4
a
a
dm
da
3%
2%
m
a
3 3x 2 9%
b
a
Differential
L
R
r
Partial differential equations are equations involving unknown functions and their
partial derivatives. They appear in lots of real world phenomena and engineering
applications. Some examples are:
1)The wave equation is an important second-order linear partial differential
equation that describes the propagation of a variety of waves, such as sound
waves, light waves and water waves
The heat equation is an important partial differential equation which describes the
distribution of heat (or variation in temperature) in a given region over time.
Earthquakes
Modelling dam
performance/failures
Outdoor
Airflows
f
x f
y f
s
s x s y
f
x f
y f
t
t x t y
2 f
t 2
2 f
t 2
f
f
2t 3s
t
x
y
Find
f
s 2
2
2 f
ts
2 f
st
f
2t 3s
t
x t
y
f
s f
f
t f
3
3s
2t
2
t y
t y
t x
t x
x f y f
2t
.
t x x t y x
t f
2 t x
x f y f
3s
.
s f
t y
f ( x, y ) y x
2
1) f ( x, y ) 2 x y
5
2 f
x 2
2 f
y 2
2) f ( x, y ) e 3 x y
2 f 2 f
yx xy
Consider the volume V of a cone; it depends on the cone's height h and its radius r
according to the formula
and
The difference between the total and partial derivative is the elimination of indirect
dependencies between variables.
f ( x, y )
If
and
x x ( s, t )
y y ( s, t )
is a function of x and y
f
x f
y f
s
s x s y
f
x f
y f
t
t x t y
AND
x and y are both functions of two other variables
The chain rule allows us to find the partial derivatives wrt to both s and t
Polar (r,)
http://www.edumedia-sciences.com/a367_l2-polar-coordinates-2d.html
f
x f
y f
r
r x r y
If f(x,y) is the temperature of surface of a circular break disc at the point (x,y)
The temperature at any point x,y is f(x,y)=x2+y2
+6
f
r
Feedback forms
Q1: I think having lectures and other material available in one place on the VLE will be
useful.
Q2: Having material hand written using the Tablet computer was difficult to read.
Q3: I would have preferred to have PowerPoint style slides that the lecturer was not able
to write on.
Q4: I found the lectures useful.
Q5-Q15 from sheet
A Strongly Agree
B Agree
C Neither agree nor disagree
D Disagree
E Strongly Agree
Any other comments can be written on the back of the pink sheet- all feedback welcome.
Lecture- Summary
Chain Rule 2nd derivative
Approximation of small errors
Stage 1
Stage 2
f
x f
y f
s
s x
s y
f
x f
y f
t
t x
t y
Stage 3
We can differentiate each of these partial derivatives wrt to both s and t
f
s 2
2
f
t 2
2
And also
2 f
ts
2 f
st
Multiple choice
1)
If f ( x, y ) x 2 y 3
2x 3y2
2x
3y
xy
Multiple choice
2)
If f ( x, y ) 3 yx 4 2 xy
3
12
yx
2y
A
12 y 2 y
3x 2 x
12 yx 2 x
Multiple choice
3)
If
x
4
2
f ( x, t ) 2tx t cos x
A 8tx 3 2t cos x
2 x cos t
8tx t sin x
2 x 2t cos x
Multiple choice
4)
If
t
4
2
f ( x, t ) 2tx t cos x
A 8tx 3 2t cos x
2 x cos t
8tx t sin x
2 x 2t cos x
Multiple choice
z
If f ( x, y, z ) 2 x 4 y x sin( z ) 3 z
5)
A 8 x y sin( z )
4
2
x
y x cos( z ) 3
C
3
x cos( z ) 3
Multiple choice
6)
A abcx y d sin( n) 6m
3
2 xy
6m
Earthquakes
Arsenal stadium
Wind farms
Eden Project
London Coliseum
CFD modeling of air
temperature distributions
Air flow
around
building
f and f
t y s
f
t
and
x=2t+s
y=t+2s
f
s
f
x f
y f
s
s x s y
f
x f
y f
t
t x t y
Now you might want to find what the rate of increase/decrease of the number of
fish in the river is as the river height changes or as temp changes.
This would be given by
f
t
and
f
s
y
Find
df/ds
f
x f
y f
s
s x
s y
Example 1
f ( x, y ) xy
x st ,
f
x f
y f
t
t x
t y
y t2
f
ty 0 x
s
yt
f
sy 2tx
t
2 f
( yt ) y t y .t
2
s s
s
s
2 f
y.0 0.t
2
s
= 0
f
ty 0 x
s
yt
f
x f
y f
t
t x
t y
f
sy 2tx
t
2 f
( yt ) y t y .t
2
s s
s
s
2 f
y.0 0.t
2
s
2 f
( sy 2tx)
st s
f
x f
y f
s
s x
s y
= 0
( sy ) (2tx)
s
s
2 f
s y s y 2 t x t x
st
s s
s
s
2 f
s.0 1. y 2(0.x t.t ) 3t 2
st
f
ty 0 x
s
yt
f
sy 2tx sy 2tx
t
2 f
st
2 f
( yt ) y.1 y .t
t
ts t
2 f
ts
t 2t 3t
2
3t 2
y 2t.t
f
ty 0 x
s
yt
2 f
0
2
s
f
sy 2tx sy 2tx
t
2 f
st
2 f
ts
3t 2
t 2t 3t
2
s
y
x
2 f
( sy 2tx )
t
ys
2
xt
2
t
t
t
t
t
t
0. y + s.2t
2 f
2 st 2 st 2 st 6 st
2
t
2(1.x ts )