IB Mathematics AHL 5.19 Maclaurin series AA HL Paper 3- Exam Style Questions- New Syllabus
Question
(a) Given \(|x|<1\), find the sum to infinity of the geometric series
\(1-x^2+x^4-x^6+\cdots\). [2]
(b) Hence, use integration to show that the Maclaurin series of \(\arctan x\) may be expressed as
\(\displaystyle \arctan x=x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}+\cdots\). [3]
(c) Using \(x=\dfrac{1}{\sqrt3}\) and the first three non-zero terms of the Maclaurin series of \(\arctan x\), find an approximation for \(\pi\) to three decimal places. [3]
The Maclaurin series of \(\arctan x\) is an example of an alternating series, that is, a series in which consecutive terms are positive and negative. Consider the following theorem.
Using the theorem, the maximum error in using the first three non-zero terms as an approximation to \(\arctan x\) is given by \(\left|\dfrac{x^7}{7}\right|\). In other words,
\(\displaystyle \left|\arctan x-\left(x-\frac{x^3}{3}+\frac{x^5}{5}\right)\right|\leq\left|\frac{x^7}{7}\right|\).
(d) Determine how many non-zero terms of the series would need to be used such that the error in approximating
\(\displaystyle \arctan\left(\frac{1}{\sqrt3}\right)\)
is less than \(0.0001\). [3]
(e) By using integration by parts, show that
\(\displaystyle \int_0^{\frac1{\sqrt3}}\arctan x\,dx= \frac{\pi}{6\sqrt3}-\frac12\ln\frac43\). [4]
(f) Determine the value of
\(\displaystyle \int_0^{\frac1{\sqrt3}} \left(x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}\right)dx\),
giving your answer to six decimal places. [2]
(g) Use the results in parts (e) and (f) to find an approximation for \(\pi\). Give your answer to four decimal places. [2]
The expression
\(\displaystyle \int_0^{\frac1{\sqrt3}} \left(x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}+\cdots\right)dx\)
may be considered as the sum of alternating terms.
Hence,
\[ \begin{aligned} \int_0^{\frac1{\sqrt3}} \left(x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}+\cdots\right)dx ={}&\int_0^{\frac1{\sqrt3}}x\,dx\\ &+\int_0^{\frac1{\sqrt3}}\left(-\frac{x^3}{3}\right)dx\\ &+\int_0^{\frac1{\sqrt3}}\frac{x^5}{5}\,dx\\ &+\int_0^{\frac1{\sqrt3}}\left(-\frac{x^7}{7}\right)dx+\cdots . \end{aligned} \]
\(\displaystyle \int_0^{\frac1{\sqrt3}}\arctan x\,dx\) is approximated using the sum of the first four definite integrals.
(h) Verify that the theorem used in part (d) holds in this case. [5]
Suppose that the maximum error in approximating \(\displaystyle\int_0^{\frac1{\sqrt3}}\arctan x\,dx\) is required to be at most \(1\times10^{-6}\).
(i) Determine the smallest number of non-zero terms of the Maclaurin series for \(\arctan x\) that should be used. [5]
Most-appropriate topic codes (IB DP Mathematics: Analysis and Approaches HL):
▶️ Answer/Explanation
(a)
The series is geometric with first term \(1\) and common ratio
\(r=-x^2\).
Since \(|x|<1\), we have \(|r|=x^2<1\), so the series converges.
\[ S_\infty=\frac{u_1}{1-r} =\frac{1}{1-(-x^2)} =\frac{1}{1+x^2}. \]
✅ Answer: \(\displaystyle\frac{1}{1+x^2}\)
(b)
From part (a),
\[ \frac{1}{1+x^2}=1-x^2+x^4-x^6+\cdots . \]
Integrate both sides from \(0\) to \(x\). A different variable, \(t\), is used inside the integral:
\[ \int_0^x\frac{1}{1+t^2}\,dt = \int_0^x(1-t^2+t^4-t^6+\cdots)\,dt. \]
The left-hand side is
\[ \left[\arctan t\right]_0^x=\arctan x. \]
Integrating the series term by term gives
\[ \arctan x =x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}+\cdots . \]
The constant term is zero because \(\arctan0=0\).
✅ Hence, \(\displaystyle\arctan x=x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}+\cdots\).
(c)
Since
\[ \arctan\left(\frac1{\sqrt3}\right)=\frac{\pi}{6}, \]
we use the first three non-zero terms:
\[ \frac{\pi}{6} \approx \frac1{\sqrt3} -\frac13\left(\frac1{\sqrt3}\right)^3 +\frac15\left(\frac1{\sqrt3}\right)^5. \]
Therefore,
\[ \pi\approx 6\left[ \frac1{\sqrt3} -\frac13\left(\frac1{\sqrt3}\right)^3 +\frac15\left(\frac1{\sqrt3}\right)^5 \right]. \]
\[ \pi\approx3.156181\ldots \]
✅ Answer: \(\pi\approx3.156\)
(d)
For an alternating series, the maximum error is no greater than the magnitude of the first omitted term.
At \(x=\dfrac1{\sqrt3}\), after using five terms, the next term is
\[ \frac1{11}\left(\frac1{\sqrt3}\right)^{11} =0.000215993\ldots, \]
which is greater than \(0.0001\).
After using six terms, the next term is
\[ \frac1{13}\left(\frac1{\sqrt3}\right)^{13} =0.0000609212\ldots, \]
which is less than \(0.0001\).
Therefore, five terms are insufficient but six terms satisfy the required error bound.
✅ Answer: \(6\) non-zero terms
(e)
Let
\[ u=\arctan x,\qquad dv=dx. \]
Then
\[ du=\frac{1}{1+x^2}\,dx,\qquad v=x. \]
Using integration by parts, \(\int u\,dv=uv-\int v\,du\):
\[ \int_0^{\frac1{\sqrt3}}\arctan x\,dx = \left[x\arctan x\right]_0^{\frac1{\sqrt3}} – \int_0^{\frac1{\sqrt3}}\frac{x}{1+x^2}\,dx. \]
Now,
\[ \int\frac{x}{1+x^2}\,dx =\frac12\ln(1+x^2). \]
Therefore,
\[ \begin{aligned} \int_0^{\frac1{\sqrt3}}\arctan x\,dx &= \left[x\arctan x\right]_0^{\frac1{\sqrt3}} – \frac12\left[\ln(1+x^2)\right]_0^{\frac1{\sqrt3}}\\ &= \frac1{\sqrt3}\arctan\left(\frac1{\sqrt3}\right) – \frac12\ln\left(1+\frac13\right). \end{aligned} \]
Since \(\arctan\left(\dfrac1{\sqrt3}\right)=\dfrac{\pi}{6}\),
\[ \int_0^{\frac1{\sqrt3}}\arctan x\,dx = \frac{\pi}{6\sqrt3}-\frac12\ln\frac43. \]
✅ Hence, the required result is shown.
(f)
Integrate each term:
\[ \begin{aligned} &\int_0^{\frac1{\sqrt3}} \left(x-\frac{x^3}{3}+\frac{x^5}{5}-\frac{x^7}{7}\right)dx\\ &= \left[ \frac{x^2}{2} -\frac{x^4}{12} +\frac{x^6}{30} -\frac{x^8}{56} \right]_0^{\frac1{\sqrt3}}. \end{aligned} \]
Substituting \(x=\dfrac1{\sqrt3}\):
\[ \frac16-\frac1{108}+\frac1{810}-\frac1{4536} =\frac{3593}{22680}. \]
\[ \frac{3593}{22680}=0.158421516\ldots \]
✅ Answer: \(0.158422\)
(g)
From part (e),
\[ \frac{\pi}{6\sqrt3}-\frac12\ln\frac43 \approx0.158422. \]
Therefore,
\[ \frac{\pi}{6\sqrt3} \approx 0.158422+\frac12\ln\frac43. \]
Multiplying by \(6\sqrt3\):
\[ \pi \approx 6\sqrt3\left(0.158422+\frac12\ln\frac43\right). \]
\[ \pi\approx3.1412096\ldots \]
✅ Answer: \(\pi\approx3.1412\)
(h)
The first four terms used in part (f) end with \(-\dfrac{x^7}{7}\). The first omitted term is therefore
\[ \frac{x^9}{9}. \]
The theorem predicts that the maximum error is no greater than
\[ \int_0^{\frac1{\sqrt3}}\frac{x^9}{9}\,dx. \]
\[ \begin{aligned} \int_0^{\frac1{\sqrt3}}\frac{x^9}{9}\,dx &= \left[\frac{x^{10}}{90}\right]_0^{\frac1{\sqrt3}}\\ &= \frac1{90}\left(\frac1{\sqrt3}\right)^{10}\\ &=4.57247\times10^{-5}. \end{aligned} \]
The exact value of the integral is
\[ \frac{\pi}{6\sqrt3}-\frac12\ln\frac43 =0.1584588578\ldots \]
Using the unrounded approximation from part (f), the actual error is
\[ \left|0.1584588578\ldots-0.1584215168\ldots\right| =3.7341\times10^{-5}. \]
Hence,
\[ 3.7341\times10^{-5} < 4.57247\times10^{-5}. \]
Using the rounded value \(0.158422\) from part (f) gives an actual error of approximately \(3.69\times10^{-5}\), which also satisfies the bound.
✅ Therefore, the theorem holds in this case.
(i)
Suppose \(N\) non-zero terms of the Maclaurin series are used.
The first omitted term of the \(\arctan x\) series is
\[ \frac{x^{2N+1}}{2N+1}. \]
After integration, the maximum error is therefore
\[ E_N\leq \int_0^{\frac1{\sqrt3}}\frac{x^{2N+1}}{2N+1}\,dx. \]
\[ E_N\leq \frac{\left(\frac1{\sqrt3}\right)^{2N+2}} {(2N+1)(2N+2)}. \]
For \(N=6\):
\[ E_6\leq \frac{\left(\frac1{\sqrt3}\right)^{14}} {13\cdot14} =2.51235\times10^{-6}. \]
This is greater than \(1\times10^{-6}\), so six terms are insufficient.
For \(N=7\):
\[ E_7\leq \frac{\left(\frac1{\sqrt3}\right)^{16}} {15\cdot16} =6.35066\times10^{-7}. \]
This is less than \(1\times10^{-6}\).
✅ Answer: \(7\) non-zero terms
This question asks you to examine various polygons for which the numerical value of the area is the same as the numerical value of the perimeter. For example, a 3 by 6 rectangle has an area of 18 and a perimeter of 18.
For each polygon in this question, let the numerical value of its area be \( A \) and let the numerical value of its perimeter be \( P \).
An \( n \)-sided regular polygon can be divided into \( n \) congruent isosceles triangles. Let \( x \) be the length of each of the two equal sides of one such isosceles triangle and let \( y \) be the length of the third side. The included angle between the two equal sides has magnitude \( \frac{2\pi}{n} \).
Part of such an \( n \)-sided regular polygon is shown in the following diagram:

Consider an \( n \)-sided regular polygon such that \( A = P \).
The Maclaurin series for \( \tan x \) is \( x + \frac{x^3}{3} + \frac{2x^5}{15} + \dots \).
Consider a right-angled triangle with side lengths \( a, b, \) and \( \sqrt{a^2 + b^2} \), where \( a \geq b \), such that \( A = P \).
(a) Find the side length, \( s \), where \( s > 0 \), of a square such that \( A = P \). [3]
(b) Write down, in terms of \( x \) and \( n \), an expression for the area, \( A_T \), of one of these isosceles triangles. [1]
(c) Show that \( y = 2x \sin \frac{\pi}{n} \). [2]
(d) Use the results from parts (b) and (c) to show that \( A = P = 4n \tan \frac{\pi}{n} \). [7]
(e)(i) Find \( \lim_{n \to \infty} \left( 4n \tan \frac{\pi}{n} \right) \). [3]
(e)(ii) Interpret your answer to part (e)(i) geometrically. [1]
(f) Show that \( a = \frac{8}{b – 4} + 4 \). [7]
(g)(i) By using the result of part (f) or otherwise, determine the three side lengths of the only two right-angled triangles for which \( a, b, A, P \in \mathbb{Z} \). [3]
(g)(ii) Determine the area and perimeter of these two right-angled triangles. [1]
▶️ Answer/Explanation
(a) Side Length of Square:
\[ A = s^2 \quad P = 4s \quad (A1) \]
\[ A = P \implies s^2 = 4s \quad (M1) \]
\[ s(s – 4) = 0 \implies s = 4 \quad (s > 0) \quad (A1) \]
Note: Award A1M1A0 if both \( s = 4 \) and \( s = 0 \) are stated.
[3 marks]
(b) Area of Isosceles Triangle:
\[ A_T = \frac{1}{2} x^2 \sin \frac{2\pi}{n} \quad (A1) \]
Note: Award A1 for a correct alternative form in terms of \( x \) and \( n \).
[1 mark]
(c) Derive \( y \):
Method 1:
Using \( \sin \theta = \frac{\text{opp}}{\text{hyp}} \quad (M1) \):
\[ \sin \frac{\pi}{n} = \frac{\frac{y}{2}}{x} \implies \frac{y}{2} = x \sin \frac{\pi}{n} \quad (A1) \]
\[ y = 2x \sin \frac{\pi}{n} \]
Method 2:
Using Pythagoras: \[ \left( \frac{y}{2} \right)^2 + h^2 = x^2 \], where \[ h = x \cos \frac{\pi}{n} \quad (M1) \]
\[ \left( \frac{y}{2} \right)^2 = x^2 – x^2 \cos^2 \frac{\pi}{n} = x^2 \sin^2 \frac{\pi}{n} \quad (A1) \]
\[ y = 2x \sin \frac{\pi}{n} \]
Method 3:
Using cosine rule: \[ y^2 = x^2 + x^2 – 2x^2 \cos \frac{2\pi}{n} = 2x^2 \left( 1 – \cos \frac{2\pi}{n} \right) = 4x^2 \sin^2 \frac{\pi}{n} \quad (M1)(A1) \]
\[ y = 2x \sin \frac{\pi}{n} \]
Method 4:
Using sine rule: \[ \frac{y}{\sin \frac{2\pi}{n}} = \frac{x}{\sin \left( \frac{\pi}{2} – \frac{\pi}{n} \right)} \quad (M1) \]
\[ y \cos \frac{\pi}{n} = x \sin \frac{2\pi}{n} = 2x \sin \frac{\pi}{n} \cos \frac{\pi}{n} \quad (A1) \]
\[ y = 2x \sin \frac{\pi}{n} \]
[2 marks]
(d) Show \( A = P = 4n \tan \frac{\pi}{n} \):
\[ A = n A_T = \frac{1}{2} n x^2 \sin \frac{2\pi}{n} \], \[ P = n y = n \cdot 2x \sin \frac{\pi}{n} \quad (M1) \]
\[ A = P \implies \frac{1}{2} n x^2 \sin \frac{2\pi}{n} = 2n x \sin \frac{\pi}{n} \quad (A1) \]
Use: \[ \sin \frac{2\pi}{n} = 2 \sin \frac{\pi}{n} \cos \frac{\pi}{n} \quad (M1) \]
\[ \frac{1}{2} n x^2 \cdot 2 \sin \frac{\pi}{n} \cos \frac{\pi}{n} = 2n x \sin \frac{\pi}{n} \]
\[ n x^2 \sin \frac{\pi}{n} \cos \frac{\pi}{n} = 2n x \sin \frac{\pi}{n} \quad (A1) \]
Factorize: \[ x \sin \frac{\pi}{n} \left( x \cos \frac{\pi}{n} – 2 \right) = 0 \quad (M1) \]
Since \( x \sin \frac{\pi}{n} \neq 0 \), \[ x = \frac{2}{\cos \frac{\pi}{n}} \quad (A1) \]
Substitute into \( P \): \[ P = n \cdot 2 \cdot \frac{2}{\cos \frac{\pi}{n}} \cdot \sin \frac{\pi}{n} = 4n \frac{\sin \frac{\pi}{n}}{\cos \frac{\pi}{n}} = 4n \tan \frac{\pi}{n} \quad (M1)(A1) \]
\[ A = P = 4n \tan \frac{\pi}{n} \]
[7 marks]
(e)(i) Limit:
Use Maclaurin series: \[ \tan \frac{\pi}{n} = \frac{\pi}{n} + \frac{\left( \frac{\pi}{n} \right)^3}{3} + \frac{2 \left( \frac{\pi}{n} \right)^5}{15} + \dots \quad (M1) \]
\[ 4n \tan \frac{\pi}{n} = 4n \left( \frac{\pi}{n} + \frac{\pi^3}{3n^3} + \frac{2\pi^5}{15n^5} + \dots \right) = 4\pi + \frac{4\pi^3}{3n^2} + \frac{8\pi^5}{15n^4} + \dots \quad (A1) \]
\[ \lim_{n \to \infty} \left( 4n \tan \frac{\pi}{n} \right) = 4\pi \quad (A1) \]
Note: Award M1A1A0 if \( \lim_{n \to \infty} \) is not stated.
[3 marks]
(e)(ii) Geometric Interpretation:
As \( n \to \infty \), the polygon becomes a circle with radius 2, area \( 4\pi \), and perimeter \( 4\pi \quad (R1) \).
Note: Award R1 for stating the polygon becomes a circle with area or perimeter \( 4\pi \), or \( A = P = 4\pi \).
[1 mark]
(f) Derive \( a \):
\[ A = \frac{1}{2} ab \], \[ P = a + b + \sqrt{a^2 + b^2} \quad (A1)(A1) \]
\[ A = P \implies \frac{1}{2} ab = a + b + \sqrt{a^2 + b^2} \quad (M1) \]
\[ \sqrt{a^2 + b^2} = \frac{1}{2} ab – (a + b) \quad (M1) \]
Square both sides: \[ a^2 + b^2 = \left( \frac{1}{2} ab – a – b \right)^2 \quad (M1) \]
\[ a^2 + b^2 = \frac{1}{4} a^2 b^2 – a^2 b – ab^2 + a^2 + 2ab + b^2 \quad (A1) \]
Simplify: \[ \frac{1}{4} a^2 b^2 – a^2 b – ab^2 + 2ab = 0 \quad (A1) \]
\[ a \left( \frac{1}{4} ab – a – b + 2 \right) = 0 \implies \frac{1}{4} ab – a – b + 2 = 0 \]
\[ ab – 4a = 4b – 8 \implies a = \frac{4b – 8}{b – 4} = \frac{8}{b – 4} + 4 \quad (M1)(A1) \]
[7 marks]
(g)(i) Right-Angled Triangles:
Substitute integer \( b \) into \( a = \frac{8}{b – 4} + 4 \), ensure \( a, b, \sqrt{a^2 + b^2} \in \mathbb{Z} \quad (M1) \):
For \( b = 5 \): \[ a = \frac{8}{5 – 4} + 4 = 12 \], hypotenuse \[ \sqrt{12^2 + 5^2} = 13 \]. Triangle: \( (5, 12, 13) \quad (A1) \).
For \( b = 6 \): \[ a = \frac{8}{6 – 4} + 4 = 8 \], hypotenuse \[ \sqrt{8^2 + 6^2} = 10 \]. Triangle: \( (6, 8, 10) \quad (A1) \).
[3 marks]
(g)(ii) Area and Perimeter:
For \( (5, 12, 13) \): \[ A = \frac{1}{2} \cdot 5 \cdot 12 = 30 \], \[ P = 5 + 12 + 13 = 30 \].
For \( (6, 8, 10) \): \[ A = \frac{1}{2} \cdot 6 \cdot 8 = 24 \], \[ P = 6 + 8 + 10 = 24 \quad (A1) \]
[1 mark]
