![Page 1: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/1.jpg)
Rules of differentiation 1
Sum rule: ( )' ' '
Product rule: ( )' ' '
Multiplicati
Pow
on by a constant: ( )' '
Lineari
er ru
ty
l
:
:
e d x xdx
f g f g
fg f g fg
af af
( )' ' ' af bg af bg
REVIEW:
![Page 2: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/2.jpg)
The Chain Rule( ); ( )
'( ) '( )
y f x x g t
dy dy dx f x g tdt dx dt
![Page 3: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/3.jpg)
Taylor series
0 0 0 0
0
(3) ( )2 30
0
( )
0
1 1 1( ) ( ) '( ) ''( ) ( ) ( )2! 3! !
where
OR:1( ) ( )!
n n
n n
n
f x f x f x h f x h f x h f x hn
h x x
f x f x hn
Factorial function: ! ( 1)( 2) 1 0!=1 1!=1 2!=2 1=2
n n n n
3!=3 2 1=6 4!=4 3 2 1=24
![Page 4: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/4.jpg)
Approximating the derivative
0 00
( ) ( )Centered difference: '( )
2f x h f x h
f xh
0 00
( ) ( )Forward difference: '( )
f x h f xf x
h
0 0 00 2
( ) 2 ( ( )Centered 2nd derivative: ''( )
)f x h f x f x hf x
h
![Page 5: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/5.jpg)
Monday Sept 14th: Univariate Calculus 2
•Integrals•ODEs•Exponential functions
![Page 6: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/6.jpg)
Antiderivative (indefinite integral)Suppose ' .g f
![Page 7: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/7.jpg)
Antiderivative (indefinite integral)
' an antiderivative of
general antiderivative of
because ( )' ' ' ' 0
g f g f
g C f
g C g C g f
![Page 8: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/8.jpg)
x1x 2x
Area nnf h
h
Area under a curve = definite integral
2
10 1lim ( )
N xn xh nf h f x dx
2
1
2
1
21
2 1
If ' , then
( )
'( )
( ) ( )
|
x
xx
x
xx
g f
f x dx
g x dx
g x g x
g
( )f x
nf h
![Page 9: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/9.jpg)
x1x x2x 1x 2x
1Area
Nn
nf h
1
1
1 2 2
1
12
2 3 3
1Area ( )2
1 1 1 ( ( (2 2 2
1 1
) )
2 2
)
Nn n
n
Nn N
n
f h f h f h
h
f f h
f f f
f f h f h
h
Integrating data: the trapezoidal rule
Very similar!
nf h
112
( )n nf f h
![Page 10: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/10.jpg)
Example: integrating a linear function
x1x x
y mx b
212
antiderivative: ( )
( )
ydx mx b dx mx bx c
g x
1
1
21 1
2
1
21 1
21 12 2
12
( ) ( )
( )
) (
(
( )
) |
x
x
xx
mx bx c
Area x f
mx bx c
m x x b x x
x dx
g x g x g
![Page 11: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/11.jpg)
Another angle: the upper limit as an argument
11( ) ( ) ( )
( )
x
xg x g x f d
dg f xdx
1x x
![Page 12: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/12.jpg)
Another angle: the upper limit as an argument
11( ) ( ) ( )
( )
x
xg x g x f d
dg f xdx
1x x
![Page 13: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/13.jpg)
Another angle: the upper limit as an argument
11( ) ( ) ( )
( )
x
xg x g x f d
dg f xdx
1x x
![Page 14: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/14.jpg)
Differential equations
Algebraic equation: involves functions; solutions are numbers.
Differential equation: involves derivatives; solutions are functions.
2e.g.: 4 0x
11( ) ( )
'
( )x
xg x g x f
g
d
f
INITIAL CONDITION
![Page 15: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/15.jpg)
x
( )y g x
( ) slopef x
1x
1 1( )g g x
e.g. dead reckoning
1
1
1 1
( ) ( ) (
' ; ( )
)x
x
g f g x g
g x g x f d
![Page 16: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/16.jpg)
ExampleODE: ' cos( )
sin( )
Initial condition: (0) 0
0 sin(0) 0 sin( )
g x
g x C
g
CC
g x
![Page 17: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/17.jpg)
Classification of ODEs
2''' 3 0 linear''' 3 0 nonlinear' '' 0 nonlinear' 2 1 / mondo nonlinear!f
f ff ff f ff f
2''' 3 0 homogeneous''' 3 0 homogeneous' '' 1 nonhomogeneous
f ff ff f f
2' 0 1st order
''' 3 0 3rd order' '' 0 2nd order' 2 1 / 1st orderf
f gf ff f ff f
Linearity:
Homogeneity:
Order:
![Page 18: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/18.jpg)
Superposition(linear, homogeneous equations)
( ), ( ) solutions
( ) ( ) solution for all , .
f x g x
af x bg x a b
''' 3 0 (1) ''' 3 0 (2)
?
(1) (2):
(1): ''' 3 0 (2): ''' 3 0
sum: ( )''' 3( ) 0
is
linear, homogeneou
a solut on
s
i
f fg g
af bg
a b
a af afb bg bg
af bg af bg
af bg
Can build a complex solution from the sum of two or more simpler solutions.
![Page 19: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/19.jpg)
Superposition(linear, inhomogeneous equations)
( ), ( ) solutions
( ) ( ) solution for all , ?
f x g x
af x bg x a b
''' 3 1 (1) ''' 3 1 (2)
?
(1) (2):
(1): ''' 3 (2): ''' 3
sum: ( )''' 3( ) ( )
is NOT a solu
linear, inhomogeneous
tion
f fg g
af bg
a b
a af af ab bg bg b
af bg af bg a b
af bg
![Page 20: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/20.jpg)
Superposition(linear, inhomogeneous equations)
( ), ( ) solutions
( ) ( ) solution for all , ?
f x g x
af x bg x a b
''' 3 1 (1) ''' 3 1 (2)
?
(1) (2):
(1): ''' 3 (2): ''' 3
sum: ( )''' 3( ) ( )
is NOT a s
linear, homogeneo
olution
usf fg g
af bg
a b
a af af ab bg bg b
af bg af bg a b
af bg
![Page 21: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/21.jpg)
Superposition(nonlinear equations)
( ), ( ) solutions
( ) ( ) solution?
f x g x
af x bg x
2
2
2
2
2
2
2
''' 3 0 (1) non''' 3 0 (2)
?
solution would require: ( )''' 3( ) 0(1) (2):
(1): ''' 3 0 (
linear
2):
, homog
''' 3 0 sum: ( )''' 3( ) 0
is
eneou
NOT a so
sf fg g
af bg
af bg af bga b
a af afb bg bg
af bg af bg
af bg
lution
![Page 22: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/22.jpg)
ORDINARY differential equation (ODE): solutions are univariate functions
PARTIAL differential equation (PDE): solutions are multivariate functions
![Page 23: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/23.jpg)
x
y
1 slope=1
ODE: '( ) ( );
IC: (0) 1
E x E x
E
Exponential functions: start with ODE
Qualitative solution:
![Page 24: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/24.jpg)
Exponential functions: start with ODEODE: '( ) ( );
IC: (0) 1
E x E x
E
(3) ( )2 31 1 1( ) (0) '(0) ''(0) (0) (0)2! 3! !
n nE x E E x E x E x E xn
' , (0) 1 '(0) 1, E E E E
Analytical solution
(3) ( )2 31 1 1( ) ''(0) (1 1 0) (0)2! 3! !
n nE x x E x E x E xn
![Page 25: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/25.jpg)
Exponential functions: start with ODEODE: '( ) ( );
IC: (0) 1
E x E x
E
2 31 1 12! 3! !
( ) 1 nn
E x x x x x
.
Differentiate again:
'' ', '(0) 1 ''(0) 1,
''' '' 1, ... etc
E E E E
E E
Analytical solution
(3) ( )2 31 1 1( ) ''(0) (1 1 0) (0)2! 3! !
n nE x x E x E x E xn
![Page 26: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/26.jpg)
(3) ( )2 3
2 3
1 1 12! 3! !
1 1 12! 3! !
( ) ( ) '( ) ''( ) ( ) ( ) ( ) 1
( ) ( )
( ) ( ) ( )
{ }
n n
n
n
n
E x y E x E x y E x y E x y E x y
E x y y y y
E x E y
E x y E x E y
Rules for addition, multiplication, exponentiation
![Page 27: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/27.jpg)
(3) ( )2 3
2 3
1 1 12! 3! !
1 1 12! 3! !
( ) ( ) '( ) ''( ) ( ) ( ) ( ) 1
( ) ( )
( ) ( ) ( )
Generalization: set : (2 ) ( ) (
{ }
n n
n
n
n
E x y E x E x y E x y E x y E x y
E x y y y y
E x E y
E x y E x E y
y x E x E x E
2
2 3
3
) ( ) 2 : ( 2 ) ( ) (2 ) ( ) ( ) ( )
or: (3 ) ( )
In general ( ) ( ) , or
x E xy x E x x E x E x E x E x E x
E x E x
E x E x E
( ) ( )x E x
Rules for addition, multiplication, exponentiation
![Page 28: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/28.jpg)
Differentiation, integration( ) ( )
( )( ) ( )( )
d E x E xdx
d xd dE x E xdx d x dx
( )d xdx ( )E x
( ) ( )
1( ) ( )
d E x E xdx
E x dx E x C
(chain rule)
![Page 29: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/29.jpg)
Properties of the exponential function
1
2 31 1 1 12! 3! 2! 3!
1 , 1 1 2.71828
,
( ) , with special case 1/ ,
,
.
x
x y yx
x x x x
x x
x x
e x x x e
e e e
e e e e
d e edx
e dx e c
Sum rule:
Power rule:
Taylor series:
Derivative
Indefinite integral
All implicit in this: '( ) ( ); (0) 1E x E x E
![Page 30: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/30.jpg)
0
00 0
( )
( )( )
:
.
'
const
Newton s law of cooling
dT k T Tdt
d T TT k T T
dt
0
1 0
1 0
1
0
,
) .
(
(
0)
x x kt
kt
d e e T T Cedx
TT T CT
T T T T e
Cooling
0T
( )T t
![Page 31: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/31.jpg)
0( )dwm m m g kwdt
kw
mg
0m g
( ) 0w t m0(1 / ) reduced gravity
dw k w gmdtg g m m
( )k k kt t tm m md dw kwe e w emdt dt
( )k k k kt t t tm m m mdw k de w e we g emdt dt
k kt tm mmwe g e Ck
(0) 0 (1 ) k tmmw w g e
k
k tme
Sinking
![Page 32: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/32.jpg)
(0) 0 (1 ) k tmmw w g e
k
mw gk
w
kw
mg
0m g
( ) 0w t m
![Page 33: Rules of differentiation REVIEW:. The Chain Rule](https://reader036.vdocuments.net/reader036/viewer/2022081511/56649e9e5503460f94b9f5b0/html5/thumbnails/33.jpg)
Homework:
Do exercises for section 2.6, 2.8 and 2.9. Omit 2.9, #1.This will include:
• Exercise with antiderivatives and classifying ODEs.
• Carbon dating (for Thursday field trip)
• Derive further well-known functions from f’’=-f