It is given that y=ln⁡(cos⁡ax−sin⁡ax)y = \ln(\cos ax - \sin ax), where aa is a non-zero constant.

  1. (i)

    Show that d2ydx2+(dydx)2+a2=0\frac{\mathrm{d}^2 y}{\mathrm{d}x^2} + \left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^2 + a^2 = 0.

  2. (ii)

    By further differentiation of the result in (i), find, in terms of aa, the Maclaurin series for yy, up to and including the term in x3x^3.

  3. (iii)

    Hence show that when xx is small enough for powers of xx higher than 2 to be neglected and a=2a = 2, then cos⁡2x−sin⁡2x≈1+kx+kx2\cos 2x - \sin 2x \approx 1 + kx + kx^2 where kk is a constant to be determined.

  4. (iv)

    Using appropriate expansions from the List of Formulae (MF26), verify the correctness of your answer in (iii).

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. Rewrite the function to eliminate the natural logarithm and differentiate implicitly with respect to $x$.

y=ln⁡(cos⁡ax−sin⁡ax)y = \ln(\cos ax - \sin ax)
ey=cos⁡ax−sin⁡axe^y = \cos ax - \sin ax

Differentiating both sides with respect to xx:
eydydx=−asin⁡ax−acos⁡axe^y \frac{\mathrm{d}y}{\mathrm{d}x} = -a\sin ax - a\cos ax

2. Differentiate implicitly a second time using the product rule.

Differentiating both sides with respect to xx again:
ddx(eydydx)=ddx(−asin⁡ax−acos⁡ax)\frac{\mathrm{d}}{\mathrm{d}x} \left( e^y \frac{\mathrm{d}y}{\mathrm{d}x} \right) = \frac{\mathrm{d}}{\mathrm{d}x} (-a\sin ax - a\cos ax)

Applying the product rule on the left hand side:
eyd2ydx2+(dydx)(eydydx)=−a2cos⁡ax+a2sin⁡axe^y \frac{\mathrm{d}^2 y}{\mathrm{d}x^2} + \left(\frac{\mathrm{d}y}{\mathrm{d}x}\right) \left(e^y \frac{\mathrm{d}y}{\mathrm{d}x}\right) = -a^2\cos ax + a^2\sin ax
eyd2ydx2+ey(dydx)2=−a2(cos⁡ax−sin⁡ax)e^y \frac{\mathrm{d}^2 y}{\mathrm{d}x^2} + e^y \left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^2 = -a^2(\cos ax - \sin ax)

3. Substitute $e^y$ back into the equation to show the required result.

Since ey=cos⁡ax−sin⁡axe^y = \cos ax - \sin ax, substitute this back into the right-hand side:
ey[d2ydx2+(dydx)2]=−a2eye^y \left[ \frac{\mathrm{d}^2 y}{\mathrm{d}x^2} + \left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^2 \right] = -a^2 e^y

Since ey>0e^y > 0 for all real yy, we can divide both sides by eye^y:
d2ydx2+(dydx)2=−a2\frac{\mathrm{d}^2 y}{\mathrm{d}x^2} + \left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^2 = -a^2
d2ydx2+(dydx)2+a2=0(shown)\frac{\mathrm{d}^2 y}{\mathrm{d}x^2} + \left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^2 + a^2 = 0 \quad \text{(shown)}

Answer

\frac{\mathrm{d}^2 y}{\mathrm{d}x^2} + \left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^2 + a^2 = 0 \quad \text{(shown)}

8(ii)

1. Evaluate $y(0)$ and $y'(0)$ using the original equation.

Given y=ln⁡(cos⁡ax−sin⁡ax)y = \ln(\cos ax - \sin ax),
when x=0x = 0, y(0)=ln⁡(1−0)=0y(0) = \ln(1 - 0) = 0.

Differentiating with respect to xx:
dydx=−asin⁡ax−acos⁡axcos⁡ax−sin⁡ax\frac{\mathrm{d}y}{\mathrm{d}x} = \frac{-a\sin ax - a\cos ax}{\cos ax - \sin ax}
When x=0x = 0,
y′(0)=−a(0)−a(1)1−0=−ay'(0) = \frac{-a(0) - a(1)}{1 - 0} = -a

2. Differentiate the equation from part (i) implicitly with respect to $x$.

Differentiating the given result d2ydx2+(dydx)2+a2=0\frac{\mathrm{d}^2 y}{\mathrm{d}x^2} + \left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^2 + a^2 = 0 implicitly with respect to xx:
d3ydx3+2(dydx)(d2ydx2)=0\frac{\mathrm{d}^3 y}{\mathrm{d}x^3} + 2\left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)\left(\frac{\mathrm{d}^2 y}{\mathrm{d}x^2}\right) = 0

3. Evaluate $y''(0)$ and $y'''(0)$.

From the result in (i), substituting x=0x = 0:
y′′(0)+(−a)2+a2=0  ⟹  y′′(0)=−2a2y''(0) + (-a)^2 + a^2 = 0 \implies y''(0) = -2a^2

Substituting x=0x = 0 into the differentiated equation from Step 2:
y′′′(0)+2(−a)(−2a2)=0y'''(0) + 2(-a)(-2a^2) = 0
y′′′(0)+4a3=0  ⟹  y′′′(0)=−4a3y'''(0) + 4a^3 = 0 \implies y'''(0) = -4a^3

4. Construct the Maclaurin series up to the $x^3$ term.

The Maclaurin series is given by:
y=y(0)+xy′(0)+x22!y′′(0)+x33!y′′′(0)+…y = y(0) + x y'(0) + \frac{x^2}{2!} y''(0) + \frac{x^3}{3!} y'''(0) + \ldots
y=0+x(−a)+x22(−2a2)+x36(−4a3)+…y = 0 + x(-a) + \frac{x^2}{2}(-2a^2) + \frac{x^3}{6}(-4a^3) + \ldots
y=−ax−a2x2−23a3x3+…y = -ax - a^2x^2 - \frac{2}{3}a^3x^3 + \ldots

Answer

−ax−a2x2−23a3x3-ax - a^2x^2 - \frac{2}{3}a^3x^3

8(iii)

1. Concisely obtain the Maclaurin series for $y$ up to the term in $x^3$ from part (ii).

y=ln⁡(cos⁡ax−sin⁡ax)  ⟹  y(0)=ln⁡1=0y = \ln(\cos ax - \sin ax) \implies y(0) = \ln 1 = 0
y′=−asin⁡ax−acos⁡axcos⁡ax−sin⁡ax  ⟹  y′(0)=−ay' = \frac{-a\sin ax - a\cos ax}{\cos ax - \sin ax} \implies y'(0) = -a
From (i), y′′+(y′)2+a2=0  ⟹  y′′(0)+(−a)2+a2=0  ⟹  y′′(0)=−2a2y'' + (y')^2 + a^2 = 0 \implies y''(0) + (-a)^2 + a^2 = 0 \implies y''(0) = -2a^2
Differentiating (i), y′′′+2y′y′′=0  ⟹  y′′′(0)+2(−a)(−2a2)=0  ⟹  y′′′(0)=−4a3y''' + 2y'y'' = 0 \implies y'''(0) + 2(-a)(-2a^2) = 0 \implies y'''(0) = -4a^3
The Maclaurin series for yy is:
y=−ax−2a22!x2−4a33!x3+…=−ax−a2x2−23a3x3+…y = -ax - \frac{2a^2}{2!}x^2 - \frac{4a^3}{3!}x^3 + \ldots = -ax - a^2x^2 - \frac{2}{3}a^3x^3 + \ldots

2. Relate $\cos 2x - \sin 2x$ to $y$ and substitute $a=2$ into the truncated series.

Since y=ln⁡(cos⁡ax−sin⁡ax)y = \ln(\cos ax - \sin ax), taking the exponential gives cos⁡ax−sin⁡ax=ey\cos ax - \sin ax = e^y.
For a=2a=2, since xx is small enough to neglect powers higher than 2, we approximate yy to the x2x^2 term:
y≈−2x−(2)2x2=−2x−4x2y \approx -2x - (2)^2x^2 = -2x - 4x^2

3. Use the standard Maclaurin series for $e^y$ to expand the expression.

Using the standard expansion ey≈1+y+y22!e^y \approx 1 + y + \frac{y^2}{2!}:
cos⁡2x−sin⁡2x=ey≈1+(−2x−4x2)+12(−2x−4x2)2\cos 2x - \sin 2x = e^y \approx 1 + (-2x - 4x^2) + \frac{1}{2}(-2x - 4x^2)^2

4. Expand and simplify, discarding powers of $x$ higher than 2, to find $k$.

cos⁡2x−sin⁡2x≈1−2x−4x2+12(4x2)\cos 2x - \sin 2x \approx 1 - 2x - 4x^2 + \frac{1}{2}(4x^2)
=1−2x−4x2+2x2= 1 - 2x - 4x^2 + 2x^2
=1−2x−2x2= 1 - 2x - 2x^2
Comparing this to the given form 1+kx+kx21 + kx + kx^2, we obtain:
k=−2k = -2

Answer

cos⁡2x−sin⁡2x≈1−2x−2x2\cos 2x - \sin 2x \approx 1 - 2x - 2x^2
k=−2k = -2

8(iv)

1. Use standard series from MF26 to expand $\cos 2x$ and $\sin 2x$ up to the term in $x^2$.

From the List of Formulae (MF26), the standard series expansions are cos⁡x≈1−x22!\cos x \approx 1 - \frac{x^2}{2!} and sin⁡x≈x\sin x \approx x for small xx.
Replacing xx with 2x2x, we obtain:
cos⁡2x≈1−(2x)22!=1−2x2\cos 2x \approx 1 - \frac{(2x)^2}{2!} = 1 - 2x^2
sin⁡2x≈2x\sin 2x \approx 2x

2. Subtract the expansions to verify the result from part (iii).

cos⁡2x−sin⁡2x≈(1−2x2)−(2x)=1−2x−2x2\cos 2x - \sin 2x \approx (1 - 2x^2) - (2x) = 1 - 2x - 2x^2
This simplifies to the form 1+kx+kx21 + kx + kx^2 with k=−2k = -2, identical to the correct answer found in (iii), thus verifying it.

Answer

cos⁡2x−sin⁡2x≈1−2x−2x2\cos 2x - \sin 2x \approx 1 - 2x - 2x^2, which confirms the result k=−2k = -2 obtained in (iii).

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. 1The curve C has equation x+y=(x−y)2x + y = (x - y)^2. It is given that C has only one turning point. Show that 1−dydx=21+2x−2y1 - \frac{dy}{dx} = \frac{2}{1 + 2x - 2y}…
  2. 2The curve C has equation x+y=(x−y)2.x + y = (x - y)^2. It is given that C has only one turning point. Show that 1−dydx=21+2x−2y1 - \dfrac{dy}{dx} = \dfrac{2}{1 + 2x - 2y}…
  3. 3A curve C1C_1 has the equation p2x2−y2=p2p^2x^2 - y^2 = p^2 where p>1p > 1. Sketch C1C_1, stating the coordinates of any points o…
  4. 4A curve CC has parametric equations x=2cos⁡θ+cos⁡2θ,y=2sin⁡θ−sin⁡2θ,x = 2\cos\theta + \cos 2\theta, \quad y = 2\sin\theta - \sin 2\theta, where 0<θ<2π0 < \theta < 2\pi…
  5. 5It 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.…