Professional Documents
Culture Documents
Week 1
Week 1
MATH19661
Lecturer: Dr Sean Holman
2020–21
Overview
Video 1: Basic concepts of differentiation
y f ! (x) = slope
y = f (x)
x x
The derivative f ! (x) is the slope of the tangent line to this graph
at y = f (x). filler text
f (x + δx) − f (x)
f ! (x) = lim
δx→0 δx
1M1 3/72
What is differentiation?
Suppose we have a function with smooth graph y = f (x).
x x + δx
f (x + δx) − f (x)
f ! (x) = lim
δx→0 δx
1M1 4/72
Calculating derivative using a limit
f (x+δx)−f (x)
f " (x) = limδx→0 δx
1M1 5/72
Comment on notation
The notation
f!
for the derivative is due to Isaac Newton.
If we let δf = f (x + δx) − f (x) be the change in f , then
δf
f ! (x) = lim .
δx→0 δx
df
dx
which is due to Gottfried Leibniz. We will use both notations
interchangeably. They mean the same thing.
1M1 6/72
Derivatives of simple functions
y = f (x) f ! (x)
xn nxn−1
constant 0
ex ex
sin x cos x
cos x − sin x
ln |x| 1/x
1M1 7/72
Differentiation methods
! Product rule
! Quotient rule
! Chain rule
1M1 8/72
Overview
Video 1: Basic concepts of differentiation
! Product rule
! Quotient rule
! Chain rule
1M1 10/72
Product and Quotient rules
1M1 11/72
Product rule
(uv)" = u" v + uv"
1M1 12/72
Product rule
(uv)" = u" v + uv"
1M1 13/72
Quotient rule
# u $" vu! −uv!
v = v2
sin x
Example 1: Differentiate h(x) = .
ex
Solution:
1M1 14/72
Quotient rule
# u $" vu! −uv!
v = v2
Solution:
1M1 15/72
Chain rule
1M1 16/72
Chain rule (2)
# $20
Example 2: Differentiate y = 1 + x + x2 .
Solution:
1M1 17/72
Combining the rules
2
Example 1: Differentiate y = ex sin x.
Solution:
or
f (u, w) = uw2 − wu2
or, from the ideal gas law, pressure is a function of volume and
temperature:
RT
P = P(V, T) =
V
1M1 20/72
Partial differentiation
Example 1: f (x, y) = x2 + x sin y.
∂f
= 2x + sin y
∂x
Here we’re treating y as a constant.
! Now suppose y varies, but x doesn’t. This gives us
∂f
= x cos y
∂y
∂P R
= .
∂T V
∂P RT
= − 2.
∂V V
1M1 22/72
Partial differentiation
Example 3: Let f (x, y) = x2 y cosh(y).
Here we have the hyperbolic cosine function.
ey + e−y ey − e−y
cosh(y) = , sinh(y) =
2 2
The derivatives are similar to the regular trig functions
cosh! (y) = sinh(y), sinh! (y) = cosh(y).
∂f
! To find ∂x is straightforward, as the function is just x2 ×
(constant). The derivative is therefore 2x×(constant):
∂f
= 2x y cosh(y).
∂x
These are also written fxx and fyy — the subscript notation
One can also do mixed partial derivatives:
% & % &
∂2f ∂ ∂f ∂2f ∂ ∂f
= and = .
∂x∂y ∂x ∂y ∂y∂x ∂y ∂x
1M1 24/72
Higher order derivatives
Example 1 Find all 4 second order partial derivatives of
f (x, y) = x2 + xy3 − y2 .
Solution:
Notice that
fxy = fyx
This is always true.
1M1 25/72
Higher order derivatives
1M1 26/72
Overview
Video 1: Basic concepts of differentiation
∂z ∂z
δz ≈ δx + δy (∗).
∂x ∂y
1M1 28/72
Chain rule (2)
δz ∂z δx ∂z δy
≈ +
δt ∂x δt ∂y δt
1M1 29/72
Chain rule
Example 1: Consider a tree, which we will model as a
cylinder. Each year it grows by 1.5m in height, and 5cm in
radius. Suppose it is now of height 8m and radius 50cm. Using
the linear approximation, estimate how much its volume will
increase next year?
Solution:
1M1 30/72
Chain rule
Example 2: A particle moves in a circle in the x-y plane, so
that x = cos(ωt) and y = sin(ωt). Suppose the temperature in
the plane is given by T(x, y) = 200 + x2 − y2 . Find an expression
for the rate of change of the temperature felt by the particle.
Solution:
1M1 31/72