Porisma

Worked solution

Match two series without matching their cubic terms

(i) For f(x)=ln⁡(1+2sin⁡x)f(x)=\ln(1+2\sin x), find f(0),f′(0),f′′(0),f′′′(0)f(0),f^{\prime}(0),f^{\prime\prime}(0),f^{\prime\prime\prime}(0) and hence its first three nonzero Maclaurin terms. marks

(ii) Its first two nonzero terms match those of eaxsin⁡(nx)e^{ax}\sin(nx). Use appropriate MF27 expansions to find a,na,n and then the third nonzero term of eaxsin⁡(nx)e^{ax}\sin(nx). marks

[2013/II/3(modified)]

CJC · Review problems · Question 7

Answer

f(0),f′(0),f′′(0),f′′′(0)=0,2,−4,14f(0),f^{\prime}(0),f^{\prime\prime}(0),f^{\prime\prime\prime}(0)=0,2,-4,14; f=2x−2x2+7x3/3+⋯f=2x-2x^2+7x^3/3+\cdots. n=2,a=−1n=2,a=-1; the other series has third term −x3/3-x^3/3.

(i) Method 1: differentiate the exponential identity

Set y=ln⁡(1+2sin⁡x)y=\ln(1+2\sin x), so ey=1+2sin⁡xe^y=1+2\sin x. Repeated differentiation gives

eyy′=2cos⁡x,ey[y′′+(y′)2]=−2sin⁡x,e^y y^{\prime}=2\cos x,\quad e^y[y^{\prime\prime}+(y^{\prime})^2]=-2\sin x,

ey[y′′′+3y′y′′+(y′)3]=−2cos⁡x.\begin{aligned}&e^y[y^{\prime\prime\prime}+3y^{\prime}y^{\prime\prime}+(y^{\prime})^3]\\ & =-2\cos x.\end{aligned}

At zero, y=0y=0, y′=2y^{\prime}=2, y′′=−4y^{\prime\prime}=-4; then y′′′−24+8=−2y^{\prime\prime\prime}-24+8=-2, so y′′′=14y^{\prime\prime\prime}=14.

How did this part go?

(i) Method 2: use direct quotient derivatives

Direct differentiation gives

f′(x)=2cos⁡x1+2sin⁡x,f′′(x)=−4+2sin⁡x(1+2sin⁡x)2,f′′′(x)=(14+4sin⁡x)cos⁡x(1+2sin⁡x)3.f^{\prime}(x)=\frac{2\cos x}{1+2\sin x},\quad f^{\prime\prime}(x)=-\frac{4+2\sin x}{(1+2\sin x)^2},\quad f^{\prime\prime\prime}(x)=\frac{(14+4\sin x)\cos x}{(1+2\sin x)^3}.

These yield f(0)=0f(0)=0, f′(0)=2f^{\prime}(0)=2, f′′(0)=−4f^{\prime\prime}(0)=-4, f′′′(0)=14f^{\prime\prime\prime}(0)=14, agreeing with Method 1. Therefore f(x)=2x−2x2+7x3/3+O(x4)f(x)=2x-2x^2+7x^3/3+O(x^4).

How did this part go?

(ii) Match only the two specified coefficients

The standard product is

eaxsin⁡(nx)=nx+anx2+(a2n2−n36)x3+O(x4).\begin{aligned}&e^{ax}\sin(nx)\\ & =nx+anx^2\\ &{}+\left(\frac{a^2n}{2}-\frac{n^3}{6}\right)x^3\\ &{}+O(x^4).\end{aligned}

Matching 2x−2x22x-2x^2 gives n=2n=2 and a=−1a=-1. The next coefficient is 1−8/6=−1/31-8/6=-1/3, so its third nonzero term is −x3/3-x^3/3. It need not equal the logarithm’s third term 7x3/37x^3/3.

How did this part go?

Common mistakes

Only the first two nonzero terms are required to agree.

Read the hint