Lecture 1
Lecture 1
1 Differentiation
d2 x
• Newton’s laws are differential equations of the form: dt2
= f (x, t).
• The derivative of a function f (x) at x = a (if it exists) is defined as:
f (a + h) − f (a)
f 0 (a) = lim
h→0 h
f(a + h)
f(a)
a a+h
1
2 Polynomials
n = 1, (i.e., y = x):
f (a + h) − f (a) (a + h) − a h
lim = lim = lim = 1.
h→0 h h→0 h h→0 h
n = 2, (i.e., y = x2 ):
f (x + h) − f (x) x2 + 2xh + h2 − x2
lim = lim
h→0 h h→0 h
2xh + h 2
= lim
h→0 h
= lim 2x + h = 2x.
h→0
where nk = k!(n−k)!
n!
.
nxn−1 h + n2 xn−2 h2 + . . . + hn
(x + h)n − xn
lim = lim
h→0 h h→0 h
= nxn−1 .
√ 1 2
• Example: If f (x) = 3
x = x 3 , then f 0 (x) = 31 x− 3 .
dz
• Example: z = r3 , then dr = 3r2 .
f 0 (x+h)−f 0 (x)
• We may take higher derivatives as well: f 00 (x) = lim h .
h→0
2
3 Basic Properties of Derivatives
• If f (x) and g(x) are differentiable functions and c is a constant, then we have:
1. d 0
dx (cf ) = cf
2. d 0 + g0
dx (f + g) = f
d 0 − g0
3. dx (f − g) = f
• Example:
√ Suppose the position of a particle on the real line is given by
x(t) = 1 + t for t > 0. Find the velocity and the limiting velocity as t → ∞.
1 1 1
x0 (t) = (1 + t)− 2 = √ lim x0 (t) = 0
2 2 1+t t→∞
ax+h − ax
h
ah − 1
f (x + h) − f (x) x a −1
lim = lim = lim a = ax lim .
h→0 h h→0 h h→0 h h→0 h
ah −1
We’ll assume that lim h exists and is not 0. In fact, if this limit exists
h→0
then it equals f 0 (0). So if the derivative exists, then dx d
(f (x)) = f 0 (0)ax =
f 0 (0)f (x). This means that the derivative of f (x) = ax is proportional to f (x).
3
• More generally, ex = lim (1 + nx )n .
h→∞
• In the previous example, would get back $e if 100% interest per year was
computed instantaneously.
• If f (x) and g(x) are functions, then we define (f g)(x) = f (x)g(x). If g(x) 6= 0
we define the quotient ( fg )x = fg(x)
(x)
.
d df dg
(f g) = f 0 g + g 0 f = g+ f.
dx dx dx
Some other notations:
4
• Example: If h(x) = g(x)f (x) find h0 (1) given:
f (1) = 2 f 0 (1) = 3
g(1) = −1 g 0 (1) = 4
• Example: If x 6= 0,
0 − 1(nxn − 1) −nxn−1
d 1 −n
n
= 2n
= 2n
= −nx−n−1 = x+1 .
dx x x x x