Slide-W1-16
Slide-W1-16
Do Trong Hoang
1.1 Introduction
1.2 Functions
1.3 Essential functions
1.4 Number sequences
1.5 Limit of functions
1.6 Infinites and infinitesimals
1.7 Continuity
1.8 Derivatives and differentials
1.9 Mean value theorems and applications
1.10 Curves sketching
1.1. Introduction
What is a function?
Warm up
A function arises whenever one quantity depends on another.
• The area A of a circle depends on the radius R of the circle.
A = πR 2
Warm up
1.2: Functions
Let X and Y be two subsets of R. A function f is a rule that assigns to
each element x in a set X exactly one element, called f (x), in a set Y .
f :X → Y
x 7→ f (x) = y
Examples
ln x
Example 1. Find the domain of the function f (x) =
sin(πx)
A. R C. [0, +∞)\ Z
B. R \ Z D. (0, +∞)\ Z
Answer: C, D
Answer: B
Monotonic functions
A function f is called
increasing on the domain D if for all x1 , x2 ∈ D,
Symmetry
Remark
The graph of an even function is symmetric with respect to the y -axis.
The graph of an odd function is symmetric about the origin.
Periodic functions
f (x + T ) = f (x), ∀x, x + T ∈ X .
Example:
1 sin x has period 2π.
2 tan x has period π.
Composition of functions
(g ◦ f )(x) = g (f (x)).
One-to-one functions
Inverse functions
f −1 (y ) = x ⇔ f (x) = y .
Remark
A graph of the inverse function is symmetric with respect to the line y = x.
domain of f −1 = range of f
range of f −1 = domain of f
Examples
√
(1) Find the inverse function y = f (x) = 1 − x 2 on the interval [−1, 0].
(2) Given f (x) = 2x + ln x and g (x) = 17 (15 − x 3 ). Evaluate
(f −1 ◦ g −1 ◦ g −1 ◦ f )(1)
Domain Range
ax R R>0
loga x R>0 R
• Power function:
f (x) = x α (α ∈ R)
Examples
Example Find all values of a such that the domain of f (x) = x a is [0, +∞).
A. a ∈
/Q
B. a = p1 , where p is even positive integer.
C. a = pq , where p is even positive integer and q is odd positive integer.
D. a ∈ Z
Examples
Example Find all values of a such that the domain of f (x) = x a is [0, +∞).
A. a ∈
/Q
B. a = p1 , where p is even positive integer.
C. a = pq , where p is even positive integer and q is odd positive integer.
D. a ∈ Z
Answer: B
Trigonometric functions
Domain Range
sin x R [−1, 1]
Domain Range
arcsin x [−1, 1] [− π2 , π2 ]
Domain Range
cos x R [−1, 1]
The inverse cosine function is handled simililar. The inverse function of the
restricted cosine function f (x) = cos x, 0 ≤ x ≤ π is denoted by arccos.
Domain Range
arccos x [−1, 1] [0, π]
Domain Range
tan x R \{ π2 + kπ : k ∈ Z} R
Domain Range
arctan x R (− π2 , π2 )
Domain Range
cotan x R \{kπ : k ∈ Z} R
Domain Range
cotan x R (0, π)
Hyperbolic functions
e x − e −x e x + e −x
sinh x = cosh x =
2 2
e x − e −x e x + e −x
tanh x = coth x =
e x + e −x e x − e −x
Proposition
1 cosh2 (a) − sinh2 (a) = 1
2 sinh(a + b) = sinh a cosh b + cosh a sinh b
3 cosh(a + b) = cosh a cosh b + sinh a sinh b
tanh a tanh b
4 tanh(a + b) = 1+tanh a tanh b
Elementary functions
1.4: Sequences
Example:
n
(a) { n+1 }
(b) The Fibonacci sequence {fn } is defined recursively by the conditions
f1 = 1, f2 = 1, fn = fn−1 + fn−2 (n ≥ 3)
Limit of sequences
lim an = L or an → L as n → ∞
n→∞
Proposition
Limit of a sequence is unique if it exists.
Squeeze Theorem
lim bn = L.
n→∞
Corollary
If lim |an | = 0, then lim an = 0.
n→∞ n→∞
Example:
√
n
1 Show that lim n = 1.
n→∞
n!
2 Discuss the convergence of the sequence an = nn .
Theorem
1 Every bounded above creasing sequence is convergent.
Example an = (1 + n1 )n is convergent.
Cauchy’s criterion
Homeworks
Do Trong Hoang
One-sided limits
• We write lim f (x) = L and say that the left-hand limit of f (x) as x
x→a−
approaches a from the left, is equal to L if for every number > 0 there is
a number δ > 0 such that
• We write lim+ f (x) = L and say that the right-hand limit of f (x) as x
x→a
approaches a from the right, is equal to L if for every number > 0 there
is a number δ > 0 such that
• We write lim f (x) = L and say that the limit of f (x) as x approaches
x→∞
infinity, is equal to L if
• We write lim f (x) = ∞ and say that the limit of f (x) as x approaches
x→a
a, is equal to ∞ if
• We write lim f (x) = ∞ and say that the limit of f (x) as x approaches
x→∞
∞, is equal to ∞ if
Limit law
Suppose that c is a constant and the limits lim f (x) and lim g (x) exist.
x→a x→a
Then
1 lim [f (x) ± g (x)] = lim f (x) ± lim g (x).
x→a x→a x→a
2 lim [cf (x)] = c lim f (x).
x→a x→a
lim f (x)
3 lim f (x) = x→a
lim g (x) , if lim g (x) 6= 0.
x→a g (x) x→a x→a
4 lim [f (x)g (x)] = lim f (x) · lim g (x).
x→a x→a x→a
Example: Find
1 − cos x
lim
x→0 x2
Limit of Composition
Theorem
lim f (x) = L if and only if ∀(xn ) : lim xn = x0 =⇒ lim f (xn ) = L.
x→x0 n→∞ n→∞
Example
ln n
1 Compute lim .
n→∞ n
2 Show that lim sin x1 does not exist.
x→∞
where k is finite.
If k 6= 0, then two infinitesimals α(x) and β(x) are said to be of the
same order. In particular, if k = 1 then the functions α(x) and β(x)
are said to be equivalent and write α(x) ∼ β(x).
If k = 0, then α(x) is infinitesimal of a higher order than β(x), and
denoted by α(x) = o(β(x)).
As x → 0,
(a) x ∼ sin x ∼ tan x ∼ arcsin x ∼ arctan x ∼ e x − 1 ∼ ln(1 + x)
√
(b) (1 + αx)a − 1 ∼ aαx. In particular, m 1 + αx − 1 ∼ αx m
x2
(c) 1 − cos x ∼ 2
Theorem
If α1 (x) ∼ α2 (x) and β1 (x) ∼ β2 (x) as x approaches a, then
α1 (x) α2 (x)
lim = lim
x→a β1 (x) x→a β2 (x)
Examples
(e x − 1) tan x
1 Find A = lim .
x→0 sin x 2
2 Compare two following infinitesimals as x → 0:
α(x) = arcsin(2x),
β(x) = ln(1 + tan 2x).
tan x − sin x
3 Find lim
x→0 x3
Remark: ONLY substitute equivalent infinitesimals in the product
expression!
Proposition
1 If α1 is the lowest order infinitesimal of the infinitesimals αk
(1 ≤ k ≤ n) as x → a, then
n
X
αk (x) ∼ α1 (x) as x → a.
k=1
Example: Find
x + sin3 x + tan4 x
lim
x→0 4x + x 4 + 5x 8
Indeterminate forms
∞ 0
∞−∞ 0.∞
∞ 0
∞0 0∞ 1∞ 00
Theorem
If f and g are continuous at a and c is constant, then the following
functions are also continuous at a:
f
1 f ±g 3
g if g (a) 6= 0
2 fg 4 cf
Theorem
If f is continuous at b and lim g (x) = b, then lim f (g (x)) = f (b). In
x→a x→a
other words, lim f (g (x)) = f ( lim g (x)).
x→a x→a
√
Example Evaluate lim arcsin( 1− x
1−x )
x→1
Theorem
All elementary functions are continuous on their domains.
Classification of discontinuities
Uniformly continuous
x2
Example Show that f (x) = x 2 +1
is uniformly continuous on R.
Homework
A 11/2 D 7/2
B 13/2. E 5/2
C 9/2 F 1/2
Do Trong Hoang
The tangent line to the curve y = f (x) at the point P(a, f (a)) is the line
through P with slope
f (x) − f (a)
m = lim
x→a x −a
provided that this limit exists.
Velocity
Derivatives
The derivative of a function f at a number x0 , denoted by f 0 (x0 ), is
f (x + y ) = f (x) + f (y ) + x 2 y + xy 2
f (x)
for all x, y and lim x = 1. Find f 0 (x).
x→0
Do Trong Hoang (SAMI-HUST) Chapter 1 4 / 20
1.8: Derivatives and differentials
One-sided derivatives
Proposition
f is differentiable function at a if and only if f 0 (a+ ) = f 0 (a− ).
Theorem
If f is differentiable at a, then f is continuous at a.
Theorem
Let f and g be both differentiable, then
(x n )0 = nx n−1 ex = ex (cf )0 = cf 0
0
f gf 0 − fg 0
(f ± g )0 = f 0 ± g 0 (fg )0 = f 0 g + g 0 f = .
g g2
Example
1 Find y 0 with y = arcsin x.
2 Evaluate (f −1 )0 (1), where f −1 is an inverse function of f (x) = x + e x .
1 −1
(arcsin x)0 = √ (arccos x)0 = √
1 − x2 1 − x2
1 −1
(arctan x)0 = (arccotan x)0 =
1 + x2 1 + x2
1
(loga x)0 = (0 < a 6= 1)
x ln a
1 1
(sinh−1 x)0 = √ (cosh−1 x)0 = √
1 + x2 x2
−1
1 1
(tanh−1 x)0 = (coth−1 x)0 =
1 − x2 1 − x2
Differentials
∆y
= f 0 (x) + α,
∆x
where α is an infinitesimal when ∆x approaches 0. Then
Definition
The quantity f 0 (x) · ∆x is called differential of the function f , denoted by
df = f 0 (x) · ∆x.
∆x = dx df = f 0 (x)dx.
Theorem
If x = x(t), then df = f 0 (x)dx.
Proposition
1 d(c) = 0, where c is constant
2 d(u ± v ) = du ± dv
3 d(uv ) = vdu + udv
4 d( vu ) = vdu−udv
v2
(v 6= 0).
Linear approximation
d d n−1 f d nf
=
dx dx n−1 dx n
nπ
(sin x)(n) = sin(x + 2 )
(cos x)(n) = cos(x + nπ
2 )
(ax )(n) = ax (ln a)n
n−1
[ln(ax + b)](n) = (−1)n−1 (n−1)!a
(ax+b)n
Homeworks
(1) Let f be a differentiable function on (a, b) such that lim+ f (x) = +∞,
x→a
lim f (x) = −∞ and f 0 (x) + (f (x))2 > −1 for all x ∈ (a, b). Prove
x→b −
that b − a ≥ π and given an example where b − a = π.
(2) Suppose that the differentiable functions a, b, f , g : R → R satisfy
f (x) ≥ 0, f 0 (x) ≥ 0, g (x) > 0, g 0 (x) > 0 for all x ∈ R,
lim a(x) = A > 0, lim b(x) = B > 0, lim f (x) = lim g (x) = ∞,
x→∞ x→∞ x→∞ x→∞
f 0 (x)
and g 0 (x) + a(x) gf (x)
(x) = b(x). Prove that
f (x) B
lim = .
x→∞ g (x) A+1
Do Trong Hoang
Definition
1 A graph of f is called concave upward on the interval I if f 00 (x) > 0
for all x ∈ I .
2 A graph of f is called concave downward on the interval I if
f 00 (x) < 0 for all x ∈ I .
3 A point P(c, f (c)) on the graph of y = f (x) is called inflection point
if f 00 (x) changes from positive to negative, or from negative to
positive at c.
Examples
(1) Prove that the equation x 3 + x − 1 = 0 has exactly one real root.
(2) Let f be a continuous on [0, 1] and differentiable on (0, 1) such that
f (1) = 0. Prove that there exists c ∈ (0, 1) such that
cf 0 (c) = (c − 1)f (c).
f (b) − f (a)
f 0 (c) = .
b−a
Examples
Cauchy’s theorem
Theorem
Let f and g be two functions that satisfies the following conditions:
1 f and g are continuous on the closed interval [a, b],
2 f and g are differentiable on the open interval (a, b),
3 g 0 (x) 6= 0 for some x ∈ (a, b).
Then there is a number c in (a, b) such that
L’Hospital Rule
Then
f (x) f 0 (x)
lim = lim 0 .
x→a g (x) x→a g (x)
Do Trong Hoang
f 0 (x0 ) f 00 (x0 )
f (x) = f (x0 ) + (x − x0 ) + (x − x0 )2 + · · · +
1! 2!
f (n) (x0 )
+ (x − x0 )n + o((x − x0 )n ).
n!
If x0 = 0, then
Examples
Evaluate
1 1
(1) lim −
x→∞ sin x tan x
x
e − sin x − cos x
(2) lim
x→0 x2
Convex functions
A function f is defined on the interval I is convex if ∀x1 , x2 ∈ I (x1 < x2 )
and ∀t ∈ [0, 1]:
Theorem
If f is continuous and f 00 (x) > 0 on the interval I , then f is convex on I .
Jensen’s inequality
Xn n
X
f( λi xi ) ≤ λi f (xi ).
i=1 i=1
AM-GM inequality
Newton method
Examples
cos x = x.
Homeworks
1 1
1 (Hölder’s inequality) Let p, q > 1 with p + q = 1 and xi , yi ∈ R for
1 ≤ i ≤ n. Prove that
n n
!1 n
!1
X X p X p
| xi yi | ≤ |xi |p |yi |q
i=1 i=1 i=1
Do Trong Hoang
Step 3: Asymptotes
Horizontal asymptote y = L:
Vertical asymptote x = a:
f (a) is not defined, but
lim+ f (x) = +∞ or lim f (x) = −∞.
x→a x→a−
Slant asymptote y = mx + b:
f (x)
m = lim
x 6= 0
x→∞
b = lim [f (x) − mx)]
x→∞
x2
y = f (x) = √ .
x +1
Asymptotes
Step 1: Domain – the set of values of t for which x(t) and y (t) are
defined.
Step 2: Symmetry– even/odd functions and periodic function.
Step 3: Asymptotes
Horizontal asymptote y = L:
lim x(t) = ∞
t→t0
lim y (t) = L
t→t0
Vertical asymptote x = a:
lim x(t) = a
t→t0
lim y (t) = ∞
t→t0
Slant asymptote y = mx + b:
m = lim y (t) 6= 0
t→t0 x(t)
b = lim [y (t) − m · x(t)]
t→t0
dy y 0 (t)
y0 = = 0
dx x (t)
2 d y 0 (t) y 00 (t)x 0 (t) − y 0 (t)x 00 (t)
d y
y 00 = = 0
= .
dx 2 dx x (t) [x 0 (t)]3
Example Use the guideline to sketch the curve of the function given by
(
x = a cos3 t
(a > 0)
y = a sin3 t
x = r cos ϕ y = r sin ϕ
0 ≤ ϕ ≤ 2π, r ≥ 0
x2 + y2 = r2
Example:
(1) r = a (a > 0) is a cycle with center O(0, 0) and radius a.
(2) r = acos(ϕ) (a > 0) is a cycle with center O( 2a , 0) and radius 2a .
(3) Let (C ) be a polar curve r = 2 cos ϕ − 3 sin ϕ. The equation of C in
the Descarter coordinate is
A. x 2 − y 2 = 2x − 3y D. x 2 + y 2 = 2x + 3y
B. x 2 + y 2 = 2x + 3y E. x 2 + y 2 = 3x + 2y
C. x 2 + y 2 = 2x − 3y . F. x 2 + y 2 = 2y − 3x
Do Trong Hoang
”Success is the sum of small efforts, repeated day in and day out”
Robert Collier
2.1 Antiderivatives
2.2 Definite integrals
2.3 Improper integrals
2.4 Applications of definite integrals
2.1: Antiderivatives
where F is an antiderivative of f .
Proposition
Let a, b ∈ R. Then
[ f (x)dx]0 = f (x) OR d( f (x)dx) = f (x)dx
R R
1)
R 0 R
2) F (x)dx = F (x) + C OR dF = F (x) + C
R R R
3) [af (x) + bg (x)]dx = a f (x)dx + b g (x)dx
Antiderivative formulas
x α+1
x α dx =
R
(1) +C (−1 6= α ∈ R).
α+1
R dx
(2) = ln |x| + C
R x R
(3) sin x = − cos x + C cos xdx = sin x + C
R dx R dx
(4) = tan x + C = − cot x + C
cos2 x sin2 x
R x ax R x
(5) a = + C (0 < a 6= 1); e dx = e x + C
R dx ln a
1
(6)
a2 −x 2
= 2a ln | a+x
a−x | + C
dx dx
= arcsin xa + C , = 1a arctan xa + C .
R R
(7) √
2
a −x 2 a + x2
2
Example
Evaluate
e 2x
(t = e x )
R
(1) A= dx
ex + 1
Rq x
(2) B= 2−x dx (x = 2 sin2 t, 0 ≤ t ≤ π2 )
Trigonometric Substitutions
Expression
√ Substitution
x = a sin t, t ∈ [− π2 , π2 ] OR x = a cos t, t ∈ [0, π]
R
R(x, a2 − x 2 )dx
√
x = a tan t, t ∈ (− π2 , π2 )
R
R(x, a2 + x 2 )dx
R √ a π 3π
R(x, x 2 − a2 )dx x= cos t , t ∈ [0, 2 ) ∪ [π, 2 ), OR
a π 3π
x= sin t , t ∈ (0, 2 ] ∪ (π, 2 ]
R √ √
R(x, x 2 + α)dx t=x+ x2 + α
t = tan x2 , x ∈ [−π, π]
R
R(sin x, cos x)dx
Examples
Evaluate
R√
1 a2 − x 2 dx
R dx
2 √
x2 + a
Integration by parts
The Product Rule states that if u(x) and v (x) are differentiable functions,
then
d
[u(x)v (x)] = u 0 (x)v (x) + v 0 (x)u(x).
dx
Then the formula for integration by parts is
Z Z
udv = uv − vdu
Examples
Formulas to remember
R√ √ a2
1 a2 − x 2 dx = 12 x a2 − x 2 + 2 arcsin xa + C
R dx √
2 √ = ln |x + x 2 + a| + C
x2 + a
R√ h √ √ i
3 x 2 + adx = 12 x x 2 + a + a ln |x + x 2 + a| + C
If deg P(x) ≥ deg Q(x), then dividing Q(x) into P(x) until a remainder
R(x). We obtain
Then Z Z Z
P(x) R(x)
dx = h(x)dx + dx
Q(x) Q(x)
P(x)
From this, the rational function can be expressed as a sum of
Q(x)
simpler fractions. Therefore, the integral can reduce to calculate the
following integrals:
Z Z
dx Mx + N
I) (k ≥ 1) II ) dx (m ≥ 1)
(x − a)k (x 2 + px + q)m
Compute (I):
(x − a)−k+1
Z
dx if k 6= 1
= −k + 1
(x − a)k
ln |x − a| if k = 1
Compute (II):
p p2
x 2 + px + q = (x + )2 + (q − ).
2 4
q
p 2
Set t = x + 2 and a = q − p4 . Then
Z Z Z
Mx + N M 2tdt Mp dt
dx = + (N − )
(x + px + q)m
2 2 2
(t + a )2 m 2 (t 2 + a2 )m
(II.1)
(t 2 +a2 )−m+1
(
d(t 2 + a2 ) if m 6= 1
Z Z
2tdt −m+1 +C
= =
(t + a2 )m
2 (t 2 + a2 )m ln(t 2 + a2 ) +C if m = 1
dt
R
(II.2) Compute Im = (t 2 +a2 )m
. Apply the for integration by parts with
1
u= (t 2 +a2 )m
and dv = dt. We have
x
Im = + 2mIm − 2a2 mIm+1
(x 2 + a 2 )m
Examples
Evaluate
R dx
1
x − x + 2x − 2x 2 + x − 1
5 4 3
R dx
2 √
(x − 1) 1 − x 2
R x 2 dx
3 √ , a > 0.
x 2 − a2
Do Trong Hoang
Area problem
Problem: Find the area of the region S that lies under the curve y = f (x)
from a to b. This means that S is bounded by the graph of a continuous
function f , where f ≥ 0, the vertical lines x = a, x = b and the x-axis.
Left endpoints
Let xi∗ = xi−1 for all 1 ≤ i ≤ n. Then f (xi∗ ) = f (xi−1 ) and
n
X n−1
X
A = lim f (xi−1 )∆x = lim f (xi )∆x,
n→∞ n→∞
i=1 i=0
b−a
where ∆x = n and xi = a + i∆x.
Right endpoints
Let xi∗ = xi for all 1 ≤ i ≤ n. Then f (xi∗ ) = f (xi ) and
n
X
A = lim f (xi )∆x,
n→∞
i=1
b−a
where ∆x = n and xi = a + i∆x.
Midpoints
xi−1 + xi
Let xi∗ = for all 1 ≤ i ≤ n. Then
2
n
X xi−1 + xi
A = lim f ∆x,
n→∞ 2
i=1
b−a
where ∆x = n and xi = a + i∆x.
Definite integrals
provided this limit exists and gives the same value for all possible choices
of sample points. If it does exist, we say that f is integrable on [a, b].
Rb Ra
a f (x)dx := − b f (x)dx.
1 If b < a, then
Rb
2 If a = b, then
a f (x)dx = 0.
Remark
If f (x) is a continuous function on [a, b] and f (x) ≥ 0 for all x ∈ [a, b],
Rb
then a f (x)dx can be interpreted as the area under the curve y = f (x)
from a to b.
Theorem
f is integrable on [a, b] if and only if lim (S − s) = 0, where
λ→0
n
X n
X
S= Mi ∆xi , s = mi ∆xi , Mi = sup f (x) and mi = inf f (x).
x∈∆xi x∈∆xi
i=0 i=0
Theorem
1 If f is continuous on [a, b], then f is integrable on [a, b].
Properties
Zb
m(b − a) ≤ f (x)dx ≤ M(b − a).
a
Example. Show that the average velocity of a car over a time interval
[t1 , t2 ] is the same as the average of its velocities during the trip.
Theorem
Suppose f (x) and f (x)g (x) are integrable on [a, b], m ≤ f (x) ≤ M and
g (x) ≥ 0 (or g (x) ≤ 0) for all x ∈ [a, b]. Then there exists µ ∈ [m, M]
such that Z b Z b
f (x)g (x)dx = µ g (x)dx.
a a
In addition, if f is continuous on [a, b], then there exists c ∈ [a, b]:
Z b Z b
f (x)g (x)dx = f (c) g (x)dx.
a a
Rx
If f (t) is integrable on [a, b], then F (x) = a f (t)dt is continuous on
[a, b]. In additon, if f (t) is continuous at x ∈ [a, b], then
x
Z
d
F 0 (x) = f (t)dt = f (x).
dx
a
Example Compute
R sin x √
tan tdt
(1) lim+ R0tan x √
x→0 sin tdt
0
d R x3 dt
(2)
x2
√ .
dx 1 + t4
Newton-Lebnitz formula
Zb Z g (b)
0
f (g (x))g (x)dx = f (u)du
g (a)
a
Example: Z 1
dx
(0 < α < π).
−1 x 2 − 2x cos α + 1
Theorem
Suppose that f is continuous on the symmetric domain D.
Ra Ra
1 If f is even function, then
−a f (x)dx = 2 0 f (x)dx.
Ra
2 If f is odd function, then
−a f (x)dx = 0.
Integration of parts
Warllis integrals
(n − 1)!! π
Z π Z π
· if n even
n!! 2
2 2
n n
sin xdx = cos xdx =
0 0 (n − 1)!!
if n odd .
n!!
Home works
Example Evaluate
Z 2π Z 1
p dx
(a) ln(sin x + 1 + sin2 x)dx (b) √
0 −1 1 + x + x 2 + x 4 + 3x 2 + 1
Do Trong Hoang
R +∞ Rb
If both a f (x)dx and −∞ f (x)dx are convergent, then we define
Z +∞ Z a Z +∞
f (x)dx := f (x)dx + f (x)dx
−∞ −∞ a
Remark
RLet f (x) be a continuous functionR and f (x) ≥ 0 on [a, +∞). If
+∞ +∞
a f (x)dx is convergent, then a f (x)dx can be interpreted as the
area of the region S = {(x, y ) : x ≥ a and 0 ≤ y ≤ f (x)}.
Example:
+∞
R dx
(1) Find
−∞ 1 + x2
(2) Determine whether integral is convergent or divergent.
Z +∞
dx
(a > 0)
a xα
A comparison test
R +∞
Although we state the following tests for the improper integral a f (x)dx, a similar
Rb R∞
theorem is also true for the improper integrals −∞ f (x)dx and −∞ f (x)dx.
Examples
2. Find the values of p for which the integral converges and evaluate the
integral for those values of p.
Z +∞
1
dx
e x(ln x)p
Theorem
Suppose that f and g are continuous functions with f (x), g (x) ≥ 0 on the
inverval [a, +∞) and
f (x)
lim =L
x→∞ g (x)
R +∞ R +∞
Case 0 < L < +∞: either both a f (x)dx and a g (x)dx are
converge or both diverge.
R +∞ R +∞
Case L = 0: if a g (x)dx is convergent, then a f (x)dx is
convergent
R +∞ R +∞
Case L = +∞: if a g (x)dx is divergent, then a f (x)dx is
divergent.
Examples
Theorem
R +∞ R +∞
If a |f (x)|dx is convergent, then a f (x)dx is convergent.
R +∞
The integral af (x)dx is called
R +∞
absolute convergent if a |f (x)|dx is convergent.
R +∞
conditionally convergent if a f (x)dx is convergent, but
R +∞
a |f (x)|dx is divergent.
Definition
(a) If f is integrable on [a, t] for all a < t < b and f becomes infinite as
x → b − , then Z b Z t
f (x)dx = lim f (x)dx
a t→b − a
if this limit exists (as a finite number).
(b) If f is integrable on [t, b] for all a < t < b and f becomes infinite as
x → a+ , then Z b Z b
f (x)dx = lim+ f (x)dx
a t→a t
if this limit exists (as a finite number).
Rb
The improper integral a f (x)dx is called convergent if the corresponding
limit exists and divergent if the limit doesn’t exist.
Do Trong Hoang (SAMI-HUST) Chapter 2 12 / 21
2.3: Improper integrals
If
R cf becomes infinite
R b as x approaches c, where a < c < b, and both
a f (x)dx and c f (x)dx are convergent, then we define
Z b Z c Z b
f (x)dx = f (x)dx + f (x)dx.
a a c
Remark
If f (x) is continuous on [a, b) and is discontinuous at b, and f (x) ≥ 0 on
Rb Rb
[a, b) and a f (x)dx is convergent, then a f (x)dx can be interpreted as
the area of the region S = {(x, y ) : a ≤ x < b, 0 ≤ y ≤ f (x)}.
2: Sketch the region and find its area (if the area is finite).
1
S = {(x, y ) | −2 < x ≤ 0, 0 ≤ y ≤ √ }.
x +2
A comparison test
Theorem
Let f and g be positive and continuous functions on the inverval [a, b).
Suppose that f and g are discontinuous at b such that
f (x)
lim =L
x→b − g (x)
Rb Rb
Case 0 < L < +∞: either both a f (x)dx and a g (x)dx are
converge or both diverge.
Rb Rb
Case L = 0: if a g (x)dx is convergent, then a f (x)dx is convergent
Rb Rb
Case L = +∞: if a g (x)dx is divergent, then a f (x)dx is divergent.
Theorem
Rb Rb
If a |f (x)|dx is convergent, then a f (x)dx is convergent.
Rb
The improper integral f (x)dx is called
a
Rb
absolute convergent if a |f (x)|dx is convergent.
Rb Rb
conditionally convergent if a f (x)dx is convergent, but a |f (x)|dx
is divergent.
Examples
2. Evaluate Z +∞
2
e −x dx.
0
Homeworks
2: Find the values of p for which the integral converges and evaluate the
integral for those values of p.
Z 1 Z π
dx dx
p
and p
0 x 0 sin x
Do Trong Hoang
Example Find the area of the region bounded by the curves y = sin x,
y = cos x, x = 0 and x = π2 .
(
x = x(t)
The area A of the region bounded by the curve , lines
y = y (t)
x(t1 ) = a, x(t2 ) = b and x-axis, is
Z t2
A= |y (t)x 0 (t)|dt.
t1
The area A of the polar region enclosed by the polar curve r = r (ϕ),
α ≤ ϕ ≤ β, is
1 β 2
Z
A= r (ϕ)dϕ.
2 α
Example. Find the area of the region enclosed by the Cardioid curve
r = a(1 + cos ϕ), where a > 0.
2.4.2. Volumes
Let S be a solid that lies between x = a and x = b.
Parameter curves
(
x = x(t)
The length of the curve , where α ≤ t ≤ β, is
y = y (t)
Z β q
L= [x 0 (t)]2 + [y 0 (t)]2 dt.
α
Polar curves
This implies that [x 0 (ϕ)]2 + [x 0 (ϕ)]2 = [r (ϕ)]2 + [r 0 (ϕ)]2 . Thus the length
of this curve is Z q β
L= [r (ϕ)]2 + [r 0 (ϕ)]2 dϕ.
α
Examples
By the Mean Value Theorem, there exists xi∗ ∈ [xi−1 , xi ] such that
q
∆yi = f 0 (xi )∆x and |Pi−1 Pi | = ∆x 1 + [f 0 (xi∗ )]2 .
Parameter curves
Homeworks
Homeworks
3. Show that the area of the surface generated by rotating the polar
curve r = r (ϕ), α ≤ ϕ ≤ β, where r (ϕ) is continuously differentiable and
0 ≤ a < b ≤ π about the polar x-axis is
s 2
Z β
2
dr
S= 2πr sin ϕ r + dϕ
α dϕ
4. Find a formula for the area of the surface generated by rotating the
polar curve r = r (ϕ), α ≤ ϕ ≤ β, where r (ϕ) is continuously differentiable
and 0 ≤ α < β ≤ π about the line ϕ = π2 .
5. Find the surface area generated by rotating the lemniscate r 2 = cos 2ϕ
about the line ϕ = π2 .
Homeworks
6. Find the volume of the solid obtained by rotating the region bounded
by y = x 3 , y = 8 and x = 0 about the y -axis.
7. The region R enclosed by the curves y = x and y = x 2 is rotated
about the x-axis. Find the volume of the resulting solid.
√
8. The curve y = 4 − x 2 , −1 ≤ x ≤ 1, is an arc of the circle
x 2 + y 2 = 4. Find the area of the surface obtained by rotating this arc
about the x-axis. (The surface is a portion of a sphere of radius 2.)
9. The arc of the parabola y = x 2 from (1,1) to (2,4) is rotated about
the y -axis. Find the area of the resulting surface.
Do Trong Hoang
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 1 / 23
Contents
”I don’t measure a man’s success by how high he climbs, but how high he bounces when
he hits the bottom” George S. Patton
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 2 / 23
3.1. Functions of Several Variables
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 3 / 23
3.1. Functions of Several Variables
x = (x1 , x2 , . . . , xn ).
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 4 / 23
3.1. Functions of Several Variables
Scalar product
For any x = (x1 , . . . , xn ), y = (y1 , . . . , yn ) ∈ Rn , the scalar product of x
and y, also known as the inner product, is the number
n
X
hx, yi = xi yi .
i=1
Proposition
For any x, y, z ∈ Rn and α ∈ R, we have
1 hx, yi = hy, xi
2 hx + y, zi = hx, zi + hy, zi
3 hαx, yi = α hx, yi
4 hx, xi ≥ 0 and hx, xi = 0 ⇔ x = 0.
Theorem
For any x, y ∈ Rn ,
1 (Cauchy-Schwarz’s inequality)
2 (Triangle inequality)
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 6 / 23
3.1. Functions of Several Variables
Distance
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 7 / 23
3.1. Functions of Several Variables
Definition
A set X ⊆ Rn is open, if for each a ∈ X there is an open ball B(a, r )
centered at a such that B(a, r ) ⊆ X . A set X ⊆ Rn is closed if its
complement is open.
Definition
A set X ⊆ Rn is bounded, if is one that is contained within some closed
ball. In other words, it is finite in extent.
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 8 / 23
3.1. Functions of Several Variables
f : D ⊆ Rn −→ R
x 7−→ f (x) = f (x1 , . . . , xn )
D is domain of f .
f (D) = {f (x) | x ∈ D} is range of f .
The graph of f is the set
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 9 / 23
3.1. Functions of Several Variables
Examples
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 10 / 23
3.1. Functions of Several Variables
2
−y 2 2
−y 2
f (x, y ) = (x 2 + 3y 2 )e −x f (x, y ) = (x 2 + 3y 2 )e −x
sin x sin y
f (x, y ) = sin x + sin y f (x, y ) = xy
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 11 / 23
3.1. Functions of Several Variables
Level curves
The level curves of a function f of two variables are the curves with
equations f (x, y ) = k, where k is a constant (in the range of f ).
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 12 / 23
3.1. Functions of Several Variables
Examples
Limits
Definition
Let f be a function of two variables whose domain D includes points
arbitrarily close to (a, b). Then we say that the limit of f (x, y ) as (x, y )
approaches (a, b) is L and we write
lim f (x, y ) = L
(x,y )→(a,b)
|f (x, y ) − L| < .
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 14 / 23
3.1. Functions of Several Variables
lim f (xn , yn ) = L
n→∞
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 15 / 23
3.1. Functions of Several Variables
Examples
2. Evaluate
2x 3 + y 3
lim .
(x,y )→(0,0) x 2 + y 2
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 16 / 23
3.1. Functions of Several Variables
Examples
Remark
If f (x, y ) → L1 as (x, y ) → (a, b) along a path C1 and
f (x, y ) → L2 as (x, y ) → (a, b) along a path C2 , where L1 6= L2 ,
then lim f (x, y ) doesn’t exist.
(x,y )→(0,0)
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 17 / 23
3.1. Functions of Several Variables
Continuity
Definition
A function f of two variables is called continuous at (a, b) if
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 18 / 23
3.1. Functions of Several Variables
Examples
1 Show that
4x 2 y 2
(
x 2 +2y 2
if (x, y ) 6= (0, 0)
f (x, y ) =
0 if (x, y ) = (0, 0)
is continuous at (0, 0).
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 19 / 23
3.1. Functions of Several Variables
Uniformly continuity
Definition
A function f is called uniformly continuous on D ⊆ R2 if for every > 0,
there is δ > 0 such that for all M1 (x1 , y1 ), M2 (x2 , y2 ) ∈ D,
Example
p
1 Show that f (x, y ) = x 2 + y 2 is uniformly continuous on R2 .
2 Prove that the function f (x, y ) = sin 1−xπ2 −y 2 is not uniformly
continuous over the domain D = {(x, y ) : x 2 + y 2 ≤ 1}.
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 20 / 23
3.1. Functions of Several Variables
Homeworks
1. Evaluate
2y 2
(a) lim (x 2 + y 2 )x (b) lim (x 2 +y 2 )e −(x+y ) .
(x,y )→(0,0) (x,y )→(+∞,+∞)
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 21 / 23
3.1. Functions of Several Variables
Homeworks
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables December 21, 2021 22 / 23
Chapter 3: Functions of Several Variables
Do Trong Hoang
January 4, 2022
Definition
If f is a function of two variables, its partial derivatives are the functions fx0
and fy0 defined by
f (x + ∆x, y ) − f (x, y )
fx0 (x, y ) = lim
∆x→0 ∆x
f (x, y + ∆y ) − f (x, y )
fy0 (x, y ) = lim
∆y →0 ∆y
Examples
p ∂f ∂f
1 Let f (x, y ) = 2x + 3y 2 + 1. Find ∂x and ∂y at (2, 4).
2 Show that fx0 (0, 0) = fy0 (0, 0) = 0, where
xy (x 2 −y 2 )
(
x 2 +y 2
if (x, y ) 6= (0, 0)
f (x, y ) = .
0 if (x, y ) = (0, 0)
Simlilarly, fy0 (a, b) is the slope of the tangent line T2 at P of the curve
C2 = S ∩ {plane x = a}
Total Differential
Let z = f (x, y ) be a function of two variables on D and M0 (x0 , y0 ) ∈ D.
Assume ∆x and ∆y are arbitrary numbers. The function f is called
differentiable at M0 if there are two contants A and B (independent on
∆x and ∆y ) such that:
Equivalently,
q
f (x0 + ∆x, y0 + ∆y ) = f (x0 , y0 ) + A∆x + B∆y + o 2
(∆x) + (∆y )2
df = A∆x + B∆y .
Remark
If f is differentiable, then all its partial derivatives of f exist. Moreover,
∂f ∂f
A= and B=
∂x ∂y
f (x0 +∆x, y0 +∆y ) ≈ f (x0 , y0 )+fx0 (x0 , y0 )∆x +fy0 (x0 , y0 )∆y
dz = fx0 dx + fy0 dy
Theorem
Let z = f (x, y ) be a function of two variables. If all partial derivatives of f
are exist and continuous at M0 (x0 , y0 ), then f (x, y ) is differentiable at
M0 (x0 , y0 ).
Example. Let
(
1
(x 2 + y 2 ) sin x 2 +y 2 if (x, y ) 6= (0, 0)
f (x, y ) =
0 if (x, y ) = (0, 0)
Show that f is differentiable at (0, 0) (and hence that fx0 (0, 0) and fy0 (0, 0)
exist), but that f 0 x and fy0 are not continuous at (0, 0)).
Example:
1 Let z = x 2 e y + 3xy 4 , where x = sin 2t, y = cos2 t. Find zt0 .
∂z ∂z
2 If z = e x sin y , where x = st 2 , y = s 2 t, find ∂s and ∂t .
General Version
Implicit Differentiation
∂F
dy F0
∂x
= − ∂F = − x0 (if Fy0 6= 0)
dx ∂y
Fy
∂F ∂F
∂z F0 ∂z ∂y Fy0
∂x
= − ∂F = − x0 = − ∂F = − 0
∂x ∂z
Fz and ∂y Fz
∂z
(if Fz0 6= 0) (if Fz0 6= 0)
Example:
∂z ∂z
1 Find ∂x and ∂y if x 3 + y 3 + z 3 + 6xyz = 1.
x
2 Find dz with z = z(x, y ) such that z = ln yz + 1.
Homeworks
1. Estimate
p
a) 1.023 + 1.973 b) sin 290 · tan 460 .
Homeworks
dy
4. Find dx
a) arctan(x 2 y ) = x + xy 2 b) e y sin x = x + xy
∂z ∂z
5. Find ∂x and ∂y
a) e z = xyz b) yz + x ln y = z 2
Homeworks
Do Trong Hoang
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables January 12, 2022 1 / 16
3.2. Partial derivatives and differentials
If f is a function of two variables, then its partial derivatives fx0 and fy0 are
also functions of two variables, so we can consider their partial derivatives
(fx0 )0x , (fx0 )0y , (fy0 )0x and (fy0 )0y , which are called the second partial derivatives
of f . If z = f (x, y ), we use the following notation:
∂2f ∂2z
0 0 00 ∂ ∂f
(fx )x = fxx = = =
∂x ∂x ∂x 2 ∂x 2
∂2f ∂2z
∂ ∂f
(fx0 )0y = fxy00 = = =
∂y ∂x ∂y ∂x ∂y ∂x
2 ∂2z
∂ ∂f ∂ f
(fy0 )0x = fyx00 = = =
∂x ∂y ∂x∂y ∂x∂y
2 2
∂ ∂f ∂ f ∂ z
(fy0 )0y = fyy00 = = 2
=
∂y ∂y ∂y ∂y 2
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables January 12, 2022 2 / 16
3.2. Partial derivatives and differentials
xy (x 2 −y 2 )
(
x 2 +y 2
if (x, y ) 6= (0, 0)
f (x, y ) =
0 if (x, y ) = (0, 0)
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables January 12, 2022 3 / 16
3.2. Partial derivatives and differentials
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables January 12, 2022 4 / 16
3.2. Partial derivatives and differentials
For instance, suppose that fxy00 and fyx00 are both continuous. Then
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables January 12, 2022 5 / 16
3.2. Partial derivatives and differentials
Proposition
Let z = f (x, y ) be a function. Then
n
n ∂ ∂
d z= dx + dy f
∂x ∂y
1
p
Example. Let z = 3 (x 2 + y 2 )3 . Evaluate d 2 z and d 3 z at (3, 4).
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables January 12, 2022 6 / 16
3.2. Partial derivatives and differentials
Taylor expansion
Theorem
For a function of two variables f (x, y ) whose n-th differentials exist in a
neighbour of the point (a, b). The n-th degree Taylor polynomial of f for
(a + ∆x, b + ∆y ) near the point (a, b) is
n
X 1 k
f (a + ∆x, b + ∆y ) = f (a, b) + d f (a, b).
k!
k=1
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables January 12, 2022 8 / 16
3.3: Extrema
3.3: Extrema
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables January 12, 2022 9 / 16
3.3: Extrema
3.3.1: Extrema
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables January 12, 2022 10 / 16
3.3: Extrema
Theorem
If f has a local maximum or local minimum at (a, b) and the first-order
partial derivatives of f exist there, then fx0 (a, b) = 0 and fy0 (a, b) = 0.
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables January 12, 2022 11 / 16
3.3: Extrema
Let ∆ = ∆(a, b) = B 2 − AC .
Theorem
1 If ∆ < 0 and A > 0, then f (a, b) is a local minimum.
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables January 12, 2022 12 / 16
3.3: Extrema
Examples
Example 1. Find the local maximum and minimum values and saddle
points of f (x, y ) = x 4 + y 4 − 4xy + 1.
Example 2. Find the shortest distance from the point (1, 0, −2) to the
plane x + 2y + z = 4.
Example 3. A rectangular box without a lid is to be made from 12 m2 of
cardboard. Find the maximum volume of such a box.
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables January 12, 2022 13 / 16
3.3: Extrema
Homeworks
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables January 12, 2022 14 / 16
3.3: Extrema
Homeworks
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables January 12, 2022 15 / 16
Chapter 3: Functions of Several Variables
Do Trong Hoang
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables Ngày 17 tháng 1 năm 2022 1 / 10
3.3.2: Absolute maximum and Absolute minimum values
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables Ngày 17 tháng 1 năm 2022 2 / 10
Examples
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables Ngày 17 tháng 1 năm 2022 3 / 10
3.3.3: Constrained Extrema
Problem
Find the extreme values of f (x, y ) subject to the constraint g (x, y ) = k.
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables Ngày 17 tháng 1 năm 2022 4 / 10
Method of Lagrange Multipliers
Step 2: Evaluate dL2 at all points M(x0 , y0 , λ0 ) that result from step 1.
1 If dL2 (M) > 0 then f has local minimum at (x0 , y0 ).
2 If dL2 (M) < 0 then f has local maximum at (x0 , y0 ).
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables Ngày 17 tháng 1 năm 2022 5 / 10
Remarks
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables Ngày 17 tháng 1 năm 2022 6 / 10
Examples
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables Ngày 17 tháng 1 năm 2022 7 / 10
Example 4. Find the absolute maximum and absolute minimum values of
the function f (x, y ) = x 2 − y 2 on the region D : x 2 + y 2 ≤ 1.
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables Ngày 17 tháng 1 năm 2022 8 / 10
Homeworks
Do Trong Hoang (SAMI-HUST) Chapter 3: Functions of Several Variables Ngày 17 tháng 1 năm 2022 9 / 10