Professional Documents
Culture Documents
Calculus Continuity Derivatives
Calculus Continuity Derivatives
Calculus
Functions and Derivatives
Overview
3 Derivatives
4 Applications of derivatives
5 Lagrange’s method
6 Implicit functions
Intuitively, it consists of all points (x, y ) in the xy −plane with y = f (x) ∈ R and x ∈ D.
Figure 2:
D = {(x, y ) | x + y + 1 ≥ 0, x ̸= 1}. Figure 3: D = {(x, y ) | x < y 2 }.
Suppose f (x) is defined at every x near a (except possibly for a itself). Then we write
if we can make f (x) arbitrarily close to L (as close as we like) by taking x to be sufficiently
close to a but not equal to a.
One-sided limits
say the left-hand (resp. hand-right) limit of f is equal to L if we can make the value f (x)
arbitrarily close to L by taking x to be sufficiently close to a and x < a (resp. x > a).
Nguyen Van Hoi University of Information Technology 14 / 62
Single and multivariable functions Limits and continuity Derivatives Applications of derivatives Lagrange’s method Implicit functions
☞ We observe that
Limit laws
Suppose c is a constant, and limx→a f (x) and limx→a g (x) exist. Then
▶ limx→a c = c.
▶ limx→a x = a.
▶ limx→a (f (x) + g (x)) = limx→a f (x) + limx→a g (x).
▶ limx→a (f (x) − g (x)) = limx→a f (x) − limx→a g (x).
▶ limx→a cf (x) = c limx→a f (x).
▶ limx→a (f (x)g (x)) = limx→a f (x) limx→a g (x).
f (x) limx→a f (x)
▶ limx→a = if limx→a g (x) ̸= 0.
g (x) limx→a g (x)
1
−1.x 2 ≤ x 2 . sin ≤ 1.x 2 .
x
☞ limx→0 (−x 2 ) = limx→0 (x 2 ) = 0.
☞ limx→0 (x 2 sin x1 ) = 0.
Exercises
Limit’s laws
Suppose lim(x,y )→(a,b) f (a, y ) = L and lim(x,y )→(a,b) g (a, y ) = M, then
➬ First,
= 12 ∗ 2 + 2 ∗ 1 ∗ 2 = 6.
xy
➬ Find lim(x,y )→(1,1) x+y .
Combining the rules mentioned above allows us to do the following
xy lim(x,y )→(1,1) xy
lim =
(x,y )→(1,1) x + y lim(x,y )→(1,1) (x + y )
lim(x,y )→(1,1) x lim(x,y )→(1,1) y 1.1 1
= = = .
lim(x,y )→(1,1) x + lim(x,y →(1,1) y ) 1+1 2
x 2 − xy
➬ Find lim(x,y )→(0,0) √ √ .
x− y
We cannot plug in the point as we get 00 an indeterminate form. Since this is a fraction
that involves a radical, we multiply by the conjugate
√ √
x 2 − xy (x 2 − xy )( x − y )
lim √ √ = lim √ √ √ √
(x,y )→(0,0) x − y (x,y )→(0,0) ( x − y )( x + y )
√ √
x(x − y )( x − y )
= lim
(x,y )→(0,0) x −y
√ √
x( x − y )
= lim
(x,y )→(0,0) 1
=0.
x3 − y3
➬ Find lim(x,y )→(0,0)
x 2 + xy + y 2
We cannot plug in the point as we get 0 in the denominator. We try to rewrite the
fraction to see if we can simplify
x3 − y3 (x − y )(x 2 + xy + y 2 )
lim = lim
(x,y )→(0,0) x 2 + xy + y 2 (x,y )→(0,0) x 2 + xy + y 2
(x − y )
= lim
(x,y )→(0,0) 1
=0.
x2 − y2 x2 − y2
Let f (x, y ) = . Show that lim (x,y )→(0,0) 2 does not exist.
x2 + y2 x + y2
➬Approach (0, 0) along the x−axis i.e., y = 0 and hence f (x, 0) = x 2 /x 2 = 1 for all
x ̸= 0, so
f (x, y ) → 1.
f (x, y ) → 1
Since it has two different limits along two different lines, limit does not exist.
xy
Show that lim(x,y )→(0,0) does not exist.
x2 + y2
xy 1
→ .
x2 + y2 2
➬ Therefore, limit does not exist.
Continuity
Continuity’s laws
1. The sum, difference, and product of continuous functions is a continuous function.
2. The quotient of two continuous functions is continuous as long as the
denominator is not 0.
3. Polynomial functions are continuous, for instance,
f (x, y ) = x 3 + x 2 y + 4xy 2 + y 3 + 1.
∆y
The slope = .
∆x
☞ If ∆x → 0, then ∆y ∆x → v .
☞ Velocity shows how faster the
rocket moves at the time x.
Suppose f is a function over (a, b) and x ∈ (a, b), the derivative of f at x, denoted by
f ′ (x), is
f (x + h) − f (x)
f ′ (x) = lim (6)
h→0 h
if the limit exists. In such a case, f is differentiable at x.
Some rules
☞ Suppose f and g are functions defined on (a, b), they are differentiable at x, then
Indeed, if f is a function of two variables, its partial derivatives are the functions fx and
fy defined by
∂f ∂ ∂z
fx (x, y ) = fx = = f (x, y ) = = f1 = D1 f = Dx f (11)
∂x ∂x ∂x
∂f ∂ ∂z
fy (x, y ) = fx = = f (x, y ) = = f2 = D 2 f = D y f . (12)
∂y ∂y ∂y
➬ They represent the rate of change of f w.r.t x (resp. y when y (resp. x) is fixed.
Theorem
If the partial derivatives fx and fy exist near (x0 , y0 ) and are continuous at (x0 , y0 ),
then f is differentiable at (x0 , y0 ) and
Theorem
If f is a differentiable function of x and y , then f has a directional derivative in the
direction of any unit vector u =< a, b > and
High-order derivatives
Differentials
dy = f ′ (x)dx (20)
dz = fx dx + fy dy . (21)
Theorem
If f is continuous on a closed interval [a, b], then it attains an absolute maximum value
f (c) and an absolute minimum value f (d) at some numbers c and d in [a, b].
Theorem
If f has a local maximum or minimum at c, and if f ′ (c) exists, then f ′ (c) = 0.
To find the absolute maximum and minimum values of a continuous function on a closed
interval I ”
1. Find the values of at the critical numbers of in I .
2. Find the values of at the endpoints of the interval.
3. The largest of the values from Steps 1 and 2 is the absolute maximum value; the
smallest of these values is the absolute minimum value.
✂ Find the absolute maximum and absolute minimum
1. f (x) = −x 2 + 3x − 2 over [1, 3].
2
2. f (x) = x 2 − 3x 3 over [0, 2].
Sufficient condition: Suppose the second partial derivatives of f are continuous around
(a, b), and suppose that ∇f (a, b) = 0 (i.e., (a, b) is a critical point of f ). Let
fxx fxy
D = = fxx fyy − fxy2 . (22)
fxy fyy
f (x, y ) = x 4 + y 4 − 4xy + 1.
(2) Find the shortest distance from (1, 0, −2) to the plane x + 2y + 4 = 4.
Find the absolute maximum and minimum values of the function f (x, y ) = x 2 −2xy +2y
on the rectangle D = {(x, y ) | 0 ≤ x ≤ 3, 0 ≤ y ≤ 2} .
Step 1: finds critical points and value of f at these points
fx = 2x − 2y = 0, fy = −2x + 2 = 0.
Then the critical point is (1, 1) and f (1, 1) = 1.
Step 2 -3: find the extreme values of f on D and compare the values from 1 and 2.
Lagrange’s method
for some λ.
➬ Similarly, if (x0 , y0 , z0 ) is a extreme of f (x, y , z) subject to g (x, y , z) = k and suppose
∇g (x0 , yy , z0 ) ̸= 0 then
∇f (x0 , y0 , z0 ) = λ∇g (x0 , y0 , z0 ) (24)
for some
Nguyenλ.
Van Hoi University of Information Technology 51 / 62
Single and multivariable functions Limits and continuity Derivatives Applications of derivatives Lagrange’s method Implicit functions
Example: Find the extreme values of the function f (x, y ) = x 2 + 2y 2 on the circle
x 2 + y 2 = 1.
➬ step 1: solve
for x, y , λ
➬ step 2: evaluate f at these points
above:
+ The largest one is maximum
+ The smallest is minimum.
Theorem
Let f be a continuous over [a, b] and differential over (a, b) such that f (a) = f (b).
Then, there exists at least one c ∈ (a, b) such that f ′ (c) = 0.
Nguyen Van Hoi University of Information Technology 55 / 62
Single and multivariable functions Limits and continuity Derivatives Applications of derivatives Lagrange’s method Implicit functions
☞ For each of the following functions, verify that they satisfies the criteria stated in
Rolle’s theorem and find all value c in the given interval for which f ′ (c) = 0.
▶ f (x) = x 2 + 2x over [−2, 0].
▶ f (x) = x 3 − 4x over [−2, 2].
Theorem
Let f be continuous over the closed interval [a, b] and differential over (a, b). Then
there exists at least one point c ∈ (a, b) such that
f (b) − f (a)
f ′ (c) = .
b−a
Hospital’s rule
If limx→a f (x) = L1 and limx→a g (x) = L2 ̸= 0, then
f (x) L1
lim = .
x→a g (x) L2
But what happens if limx→a f (x) = limx→a g (x) = 0. We call this one of the indeter-
minate forms, of type 00 . Let’s reveal how to deal with such problem:
L’Hopital’s rule. Suppose f , g are differential functions over an open interval containing
a, except possibly at a.
dy
➬ Find the slope of the tangent line to the circle i.e., =?
dx
Problem-solving strategy
➬ Take the derivative of both sides of the equation:
d 2 d dy
(x + y 2 ) = (25) 2x + 2y = 0.
dx dx dx
➬ Rewrite the equation so that all terms containing dy dx are on the left and others are
on the right
dy
y = −x.
dx
dy
➬ Factor out = on the left and then solve for it by dividing both sides of the equation
dx
by appropriate algebraic expression
dy x
=− .
dx y
dy
☞ Find at (x, y ) = ( 23 , 32 ) if x 3 + y 3 − 3xy = 0; and x 3 sin y + y = 4x + 3.
dx
Nguyen Van Hoi University of Information Technology 60 / 62
Single and multivariable functions Limits and continuity Derivatives Applications of derivatives Lagrange’s method Implicit functions
F (x, y , z) = 0. (27)
F x + Fz z x = 0 (28)
Fy + Fz zy = 0. (29)
With Fz ̸= 0, then
Fx Fy
zx = − , zy = − . (30)
Fz Fz
Taylor’s formula