Beruflich Dokumente
Kultur Dokumente
2
3. Show that the set x−5 x ∈ R is not
bounded
Properties
logb (xy ) = logb x + logb y
logb x y = y logb x, x > 0
loga x ln x
logxb = =
loga b ln b
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 19 / 208
Examples.
• 16 = 24 ⇔ 4 = log2 16
1
• Find x such that log4 x = 2
1 1
= log4 x ⇔ x = 4 2
2
• Find x = log64 16
x = log64 16 ⇔ 16 = 64x ⇔ 42 = (43)x ⇔ 2 = 3x
• Find x such that logx 27 = 3
logx 27 = 3 ⇔ x 3 = 27 = 33 ⇔ x = 3
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 20 / 208
Composite functions Given f : X → Y , and
g : Y → Z , we define
(g ◦ f )(x) = g (f (x))
Given f : X → Y , the inverse of f is a function
g : Y → X such that
∀x ∈ X , g (f (x)) = x; i.e (g ◦ f ) = idX
∀y ∈ Y , f (g (y )) = y ; i.e (f ◦ g ) = idY
(also f is the inverse function of g .)
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 21 / 208
Exercises 1. Use the table below to
• evaluate (f ◦ g )(5), and (g ◦ f )(8)
• solve (g ◦ f )(x) = 4
x 0 1 2 3 4 5 6 7 8 9
f(x) 3 0 5 2 7 9 1 2 6 4
g(x) 6 3 4 1 7 9 5 2 4 0
2. Let f (x) = x + 2, and g (x) = x − 1, show that
f −1 = g ◦ g
(f ◦ g )−1 = g −1 ◦ f −1
Example. f (x) = x 2 on [0, ∞) and g (x) = x 2 on
√
(−∞, 0] are invertible and (f ◦ g )−1(x) = − 4 x.
1 x
cos(tan−1 x) = √ , sin(tan−1 x) = √
x2 + 1 x2 + 1
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 32 / 208
Exercises 1. From the formula
π
sin − x = cos x,
2
find a formula relating sin−1 x and cos−1 x
x−2
2. Express f (x) = x−1 as a composition of
1
f1(x) = , f2(x) = x − 1, f3(x) = 1 − x
x
Then find the inverse function f −1(x)
Hence lim √ x2 = −1
x→−∞ x +1
|x|
lim = lim (−1) = −1
x→0− x x→0−
|x|
lim = lim (1) = 1
x→0+ x x→0+
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 41 / 208
Arithmetics with Limits
lim x = a, lim k = k
x→a x→a
where
4−x x <0
f (x) = 2 x =0
x +1 x >0
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 44 / 208
Exercise
Evaluate
lim f (x)g (x)
Assume x→−4
= (1)2(0) = 0
1 1
> =M
x 2 δ2
whenever 0 < |x − 0| < δ
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 50 / 208
Example. Show that lim ln |x| = −∞.
x→0
For any M, choose δ = e M > 0, then
ln |x| < ln δ = M whenever 0 < |x − 0| < δ.
2 2
Similarly, lim x−3 = ∞, lim x−3 = −∞
x→3+ x→3−
For any M > 0, choose δ = M2 > 0, then
2 2
x−3 > δ = M whenever 3 < x < 3 + δ.
For any M < 0, choose δ = − M2 > 0, then
2 2
x−3 < −δ = M whenever 3 − δ < x < 3.
is not continuous.
R(x + h) − R(x)
R 0(x) = lim
h→0 h
x+h x
x+h−1 − x−1
= lim
h→0 h
−1
= lim
h→0 (x + h − 1)(x − 1)
−1
=
(x − 1)2
(tan x)0 = 1
cos2 x
= 1 + tan2 x
• (ln |x|)0 = x1 .
Exercise. Find the derivatives of the following
functions: e x sin x, x 2 ln x, sin5 x, x 2 sin x, sinx x .
h = V6
0
h0 = V6 = 0.5ft/min
r = 4h
10
V = 13 πhr 2 = 4π
75 h
3
V 0 = 4π 2 0
25 h h
When h = 5,
V0
h0 = 4π 10
= 4π = 2.5
π ft/min
Another example.
dF
0 dx (2, 1) 2(2)(13) − 3 1
y (2) = − dF = − 2 2 =−
dy (2, 1)
3(2 )(1 ) + 2 14
2 3
where F (x, y ) = x y + 2y − 3x.
The equation of the tangent line is
x 8
y =− +
14 7
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 83 / 208
Example Given y 4 + xy − x 3 + x − 2 = 0 and
solution (1, 1).
dF
(1, 1) = 4(1)3 + (1) = 5
dy
dF
(1, 1) = (1) − 3(1)2 + (1) = −1.
dx
Hence y 0(1) = −(−1)/5 = 1/5 and equation of
the tangent line is
x 4
y= +
5 5
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 84 / 208
Example Find an equation of the tangent line at
2 4
3 3
,
3 3 of the folium of Descartes x + y = 3xy
2 4
3, 3
is on the graph and
3( 32 )2 − 3( 43 ) 4
dy 2
=− 4 2 =
dx 3 3( 3 ) − 3( 23 ) 5
4x 4
y= +
5 5
3 3
(F (x, y ) = x + y − 3xy )
On [-1,6],
Max=f(6)=43
Min=f(-1)=-34
Local Max=f(1)=18
Local min=f(4)=-9
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 100 / 208
First Derivative Test
Suppose f (x) is continuous on an interval I where
c ∈ I is the only critical point. Then,
a) If f 0(x) > 0, ∀x < c and f 0(x) < 0 ∀x > c,
then f (c) is the maximum value of f over I .
b) If f 0(x) < 0, ∀x < c and f 0(x) > 0 ∀x > c,
then f (c) is the minimum value of f over I .
Example.
f (x) = x 21+1 , and f 0(x) = − (x 22x
+1)2
.
By First Derivative Test, f has maximum value 1
at x = 0
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 101 / 208
Example. Consider a quadratic function
2 2
b b
f (x) = ax 2 + bx + c = a x + + c−
2a 4a
b
f (x) = 2a(x + 2a ) and f has the only critical
b
point x = − 2a which is a minimum if a > 0 and a
maximum if a < 0.
Example. Let f (x) = 1 − (x − 1)2/3, then
f 0(x) = − 3(x−1)
2
1/3 . The only critical point is
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 104 / 208
Application. The population of a colony of
bacteria (in millions) t hours after a toxin is
introduced is
t +1 (1 − t)(t + 3)
P(t) = 2 , and P 0(t) = 2
t +t +4 (t + t + 4)2
Therefore P 0(t) > 0 ⇔ t < 1.
By the First Derivative Test, the maximum
population is P(1) = 31 .
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 105 / 208
Second Derivative Test
Suppose f (x) is continuous on an interval I where
c ∈ I is the only critical number and f 0(c) = 0.
a) If f 00(c) > 0, then f (c) is the minimum value
of f over I .
b) If f 00(c) < 0, then f (c) is the maximum value
of f over I .
2 2
Example. f (x) = xe −x , f 0(x) = (1 − 2x 2)e −x .
Therefore, on (0, ∞), the only critical point is
1 2
x = 2− 2 , f 00(x) = (4x 3 − 6x)e −x , and
f 00( √12 ) < 0. The maximum value is f ( √12 ) = √12e .
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 106 / 208
Example. f (x) = e x + e −2x , f 0(x) = e x − 2e −2x .
The only critical point is x = ln32 .
Since f 00(x) = e x + 4e −2x > 0, ∀x, the minimum
value is f ( ln32 ) = √33 .
4
Example. (Biggest Rectangle) Find the rectangle
with biggest area while circumference is L. The
area is calculatedby
A(x) = x L2 − x , 0 ≤ x ≤ L2 , where
A0(x) = L2 − 2x. Hence, the area is biggest when
x = L4 and our rectangle is a square.
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 107 / 208
Minimize travel time. A ranch is 4 miles from
the highway, and the city is 9 miles down the
highway. Driving speed is 20mph from the ranch
to the highway and 55mph on the highway. Where
should the road meet the
√ highway?
16+x 2
Travel time is T (x) = 20 + 9−x
55 ,
T 0(x) =
√x 1
− 55 =0
20 2
16+x
when x = √16 .
105
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 108 / 208
Shortest path from A(0, h1) to an arbitrary
point P(x, 0) on the
px axis, thenpcontinue to
B(L, h2) is f (x) = x 2 + h12 + (L − x)2 + h22
f 0(x) = √ x2 2 − √ L−x2 2 .
x +h1 (L−x) +h2
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 109 / 208
Closest point. Distancep from (3, 0) to a point
(x, x 2) of the parabola is f (x) where
f (x) = (x − 3)2 + (x 2 − 0)2 = x 4 + x 2 − 6x + 9
f 0(x) = 4x 3 + 2x − 6 = 2(x − 1)(2x 2 + 2x + 3).
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 113 / 208
Example f (x) = 2x 3 + 3x 2 − 12x − 7
f 0(x) = 6x 2 + 6x − 12 = 6(x + 2)(x − 1)
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 114 / 208
Examples.
1
Let f (x) = x for x ∈ [1, 4], then
f (4) − f (1) 1
= − = f 0(2), 2 ∈ (1, 4)
4−1 4
√
Let f (x) = x, x ∈ [4, 9], then
f (9) − f (4) 1 1
= = f 0(c) = √
9−4 5 2 c
25
where c = 4 ∈ (4, 9)
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 115 / 208
L’Hôpital’s rule
0
Suppose lim gf 0(x)
(x) exists (f , g are differentiable
x→a
near a), and
• lim g (x) = ±∞ or
x→a
• lim f (x) = lim g (x) = 0.
x→a x→a
f (x) f 0 (x)
Then lim = lim 0 .
x→a (x)
g x→a g (x)
f 0 (x)
Remark: a and the limit of g 0 (x) can be ±∞. For
f 0 (t)
t close to a, g 0 (t) is defined, therefore g 0(t) 6= 0.
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 116 / 208
Proof. Let x, y be different and close to a. By
Cauchy theorem, we have t between x, y such that
f (x) − f (y ) f 0(t)
=
g (x) − g (y ) g 0(t)
Let y → a and then x → a, we have
f (x) f 0(t)
lim = lim 0
x→a g (x) t→a g (t)
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 117 / 208
Example.
1
ln(x + 1)
lim = lim x+1 = 1
x→0 x x→0 1
Example.
ln x 1
lim x 1/x = lim e x = lim e x = e 0 = 1
x→∞ x→∞ x→∞
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 118 / 208
Example.
x +1 ln(x + 1) − ln x
lim x ln = lim 1
x→∞ x x→∞
x
1
x+1 − x1 x2
= lim = lim =1
x→∞ − x12 x→∞ x(x + 1)
Then
x x
1 x +1
lim 1 + = lim = e1 = e
x→∞ x x→∞ x
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 119 / 208
Exercise. Try to apply l’Hopitale rule
3x − 12 12x − 3 x 2 − 2x
lim , lim , lim
x→4 x 2 − 16 x→4 x − 4 x→0 3x − 2
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 120 / 208
Taylor polynomial of f (x) at a of degree n is
n
X f (k)(a)
P(x) = (x − a)k
k!
k=0
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 121 / 208
Example. Let f (x) = ln x and a = 1,
f (1) = 0, f 0(1) = 1, f 00(1) = −1, f 000(1) = 2
Estimates of degree 0, 1, 2, 3 of ln(1.1) are
0, 0.1, 0.095, 0.0953333
The linear approximation is 0.1 and
ln(1.1) ≈ 0.09531
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 122 / 208
Taylor Expansion of f (x) = e x
f (n)(0) = 1, ∀n
the Taylor polynomial of degree n at 0 is
n
X xk x x2 xn
= 1 + + + ... +
k! 1! 2! n!
k=0
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 123 / 208
Example.
√
Let f (x) = x + 3, a =√1, f (a) = 2, f 0(a) = 14 .
Linear approximation is x + 3 ≈ 2 + 41 (x − 1).
In particular,
√ −0.02
1.99499 = 3.98 ≈ 2 + = 1.995
4
√ 0.05
2.01246 = 4.05 ≈ 2 + = 2.0125
4
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 124 / 208
Newton method
Given an equation f (x) = 0 and an initial guess
x0, we find better answers x1, x2, . . . by solving
f (xk ) + f 0(xk )(x − xk ) = 0, and get
f (x0)
x1 = x0 −
f 0(x0)
f (xk )
xk+1 = xk − 0
f (xk )
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 125 / 208
Answers and accuracy
Solve f (x) = x 2 − 27 = 0 with initial guess x0 = 6
x2 = 5.196, f (x2) = −0.0016
It is obvious we have a unique positive solution
c ∈ (5, 6). Since f 0(x) = 2x > 10 for x > 5,
Lagrange Theorem gives
|f (c) − f (x2)| |f (x2)|
|c − x2| < = < 0.0002
10 10
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 126 / 208
Answers and accuracy
Solve f (x) = x 4 − 6x 2 + x + 5 = 0 with x0 = −1,
x2 = −0.888286, |f (x2)| < 5 × 10−7
f (−1) < 0 < f (−0.88) and
f 0(x) > −4−12(−0.88)+1 > 7, ∀x ∈ (−1, −0.88)
We have a unique solution c ∈ (−1, −0.88) where
|f (c) − f (x2)| |f (x2)|
|c − x2| < = < 10−7
7 7
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 127 / 208
Answers and accuracy
Solve f (x) = x 4 − 6x 2 + x + 5 = 0 with x0 = −2,
x6 = −2.349426935, |f (x6)| < 7 × 10−9
f (−2.4) > 0 > f (−2.3) and ∀x ∈ (−2.4, −2.3)
f 0(x) < 4(−2.3)3 − 12(−2.4) + 1 < −19
We have a unique solution c ∈ (−2.4, −2.3) and
|f (c) − f (x6)| |f (x6)| 10−9
|c − x6| < = <
19 19 2
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 128 / 208
Riemann Integral
Suppose f is defined on (a, b). With each
partition x0 = a < x1 < · · · < xn = b, and
ti ∈ (xi , xi+1) for 0 ≤ i ≤ n − 1, we have a
n−1
P
Riemann sum f (ti )(xi+1 − xi ).
i=0
If the Riemann sum converges as (xi+1 − xi ) → 0,
then f is Riemann integrable, and the limit
R b is the
Riemann integral of f on [a,b], written a f (x)dx
Rb
or a f .
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 129 / 208
Example. Find the integral on [0, 1] of
1 for x < c
f (x) = 0.5 for x = c
0 for x > c
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 132 / 208
1
Example. f (x) = x is not integrable on [0,1].
Choose xi = ni , and t0 = 1
n2
∈ (x0, x1), then
n−1
X
f (ti )(xi+1 − xi ) > f (t0)(x1 − x0) = n
i=0
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 133 / 208
Rb
Property. Suppose f (x) ≥ 0 on [a, b]. Then a f
is the area between the x-axis and the graph of f ,
for a ≤ x ≤ b.
Exercise. Let 0 < a < b and f : [a, b] → [c, d ] be
an increasing bijection. Then f −1(y ) is also
increasing. Prove that
Z b Z d
bd − ac = f (x) dx + f −1(y ) dy
a c
Monotonicity. Rb Rb
If f (x) ≤ g (x), ∀x ∈ (a, b), then a f ≤ a g
Boundedness.
R If |f − g | ≤ , ∀x ∈ (a, b), then
b R b
a f − a g ≤ (b − a).
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 135 / 208
Rx
Example. Find F (x) = 0 f (t)dt where f is the
given in the graph. F (x) is given below
2x for 0≤x ≤1
x +1 for 1≤x ≤2
5−x for 2≤x ≤3
3≤x ≤4
2 for
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 136 / 208
Newton-Leibnitz Theorem
Suppose f is continuous on [a, b] and
Z x
G (x) = f , ∀x ∈ [a, b]
a
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 138 / 208
The following examples are wrong.
Example. f (x) = cos12 x , and G (x) = tan x is an
anti-derivative of f . Therefore,
Z 2π
1
2x
dx = tan(2π) − tan(0) = 0
0 cos
Example. f (x) = x 22x+3
+3x+2
, G (x) = ln |x 2 + 3x + 2|
is an anti-derivative of f . Therefore,
Z 3
f (x) = G (3) − G (−3) = ln 20 − ln 2 = ln 10
−3
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 139 / 208
Some common anti-derivatives
x n+1
Z
n
x dx = + C , ∀n 6= −1
Z n
Z + 1
1
x −1dx = dx = ln |x| + C
Z x
ex = ex + C
Example
Z
1 3
(3x 3 + −5e x −2)dx = x 4 +ln |x|−5e x −2x+C
x 4
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 140 / 208
Example. Suppose a quantity Q(t) has a constant
Q 0 (t)
relative growth rate; i.e. Q(t) = k. Hence, the
Q 0 (t)
anti-derivatives of Q(t) are kt + C .
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 141 / 208
Substitution rule
Z b Z u(b)
f (u(x))u 0(x)dx = f (u)du
a u(a)
R2 √
Example. Evaluate 0 x 2 x 3 + 1dx.
Let u = x 3 + 1, u 0(x) = 3x 2, u(0) = 1, u(2) = 9,
Z 2 √ Z 9 9
√ 3/2
2 1 1 u
x x 3 + 1dx = udu =
3 3 3
0 1 2 1
2 3/2 3/2
52
= 9 −1 =
9 9
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 142 / 208
R3
Example. Evaluate 1 x 2x+1 dx
Use u = x 2 + 1, u 0(x) = 2x, u(1) = 2, u(3) = 10,
Z 3
1 10 du 1
Z
x ln 5
2
dx = = (ln 10−ln 2) =
1 x +1 2 2 u 2 2
Example. Let u = 3x + 7, u 0(x) = 3,
u − 7 20
Z Z
1
x(3x + 7)20 dx = u du
3 3
1 u 22 7u 21 (3x + 7)22 (3x + 7)21
= − = −
9 22 21 198 27
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 143 / 208
Exercise
Show that the two areas equal
G (x) = F (x 2) where
Z u√ √
0
F (u) = t + 3 dt , F (u) = u 3 + 3
3
0
Therefore √ √
0 0
G (3) = F (9)(2(3)) = 6 732 = 12 183
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 145 / 208
Problem 2. R
x
Let A(x) = 0 f (t) dt where f (t) is given below
Therefore I = −I ; i.e. I = 0.
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 147 / 208
Numerical Integration
Common notation: ∆x = b−a N
Midpoint rule
Z b N
X 1
f ≈ ∆x f (tj ) , tj = a + (j − )∆x
a 2
j=1
Trapezoidal rule
Z b N
X f (a) + f (b)
f ≈ ∆x f (tj ) −
a 2
j=0
where tj = a + j∆x
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 148 / 208
Simpson’s rule (N must be even)
∆x
[f (a) + 4f (t1) + 2f (t2) + · · · + 4f (tN−1) + f (b)]
3
where tj = a + j∆x.
Example. Approximate the following integral
Z 5
dx
= ln 5 ≈ 1.6094
1 x
by Midpoint, Trapezoidal, and Simpson’s rules,
with N = 4.
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 149 / 208
Midpoint
1 1 1 1 496
1 + + + = ≈ 1.5746
1.5 2.5 3.5 4.5 315
Trapezoidal
0.5 1 1 1 0.5 101
1 + + + + = ≈ 1.6833
1 2 3 4 5 60
Simpson
1 1 4 2 4 1 73
+ + + + = ≈ 1.6222
3 1 2 3 4 5 45
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 150 / 208
Integration by parts
Z Z
u(x)v 0(x)dx = u(x)v (x) − u 0(x)v (x)dx
Example
u(x) = x n , u 0(x) = nx n−1,
v (x) = v 0(x) = e x .
Z Z
x n e x dx = x n e x − n x n−1e x dx
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 151 / 208
Example
Z Z
x 3e x dx = x 3e x − 3 x 2e x dx
Z
= x 3e x − 3(x 2e x − 2 xe x dx)
= x 3e x − 3(x 2e x − 2(xe x − e x + C ))
= x 3e x − 3x 2e x + 6xe x − 6e x + C
= e x (x 3 − 3x 2 + 6x − 6) + C
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 152 / 208
Example.
u(x) = ln x, u 0(x) = x1 , v (x) = x, v 0(x) = 1
ln x dx = x ln x − xx dx = x ln x − x + C .
R R
Example.
u(x) = ln x, u 0(x) = x1 , v (x) = 13 x 3, v 0(x) = x 2.
x 3 ln x
R x2 3 3
x ln xdx = 3 − 3 dx = x 3ln x − x9 + C .
R 2
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 153 / 208
Example. u(x) = x, u 0(x) = 1,
v (x) = − cos x, v 0(x) = sin x.
Z Z
x sin x dx = −x cos x − − cos x dx
= −x cos x + sin x + C
Example. u(x) = cos−1 x, u 0(x) = − √ 1 ,
1−x 2
v (x) = x, v 0(x) = 1.
Z Z
x
cos−1 x dx = x cos−1 x − − √ dx
1 − x 2
p
−1
= x cos x − 1 − x 2 + C
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 154 / 208
Example.
u(x) = sin x, u 0(x) = cos x, v (x) = v 0(x) = e x
Z Z
e x sin x dx = e x sin x − e x cos x dx
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 155 / 208
RRecursive formula.
n sinn xdx =
n−1
R n−2
− sin x cos x + (n − 1) sin xdx
R R
n cos xdx = cos x sin x +(n−1) cosn−2 xdx
n n−1
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 156 / 208
Trigonometric techniques
Example. u = cos x, u 0 = − sin x.
Z Z
sin3 xdx = (− sin2 x)(− sin x)dx
Z
= (cos2 x − 1)(cos x)0dx
Z
= (u 2 − 1)du
cos3 x
= − cos x + C
3
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 157 / 208
Example. For −1 ≤ x ≤ 1, − π2 ≤ t ≤ π2 , let
p
x = sin t, dx = cos t dt, 1 − x 2 = cos t
Then
Z p Z Z
1 + cos 2t
1 − x 2dx = cos2 t dt = dt
2
1
= (t + sin t cos t) + C
2
1 −1
p
= (sin x + x 1 − x 2) + C
2
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 158 / 208
Rationalization
−9dx
Example. u = √ x , du = (x −9)3/2
2
x 2 −9 √
R −du x 2 −9
√dx = 9u 2 = 9u1 = 9x + C
R
x2 x 2 −9
Example. u = √ x2 , du = (x 2+3) 3dx
3/2
x +3
R√ R 3du
x 2 + 3dx = (1−u 2 )2
Example. u = √ x 2 , du = (1−xdx2)3/2
R√ R1−x du
2
1 − x dx = (u 2+1)2
R√
Exercise. Rationalize x 2 − 1 dx
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 159 / 208
Partial Fraction Decomposition
x +1 x +1 A B
= = +
x 2 − 7x + 10 (x − 2)(x − 5) x − 2 x − 5
Multiply by (x − 2)(x − 5), we have
x + 1 = A(x − 5) + B(x − 2)
Let x = 5, we get B = 2.
Let x = 2, we get A = −1.
Hence
−dx
Z Z Z
x +1 2dx
= +
x 2 − 7x + 10 x −2 x −5
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 160 / 208
Example
x3 + 1 A B
= x + +
x2 − 4 x −2 x +2
Multiply by (x 2 − 4), we have
x 3 + 1 = x(x 2 − 4) + A(x + 2) + B(x − 2)
Let x = 2, we get A = 94 .
Let x = −2, we get A = 74 .
Hence
x3 + 1 9 7
= x + +
x2 − 4 4(x − 2) 4(x + 2)
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 161 / 208
Examples.
3x − 9 A B C
= + +
(x − 1)(x + 2)2 x − 1 x + 2 (x + 2)2
3x − 9 = A(x + 2)2 + B(x − 1)(x + 2) + C (x − 1)
Use x = 1, then x = −2, and x = 0.
18 A Bx C
= + +
(x + 3)(x 2 + 9) x + 3 x 2 + 9 x 2 + 9
18 = A(x 2 + 9) + Bx(x + 3) + C (x + 3)
Use x = 3, x = 0, then x = 1.
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 162 / 208
Examples.
0
x 2−x 2 4−(x 2 +2) 4 1
x 2 +2
= (x 2 +2)2
= (x 2 +2)2
= (x 2+2)2 − x 2 +2
R dx
= 41 x 2x+2 + x 2dx+2
R
(x 2 +2)2
0
x 2−3x 2 8−3(x 2 +2) 8 3
(x 2 +2)2
= (x 2 +2)3
= (x 2 +2)3
= (x 2+2) 3 − (x 2 +2)2
R dx R 3dx
1 x
(x 2 +2)3
= 8 (x 2+2)2 + (x 2+2)2
RExercises.
dx
Evaluate the
R dx
R following anti-derivatives
dx 4dx
(u 2 +1)2
, (1−u 2 )2 , ,
x 4 −1 (x+2)(x 2 −4)
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 163 / 208
Net Change
Q 0(t) is the rate of change of Q(t) at t. The net
change of Q(t) from t = a to t = b is
Z b
Q(b) − Q(a) = Q 0(t)dt
a
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 164 / 208
Useful Life
Let P(t) = R(t) − C (t) be the (unknown) profit
generated by a facility. When it is getting old, the
profit rate P 0(t) (known) is decreasing. The useful
time T is defined by
P 0(t) > 0 ⇔ t < T
The net profit is
Z T
P 0(t) dt
0
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 165 / 208
Net Contributions
A fundraising campaign gets a weekly rate of
contribution 5000e −0.2t while expenses $676 per
week. The rate of revenue exceeds the rate of cost
iff 5000e −0.2t ≥ 676 or equivalently t ≤ T = 10.
The net earnings is
Z 10
[5000e −0.2t − 676] dt ≈ 14856
0
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 166 / 208
Area between two curves
Suppose f (x) ≥ g (x), ∀x ∈ [a, b]. The area
between the graphs Rof f and g and between
b
x = a and x = b is a [f (x) − g (x)]dx.
Example. Let g (x) = x 3, f (x) = x 2, a = 0, b = 1.
The area is
Z 1 3 4 1
x x 1
(x 2 − x 3)dx = − =
0 3 4 0 12
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 167 / 208
Example. Area enclosed by 4x, and x 3 + 3x 2,
where −4 ≤ x ≤ 0, is
R0 3
−4 (x + 3x 2 − 4x)dx
i0
x4
= 4 + x 3 − 2x 2
−4
= 32
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 168 / 208
Example. Find the area bounded by
y1 = x82 , y2 = 8x, and y3 = x,
The intersecting corners are (0, 0), (1, 8), (2, 2).
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 169 / 208
Two pieces
Z 1 Z 2
8
(8x − x)dx + − x dx = 6
0 1 x2
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 170 / 208
Exercise. Find the shaded areas
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 171 / 208
Volumes can be calculated as integrals of
cross-sectional areas.
Z b
V = A
a
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 172 / 208
Example. (the sphere) x 2 + y 2 + z 2 = r 2.
For every x ∈ [−r , r ], the area of the cross section
at x is πy 2 = π(r 2 − x 2), and
Z r
V = π(r 2 − x 2)dx
−r
r3 3
= 2π(r − )
3
4
= πr 3
3
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 173 / 208
Pyramid. The base is a square with side L and
the height is h. The area of the cross section is
Lx 2
h = L2h−2x 2
L2 h
Rh 2 −2 2 2 −2
Rh
V = 0 L h x dx = L h 0 x 2dx = 3
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 174 / 208
Volume of Revolution
Suppose the region between f (x) and g (x), where
f (x) ≥ g (x) ≥ 0, is rotated about the x-axis.
Then the volume of the created solid is
Z b
π (f (x)2 − g (x)2)dx
a
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 175 / 208
Example: f (x) = x ≥ g (x) = x 2, ∀x ∈ [0, 1]. The
cross section is A(x) = π(x 2 − x 4) and the
volume is
Z 1 Z 1
1 1 2π
A(x)dx = π (x 2−x 4)dx = π − =
0 0 3 5 15
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 176 / 208
Example: The solid is obtained by rotating about
√
the x-axis the region under the curve x from 0
to 1.
Z 1 √ π
V =π ( x)2dx =
0 2
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 177 / 208
Example: The area between f (x) = x 2 + 2, and
g (x) = 4 − x 2 rotates about the horizontal line
y = −3.
Rb 2 2
V = π a (g (x) + 3) − (f (x) + 3) dx = 32π
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 178 / 208
The Shell method
A solid is obtained by rotating about the y-axis
the region under the graph of y = f (x) over the
interval [a, b]. It may be easier to find the areas of
the cylindrical shells than the areas of the
cross-sections.
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 179 / 208
The area of a cylindrical shell is 2πxf (x) and the
volume of the solid is
Z b
V = 2π xf (x)dx
a
Example. y = 2x 2 − x 3, x ∈ [0, 2]
Z 2 5
2 16π
V = 2π x(2x 2−x 3)dx = 2π 23 − =
0 5 5
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 180 / 208
Example: Find the volume obtained by rotating
about the y-axis the area enclosed by the graphs
of f (x) = 9 − x 2, g (x) = 9 − 3x.
Solve
f (x) = 9 − x 2 =
g (x) = 9 − 3x,
and get a = 0,
b=3
R3 27π
V = 2π 0 x[(9 − x 2) − (9 − 3x)]dx = 2
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 181 / 208
Work=force × distance, W = Fd , F = ma,
where
F is the force (in newtons N) on the object,
m is the mass (in Kg) of the object,
a is the acceleration (in m/s 2) of the object,
d is the moving distance (in m),
and the work (W) is in joule (J).
Example. 1.2Kg books are lifted off the floor and
put on a desk that is 0.7m high. The work is
W = Fd = mad = 1.2(9.8)(0.7) = 8.232 J.
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 182 / 208
The work done in moving an object by a force
f (x), from coordinate a to coordinate b is
Z b
f (x)dx
a
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 183 / 208
Example: A force of 40N is required to hold a
spring that has been stretched from its natural
length of 10cm to a length of 15 cm. Therefore,
the force required to maintain a spring stretched x
meters beyond its natural length, by Hooke’s law,
is f (x) = 800x Newton. The work done in
stretching the spring from 15cm(0.15m) to
18cm(0.18m) is
Z .08
W = 800xdx = 400((0.08)2−(0.05)2) = 1.56J
.05
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 184 / 208
Example: A 90.8kg cable is 30.5m long and hangs
vertically from the top of a tall building. After x
meters of the cable has been pulled up, the
required force is ma = 90.8(30.5−x)(9.8)
30.5 . Therefore,
the work required to lift the cable to the top of
the building is
Z 30.5
90.8
W = 9.8 (30.5 − x)dx
0 30.5
30.5
= 9.8(90.8)( ) = 13570J
2
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 185 / 208
Example: A tank has the shape of an inverted
circular cone with height 10m and base radius 4m.
It is filled with water to a height of 8m. The work
required to pump all of the water over the top of
the tank is
Z 8
9.8(1000) (10 − x)π(0.4x)2dx ≈ 3363000J
0
Exercise: An aquarium 2m long, 1m wide, and 1m
deep is full of water. Find the work needed to
pump half of the water out of the aquarium.
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 186 / 208
Exercise: Find the shaded area
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 187 / 208
Exercise: A bead is formed by removing a cylinder
of radius r from the center of a sphere of radius R.
Find the volume of the bead with r = 1, R = 2.
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 188 / 208
Lorentz curves
For 0 ≤ x ≤ 1, L(x) is the percentage of total
income earned by a group of lowest-paid people.
this group
The proportion whole community = x.
Properties of Lorentz curves
1. L is increasing.
2. L(0) = 0, L(1) = 1, L(x) ≤ x.
L(x) = x is the ideal case of complete equality in
the distribution of income. The closer the Lorentz
curve is to the line y = x, the more equitable the
distribution of income.
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 189 / 208
Gini index, denoted GI (index of income
inequality), may beRcomputed by
1
GI = Area of R1
Area of R2 = 2 0 (x − L(x))dx
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 190 / 208
Examples
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 191 / 208
Average Value of a function f on [a, b] is
Z b
1
AVG = f (x) dx
b−a a
Examples. f (x) = sin x, average on [0, π] is
Z π
1 1 2
sin xdx = (− cos π + cos 0) =
π−0 0 π π
Examples. f (x) = sin x, average on [0, 2π] is
Z 2π
1 1
sin xdx = (− cos 2π + cos 0) = 0
2π − 0 0 2π
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 192 / 208
Example. Average value of f (x) = x on [a, b] is
Z b
1 b 2 − a2 a+b
x dx = =
b−a a 2(b − a) 2
Example. Average value of g (x) = x 2 on [a, b] is
Z b
1 2 b 3 − a3 a2 + ab + b 2
x dx = =
b−a a 3(b − a) 3
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 193 / 208
Mean Value Theorem. If f is continuous on
[a, b], then there exists a value c ∈ [a, b] such that
Z b
1
f (c) = f (x) dx
b−a a
Proof. Let F be an anti-derivative of f , then by
Newton-Leibnitz theorem and Lagrange theorem,
we have c ∈ [a, b] such that
Z b
1 F (b) − F (a)
f (x)dx = = F 0(c) = f (c)
b−a a b−a
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 194 / 208
Exercise
1. Show that L(x) = 0.7x 2 + 0.3x is a Lorentz
function.
2.. Find the Gini Index.
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 195 / 208
Improper Integrals
Z b Z t
f (x)dx = lim f (x)dx, s, t ∈ (a, b)
a s→a,t→b s
Example. For p < −1,
R∞ p Rt p t p+1 −1 1
1 x dx = lim 1 x dx = lim = − p+1
t→∞ t→∞ p+1
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 196 / 208
Comparison Theorem Rb
Suppose 0 ≤ f (x) ≤ g (x). If a f (x)dx is
Rb
infinite, then a g (x)dx is also infinite. If
Rb Rb
a g (x)dx is finite, a f (x)dx is also finite, and
Z b Z b
0≤ f (x)dx ≤ g (x)dx
a a
Example. The area under the bell curve is
Z ∞ Z −1 Z ∞
−x 2 2dx 2dx
e 2 dx < 2
+ 2 + =6
−∞ −∞ x 1 x2
(see next page for details.)
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 197 / 208
−x 2
x
∀x > 0, e > x and e < x22 .
2
Z ∞ Z −1
2 2 1
2
dx = 2
dx = 2 1 − lim =2
1 x −∞ x t→∞ t
Z 1 Z 1
−x 2
e 2 dx < dx
−1 −1
=2
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 198 / 208
Probability and Density function
The probability that variable X ∈ [a, b] is
Z b
P(a ≤ X ≤ b) = f (x)dx ∈ [0, 1]
a
R∞
where f (x) ≥ 0 and −∞ f (x)dx = 1.
Example. Given the density function
0.006x(10 − x) x ∈ [0, 10]
f (x) =
0 x∈/ [0, 10]
Z 8
P(4 ≤ X ≤ 8) = 0.006 (10x − x 2)dx = 0.544
4
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 199 / 208
Exponential Density Function
Waiting times and equipment failure times are
commonly modeled by exponentially decreasing
density functions
0 if t < 0
f (t) =
ce −ct if t ≥ 0
Z ∞ Z x
f (t)dt = lim ce −ct dt
−∞ x→∞ 0
= lim 1 − e −cx = 1
x→∞
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 200 / 208
Mean Z ∞
µ= tf (t)dt
−∞
Example. Given an exponential density function f ,
Z ∞ Z x
µ= tf (t)dt = lim cte −ct dt
−∞ x→∞ 0
x Z
x
lim −te −ct 0 + e −ct dt
x→∞ 0
−cx
1 − e 1
= lim −xe −cx + =
x→∞ c c
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 201 / 208
Example. Suppose the average waiting time is 5
minutes, so
0 if t < 0
f (t) =
0.2e −0.2t if t ≥ 0
(a) The probability that the waiting time is ≤ 1
Z 1
P(0 ≤ T ≤ 1) = 0.2e −0.2t dt = 1−e −0.2 = 0.181
0
(b) The probability P(T > 5) is
Z ∞
1
0.2e −0.2t dt = lim (e −1 − e −0.2x ) =
5 x→∞ e
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 202 / 208
Example. Given the density function
0.1 if t ∈ [0, 10]
f (t) =
0 if t ∈/ [0, 10]
The mean is
Z ∞ Z 10
µ= tf (t)dt = 0.1tdt = 0.1(102)/2 = 5
−∞ 0
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 203 / 208
Example. (Average Lifetime) A type of lightbulb
is labeled as having an average lifetime of 1000
hours. It is reasonable to model the probability of
failure of these bulbs by an exponential density
function with mean µ = 1000. Use this model to
find the probability that a bulb.
(i) fails within the first 200 hours,
(ii) burns for more than 800 hours.
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 204 / 208
Exercise. A distribution is given by the graph
(a) Show that f (x) is a density function.
(b) Use the graph to find the probabilities
P(X < 3) and P(3 ≤ X ≤ 8).
(c) Calculate the mean.
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 205 / 208
Exercise. Evaluate the following improper integrals
a. Z 3 Z t
dx dx
√ = lim √
1 3 − x t→3− 1 3 − x
b.
Z 4 Z 4
dx dx
1/3
= lim
−2 (x + 2) t→−2+ t (x + 2)1/3
c. Z 1 Z 1
x ln x dx = lim x ln x dx
0 t→0+ t
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 206 / 208
Exercise. The standard deviation for a random
variable with probability density function f and
mean µ is defined by
Z ∞ 1/2
σ= (x − µ)2f (x)dx
−∞
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 207 / 208
Exercise. At a fast-food restaurant, the average
time that customers wait for service is 2.5
minutes.
(a) Find the probability that a customer has to
wait for more than 4 minutes.
(b) Find the probability that a customer is served
within the first 2 minutes.
(c) Determine T such that only 2% of customers
would wait more than T minutes.
Thai-Duong Tran (IU HCMC) CALCULUS I July 19, 2015 208 / 208