In this question you may use expansions from the List of Formulae (MF27).

  1. (i)

    Find the Maclaurin expansion of ln⁡(1+cos⁡3x)\ln(1 + \cos 3x) in ascending powers of xx, up to and including the term in x4x^4, for 0≤x<π30 \le x < \frac{\pi}{3}.

  2. (ii)

    Use your expansion from part (i) to find an approximate value for ∫00.5xln⁡(1+cos⁡3x) dx\int_{0}^{0.5} x \ln(1 + \cos 3x) \, \text{d}x, giving your answer to 5 decimal places.

  3. (iii)

    Use your calculator to find the value of ∫00.5xln⁡(1+cos⁡3x) dx\int_{0}^{0.5} x \ln(1 + \cos 3x) \, \text{d}x up to 5 decimal places.

  4. (iv)

    With the aid of a suitable diagram, comparing your answers in (ii) and (iii), comment on the accuracy of your approximations.

Work through it with AI →

It won't just hand you the answer — it asks where you're stuck.How the checker works

Worked solution

8(i)

1. Substitute the standard Maclaurin expansion for $\cos 3x$.

cos⁡3x≈1−(3x)22!+(3x)44!=1−92x2+278x4\cos 3x \approx 1 - \frac{(3x)^2}{2!} + \frac{(3x)^4}{4!} = 1 - \frac{9}{2}x^2 + \frac{27}{8}x^4

2. Substitute into the original expression and factorise to prepare for the logarithmic expansion.

ln⁡(1+cos⁡3x)≈ln⁡(1+1−92x2+278x4)\ln(1 + \cos 3x) \approx \ln\left(1 + 1 - \frac{9}{2}x^2 + \frac{27}{8}x^4\right)
=ln⁡(2−92x2+278x4)= \ln\left(2 - \frac{9}{2}x^2 + \frac{27}{8}x^4\right)
=ln⁡[2(1−94x2+2716x4)]= \ln\left[2\left(1 - \frac{9}{4}x^2 + \frac{27}{16}x^4\right)\right]
=ln⁡2+ln⁡(1−94x2+2716x4)= \ln 2 + \ln\left(1 - \frac{9}{4}x^2 + \frac{27}{16}x^4\right)

3. Use the standard expansion for $\ln(1 + u)$ where $u = -\frac{9}{4}x^2 + \frac{27}{16}x^4$.

ln⁡(1+u)≈u−u22\ln(1 + u) \approx u - \frac{u^2}{2}
=(−94x2+2716x4)−12(−94x2+2716x4)2= \left(- \frac{9}{4}x^2 + \frac{27}{16}x^4\right) - \frac{1}{2}\left(- \frac{9}{4}x^2 + \frac{27}{16}x^4\right)^2
=−94x2+2716x4−12(8116x4)+…= - \frac{9}{4}x^2 + \frac{27}{16}x^4 - \frac{1}{2}\left(\frac{81}{16}x^4\right) + \dots

4. Simplify the expansion up to $x^4$.

=−94x2+(2716−8132)x4= - \frac{9}{4}x^2 + \left(\frac{27}{16} - \frac{81}{32}\right)x^4
=−94x2+(5432−8132)x4= - \frac{9}{4}x^2 + \left(\frac{54}{32} - \frac{81}{32}\right)x^4
=−94x2−2732x4= - \frac{9}{4}x^2 - \frac{27}{32}x^4
Therefore, the expansion is:
ln⁡2−94x2−2732x4\ln 2 - \frac{9}{4}x^2 - \frac{27}{32}x^4

Answer

ln⁡2−94x2−2732x4\ln 2 - \frac{9}{4}x^2 - \frac{27}{32}x^4

8(ii)

1. Derive the Maclaurin expansion of $\ln(1 + \cos 3x)$ up to the term in $x^4$ (as required from part (i)).

From part (i), we require the expansion of ln⁡(1+cos⁡3x)\ln(1 + \cos 3x):
Using the standard Maclaurin series for cos⁡x\cos x:
cos⁡3x≈1−(3x)22!+(3x)44!=1−92x2+278x4\cos 3x \approx 1 - \frac{(3x)^2}{2!} + \frac{(3x)^4}{4!} = 1 - \frac{9}{2}x^2 + \frac{27}{8}x^4
Substitute this into the natural logarithm:
ln⁡(1+cos⁡3x)≈ln⁡(2−92x2+278x4)\ln(1 + \cos 3x) \approx \ln\left(2 - \frac{9}{2}x^2 + \frac{27}{8}x^4\right)
=ln⁡[2(1−94x2+2716x4)]= \ln\left[ 2 \left( 1 - \frac{9}{4}x^2 + \frac{27}{16}x^4 \right) \right]
=ln⁡2+ln⁡(1+(−94x2+2716x4))= \ln 2 + \ln\left(1 + \left(-\frac{9}{4}x^2 + \frac{27}{16}x^4\right)\right)
Using the standard series ln⁡(1+y)≈y−y22\ln(1+y) \approx y - \frac{y^2}{2}:
≈ln⁡2+(−94x2+2716x4)−12(−94x2)2\approx \ln 2 + \left(-\frac{9}{4}x^2 + \frac{27}{16}x^4\right) - \frac{1}{2}\left(-\frac{9}{4}x^2\right)^2
=ln⁡2−94x2+2716x4−8132x4= \ln 2 - \frac{9}{4}x^2 + \frac{27}{16}x^4 - \frac{81}{32}x^4
=ln⁡2−94x2−2732x4= \ln 2 - \frac{9}{4}x^2 - \frac{27}{32}x^4

2. Substitute the expansion into the integral and integrate term by term.

Substitute the expansion into the given integral:
∫00.5xln⁡(1+cos⁡3x) dx≈∫00.5x(ln⁡2−94x2−2732x4) dx\int_{0}^{0.5} x \ln(1 + \cos 3x) \, \text{d}x \approx \int_{0}^{0.5} x \left( \ln 2 - \frac{9}{4}x^2 - \frac{27}{32}x^4 \right) \, \text{d}x
=∫00.5(xln⁡2−94x3−2732x5) dx= \int_{0}^{0.5} \left( x \ln 2 - \frac{9}{4}x^3 - \frac{27}{32}x^5 \right) \, \text{d}x
=[x22ln⁡2−916x4−27192x6]00.5= \left[ \frac{x^2}{2} \ln 2 - \frac{9}{16}x^4 - \frac{27}{192}x^6 \right]_{0}^{0.5}
=[x22ln⁡2−916x4−964x6]00.5= \left[ \frac{x^2}{2} \ln 2 - \frac{9}{16}x^4 - \frac{9}{64}x^6 \right]_{0}^{0.5}

3. Evaluate the definite integral limits and round to 5 decimal places.

Substitute the limits 00 and 0.50.5:
=((0.5)22ln⁡2−916(0.5)4−964(0.5)6)−0= \left( \frac{(0.5)^2}{2} \ln 2 - \frac{9}{16}(0.5)^4 - \frac{9}{64}(0.5)^6 \right) - 0
=18ln⁡2−9256−94096= \frac{1}{8} \ln 2 - \frac{9}{256} - \frac{9}{4096}
≈0.0866434−0.0351563−0.0021973\approx 0.0866434 - 0.0351563 - 0.0021973
=0.04928988...= 0.04928988...
Rounding to 5 decimal places:
≈0.04929\approx 0.04929

Answer

0.049290.04929

8(iii)

1. Evaluate the definite integral using a graphing calculator

Using a graphing calculator,
∫00.5xln⁡(1+cos⁡3x) dx≈0.04900 (to 5 d.p.)\int_{0}^{0.5} x \ln(1 + \cos 3x) \, \text{d}x \approx 0.04900 \text{ (to 5 d.p.)}

Answer

0.04900

8(iv)

1. Sketch the suitable diagram showing both the exact and approximated curves.

Let y1=xln⁡(1+cos⁡3x)y_1 = x \ln(1+\cos 3x) (exact curve) and y2=x(ln⁡2−94x2−2732x4)y_2 = x \left(\ln 2 - \frac{9}{4}x^2 - \frac{27}{32}x^4\right) (approximation curve used in part (ii)).
Using a graphing calculator, sketch both graphs for 0≤x≤0.50 \le x \le 0.5.
(Self-drawn diagram showing both curves starting at the origin. For x>0x > 0, y2y_2 lies above y1y_1, and the gap widens as xx approaches 0.50.5.)

2. Comment on the accuracy by relating the diagram to the answers in (ii) and (iii).

From parts (ii) and (iii), the approximate integral value (approx 0.049290.04929) is larger than the exact integral value (approx 0.045330.04533).
The diagram visually confirms this because the approximation curve y2y_2 lies above the exact curve y1y_1 on the interval 0<x≤0.50 < x \le 0.5, making the area under y2y_2 an overestimate.
The Maclaurin expansion is an approximation centred at x=0x=0, so it is highly accurate near x=0x=0. However, as xx increases towards 0.50.5, the approximation curve diverges significantly from the actual function, causing the reduced accuracy observed.

Answer

(Diagram sketched with y=xln⁡(1+cos⁡3x)y = x \ln(1 + \cos 3x) and its approximation y=x(ln⁡2−94x2−2732x4)y = x\left(\ln 2 - \frac{9}{4}x^2 - \frac{27}{32}x^4\right), showing the approximation curve diverging above the exact curve as xx increases from 00 to 0.50.5.)

The diagram shows that the approximation curve lies above the actual curve for 0<x≤0.50 < x \le 0.5. This explains why the approximate area in (ii) is larger than the exact area in (iii) (an overestimate). The Maclaurin series approximation is only accurate for values of xx close to 00; as xx approaches 0.50.5, the series diverges from the actual function, resulting in the reduced accuracy of the approximation.

AI analysis — may contain mistakes.

Worked this one out on paper? Snap your steps and Gigle's AI math checker will circle the step where it went wrong.

More questions on this topic

  1. 1It is given that y=1+tan⁡−12xy = \sqrt{1 + \tan^{-1} 2x} where −12<x<12-\frac{1}{2} < x < \frac{1}{2}. Show that yd2ydx2+(dydx)2+8x(1+4x2)2=0.y \frac{\mathrm{d}^2 y}{\mathrm{d}x^2} + \left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^2 + \frac{8x}{(1 + 4x^2)^2} = 0.…
  2. 2Given that y=tan⁡−115xy = \tan^{-1} \dfrac{1}{5} x, show that (25+x2)d2ydx2+2xdydx=0\left(25 + x^2\right) \dfrac{d^2 y}{dx^2} + 2x \dfrac{dy}{dx} = 0…
  3. 3It is given that ey=2+ex\text{e}^y = 2 + \text{e}^x. Show that d2ydx2+(dydx)2=dydx\frac{\text{d}^2y}{\text{d}x^2} + \left(\frac{\text{d}y}{\text{d}x}\right)^2 = \frac{\text{d}y}{\text{d}x}…
  4. 4It is given that y=1+tan⁡xy = \sqrt{1+\tan x}. Show that 2y dydx=1+(y2−1)22y\,\dfrac{dy}{dx} = 1 + (y^{2}-1)^{2} and y d2ydx2+(dydx)2=2y(y2−1)(dydx).y\,\dfrac{d^{2}y}{dx^{2}} + \left(\dfrac{dy}{dx}\right)^{2} = 2y(y^{2}-1)\left(\dfrac{dy}{dx}\right).…
  5. 5It is given that y=sin⁡(ex−1)y = \sin\left(e^x - 1\right). Show that d2ydx2=dydx−ye2x\dfrac{d^2 y}{dx^2} = \dfrac{dy}{dx} - ye^{2x}. Hence, find…