Algebra
Algebra
Chapter 1
Basic Concept of Integration
Page 2 of 60
What is integration?
Roughly speaking, integration is the reverse process of differentiation: Given a
function 𝑓(𝑥), we would like to find a (differentiable) function 𝐹(𝑥) such that
𝑑
𝐹 (𝑥 ) = 𝑓 (𝑥 ).
𝑑𝑥 𝑑
Differentiation 𝐹(𝑥)
𝑑𝑥
𝐹 (𝑥 ) = 𝑥 2 𝑓(𝑥) = 2𝑥
Integration ∫ 𝑓(𝑥)𝑑𝑥
∫ cos 𝑥 𝑑𝑥 = sin 𝑥.
Remark of Example 1
𝑑
Because of the fact that 𝐶 = 0 for any constant 𝐶, thus for any real constant 𝐶,
𝑑𝑥
the function 𝐹 (𝑥 ) = sin 𝑥 + 𝐶 satisfies
′(
𝑑 𝑑 𝑑
𝐹 𝑥) = (sin 𝑥 + 𝐶 ) = sin 𝑥 + 𝐶 = cos 𝑥.
𝑑𝑥 𝑑𝑥 𝑑𝑥
In general, the integral ∫ cos 𝑥 𝑑𝑥 is given by
∫ cos 𝑥 𝑑𝑥 = sin 𝑥 + 𝐶
𝑑 𝑑 𝑥 𝑎+1
Then 𝐹 (𝑥 ) = = 𝑥 𝑎 . Hence we conclude that
𝑑𝑥 𝑑𝑥 𝑎+1
𝑎+1
𝑥
∫ 𝑥 𝑎 𝑑𝑥 = + 𝐶.
𝑎+1
Page 6 of 60
Remarks of Example 2
In Example 2, we consider the case when 𝑎 ≠ −1. How about the case when
𝑎 = −1? More precisely, what is the integral
1
∫ 𝑥 −1 𝑑𝑥 = ∫ 𝑑𝑥 ?
𝑥
𝑎 𝑥 𝑎+1
By direct substitution, one can see that the formula ∫ 𝑥 𝑑𝑥 = + 𝐶 does not
𝑎+1
−1 𝑥 −1+1 1
work for this case since ∫ 𝑥 𝑑𝑥 = + 𝐶 = + 𝐶 which is undefined.
−1+1 0
𝑑 1 Absolute sign is needed since 𝑥 can be
Note that ln|𝑥 | = .
𝑑𝑥 𝑥 positive or negative and ln 𝑥 = log 𝑒 𝑥
Therefore, we conclude that is only defined for 𝑥 > 0.
−1
1
∫𝑥 𝑑𝑥 = ∫ 𝑑𝑥 = ln |𝑥| + 𝐶.
𝑥
Page 7 of 60
Example 3
Compute the integrals
1
∫ √𝑥𝑑𝑥 , ∫ 3
𝑑𝑥.
𝑥
1
IDEA: One can first express the functions √𝑥 and into the form 𝑥 𝑎 so
𝑥3
that we can use the result in Example 2 to compute these two integrals
Solution:
1
1 𝑥 2+1 2 3
∫ √𝑥𝑑𝑥 = ∫ 𝑥 2 𝑑𝑥 = + 𝐶 = 𝑥2 + 𝐶
1 3
+1
2
−3+1
1 −3
𝑥 1 −2
∫ 3 𝑑𝑥 = ∫ 𝑥 𝑑𝑥 = + 𝐶 = − 𝑥 + 𝐶.
𝑥 −3 + 1 2
Page 8 of 60
Solution:
𝑑
(a) Note that cos 𝑥 = − sin 𝑥, so we should try 𝐹 (𝑥 ) = − cos 𝑥 so that
𝑑𝑥
𝑑
𝐹 ′ (𝑥 ) = (− cos 𝑥 ) = sin 𝑥. Thus
𝑑𝑥
∫ sin 𝑥 𝑑𝑥 = − cos 𝑥 + 𝐶.
𝑑
(b) Note that tan 𝑥 = sec 2 𝑥, thus
𝑑𝑥
∫ sec 2 𝑥 𝑑𝑥 = tan 𝑥 + 𝐶
𝑑
(c) Note that sec 𝑥 = sec 𝑥 tan 𝑥, thus
𝑑𝑥
Example 6
Compute the integrals
(a)
∫ 𝑒 3𝑥+1 𝑑𝑥
(b)
∫ cos 2𝑥 𝑑𝑥
(c) 1
∫ 𝑑𝑥
1 − 3𝑥
Solution
𝑑 𝑑
(a) If we try 𝐹1 (𝑥 ) = 𝑒 3𝑥+1 , then we have 𝐹1 (𝑥 ) = 𝑒 3𝑥+1 = 3𝑒 3𝑥+1 ≠
𝑑𝑥 𝑑𝑥
𝑒 3𝑥+1 .
In order to compute the integral, we need to modify our choice of 𝐹(𝑥) by
1 𝑑 1 𝑑 1
setting 𝐹2 (𝑥 ) = 𝑒 3𝑥+1 so that 𝐹2 (𝑥 ) = 𝑒 3𝑥+1 = (3𝑒 3𝑥+1 ) = 𝑒 3𝑥+1 .
3 𝑑𝑥 3 𝑑𝑥 3
Therefore, we get
3𝑥+1
1 3𝑥+1
∫𝑒 𝑑𝑥 = 𝑒 + 𝐶.
3
Page 12 of 60
𝑑
(b) Note that sin 2𝑥 = 2 cos 2𝑥, we should choose our 𝐹(𝑥) as
𝑑𝑥
1 𝑑 1 𝑑 1
𝐹 (𝑥 ) = sin 2𝑥 so that 𝐹 (𝑥 ) = sin 2𝑥 = (2 cos 2𝑥 ) = cos 2𝑥.
2 𝑑𝑥 2 𝑑𝑥 2
Therefore, we have
1
∫ cos 2𝑥 𝑑𝑥 = sin 2𝑥 + 𝐶.
2
𝑑 3
(c) Note that ln |1 − 3𝑥| = − , we should choose our 𝐹(𝑥) as
𝑑𝑥 1−3𝑥
1
𝐹 (𝑥 ) = − ln |1 − 3𝑥|
3
so that
𝑑 1 𝑑 1 −3 1
𝐹 (𝑥 ) = − ln |1 − 3𝑥| = − ( )= .
𝑑𝑥 3 𝑑𝑥 3 1 − 3𝑥 1 − 3𝑥
1
∫ cos 𝑥 𝑑𝑥 = sin 𝑥 + 𝐶 ∫ cos(𝑎𝑥 + 𝑏) 𝑑𝑥 = sin(𝑎𝑥 + 𝑏) + 𝐶
𝑎
(original formula) (new formula – more useful)
Put 𝑓(𝑥 ) = cos 𝑥 and 𝐹 (𝑥 ) = sin 𝑥
Page 14 of 60
Example 7
Compute the integral
(a) 1
∫ 𝑑𝑥
(2𝑥 − 5)4
(b)
∫ √3𝑥 + 1𝑑𝑥
Solution
𝑎 𝑥 𝑎+1
Recall that ∫ 𝑥 𝑑𝑥 = + 𝐶, one can use the above property and upgrade this
𝑎+1
1 (𝑐𝑥+𝑑 )𝑎+1
)𝑎
formula into ∫(𝑐𝑥 + 𝑑 𝑑𝑥 = ( ) + 𝐶. Then, we get
𝑐 𝑎+1
𝑐=2,𝑑=−5
1 𝑎=−4 1 (2𝑥 − 5)−4+1 1
∫ 𝑑𝑥 = ∫(2𝑥 − 5)−4 𝑑𝑥 =
⏞ +𝐶 =− + 𝐶.
(2𝑥 − 5) 4 2 −4 + 1 6(2𝑥 − 5)3
𝑐=3,𝑑=1
1
1 𝑎=1/2
1 (3𝑥 +1)2+1 2 3
∫ √3𝑥 + 1𝑑𝑥 = ∫(3𝑥 + 1)2 𝑑𝑥 =
⏞ + 𝐶 = (3𝑥 + 1)2 + 𝐶.
3 1 9
2+1
Page 15 of 60
Property 1
For any continuous function 𝑓(𝑥), we have
𝑑 𝑑
(∫ 𝑓 𝑥 𝑑𝑥) = 𝑓 𝑥 and ∫ ( 𝑓 (𝑥 )) 𝑑𝑥 = 𝑓(𝑥 ) + 𝐶.
( ) ( )
𝑑𝑥 𝑑𝑥
The property 1 simply follows from the fact that the integration is the reverse
process of differentiation.
Page 16 of 60
Property 2
Let 𝑓(𝑥) and 𝑔(𝑥) be two continuous functions with ∫ 𝑓 (𝑥 )𝑑𝑥 = 𝐹 (𝑥 ) + 𝐶1
and ∫ 𝑔(𝑥 )𝑑𝑥 = 𝐺 (𝑥 ) + 𝐶2 , we have
1
3. ∫ 𝑓(𝑎𝑥 + 𝑏)𝑑𝑥 = 𝐹 (𝑎𝑥 + 𝑏) + 𝐶.
𝑎
Reasons:
All result can be deduced from the properties of differentiation. (You may refer to
Appendix A for more details)
Page 17 of 60
Remark of Property 2
One has to be careful that there is NO “product rule” or “quotient rule” of integration:
𝑓(𝑥 ) ∫ 𝑓(𝑥 )𝑑𝑥
∫ 𝑓 (𝑥 )𝑔(𝑥)𝑑𝑥 ≠ (∫ 𝑓 (𝑥 )𝑑𝑥) (∫ 𝑔(𝑥 )𝑑𝑥) and ∫ 𝑑𝑥 ≠
(
𝑔 𝑥 ) ∫ 𝑔(𝑥 )𝑑𝑥
Similarly, we have
3
𝑥
𝑓 (𝑥 ) 𝑥2 ∫ 𝑓 (𝑥 )𝑑𝑥 + 𝐶1 𝑓 (𝑥 )
∫ 𝑑𝑥 = + 𝐶 and = 3 ≠∫ 𝑑𝑥
𝑔(𝑥 ) 2 ∫ 𝑔(𝑥 )𝑑𝑥 𝑥 2 + 𝐶 𝑔(𝑥 )
2 2
Page 18 of 60
Example 8
Compute the integral
1
1 − 2𝑥 2 −
∫ √𝑥 𝑑𝑥.
√𝑥
Solution:
Using the property of integration, we have
1 1
1 − 2𝑥 2 − 2
√ 𝑥 1 𝑥 𝑥
∫ 𝑑𝑥 = ∫ 𝑑𝑥 − 2 ∫ 𝑑𝑥 − ∫ √ 𝑑𝑥
√𝑥 √𝑥 √𝑥 √𝑥
−
1 3 1
= ∫ 𝑥 2 𝑑𝑥 − 2 ∫ 𝑥 2 𝑑𝑥 − ∫ 𝑑𝑥
𝑥
𝑥 𝑎+1
∫ 𝑥 𝑎 𝑑𝑥= 𝑎+1
1 1 3
∫𝑥 𝑑𝑥=ln |𝑥| − +1
𝑥 2 𝑥 2+1 1 4 5
=
⏞ −2 − ln|𝑥 | + 𝐶 = 2𝑥 2 − 𝑥 2 − ln|𝑥 | + 𝐶.
1 3 5
− +1 +1
2 2
Page 19 of 60
Example 9
Compute the integral
1
∫ (𝑒 2𝑥+1 + ) 𝑑𝑥
𝑒 2𝑥+1
Solution:
Using the property of integration, we have
2𝑥+1
1
∫ (𝑒 + 2𝑥+1 ) 𝑑𝑥
𝑒
= ∫ 𝑒 2𝑥+1 𝑑𝑥 + ∫ 𝑒 −2𝑥−1 𝑑𝑥
∫ 𝑒 𝑥 𝑑𝑥=𝑒 𝑥 +𝐶
1
∫ 𝑓(𝑎𝑥+𝑏)𝑑𝑥=𝑎𝐹(𝑎𝑥+𝑏)+𝐶
1 2𝑥+1
1 −2𝑥−1
=
⏞ 𝑒 − 𝑒 + 𝐶.
2 2
Page 20 of 60
Example 10
IDEA:
Compute the integral
We only know how to compute
2𝑥 + 3 1 1
∫ (𝑥−4)4 𝑑𝑥 or ∫ (2𝑥−5)5 𝑑𝑥. We have
∫ 𝑑𝑥
(𝑥 − 4)4
to rewrite the given integral so that
we can apply the previous result!
Solution:
2𝑥 + 3 2𝑥 − 8 11
∫ 𝑑𝑥 = ∫ 𝑑𝑥 + ∫ 𝑑𝑥
(𝑥 − 4)4 (𝑥 − 4)4 (𝑥 − 4)4
1 1
= 2∫ 𝑑𝑥 + 11 ∫ 𝑑𝑥
(𝑥 − 4)3 (𝑥 − 4)4
(𝑥 − 4)−3+1 (𝑥 − 4)−4+1
=2 + 11 +𝐶
−3 + 1 −4 + 1
11
= −(𝑥 − 4 )−2 − (𝑥 − 4)−3 + 𝐶.
3
Page 21 of 60
Example 12
Compute the integral
∫ sin 8𝑥 sin 3𝑥 𝑑𝑥
Solution:
Recall that there is no product rule in integration, one has to rewrite the expression
into sum so that the property of integration can be applied.
Using product-to-sum formula, we get
1
∫ sin 8𝑥 sin 3𝑥 𝑑𝑥 = ∫ − [cos(8𝑥 + 3𝑥 ) − cos(8𝑥 − 3𝑥 )]𝑑𝑥
2
1 1
= − ∫ cos 11𝑥 𝑑𝑥 + ∫ cos 5𝑥 𝑑𝑥
2 2
1
∫ cos(𝑎𝑥+𝑏)𝑑𝑥=𝑎 sin(𝑎𝑥+𝑏)+𝐶
1 1
=
⏞ − sin 11𝑥 + sin 5𝑥 + 𝐶.
22 10
Page 24 of 60
Example 13
Compute the integral
∫ cos 2 3𝑥 𝑑𝑥.
Solution:
Using product to sum formula, we have
1 1 1
= ∫ [cos(3𝑥 + 3𝑥 ) + cos(3𝑥 − 3𝑥 )]𝑑𝑥 = ∫ cos 6𝑥 𝑑𝑥 + ∫ 1𝑑𝑥.
2 2 2
1
∫ cos(𝑎𝑥+𝑏)𝑑𝑥=𝑎 sin(𝑎𝑥+𝑏)+𝐶
1 sin 6𝑥 1 1 1
=
⏞ ( )+ 𝑥+𝐶 = sin 6𝑥 + 𝑥 + 𝐶.
2 6 2 12 2
Page 25 of 60
Solution of (a)
Using method of partial fraction, we consider the following decomposition:
1 𝐴 𝐵
= + ⇒ 𝐴(2𝑥 − 1) + 𝐵𝑥 = 1.
𝑥(2𝑥 − 1) 𝑥 2𝑥 − 1
1 1
Substitute 𝑥 = into the equation on R.H.S., we get 𝐵 = 1 ⇒ 𝐵 = 2.
2 2
Solution of (b)
1
Using the result of (a) and the fact that ∫ 𝑑𝑥 = ln |𝑥| + 𝐶, we have
𝑥
1 1 1 2
∫ 𝑑𝑥 = − ∫ 𝑑𝑥 + 2 ∫ 𝑑𝑥 = − ln 𝑥 + ln|2𝑥 − 1| + 𝐶
| |
𝑥(2𝑥 − 1) 𝑥 2𝑥 − 1 2
= − ln|𝑥 | + ln|2𝑥 − 1| + 𝐶.
Page 27 of 60
Example 15 (Important)
1 −1 𝑑 1
Using the fact that ∫ 𝑑𝑥 = tan 𝑥 + 𝐶 (since tan−1 𝑥 = ), compute the
1+𝑥 2 𝑑𝑥 1+𝑥 2
integral
1
(𝑎) ∫ 𝑑𝑥
1 + 16𝑥 2
3
(𝑏) ∫ 2
𝑑𝑥
4+𝑥
1
(𝑐 ) ∫ 2
𝑑𝑥
2𝑥 + 4𝑥 + 4
Solution:
(a) Note that
1
∫ 2 𝑑𝑦=tan−1 𝑦
1+𝑦
1 1 tan−1 4𝑥
∫ 𝑑𝑥 = ∫ 𝑑𝑥 =
⏞ +𝐶
1 + 16𝑥 2 1 + (4𝑥 )2 4
Page 28 of 60
(b) IDEA: One needs to rewrite the integral into the form ∫ 𝐶 𝑑𝑦.
(1+𝑦 2 )
−1 𝑥
3 3 1 3 1 3 tan
∫ 𝑑𝑥 = ∫ ( ) 𝑑𝑥 = ∫ 𝑑𝑥 = ( 2) + 𝐶
4 + 𝑥2 4 𝑥2 4 𝑥 2 4 1
1+ 1+( ) 2
4 2
3 −1
𝑥
= tan + 𝐶.
2 2
(c) IDEA: One needs to use “completing square” technique to rewrite the integral
𝐶
into the form ∫ (1+𝑦 2 ) 𝑑𝑦 in order to apply the given result.
1 1 1
∫ 2 𝑑𝑥 = ∫ 𝑑𝑥 = ∫ 𝑑𝑥
2𝑥 + 4𝑥 + 4 2(𝑥 2 + 2𝑥 ) + 4 2(𝑥 2 + 2𝑥 + 1 − 1) + 4
1 1 1 1 −1
=∫ 𝑑𝑥 = ∫ 𝑑𝑥 = tan (𝑥 + 1) + 𝐶.
(
2+2 𝑥+1)2 (
2 1+ 𝑥+1)2 2
Page 29 of 60
Definite Integral
Question: How do we measure the area of the shaded region shown below?
𝑥1 𝑥2 … 𝑏
We cut the region into 𝑛 pieces (with equal base length) and each small piece is
approximated by a rectangle:
𝑏−𝑎
Area of rectangles = ∑𝑛𝑖=1 ⏟ × ⏟
𝑓(𝑧𝑖 )
𝑛
base height
where 𝑧𝑖 is some values between 𝑥𝑖−1 and 𝑥𝑖 .
Page 30 of 60
When 𝑛 is getting larger (i.e., 𝑛 → ∞), the total area of the rectangle gives a good
approximation to the area of shaded region 𝐴. So we expect that
𝑏−𝑎
𝑛 let Δ𝑥= 𝑛
𝑏−𝑎 𝑛
𝐴 = lim ∑ 𝑓(𝑧𝑖 ) =
⏞ lim ∑ 𝑓(𝑧𝑖 )Δ𝑥 .
𝑛→∞ 𝑛 𝑛→∞
𝑖=1 𝑖=1
As a verification, we compute the area of the following region using the above
approach:
𝑦
(1,1)
By geometric argument, the
𝑦 = 𝑓(𝑥) = 𝑥 area of the triangle 𝑇 is
1 1
(1 × 1) = .
𝑇 2 2
𝑥
0 (1,0)
We first cut divide the region vertically into 𝑛 regions with equal width (i.e., width =
1
).
𝑛
Page 32 of 60
In practice, people compute the value of definite integral using the following theorem:
where
The 𝐹(𝑥)
proof of this 𝑓 (𝑥 )𝑑𝑥.is presented in Appendix B.
= ∫theorem
Example 16
Compute
𝜋
3
2
∫ 𝑥 3 𝑑𝑥 and ∫ sin 3𝑥 𝑑𝑥 .
𝜋
0
4
Page 36 of 60
Solution:
Step 1: Compute the indefinite integrals
For 𝑥 3 , we have
𝑥 𝑎+1
∫ 𝑥 𝑎 𝑑𝑥= 𝑎+1
𝑥4
𝐹 (𝑥 ) = ∫ 𝑥 3 𝑑𝑥 =
⏞ .
4
For sin 3𝑥, we have
1
∫ sin(𝑎𝑥+𝑏)𝑑𝑥=−𝑎 cos(𝑎𝑥+𝑏)
1
𝐺 (𝑥 ) = ∫ sin 3𝑥 𝑑𝑥 =
⏞ − cos 3𝑥.
3
Step 2: Calculate the integrals
𝜋 𝜋
3 4 3 4 4
3
𝑥 3 0 81 2 1 1 2
∫ 𝑥 𝑑𝑥 = | = − = , ∫ sin 3𝑥 𝑑𝑥 = − cos 3𝑥|𝜋 = − .
0 4 0
4 4 4 𝜋 3 3 √2
4 4
Page 37 of 60
Example 17
Compute
1
1
∫ 2
𝑑𝑥.
−1 2 + 6𝑥
Solution:
Step 1: Compute the indefinite integral
1 1 1 1 1 1 −1
𝐹 (𝑥 ) = ∫ 2
𝑑𝑥 = ∫ 2
𝑑𝑥 = ∫ 2 𝑑𝑥 = tan √3𝑥.
2 + 6𝑥 2 1 + 3𝑥 2 1 + (√3𝑥) 2√3
𝑎
∫ 𝑓(𝑥)𝑑𝑥
𝑎
𝑎 𝑐 𝑏 𝑎
Page 39 of 60
Example 18
𝑥 if 0 ≤ 𝑥 ≤ 1
We consider the function defined as 𝑓(𝑥 ) = { 2 .
𝑥 if 𝑥 > 1
Compute the integrals
2
∫ 𝑓(𝑥 )𝑑𝑥 .
0
Solution:
Using the above property, we can compute the integral as
2 1 2 1 2
∫ 𝑓 (𝑥 )𝑑𝑥 = ∫ 𝑓(𝑥 )𝑑𝑥 + ∫ 𝑓(𝑥 )𝑑𝑥 = ∫ ⏟
𝑥 𝑑𝑥 + ∫ ⏟2
𝑥 𝑑𝑥
0 0 1 0 𝑓(𝑥)=𝑥 1 𝑓(𝑥)=𝑥 2
for 0≤𝑥≤1 for 1<𝑥≤2
1 2
𝑥2 𝑥3 17
= | + | = .
2 0 3 1 6
Page 40 of 60
𝑦 = 𝑓(𝑥)
−𝑎
𝑎
Page 41 of 60
0 𝑎 𝑎
∫ 𝑓(𝑥)𝑑𝑥 = ∫ 𝑓(𝑥)𝑑𝑥 ∫ 𝑓(𝑥)𝑑𝑥
−𝑎 0 0
−𝑎 0 𝑎
Solution:
𝑦 if 𝑦 ≥ 0
Recall that |𝑦| = { , one can substitute 𝑦 = 𝑥 − 3 and obtain
−𝑦 if 𝑦 < 0
𝑥−3 if 𝑥 − 3 ≥ 0 𝑥 − 3 if 𝑥 ≥ 3
|𝑥 − 3| = { ={ .
−(𝑥 − 3) if 𝑥 − 3 < 0 3 − 𝑥 if 𝑥 < 3
Then the integral can be computed as
4 3 4 3 4
∫ |𝑥 − 3|𝑑𝑥 = ∫ |𝑥 − 3|𝑑𝑥 + ∫ (|𝑥 − 3|)𝑑𝑥 = ∫ (3 − 𝑥 )𝑑𝑥 + ∫ (𝑥 − 3)𝑑𝑥
0 0 3 0 3
Page 44 of 60
3 4
𝑥2 𝑥2
= (3𝑥 − )| + ( − 3𝑥)| = ⋯ = 5.
2 0 2 3
For the second integral, one can use the similar method and obtain
𝑥−1 if 𝑥 ≥ 1
|𝑥 − 1| = { , so we have
−(𝑥 − 1) = 1 − 𝑥 if 𝑥 < 1
2 1 2
∫ 𝑒 1+|𝑥−1| 𝑑𝑥 = ∫ 𝑒 1+|𝑥−1| 𝑑𝑥 + ∫ 𝑒 1+|𝑥−1| 𝑑𝑥
0 0 1
1 2 1 2
= ∫ 𝑒 1+(1−𝑥) 𝑑𝑥 + ∫ 𝑒 1+(𝑥−1) 𝑑𝑥 = ∫ 𝑒 2−𝑥 𝑑𝑥 + ∫ 𝑒 𝑥 𝑑𝑥
0 1 0 1
Example 21
Using definite integral, find the area of the region bounded by the curve
𝑦 = 𝑓 (𝑥 ) = 1 − 𝑥 2 , 𝑥-axis, 𝑥 = 0 and 𝑥 = 2.
𝑦 = 1 − 𝑥2
0 1 2
Page 46 of 60
Solution:
The area of the shaded region is given by
2| 1 − 𝑥2 if 1 − 𝑥 2 ≥ 0
|1 − 𝑥 ={
2 −(1 − 𝑥 2 ) if 1 − 𝑥 2 < 0
Area = ∫ |1 − 𝑥 2 |𝑑𝑥 1 − 𝑥 2 if 0 ≤ 𝑥 ≤ 1
0 ={ 2 .
𝑥 − 1 if 1 < 𝑥 ≤ 2
1 2
= ∫ (1 − 𝑥 2 )𝑑𝑥 + ∫ (𝑥 2 − 1)𝑑𝑥
0 1
1 2
𝑥3 𝑥3
= [𝑥 − ] + [ − 𝑥]
3 0 3 1
1 23 13
= 1 − + ( − 2 − + 1)
3 3 3
= 2.
Page 47 of 60
Review Example 1
Compute the integrals
1 𝑒 5𝑥+3 − 𝑒 𝑥−1
∫ 𝑑𝑥 , ∫ 𝑑𝑥 .
(3𝑥 − 5)5 𝑒 𝑥+1
Solution:
( ) −5+1 ( )−4
1 −5
1 3𝑥 − 5 3𝑥 − 5
∫ 𝑑𝑥 = ∫(3𝑥 − 5) 𝑑𝑥 = +𝐶 =− +𝐶
(3𝑥 − 5)5 3 −5 + 1 12
𝑒 5𝑥+3 − 𝑒 𝑥−1 𝑒 5𝑥+3 𝑒 𝑥−1
∫ 𝑥+1
𝑑𝑥 = ∫ 𝑥+1 𝑑𝑥 − ∫ 𝑥+1 𝑑𝑥 = ∫ 𝑒 4𝑥+2 𝑑𝑥 − ∫ 𝑒 −2 𝑑𝑥
𝑒 𝑒 𝑒
4𝑥+2 −2
1 4𝑥+2
= ∫𝑒 𝑑𝑥 − 𝑒 ∫ 1𝑑𝑥 = 𝑒 − 𝑒 −2 𝑥 + 𝐶
4
Page 49 of 60
Review Example 2
Compute the integral
∫ sin3 2𝑥 𝑑𝑥.
Solution:
Using the product-to-sum formula, we have
sin3 2𝑥 = (sin 2𝑥)(sin 2𝑥)(sin 2𝑥)
sin 𝐴 sin 𝐵
1
=− [cos(𝐴+𝐵)−cos(𝐴−𝐵)] cos 0=1
2 1
=
⏞ − [cos(2𝑥 + 2𝑥 ) − ⏞
cos(2𝑥 − 2𝑥 )] (sin 2𝑥 )
2
1 1 1
= − (cos 4𝑥 − 1)(sin 2𝑥 ) = − cos 4𝑥 sin 2𝑥 + sin 2𝑥
2 2 2
sin 𝐴 cos 𝐵
1
= [sin(𝐴+𝐵)+sin(𝐴−𝐵)]
2 1 1
=
⏞ − [sin(2𝑥 + 4𝑥 ) + sin(2𝑥 − 4𝑥 )] + sin 2𝑥
4 2
Page 50 of 60
3
1 3
∫ sin 2𝑥 𝑑𝑥 = − ∫ sin 6𝑥 𝑑𝑥 + ∫ sin 2𝑥 𝑑𝑥
4 4
1 − cos 6𝑥 3 − cos 2𝑥
=− ( )+ ( )+𝐶
4 6 4 2
cos 6𝑥 3 cos 2𝑥
= − + 𝐶.
24 8
Page 51 of 60
Review Example 3
Compute the integrals
3 1
2𝑥+1
4𝑥 + 5
∫ 𝑒 𝑑𝑥, ∫ 𝑑𝑥
0 0 √2𝑥 + 1
Solution
For the first integral, we have
∫ 𝑒 2𝑥+1 𝑑𝑥
1
= 𝑒 2𝑥+1
3 2 1 2𝑥+1 3 1 2(3)+1 1 2(0)+1 1 7
∫ 𝑒 2𝑥+1 𝑑𝑥 =
⏞ [ 𝑒 ] = 𝑒 − 𝑒 = (𝑒 − 𝑒).
0 2 0 2 2 2
For the second integral, we need to split the integral as
1 1 1
4𝑥 + 5 4𝑥 + 2 3
∫ 𝑑𝑥 = ∫ 𝑑𝑥 + ∫ 𝑑𝑥
0 √2𝑥 + 1 0 √2𝑥 + 1 0 √2𝑥 + 1
1 1
1
= 2 ∫ √2𝑥 + 1𝑑𝑥 + 3 ∫ 𝑑𝑥
0 0 √2𝑥 + 1
Page 52 of 60
1 1 1 1
−
= 2 ∫ (2𝑥 + 1)2 𝑑𝑥 + 3 ∫ (2𝑥 + 1) 2 𝑑𝑥
0 0
1 1 1 1
1 (2𝑥 + 1)2+1 1 (2𝑥 + 1)−2+1
= 2[ ] + 3[ ]
2 1 2 −1 + 1
+1
2 0 2 0
11
= 5√3 − .
3
Page 53 of 60
Review Example 4
Compute the integral
2𝜋
∫ |sin 𝑥 |𝑑𝑥
0
Solution:
Using the graph of 𝑦 = sin 𝑥 for 0 ≤ 𝑥 ≤ 2𝜋, we get
Solution of (a)
Let 𝐹 (𝑦) = ∫ 𝑓(𝑦)𝑑𝑦, then by fundamental theorem of calculus we get
𝑥 2 +1
∫ 𝑓(𝑦)𝑑𝑦 = 𝐹 (𝑥 2 + 1) − 𝐹 (2𝑥 ).
2𝑥
𝑑 𝑑
Using the chain rule and the fact that 𝐹 (𝑦) = ∫ 𝑓(𝑦)𝑑𝑦 = 𝑓(𝑦), we have
𝑑𝑦 𝑑𝑦
Page 55 of 60
2 +1
𝑑 𝑥 𝑑 2
𝑑
∫ 𝑓(𝑦)𝑑𝑦 = 𝐹 (𝑥 + 1) − 𝐹(2𝑥)
𝑑𝑥 2𝑥 𝑑𝑥 𝑑𝑥
𝑑𝐹(𝑥 2 + 1) 𝑑 (𝑥 2 + 1) 𝑑𝐹 (2𝑥 ) 𝑑(2𝑥)
= −
𝑑 (𝑥 2 + 1) 𝑑𝑥 𝑑 (2𝑥 ) 𝑑𝑥
Take 𝑦=𝑥 2 +1 or 𝑦=2𝑥
=
⏞ 𝑓 (𝑥 2 + 1) (2𝑥 ) − 𝑓(2𝑥)(2)
= 2𝑥𝑓(𝑥 2 + 1) − 2𝑓 (2𝑥 ).
Solution of (b)
𝑏
Note that ∫𝑎 𝑓 (𝑥 )𝑑𝑥 = 𝐹 (𝑏) − 𝐹(𝑎), so we just need to show
1
(𝑏 − 𝑎) ∫ 𝑓[𝑎 + (𝑏 − 𝑎)𝑥 ]𝑑𝑥 = 𝐹 (𝑏) − 𝐹 (𝑎).
0
1
To see this, we use the fact that ∫ 𝑓 (𝑐𝑥 + 𝑑 )𝑑𝑥 = 𝐹 (𝑐𝑥 + 𝑑 ) for any constant 𝑐
𝑐
and 𝑑, we have
Page 56 of 60
1
(𝑏 − 𝑎) ∫ 𝑓 [𝑎 + (⏟𝑏 − 𝑎) 𝑥] 𝑑𝑥
0 =𝑐
𝑐=𝑏−𝑎
𝑑=𝑎 1
1
⏞ (𝑏 − 𝑎) [
= 𝐹 (𝑎 + (𝑏 − 𝑎)𝑥 )]
𝑏−𝑎 0
1 1
= (𝑏 − 𝑎) [ 𝐹 (𝑎 + (𝑏 − 𝑎)(1)) − 𝐹(𝑎 + (𝑏 − 𝑎)(0))]
𝑏−𝑎 𝑏−𝑎
= 𝐹 (𝑏) − 𝐹(𝑎)
𝑏
= ∫ 𝑓(𝑥 )𝑑𝑥 .
𝑎
Page 57 of 60
𝑨(𝒙)
Next, we consider the area difference 𝐴(𝑥 + Δ𝑥 ) − 𝐴(𝑥). Using the following graph
we observed that
𝑓max
𝑓min
𝑥 𝑥 + Δ𝑥
𝐴(𝑥 + Δ𝑥 ) − 𝐴(𝑥 )
𝑓(𝑥 ) = lim 𝑓min ≤ lim ≤ lim 𝑓max = 𝑓(𝑥)
Δ𝑥→0 ⏟
Δ𝑥→0 Δ𝑥 Δ𝑥→0
𝑑𝐴
=
𝑑𝑥
𝑑𝐴
By sandwich theorem, we get = 𝑓(𝑥 ).
𝑑𝑥
To find the value of 𝐶, note that 𝐴(𝑎) = 0, we then get 𝐴(𝑎) = 𝐹 (𝑎) − 𝐶 ⇒ 𝐶 =
𝐹 (𝑎). Therefore, we have 𝐴(𝑥 ) = 𝐹 (𝑥 ) − 𝐹 (𝑎) and
𝑏 by definition
∫ 𝑓(𝑥 )𝑑𝑥 =
⏞ 𝐴(𝑏) = 𝐹 (𝑏) − 𝐹 (𝑎) where 𝐹 (𝑥 ) = ∫ 𝑓 (𝑥 )𝑑𝑥.
𝑎