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{d^2 y}{dx^2} + \left(\frac{dy}{dx}\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 22 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 given logarithmic equation into an exponential form to avoid the quotient rule and simplify implicit differentiation.

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

2. Differentiate both sides implicitly with respect to $x$ for the first time.

ddx(ey)=ddx(cos⁡ax−sin⁡ax)\frac{d}{dx}(e^y) = \frac{d}{dx}(\cos ax - \sin ax)
eydydx=−asin⁡ax−acos⁡axe^y \frac{dy}{dx} = -a\sin ax - a\cos ax

3. Differentiate a second time using the product rule and substitute the original expression to obtain the required equation.

Applying the product rule on the left hand side:
eyd2ydx2+ey(dydx)2=−a2cos⁡ax+a2sin⁡axe^y \frac{d^2y}{dx^2} + e^y \left(\frac{dy}{dx}\right)^2 = -a^2\cos ax + a^2\sin ax
ey[d2ydx2+(dydx)2]=−a2(cos⁡ax−sin⁡ax)e^y \left[ \frac{d^2y}{dx^2} + \left(\frac{dy}{dx}\right)^2 \right] = -a^2(\cos ax - \sin ax)
Since ey=cos⁡ax−sin⁡axe^y = \cos ax - \sin ax, we can substitute this into the right hand side:
ey[d2ydx2+(dydx)2]=−a2eye^y \left[ \frac{d^2y}{dx^2} + \left(\frac{dy}{dx}\right)^2 \right] = -a^2 e^y
Dividing both sides by eye^y (since ey>0e^y > 0 for real yy):
d2ydx2+(dydx)2=−a2\frac{d^2y}{dx^2} + \left(\frac{dy}{dx}\right)^2 = -a^2
d2ydx2+(dydx)2+a2=0(shown)\frac{d^2 y}{dx^2} + \left(\frac{dy}{dx}\right)^2 + a^2 = 0 \quad \text{(shown)}

Answer

d2ydx2+(dydx)2+a2=0(shown)\frac{d^2 y}{dx^2} + \left(\frac{dy}{dx}\right)^2 + a^2 = 0 \quad \text{(shown)}

8((ii))

1. Evaluate $y$, $\frac{dy}{dx}$ and $\frac{d^2y}{dx^2}$ at $x=0$.

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

Differentiating yy with respect to xx:
dydx=−asin⁡ax−acos⁡axcos⁡ax−sin⁡ax\frac{dy}{dx} = \frac{-a\sin ax - a\cos ax}{\cos ax - \sin ax}
At x=0x = 0:
dydx=−a(0)−a(1)1−0=−a\frac{dy}{dx} = \frac{-a(0) - a(1)}{1 - 0} = -a

Using the result from (i), d2ydx2+(dydx)2+a2=0\frac{d^2 y}{dx^2} + \left(\frac{dy}{dx}\right)^2 + a^2 = 0. Substitute x=0x = 0:
d2ydx2+(−a)2+a2=0  ⟹  d2ydx2=−2a2\frac{d^2 y}{dx^2} + (-a)^2 + a^2 = 0 \implies \frac{d^2 y}{dx^2} = -2a^2

2. Differentiate the equation from (i) with respect to $x$ to find $\frac{d^3y}{dx^3}$ at $x=0$.

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

Substitute the known values at x=0x = 0:
d3ydx3+2(−a)(−2a2)=0\frac{d^3 y}{dx^3} + 2(-a)(-2a^2) = 0
d3ydx3+4a3=0  ⟹  d3ydx3=−4a3\frac{d^3 y}{dx^3} + 4a^3 = 0 \implies \frac{d^3 y}{dx^3} = -4a^3

3. Substitute the evaluated derivatives into the Maclaurin series formula.

The Maclaurin series is given by:
y=y(0)+y′(0)x+y′′(0)2!x2+y′′′(0)3!x3+…y = y(0) + y'(0)x + \frac{y''(0)}{2!}x^2 + \frac{y'''(0)}{3!}x^3 + \dots

Substituting the values:
y=0+(−a)x+−2a22x2+−4a36x3y = 0 + (-a)x + \frac{-2a^2}{2}x^2 + \frac{-4a^3}{6}x^3
y=−ax−a2x2−23a3x3y = -ax - a^2 x^2 - \frac{2}{3}a^3 x^3

Answer

y=−ax−a2x2−23a3x3y = -ax - a^2 x^2 - \frac{2}{3}a^3 x^3

8((iii))

1. Find the Maclaurin series for $y$ up to the $x^2$ term (as required from part (ii)).

To use the result from part (ii), we first calculate the Maclaurin series coefficients for yy up to x2x^2.
When x=0x = 0, y=ln⁡(cos⁡0−sin⁡0)=ln⁡1=0y = \ln(\cos 0 - \sin 0) = \ln 1 = 0.
y′=ddx[ln⁡(cos⁡ax−sin⁡ax)]=−asin⁡ax−acos⁡axcos⁡ax−sin⁡ax  ⟹  y′(0)=−ay' = \frac{d}{dx}[\ln(\cos ax - \sin ax)] = \frac{-a\sin ax - a\cos ax}{\cos ax - \sin ax} \implies y'(0) = -a.
Using the result from (i), y′′+(y′)2+a2=0y'' + (y')^2 + a^2 = 0.
Substituting x=0x = 0, y′′(0)+(−a)2+a2=0  ⟹  y′′(0)=−2a2y''(0) + (-a)^2 + a^2 = 0 \implies y''(0) = -2a^2.
Thus, the Maclaurin series for yy up to x2x^2 is:
y≈y(0)+y′(0)x+y′′(0)2!x2=−ax−a2x2y \approx y(0) + y'(0)x + \frac{y''(0)}{2!}x^2 = -ax - a^2 x^2

2. Substitute $a = 2$ and express $\cos 2x - \sin 2x$ as an exponential function.

Substitute a=2a = 2 into the series and neglect powers of xx higher than 22:
y≈−2x−4x2y \approx -2x - 4x^2
Since y=ln⁡(cos⁡2x−sin⁡2x)y = \ln(\cos 2x - \sin 2x), we have:
ln⁡(cos⁡2x−sin⁡2x)≈−2x−4x2\ln(\cos 2x - \sin 2x) \approx -2x - 4x^2
cos⁡2x−sin⁡2x≈e−2x−4x2\cos 2x - \sin 2x \approx e^{-2x - 4x^2}

3. Expand the exponential expression using standard series to find $k$.

Using the standard Maclaurin series expansion ez≈1+z+z22!e^z \approx 1 + z + \frac{z^2}{2!} for small zz:
e−2x−4x2≈1+(−2x−4x2)+(−2x−4x2)22e^{-2x - 4x^2} \approx 1 + (-2x - 4x^2) + \frac{(-2x - 4x^2)^2}{2}
Neglecting powers of xx higher than 22:
e−2x−4x2≈1−2x−4x2+4x22e^{-2x - 4x^2} \approx 1 - 2x - 4x^2 + \frac{4x^2}{2}
=1−2x−4x2+2x2= 1 - 2x - 4x^2 + 2x^2
=1−2x−2x2= 1 - 2x - 2x^2
Comparing this with 1+kx+kx21 + kx + kx^2, we have:
k=−2k = -2

Answer

k=−2k = -2

8((iv))

1. Expand $\cos 2x$ and $\sin 2x$ up to the term in $x^2$ using the standard Maclaurin series from MF26.

From the List of Formulae (MF26):
cos⁡x=1−x22!+…\cos x = 1 - \frac{x^2}{2!} + \dots
sin⁡x=x−x33!+…\sin x = x - \frac{x^3}{3!} + \dots
Substituting xx with 2x2x and neglecting powers of xx higher than 22:
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 form the required expression and verify the constant $k$.

cos⁡2x−sin⁡2x≈(1−2x2)−(2x)\cos 2x - \sin 2x \approx (1 - 2x^2) - (2x)
=1−2x−2x2= 1 - 2x - 2x^2
This explicitly matches the mathematical form 1+kx+kx21 + kx + kx^2 found in part (iii) and verifies that the constant is indeed k=−2k = -2.

Answer

The expansion 1−2x−2x21 - 2x - 2x^2 matches the form 1+kx+kx21 + kx + kx^2 with k=−2k = -2, verifying the result from (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. 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…