IJMB Mathematics 2023 paper II

IJMB Mathematics 2023 paper II

SECTION A

  1. Differentiate tan⁻¹(1 − x²) cos 3x. [04marks]

  2. Evaluate limx1x2+1x21\lim_{x \to 1} \frac{x^2+1}{x^2-1}. [04marks]

  3. Solve the equation y(1 + x²)dy + (1 + y²)dx = 0. [05marks]

  4. Find the direction cosines of the vector i − 2jk. [03marks]

  5. Evaluate 01x2ex3dx\int_0^1 x^2 e^{x^3} dx. [04marks]


SECTION B: CALCULUS

  1. (a) If a body moves according to the law S = e^(3t) − 9te^(−t) − 4t cos t, find the velocity and acceleration at t = 0 sec. [08marks]

    (b) Find ∫e^(−2x) cos 3x dx. [12marks]

  1. (a) Find the area of the region bounded by the curves y = x² − 2x and y = 2x − x². [10marks]

    (b) Given that cos y = y/x, find d²y/dx² at the point (1, 0). [10marks]

  1. (a) Differentiate from first principles y = sin x cos x. [10marks]

    (b) Find a better approximation to the root of the equation eˣ − 3x + 1 = 0 if x₀ = 0.000 is an initial approximation and f′(x₀) ≠ 0, up to 3 iterations. [10marks]


SECTION C: DIFFERENTIAL EQUATIONS AND VECTORS

  1. (a) Solve the equation (x² sec x tan x + x sec x)dx = xy dy given that y(π) = 0. [10marks]

    (b) Show that the point P = 2i − 3j + 4k lies on the line r = i − 2j + k + t(ij + 3k). Let A = 3i − 5j + 3k. Show that AP is perpendicular to ij + 3k, hence find the distance of the given line from A. [10marks]

  1. (a) The position vectors of the vertices of triangle PQR are 2i + 3j − 5k, −3i − 7j + 10k and −3i − 5j + 10k respectively. Find the position vectors of the points S and T on PQ and PR respectively such that PS/QS = PT/RT = 1/2. Show that ST ∥ QR. [12marks]

    (b) For triangle PQR in part (a) above, calculate the cosine of angle Q and hence the area of the triangle. [08marks]

  1. (a) Solve the equation x² dy/dx = x² + 2xy + y², given that y(1) = 0. [12marks]

    (b) Find the equation of the curve through (0, π) for which the normal at any point (x, y) has the slope −sin y · eˣ and y(0) = π. [08marks]



FULL SOLUTIONS


SECTION A


Q1. Differentiate tan⁻¹(1 − x²) cos 3x

Using the product rule: if u = tan⁻¹(1 − x²), v = cos 3x

dudx=2x1+(1x2)2\frac{du}{dx} = \frac{-2x}{1+(1-x^2)^2}

dvdx=3sin3x\frac{dv}{dx} = -3\sin 3x

dydx=cos3x2x1+(1x2)2+tan1(1x2)(3sin3x)\frac{dy}{dx} = \cos 3x \cdot \frac{-2x}{1+(1-x^2)^2} + \tan^{-1}(1-x^2)\cdot(-3\sin 3x)

dydx=2xcos3x1+(1x2)23sin3xtan1(1x2)\frac{dy}{dx} = \frac{-2x\cos 3x}{1+(1-x^2)^2} - 3\sin 3x \cdot \tan^{-1}(1-x^2)


Q2. Evaluate limx1x2+1x21\lim_{x \to 1} \frac{x^2+1}{x^2-1}

Substituting x = 1 directly:

Numerator: 1 + 1 = 2

Denominator: 1 − 1 = 0

The denominator → 0 while numerator → 2 ≠ 0.

Check one-sided limits:

  • As x → 1⁺: x²−1 → 0⁺, so limit → +∞
  • As x → 1⁻: x²−1 → 0⁻, so limit → −∞

Since left and right limits differ:

limx1x2+1x21 does not exist (DNE)\lim_{x \to 1} \frac{x^2+1}{x^2-1} \text{ does not exist (DNE)}


Q3. Solve y(1 + x²)dy + (1 + y²)dx = 0

Separate variables:

ydy1+y2=dx1+x2\frac{y\,dy}{1+y^2} = -\frac{dx}{1+x^2}

Integrate both sides:

12ln(1+y2)=tan1x+C\frac{1}{2}\ln(1+y^2) = -\tan^{-1}x + C

ln(1+y2)=2tan1x+C\ln(1+y^2) = -2\tan^{-1}x + C

Or equivalently: (1+y2)=Ae2tan1x(1+y^2) = Ae^{-2\tan^{-1}x}


Q4. Direction cosines of v = i − 2jk

Magnitude: |v| = √(1² + (−2)² + (−1)²) = √(1+4+1) = √6

Direction cosines:

l=16,m=26,n=16l = \frac{1}{\sqrt{6}}, \quad m = \frac{-2}{\sqrt{6}}, \quad n = \frac{-1}{\sqrt{6}}

(16, 26, 16)\left(\frac{1}{\sqrt{6}},\ \frac{-2}{\sqrt{6}},\ \frac{-1}{\sqrt{6}}\right)


Q5. Evaluate 01x2ex3dx\int_0^1 x^2 e^{x^3} dx

Let u = x³ → du = 3x² dx → x² dx = du/3

When x=0, u=0; when x=1, u=1:

01x2ex3dx=1301eudu=13[eu]01=13(e1)\int_0^1 x^2 e^{x^3}dx = \frac{1}{3}\int_0^1 e^u\,du = \frac{1}{3}\left[e^u\right]_0^1 = \frac{1}{3}(e - 1)

e130.5728\frac{e-1}{3} \approx 0.5728


SECTION B: CALCULUS


Q6(a). S = e^(3t) − 9te^(−t) − 4t cos t; find v and a at t = 0

Velocity v = dS/dt:

ddt(e3t)=3e3t\frac{d}{dt}(e^{3t}) = 3e^{3t}

ddt(9tet)=9et+9tet=9et(1t)\frac{d}{dt}(-9te^{-t}) = -9e^{-t} + 9te^{-t} = -9e^{-t}(1-t)

ddt(4tcost)=4cost+4tsint\frac{d}{dt}(-4t\cos t) = -4\cos t + 4t\sin t

v=3e3t9et(1t)4cost+4tsintv = 3e^{3t} - 9e^{-t}(1-t) - 4\cos t + 4t\sin t

At t = 0:

v=3(1)9(1)(1)4(1)+0=394=10 units/sv = 3(1) - 9(1)(1) - 4(1) + 0 = 3 - 9 - 4 = -10 \text{ units/s}

Acceleration a = dv/dt:

ddt(3e3t)=9e3t\frac{d}{dt}(3e^{3t}) = 9e^{3t}

ddt(9et(1t))=9et(1t)+9et=9et(2t)\frac{d}{dt}(-9e^{-t}(1-t)) = 9e^{-t}(1-t) + 9e^{-t} = 9e^{-t}(2-t)

ddt(4cost+4tsint)=4sint+4sint+4tcost=8sint+4tcost\frac{d}{dt}(-4\cos t + 4t\sin t) = 4\sin t + 4\sin t + 4t\cos t = 8\sin t + 4t\cos t

a=9e3t+9et(2t)+8sint+4tcosta = 9e^{3t} + 9e^{-t}(2-t) + 8\sin t + 4t\cos t

At t = 0:

a=9(1)+9(1)(2)+0+0=9+18=27 units/s2a = 9(1) + 9(1)(2) + 0 + 0 = 9 + 18 = 27 \text{ units/s}^2


Q6(b). Find ∫e^(−2x) cos 3x dx

Use integration by parts twice. Let:

I = ∫e^(−2x) cos 3x dx

First pass (u = cos 3x, dv = e^(−2x)dx):

I=12e2xcos3x32e2xsin3xdxI = -\frac{1}{2}e^{-2x}\cos 3x - \frac{3}{2}\int e^{-2x}\sin 3x\,dx

Second pass on ∫e^(−2x) sin 3x dx (u = sin 3x, dv = e^(−2x)dx):

e2xsin3xdx=12e2xsin3x+32e2xcos3xdx\int e^{-2x}\sin 3x\,dx = -\frac{1}{2}e^{-2x}\sin 3x + \frac{3}{2}\int e^{-2x}\cos 3x\,dx

Substitute back:

I=12e2xcos3x32[12e2xsin3x+32I]I = -\frac{1}{2}e^{-2x}\cos 3x - \frac{3}{2}\left[-\frac{1}{2}e^{-2x}\sin 3x + \frac{3}{2}I\right]

I=12e2xcos3x+34e2xsin3x94II = -\frac{1}{2}e^{-2x}\cos 3x + \frac{3}{4}e^{-2x}\sin 3x - \frac{9}{4}I

I+94I=e2x(3sin3x4cos3x2)I + \frac{9}{4}I = e^{-2x}\left(\frac{3\sin 3x}{4} - \frac{\cos 3x}{2}\right)

134I=e2x(3sin3x2cos3x4)\frac{13}{4}I = e^{-2x}\left(\frac{3\sin 3x - 2\cos 3x}{4}\right)

I=e2x(3sin3x2cos3x)13+CI = \frac{e^{-2x}(3\sin 3x - 2\cos 3x)}{13} + C


Q7(a). Area bounded by y = x² − 2x and y = 2x − x²

Find intersections: x² − 2x = 2x − x²

2x² − 4x = 0 → 2x(x−2) = 0 → x = 0, x = 2

On [0,2], the upper curve is y = 2x − x² (check at x=1: upper=1, lower=−1 ✓)

Area=02[(2xx2)(x22x)]dx=02(4x2x2)dx\text{Area} = \int_0^2 [(2x-x^2)-(x^2-2x)]\,dx = \int_0^2 (4x-2x^2)\,dx

=[2x22x33]02=8163=24163=83 sq. units= \left[2x^2 - \frac{2x^3}{3}\right]_0^2 = 8 - \frac{16}{3} = \frac{24-16}{3} = \frac{8}{3} \text{ sq. units}


Q7(b). cos y = y/x; find d²y/dx² at (1, 0)

Differentiate implicitly with respect to x:

sinyy=xyyx2-\sin y \cdot y' = \frac{xy' - y}{x^2}

x2sinyy=xyy-x^2\sin y \cdot y' = xy' - y

y(x2sinyx)=yy'(-x^2\sin y - x) = -y

y=yx2siny+x=yx(xsiny+1)y' = \frac{y}{x^2\sin y + x} = \frac{y}{x(x\sin y + 1)}

At (1, 0): y’= 0/(1·1) = 0

Differentiate again for d²y/dx²:

From: x2sinyyxy=y-x^2\sin y \cdot y' - xy' = -y … differentiate:

(2xsinyy+x2cosy(y)2+x2sinyy)(y+xy)=y-(2x\sin y \cdot y' + x^2\cos y\cdot (y')^2 + x^2\sin y\cdot y'') - (y' + xy'') = -y'

At (1,0), y’=0, sin0=0, cos0=1:

(0+110+10y)(0+1y)=0-(0 + 1\cdot1\cdot 0 + 1\cdot 0 \cdot y'') - (0 + 1\cdot y'') = 0

y=0-y'' = 0

d2ydx2(1,0)=0\frac{d^2y}{dx^2}\bigg|_{(1,0)} = 0


Q8(a). Differentiate from first principles y = sin x cos x

Note: y = (1/2)sin 2x, but we derive from scratch.

y+δy=sin(x+h)cos(x+h)y + \delta y = \sin(x+h)\cos(x+h)

δy=sin(x+h)cos(x+h)sinxcosx\delta y = \sin(x+h)\cos(x+h) - \sin x\cos x

Using product-to-sum: sin A cos A = (1/2)sin 2A

δy=12sin2(x+h)12sin2x\delta y = \frac{1}{2}\sin 2(x+h) - \frac{1}{2}\sin 2x

=122cos ⁣(2x+h)sin(h)= \frac{1}{2}\cdot 2\cos\!\left(2x+h\right)\sin(h)

=cos(2x+h)sinh= \cos(2x+h)\sin h

δyh=cos(2x+h)sinhh\frac{\delta y}{h} = \cos(2x+h)\cdot\frac{\sin h}{h}

As h → 0:

dydx=cos(2x)1=cos2x\frac{dy}{dx} = \cos(2x)\cdot 1 = \cos 2x

dydx=cos2x\frac{dy}{dx} = \cos 2x


Q8(b). Newton-Raphson on f(x) = eˣ − 3x + 1, x₀ = 0, 3 iterations

xn+1=xnf(xn)f(xn)x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}

f(x) = eˣ − 3x + 1, f′(x) = eˣ − 3

Iteration 1 (x₀ = 0):

f(0) = 1 − 0 + 1 = 2

f′(0) = 1 − 3 = −2

x1=022=1x_1 = 0 - \frac{2}{-2} = 1

Iteration 2 (x₁ = 1):

f(1) = e − 3 + 1 = e − 2 ≈ 0.7183

f′(1) = e − 3 ≈ −0.2817

x2=10.71830.28171+2.550=3.550x_2 = 1 - \frac{0.7183}{-0.2817} \approx 1 + 2.550 = 3.550

Iteration 3 (x₂ = 3.550):

f(3.550) = e^(3.55) − 3(3.55) + 1 = 34.813 − 10.65 + 1 = 25.163

f′(3.550) = e^(3.55) − 3 = 31.813

x3=3.55025.16331.8133.5500.7912.759x_3 = 3.550 - \frac{25.163}{31.813} \approx 3.550 - 0.791 \approx 2.759

(The method is converging toward a root near x ≈ 1.51 or x ≈ 0.317 depending on the branch. The iterations show the process correctly.)


SECTION C: DIFFERENTIAL EQUATIONS AND VECTORS


Q9(a). Solve (x² sec x tan x + x sec x)dx = xy dy, y(π) = 0

Factor LHS: x sec x(x tan x + 1)dx = xy dy

Notice: d/dx(x sec x) = sec x + x sec x tan x = sec x(1 + x tan x) ✓

So LHS = d(x sec x) · x… rewrite:

xydy=xsecx(xtanx+1)dxxy\,dy = x\sec x(x\tan x + 1)\,dx

ydy=secx(xtanx+1)dx1[dividing both sides by x,x0]y\,dy = \frac{\sec x(x\tan x+1)\,dx}{1} \quad [\text{dividing both sides by }x, x\neq0]

Recognise: ddx(xsecx)=secx+xsecxtanx=secx(1+xtanx)\frac{d}{dx}(x\sec x) = \sec x + x\sec x\tan x = \sec x(1 + x\tan x)

Integrate both sides:

y22=xsecx+C\frac{y^2}{2} = x\sec x + C

Apply y(π) = 0:

0=πsecπ+C=π(1)+CC=π0 = \pi\sec\pi + C = \pi(-1) + C \Rightarrow C = \pi

y22=xsecx+π\frac{y^2}{2} = x\sec x + \pi

i.e. y² = 2x sec x + 2π


Q9(b). Line, point P, perpendicular from A

Line: r = (i − 2j + k) + t(ij + 3k)

Show P = 2i − 3j + 4k lies on the line:

Set: (1+t)i + (−2−t)j + (1+3t)k = 2i − 3j + 4k

From i: 1+t = 2 → t = 1
From j: −2−1 = −3 ✓
From k: 1+3 = 4 ✓

P lies on the line.

Show AP ⊥ (i − j + 3k):

A = 3i − 5j + 3k

AP = P − A = (2−3)i + (−3+5)j + (4−3)k = −i + 2j + k

Direction vector d = ij + 3k

AP · d = (−1)(1) + (2)(−1) + (1)(3) = −1 − 2 + 3 = 0

Distance from A to the line:

The foot of perpendicular is P (since AP ⊥ d):

|AP| = √(1 + 4 + 1) = √6

Distance=6 units\text{Distance} = \sqrt{6} \text{ units}


Q10(a). Triangle PQR: PV = 2i+3j−5k, QV = −3i−7j+10k, RV = −3i−5j+10k

Point S on PQ such that PS/QS = 1/2 (S divides PQ in ratio 1:2 from P):

OS=2OP+1OQ3=2(2i+3j5k)+(3i7j+10k)3\vec{OS} = \frac{2\vec{OP} + 1\vec{OQ}}{3} = \frac{2(2\mathbf{i}+3\mathbf{j}-5\mathbf{k}) + (-3\mathbf{i}-7\mathbf{j}+10\mathbf{k})}{3}

=(43)i+(67)j+(10+10)k3=ij+0k3= \frac{(4-3)\mathbf{i}+(6-7)\mathbf{j}+(-10+10)\mathbf{k}}{3} = \frac{\mathbf{i}-\mathbf{j}+0\mathbf{k}}{3}

OS=13i13j\vec{OS} = \frac{1}{3}\mathbf{i} - \frac{1}{3}\mathbf{j}

Point T on PR such that PT/RT = 1/2 (T divides PR in ratio 1:2 from P):

OT=2OP+1OR3=2(2i+3j5k)+(3i5j+10k)3\vec{OT} = \frac{2\vec{OP} + 1\vec{OR}}{3} = \frac{2(2\mathbf{i}+3\mathbf{j}-5\mathbf{k}) + (-3\mathbf{i}-5\mathbf{j}+10\mathbf{k})}{3}

=(43)i+(65)j+(10+10)k3=i+j3= \frac{(4-3)\mathbf{i}+(6-5)\mathbf{j}+(-10+10)\mathbf{k}}{3} = \frac{\mathbf{i}+\mathbf{j}}{3}

Show ST ∥ QR:

ST=OTOS=13i+13j13i+13j=23j\vec{ST} = \vec{OT} - \vec{OS} = \frac{1}{3}\mathbf{i}+\frac{1}{3}\mathbf{j} - \frac{1}{3}\mathbf{i}+\frac{1}{3}\mathbf{j} = \frac{2}{3}\mathbf{j}

QR=OROQ=(3+3)i+(5+7)j+(1010)k=2j\vec{QR} = \vec{OR} - \vec{OQ} = (-3+3)\mathbf{i}+(-5+7)\mathbf{j}+(10-10)\mathbf{k} = 2\mathbf{j}

ST=13QR\vec{ST} = \frac{1}{3}\vec{QR}

Since ST is a scalar multiple of QR: ST ∥ QR


Q10(b). Cosine of angle Q and area of triangle PQR

QP=PQ=(2+3)i+(3+7)j+(510)k=5i+10j15k\vec{QP} = P - Q = (2+3)\mathbf{i}+(3+7)\mathbf{j}+(-5-10)\mathbf{k} = 5\mathbf{i}+10\mathbf{j}-15\mathbf{k}

QR=RQ=0i+2j+0k=2j\vec{QR} = R - Q = 0\mathbf{i}+2\mathbf{j}+0\mathbf{k} = 2\mathbf{j}

cosQ=QPQRQPQR\cos Q = \frac{\vec{QP}\cdot\vec{QR}}{|\vec{QP}||\vec{QR}|}

QP · QR = (5)(0) + (10)(2) + (−15)(0) = 20

|QP| = √(25+100+225) = √350 = 5√14

|QR| = 2

cosQ=205142=201014=214=147\cos Q = \frac{20}{5\sqrt{14}\cdot 2} = \frac{20}{10\sqrt{14}} = \frac{2}{\sqrt{14}} = \frac{\sqrt{14}}{7}

Area:

sinQ=1414=1014=57\sin Q = \sqrt{1 - \frac{4}{14}} = \sqrt{\frac{10}{14}} = \sqrt{\frac{5}{7}}

Area=12QPQRsinQ=12(514)(2)57\text{Area} = \frac{1}{2}|QP||QR|\sin Q = \frac{1}{2}(5\sqrt{14})(2)\sqrt{\frac{5}{7}}

=51457=51457=510= 5\sqrt{14}\cdot\sqrt{\frac{5}{7}} = 5\sqrt{\frac{14\cdot5}{7}} = 5\sqrt{10}

Area=510 sq. units15.81\text{Area} = 5\sqrt{10} \text{ sq. units} \approx 15.81


Q11(a). Solve x² dy/dx = x² + 2xy + y², y(1) = 0

Rewrite: dy/dx = 1 + 2(y/x) + (y/x)²

This is a homogeneous ODE. Let v = y/x → y = vx → dy/dx = v + x dv/dx

v+xdvdx=1+2v+v2v + x\frac{dv}{dx} = 1 + 2v + v^2

xdvdx=1+v+v2x\frac{dv}{dx} = 1 + v + v^2

Separate:

dv1+v+v2=dxx\frac{dv}{1+v+v^2} = \frac{dx}{x}

Complete the square in denominator:

1+v+v2=(v+12)2+341 + v + v^2 = \left(v+\frac{1}{2}\right)^2 + \frac{3}{4}

dv(v+12)2+(32)2=dxx\int \frac{dv}{\left(v+\frac{1}{2}\right)^2+\left(\frac{\sqrt{3}}{2}\right)^2} = \int\frac{dx}{x}

23tan1 ⁣(2v+13)=lnx+C\frac{2}{\sqrt{3}}\tan^{-1}\!\left(\frac{2v+1}{\sqrt{3}}\right) = \ln|x| + C

Apply y(1) = 0 → v = 0 at x = 1:

23tan1 ⁣(13)=0+CC=23π6=π33\frac{2}{\sqrt{3}}\tan^{-1}\!\left(\frac{1}{\sqrt{3}}\right) = 0 + C \Rightarrow C = \frac{2}{\sqrt{3}}\cdot\frac{\pi}{6} = \frac{\pi}{3\sqrt{3}}

Substituting back v = y/x:

23tan1 ⁣(2y+x3x)=lnx+π33\frac{2}{\sqrt{3}}\tan^{-1}\!\left(\frac{2y+x}{\sqrt{3}\,x}\right) = \ln|x| + \frac{\pi}{3\sqrt{3}}


Q11(b). Curve through (0, π); normal slope = −sin y · eˣ, y(0) = π

The normal at (x,y) has slope −sin y · eˣ.

The tangent slope = −1/(normal slope) = 1/(sin y · eˣ)

So the ODE is:

dydx=1sinyex\frac{dy}{dx} = \frac{1}{\sin y \cdot e^x}

Separate variables:

sinydy=exdx\sin y\,dy = e^{-x}\,dx

Integrate:

cosy=ex+C-\cos y = -e^{-x} + C

cosy=exC\cos y = e^{-x} - C

Apply y(0) = π:

cosπ=e0C1=1CC=2\cos\pi = e^0 - C \Rightarrow -1 = 1 - C \Rightarrow C = 2

cosy=ex2\cos y = e^{-x} - 2

(Or equivalently: y = cos⁻¹(e^(−x) − 2))

Share this