P3C5 Integration W Trapezium Rule (Notes)
P3C5 Integration W Trapezium Rule (Notes)
1
Extend the idea of ‘reverse differentiation’ Including examples such as .
2 + 3𝑥 2
1
to include the integration of e𝑎𝑥+𝑏 , ,
𝑎𝑥 + 𝑏
1
sin(𝑎𝑥+𝑏), cos(𝑎𝑥+𝑏), sec2 (𝑎𝑥+𝑏) and 2 .
𝑥 + 𝑎2
Use trigonometrical relationships in carrying out e.g. use of double-angle formulae to integrate sin2 𝑥
integration. or cos2 (2𝑥).
𝑘f ′ (𝑥) 𝑥
Recognise an integrand of the form , and e.g. integration of , tan 𝑥.
f(𝑥) 𝑥2 +1
integrate such functions.
Recognise when an integrand can usefully be e.g. integration of 𝑥 sin 2𝑥, 𝑥 2 e−𝑥 , ln 𝑥, 𝑥 tan−1 𝑥.
regarded as a product, and use integration by
parts.
Use a given substitution to simplify and evaluate e.g. to integrate sin2 2𝑥 cos 𝑥 using the substitution
either a definite or an indefinite integral. 𝑢 = sin 𝑥.
*Understand and use the trapezium rule to *Including use of sketch graphs in simple cases
estimate the value of a definite integral. to determine whether the trapezium rule gives an
overestimate or an under-estimate.
* This is part of syllabus requirement for Pure Mathematics 2 only, but it is useful for FP2 Integration.
• Prior knowledge:
1
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
*This is part of syllabus requirement for Pure Mathematics 2 only, but it is useful for FP2 Integration.
d 𝑥 d 𝑎𝑥+𝑏 d 𝑥
• (e ) = • (e )= • (𝑎 ) =
d𝑥 d𝑥 d𝑥
Therefore,
∫ ∫ ∫
• e𝑥 d𝑥 = • e𝑎𝑥+𝑏 d𝑥 = • 𝑎 𝑥 d𝑥 =
d f ( 𝑥)
∫
Warning: (e ) = does not imply ef ( 𝑥) d𝑥 =
d𝑥
d ef ( 𝑥)
Indeed, =
d𝑥 f ′ (𝑥)
In fact we can only integrate the functions of the form ef ( 𝑥) f ′ (𝑥). This will be discussed in section 5.3.
2
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
∫ 𝑎
Example 3. (a) Find (e−𝑥 + 6e−3𝑥 ) d𝑥, where 𝑎 is a positive constant. [4]
0
∫ ∞
(b) Deduce the value of (e−𝑥 + 6e−3𝑥 ) d𝑥. [1]
0
d
Example 4. By considering (𝑥e 𝑥 − e 𝑥 ), find the area bounded by the curve 𝑦 = 𝑥e 𝑥 , the 𝑥-axis and the line 𝑥 = 3.
d𝑥
3
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
1
5.1.2: Functions of the form
𝑎𝑥 + 𝑏
Recall from P1 Chapter 8, if 𝑛 ≠ −1 and 𝑎 ≠ 0, then
∫ ∫
• 𝑥𝑛 d𝑥 = • (𝑎𝑥 + 𝑏) 𝑛 d𝑥 =
For the case 𝑛 = −1, we first recall the following result from P3 Chapter 4:
d d
• (ln 𝑥) = • [ln(𝑎𝑥 + 𝑏)] =
d𝑥 d𝑥
Therefore,
∫ 1
∫ 1
• d𝑥 = • d𝑥 =
𝑥 𝑎𝑥 + 𝑏
1
The graph of 𝑦 = is defined for 𝑥 ≠ 0, but the first result only holds for 𝑥 > 0.
𝑥
1
Consider the area of the region bounded by the graph of 𝑦 = , the 𝑥-axis and the vertical lines 𝑥 = 𝑎 and 𝑥 = 𝑏,
𝑥
1
where 0 < 𝑎 < 𝑏. This region has the same area as the region bounded by the graph of 𝑦 = , the 𝑥-axis and the
𝑥
vertical lines 𝑥 = −𝑎 and 𝑥 = −𝑏.
∫ 𝑏
∫ −𝑎
1 1
Let 𝐴 = d𝑥, 𝐵 = d𝑥. Then, from the graph, we can see that 𝐵 = −𝐴.
𝑎 𝑥 −𝑏 𝑥
4
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
Therefore,
∫ 1
∫ 1
• d𝑥 = • d𝑥 =
𝑥 𝑎𝑥 + 𝑏
Derivative of ln |𝑥|
Consider the graph of 𝑦 = ln |𝑥|, which is symmetrical about the 𝑦-axis. Therefore, the gradient of the graph for
𝑥 > 0 will be negated when the graph is reflected in the 𝑦-axis.
d
∫ 1
Warning: [ln f(𝑥)] = does not imply d𝑥 =
d𝑥 f (𝑥)
f ′ (𝑥)
In fact we can only integrate the functions of the form . This will be discussed in section 5.2.
f(𝑥)
5
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
In the subsequent sections, we wish to integrate trigonometric functions and their powers, such as sin 𝑥, cos2 𝑥, cot3 𝑥,
sec4 𝑥 and so on.
d d
• (sin 𝑥) = • (tan 𝑥) =
d𝑥 d𝑥
d d
• (cos 𝑥) = • (cot 𝑥) =
d𝑥 d𝑥
Therefore,
∫ ∫
• cos 𝑥 d𝑥 = • sec2 𝑥 d𝑥 =
∫ ∫
• sin 𝑥 d𝑥 = • cosec2 𝑥 d𝑥 =
d d
• (sin(𝑎𝑥 + 𝑏)) = • (tan(𝑎𝑥 + 𝑏)) =
d𝑥 d𝑥
d d
• (cos(𝑎𝑥 + 𝑏)) = • (cot(𝑎𝑥 + 𝑏)) =
d𝑥 d𝑥
Therefore,
∫ ∫
• cos(𝑎𝑥 + 𝑏) d𝑥 = • sec2 (𝑎𝑥 + 𝑏) d𝑥 =
∫ ∫
• sin(𝑎𝑥 + 𝑏) d𝑥 = • cosec2 (𝑎𝑥 + 𝑏) d𝑥 =
• sin2 𝑥 ≡ • cos2 𝑥 ≡
• tan2 𝑥 ≡ • cot2 𝑥 ≡
Therefore,
∫ ∫
• 2
sin 𝑥 d𝑥 = • cos2 𝑥 d𝑥 =
∫ ∫
• tan2 𝑥 d𝑥 = • cot2 𝑥 d𝑥 =
6
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
∫ ∫ ∫
(e) 4 cos2 ( 21 𝑥) d𝑥 (f) 6 tan2 (3𝑥) d𝑥 (g) 6 cot2 (2𝑥) d𝑥
∫ ∫
1 + cos4 𝑥 5
∫
(h) d𝑥 (i) d𝑥 (j) (cos 𝑥 − 3 sin 𝑥) 2 d𝑥
cos2 𝑥 1 + cos 4𝑥
7
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
√
Example 8. (a) Express ( 3) cos 𝑥 + sin 𝑥 in the form 𝑅 cos(𝑥 − 𝛼), where 𝑅 > 0 and 0 < 𝛼 < 12 𝜋, giving the
exact values of 𝑅 and 𝛼. [3]
1
(b) Hence find the exact value of cot 12 𝜋. [2]
∫
(c) Find sin 2𝑥( cosec 4𝑥 + cot 4𝑥) d𝑥. [3]
8
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
Example 10. (a) Prove the identity cos 3𝜃 ≡ 4 cos3 𝜃 − 3 cos 𝜃. [4]
Example 11. (a) Sketch the graph of 𝑦 = sin 𝑥 for 0 ⩽ 𝑥 ⩽ 12 𝜋. Sketch dotted lines joining both axes to the points
√
( 16 𝜋, 21 ) and ( 13 𝜋, 12 3).
1 1
√
√ √
∫ 3 𝜋
∫ 2 3
(b) Find the exact value of 1
sin 𝑥 d𝑥, and hence show that 1
sin−1 𝑦 d𝑦 = 1
12 𝜋(23 − 1) − 21 ( 3 − 1).
6 𝜋 2
9
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
𝑘f ′ (𝑥)
5.2.1: Integrals of the form
f (𝑥)
∫
d 𝑘f ′ (𝑥)
By chain rule, [ln f(𝑥)] = Therefore, d𝑥 =
d𝑥 f(𝑥)
The following trigonometric functions can be integrated by using a specific algebraic manipulation:
∫ ∫
• sec 𝑥 d𝑥 = • cosec 𝑥 d𝑥 =
10
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
𝑘f ′ (𝑥)
5.2.2: Integrals of the form
1 + [f (𝑥)] 2
∫
d 1
From P3 Chapter 4, we have seen that (tan−1 𝑥) = Therefore, d𝑥 =
d𝑥 1 + 𝑥2
∫
d −1 𝑘f ′ (𝑥)
Furthermore, by chain rule, tan f (𝑥) = Therefore, d𝑥 =
d𝑥 1 + [f(𝑥)] 2
∫
d h −1 𝑥 i 1
In particular, tan = Therefore, d𝑥 =
d𝑥 𝑎 𝑥2 + 𝑎2
∫ ∫ ∫ ∫
e𝑥 e3𝑥 1 𝑥
(e) d𝑥 (f) d𝑥 (g) d𝑥 (h) d𝑥
1 + e2𝑥 1 + e3𝑥 2
𝑥 +𝑥+1 𝑥2 +𝑥+1
11
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
From P3 Chapter 1, we have seen that the decomposition of rational functions into partial fractions. This is a crucial
step to integrate rational functions.
We will prove the first result only as the second result can be proven in a similar fashion.
12
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
In previous sections, we have seen a few integrals on the derivatives of composite functions, namely
∫ ∫
𝑘f ′ (𝑥) 𝑘f ′ (𝑥)
• d𝑥 = • d𝑥 =
f (𝑥) 1 + [f(𝑥)] 2
d
∫
• By chain rule, [f(𝑥)] 𝑛 = If 𝑛 ≠ −1, then 𝑘 f ′ (𝑥) [f (𝑥)] 𝑛 d𝑥 =
d𝑥
∫
Warning: In P1 Chapter 8, we have seen that (𝑎𝑥 + 𝑏) 𝑛 d𝑥 =
∫
However, [f(𝑥)] 𝑛 d𝑥 ≠
d h f ( 𝑥) i
∫
f ( 𝑥)
• e = Therefore, 𝑘 f ′ (𝑥) e d𝑥 =
d𝑥
d
∫
• [sin f(𝑥)] = Therefore, 𝑘 f ′ (𝑥) cos[f (𝑥)] d𝑥 =
d𝑥
d
∫
• [cos f(𝑥)] = Therefore, 𝑘 f ′ (𝑥) sin[f (𝑥)] d𝑥 =
d𝑥
Example 15. Find each of the following integrals using different methods, and verify that the answers are equivalent.
∫ ∫
(a) 2 sin 𝑥 cos 𝑥 d𝑥 (b) tan 𝑥 sec2 𝑥 d𝑥
13
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
∫ ∫ ∫
3
(d) sin 𝑥 d𝑥 (e) cos3 𝑥 d𝑥 (f) tan3 𝑥 d𝑥
∫ ∫ ∫ 2
(g) sec4 𝑥 d𝑥 (h) cos2 𝑥 sin3 𝑥 d𝑥 (i) 𝑥e−𝑥 d𝑥
∫ ∫ ∫
(j) 5etan 𝑥 sec2 𝑥 d𝑥 (k) 2𝑥 cos( 14 𝑥 2 ) d𝑥 (l) sin(sin 𝑥) cos 𝑥 d𝑥
14
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
The method of substitution can be loosely thought of applying the chain rule "backwards". The purpose is to trans-
form integrals into forms that we can integrate, although it does not necessarily mean that the workings are simpler
or shorter.
d
∫
Suppose [F(𝑥)] = F′ (𝑥) = f (𝑥) . Therefore, f (𝑥) d𝑥 = F(𝑥) + 𝑐.
d𝑥
When doing integration, f (𝑥) is given and F(𝑥) is to be determined. When there is no direct way of integration, we
will consider a suitable substitution as follows.
d
∫
Let 𝑥 = 𝜙(𝑢). Then [F(𝜙(𝑢))] = Therefore, 𝑓 (𝜙(𝑢)) 𝜙 ′ (𝑢) d𝑢 =
d𝑢
Important note:
• 𝑥 = 𝜙(𝑢) must be a 1-to-1 function, because if we undo the substitution, we should be able to obtain the
original integral.
• Substitution must be done thoroughly, i.e. in every step each integral should only consist of one variable.
• Sometimes the substitution is given in the form 𝑢 = g(𝑥) instead of 𝑥 = 𝜙(𝑢). This is not as favourable as it is
not trivial to manipulate the integral such that it contains the term g′ (𝑥) d𝑥.
15
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
Example 18. Use the given substitutions to find each of the following integrals.
∫ ∫
𝑥
(a) sin2 2𝑥 cos 𝑥 d𝑥, 𝑢 = sin 𝑥 (b) √ d𝑥, 𝑢 = 𝑥 2 − 3
2
𝑥 −3
Note that part (b) of the example above can be done by noticing the pattern of derivative of composite function.
In general, integrals of the derivative of composite functions can be found by substitution apart from pattern spotting.
Therefore,
∫ ∫
𝑘f ′ (𝑥) 𝑘f ′ (𝑥)
• d𝑥 = • d𝑥 =
f (𝑥) 1 + [f(𝑥)] 2
∫ ∫
f ( 𝑥)
• 𝑘 f ′ (𝑥) [f (𝑥)] 𝑛 d𝑥 = • 𝑘 f ′ (𝑥) e d𝑥 =
∫ ∫
• 𝑘 f ′ (𝑥) cos[f (𝑥)] d𝑥 = • 𝑘 f ′ (𝑥) sin[f (𝑥)] d𝑥 =
16
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
∫ ∫ 2
∫
(d) tan 𝑥 sec2 𝑥 d𝑥 (e) 𝑥e−𝑥 d𝑥 (f) 2𝑥 cos( 14 𝑥 2 ) d𝑥
Change of limits
When doing substitution on definite integrals, we must also substitute the limits of the integral accordingly, as the
previous limits are in terms of the previous variable.
∫ 𝑏
𝑏
Suppose we have f (𝑥) d𝑥 = [F(𝑥)] 𝑎 = F(𝑏) − F(𝑎).
𝑎
17
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
1 − 𝑥2
∫ ∫
d𝑥 = cos 2𝜃 d𝜃. [4]
(1 + 𝑥 2 ) 2
Note that it is not necessarily that the bigger limit is always the upper limit. If we wish to swap the limits, we have
to negate the sign of the integral.
∫ 1 √
𝑥
Example 21. Let 𝐼 = √ d𝑥.
0 2− 𝑥
∫ 2
√ 2(2 − 𝑢) 2
(a) Using the substitution 𝑢 = 2 − 𝑥, show that 𝐼 = d𝑢. [4]
1 𝑢
18
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
Example 22.
√
The diagram shows the curve 𝑦 = 𝑥 2 1 − 𝑥 2 for 𝑥 ⩾ 0 and its maximum point 𝑀.
(a) Find the exact value of 𝑥-coordinate of 𝑀. [4]
(b) Show, by means of the substitution 𝑥 = sin 𝜃, that the area 𝐴 of the shaded region between the curve and the
𝑥-axis is given by
∫ 1𝜋
2
𝐴= 4 1
sin2 2𝜃 d𝜃. [3]
0
19
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
This integral can be determined easily because we were guided to do anti-differentiation. What if the hint is not given?
d
The product rule states that (𝑢𝑣) =
d𝑥
We can rearrange it to
To integrate by parts, the integral needs to be in the form of a product of two functions (LHS). We are to determine
d𝑣
choices of 𝑢 and , and we perform integration by parts (RHS).
d𝑥
d𝑣
From the example above (which is clearly the product of two functions), there are two possible choices of 𝑢 and .
d𝑥
We will study which choice would be more suitable and the reasoning behind the choice.
d𝑣 d𝑣
• 𝑢 = 𝑥, = cos 𝑥 • 𝑢 = cos 𝑥, =𝑥
d𝑥 d𝑥
20
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
From the example above, we can see that the suitable choices for 𝑢 would be function which become simpler when
they are differentiated.
d𝑣
As for , the suitable choices would be functions which does not become complicated when they are integrated.
d𝑥
So far, we have learned about five different types of functions:
1. Algebra / polynomial
2. Trigonometry functions
3. Exponential
4. Logarithm
21
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
22
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
It is possible that repeated by parts is required. Hence, it would be easier if a *reduction formula is established.
*Note: This is not in the syllabus of 9709 Mathematics, it is covered in 9231 Further Mathematics.*
In the following example, we are required to do integration by parts twice, followed by algebraic rearrangement to
find the following integrals.
The technique above is applicable when integrating functions of the form e𝑚𝑥 cos 𝑛𝑥, e𝑚𝑥 sin 𝑛𝑥, cosec3 𝑥, etc.
Note that for part (b) of the example above, it is easier NOT to integrate by parts. Hence, integration by parts should
be the last resort when there is no other possible method.
23
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
With all the methods above, we can complete the following table for integration of powers of trigonometric functions.
∫ ∫ ∫ ∫
f (𝑥) f (𝑥) d𝑥 [f(𝑥)] 2 d𝑥 [f (𝑥)] 3 d𝑥 [f(𝑥)] 4 d𝑥
sin 𝑥
cos 𝑥
tan 𝑥
sec 𝑥
cosec 𝑥
cot 𝑥
24
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
In general, it is not possible or exceedingly difficult to integrate f(𝑥), hence not possible to determine the value of 𝐴.
At best, we can find an approximation of the integral by using trapezium rule.
Suppose we divide the range from 𝑥 = 𝑎 to 𝑥 = 𝑏 into 𝑛 intervals of equal width. Then, we construct 𝑛 trapeziums.
Example 27. Use the trapezium rule with two intervals to estimate the value of the following integrals:
∫1 1
∫ 8 √︁
(a) d𝑥 (b) ln (1 + 𝑥) d𝑥
0 6 + 2e 𝑥 2
25
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
When using trapezium rule, we would produce either an under-estimate or an over-estimate of the actual value of
the area. We look at the shape of the graph to determine whether the area is an under-estimate or an over-estimate.
Example 28.
The diagram shows the part of the curve 𝑦 = e 𝑥 cos 𝑥 for 0 ⩽ 𝑥 ⩽ 21 𝜋. The curve meets the 𝑦-axis at the point 𝐴. The
point 𝑀 is a maximum point.
26
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
(c) Use the trapezium rule with three intervals to estimate the value of
∫ 1𝜋
2
e 𝑥 cos 𝑥 d𝑥,
0
(d) State, with a reason, whether the trapezium rule gives an under-estimate or an over-estimate of the true value
of the integral in part (c). [1]
3
The diagram shows a sketch of the curve 𝑦 = √ for values of 𝑥 from −1.2 to 1.2.
9 − 𝑥3
(a) Use the trapezium rule, with two intervals, to estimate the value of
∫ 1.2
3
√ d𝑥,
−1.2 9 − 𝑥 3
(b) Explain, with reference to the diagram, why the trapezium rule may be expected to give a good approximation
to the true value of the integral in this case. [1]
27
Version 2022.v1 Prepared by Samuel Lim QE & Bryan Tan DF @MCKL
∫ 1
4 𝜋
Example 30. (a) Use the trapezium rule with 2 intervals to estimate the value of sec 𝑥 d𝑥, giving your
0
answer correct to 2 significant figures. [3]
(b) Determine, by sketching the appropriate part of the graph of 𝑦 = sec 𝑥, whether the trapezium rule gives an
under-estimate or an over-estimate of the true value. [2]
To improve the accuracy of the estimate produced by using trapezium rule, we divide the range into more intervals
(hence the width of each interval will be narrower).
Example 31.
√
The diagram shows the curve 𝑦 = 1 + 2 tan2 𝑥 for 0 ⩽ 𝑥 ⩽ 41 𝜋.
∫ 1
4 𝜋 √
(a) Use the trapezium rule with three intervals to estimate the value of 1 + 2 tan2 𝑥 d𝑥, giving your answer
0
correct to 2 decimal places. [3]
(b) The estimate found in part (a) is denoted by 𝐸. Explain, without further calculation, whether another estimate
found using the trapezium rule with six intervals would be greater than 𝐸 or less than 𝐸. [1]
28