Skip to main content

KIX1001 2021/2022 Semester 1

Paper details

Academic session 2021/2022, Semester 1 · February 2022 · 4 questions and 1 appendix · 7 printed pages · 2 hours. Answer all questions. Questions are reproduced in English from the bilingual original. Solutions are worked in full; numbers are given to a sensible precision.

Reference only — these are not official answers

These solutions are revision aids, not examiner answers. They were produced with the help of a large language model and then checked, but an LLM can still be wrong: expect the occasional arithmetic slip, a different method than your lecturer's, or a misreading of the printed question. The question wording is reproduced by hand from a scan of the original paper, so it too may differ in small ways from what was printed.

Use this page as a worked suggestion to check, not as ground truth. Always compare against the original paper (linked above) and your own lecture notes, and if something here disagrees with your lecturer, trust your lecturer. Marks shown are the paper's allocations, not a marking scheme.

Question 1​

Question 1(a) (5 marks)​

Question

The engineering discipline of piping design studies the efficient transport of fluid. You are required to design a stable pipe that can hold 200 litres of fluid at a time. Assuming that it is a closed ended pipe at both ends, determine the dimensions (radius and height in cm) of the pipe that will minimize the amount of material used to construct the pipe with justification.

Figure 1: a closed-ended pipe of radius r and height (length) h
Solution

Let the pipe be a right circular cylinder of radius rr cm and height (length) hh cm.

Step 1 — Write down the constraint. The pipe must hold 200 litres of fluid, and 1 litre=1000 cm31 \ \text{litre} = 1000 \ \text{cm}^3, so

V=πr2h=200×1000=200 000 cm3⟹h=200 000πr2.V = \pi r^{2} h = 200 \times 1000 = 200\,000 \ \text{cm}^3 \quad\Longrightarrow\quad h = \frac{200\,000}{\pi r^{2}}.

Step 2 — Write the quantity to be minimized. "Amount of material" is the surface area of the metal sheet, and the pipe is closed at both ends, so it has two circular end caps plus the curved wall:

S=2πr2+2πrh.S = 2\pi r^{2} + 2\pi r h.

Substitute hh from the constraint to get a function of the single variable rr:

S(r)=2πr2+2πr⋅200 000πr2=2πr2+400 000r.S(r) = 2\pi r^{2} + 2\pi r \cdot \frac{200\,000}{\pi r^{2}} = 2\pi r^{2} + \frac{400\,000}{r}.

Step 3 — Minimize. Differentiate with respect to rr and set the derivative to zero:

dSdr=4πr−400 000r2=0⟹4πr=400 000r2⟹r3=100 000π.\frac{dS}{dr} = 4\pi r - \frac{400\,000}{r^{2}} = 0 \quad\Longrightarrow\quad 4\pi r = \frac{400\,000}{r^{2}} \quad\Longrightarrow\quad r^{3} = \frac{100\,000}{\pi}.

Hence

r=(100 000π)1/3≈31.69 cm.r = \left(\frac{100\,000}{\pi}\right)^{1/3} \approx 31.69 \ \text{cm}.

Step 4 — Justify that this is a minimum. The second derivative is

d2Sdr2=4π+800 000r3>0for all r>0,\frac{d^{2}S}{dr^{2}} = 4\pi + \frac{800\,000}{r^{3}} > 0 \quad \text{for all } r > 0,

so SS is convex on r>0r > 0 and the stationary point found is the global minimum (the function tends to +∞+\infty as r→0+r \to 0^{+} and as r→∞r \to \infty, so there is no boundary minimum).

Step 5 — Recover hh.

h=200 000πr2=200 000π(100 000/π)2/3=2(100 000π)1/3=2r≈63.38 cm.h = \frac{200\,000}{\pi r^{2}} = \frac{200\,000}{\pi \left(100\,000/\pi\right)^{2/3}} = 2\left(\frac{100\,000}{\pi}\right)^{1/3} = 2r \approx 63.38 \ \text{cm}.

The minimum material is

Smin⁡=2πr2+400 000r≈2π(31.69)2+400 00031.69≈6310+12 622≈18 932 cm2.S_{\min} = 2\pi r^{2} + \frac{400\,000}{r} \approx 2\pi(31.69)^{2} + \frac{400\,000}{31.69} \approx 6310 + 12\,622 \approx 18\,932 \ \text{cm}^{2}.

So the optimum closed pipe is one whose height equals its diameter, h=2rh = 2r.

Answer: r=(100 000π)1/3≈31.7r = \left(\dfrac{100\,000}{\pi}\right)^{1/3} \approx 31.7 cm and h=2r≈63.4h = 2r \approx 63.4 cm (minimum material Smin⁡≈1.89×104S_{\min} \approx 1.89 \times 10^{4} cm2^{2}).


Question 1(b) (3 marks)​

Question

The torsional rigidity of a length of a cable is calculated using the formula N=8πEIt2r4N = \dfrac{8\pi E I}{t^{2} r^{4}}. If II is decreased by 2%, rr is increased by 1.5%, tt is increased by 1.5%. Can the cable still be used if the allowable limit for reduction in the torsional rigidity of a cable is 15%?

Solution

Method — small-change (logarithmic differentiation) error analysis. Take natural logarithms of the formula to turn the products and powers into a sum:

ln⁡N=ln⁡(8πE)+ln⁡I−2ln⁡t−4ln⁡r.\ln N = \ln(8\pi E) + \ln I - 2\ln t - 4\ln r .

Differentiating gives the fractional (percentage) change relation

δNN=δII−2 δtt−4 δrr.\frac{\delta N}{N} = \frac{\delta I}{I} - 2\,\frac{\delta t}{t} - 4\,\frac{\delta r}{r}.

Now insert the stated small changes:

QuantityChangeFractional change
IIdecreased by 2%δI/I=−0.02\delta I / I = -0.02
rrincreased by 1.5%δr/r=+0.015\delta r / r = +0.015
ttincreased by 1.5%δt/t=+0.015\delta t / t = +0.015
δNN=−0.02−2(0.015)−4(0.015)=−0.02−0.03−0.06=−0.11.\frac{\delta N}{N} = -0.02 - 2(0.015) - 4(0.015) = -0.02 - 0.03 - 0.06 = -0.11 .

So the torsional rigidity falls by 11%, i.e. NN becomes 0.89N0.89N.

The allowable limit for the reduction is 15%, and

11%<15%,11\% < 15\%,

so the loss of torsional rigidity is within the permitted limit and the cable may still be used.

Answer: δNN=−11%\dfrac{\delta N}{N} = -11\%, a reduction of 11% which is smaller than the allowable 15%, so yes — the cable can still be used.


Question 1(c) (7 marks)​

Question

A conical-shaped exhaust product has the height hh and the semi-vertical angle α\alpha as shown in Figure 2. The total area AA, including the base is calculated. If during manufacturing of the product, hh and α\alpha are in error by small quantities δh\delta h and δα\delta \alpha respectively, find the corresponding error in the area. Show that if α=π/6\alpha = \pi/6, an error of 1% in hh will approximately compensated by an error of −0.33∘-0.33^{\circ} in α\alpha. [Hint: area of curved surface =πrl= \pi r l, where ll is the curved length]

Figure 2: cone of height h, semi-vertical angle alpha, base radius r = h tan alpha, slant length l
Solution

Step 1 — Express the geometry through hh and α\alpha. From the right-angled triangle in Figure 2 (apex AA, centre of base DD, rim CC):

r=htan⁡α,l=hcos⁡α=hsec⁡α.r = h\tan\alpha, \qquad l = \frac{h}{\cos\alpha} = h\sec\alpha .

Step 2 — Write the total area (curved surface + base).

A=πrl+πr2=π(htan⁡α)(hsec⁡α)+π(htan⁡α)2,A = \pi r l + \pi r^{2} = \pi (h\tan\alpha)(h\sec\alpha) + \pi (h\tan\alpha)^{2},A(h,α)=πh2tan⁡α sec⁡α+πh2tan⁡2α=πh2tan⁡α (sec⁡α+tan⁡α).A(h,\alpha) = \pi h^{2}\tan\alpha\,\sec\alpha + \pi h^{2}\tan^{2}\alpha = \pi h^{2}\tan\alpha\,(\sec\alpha + \tan\alpha).

Step 3 — Apply the total differential (small-error) formula.

δA≈∂A∂h δh+∂A∂α δα.\delta A \approx \frac{\partial A}{\partial h}\,\delta h + \frac{\partial A}{\partial \alpha}\,\delta\alpha .

Differentiate with respect to hh (treating α\alpha as constant):

∂A∂h=2πhtan⁡α(sec⁡α+tan⁡α)=2Ah.\frac{\partial A}{\partial h} = 2\pi h\tan\alpha(\sec\alpha + \tan\alpha) = \frac{2A}{h}.

Differentiate with respect to α\alpha (treating hh as constant), using ddα(tan⁡αsec⁡α)=sec⁡3α+sec⁡αtan⁡2α\frac{d}{d\alpha}(\tan\alpha\sec\alpha) = \sec^{3}\alpha + \sec\alpha\tan^{2}\alpha and ddα(tan⁡2α)=2tan⁡αsec⁡2α\frac{d}{d\alpha}(\tan^{2}\alpha) = 2\tan\alpha\sec^{2}\alpha:

∂A∂α=πh2(sec⁡3α+sec⁡αtan⁡2α+2tan⁡αsec⁡2α)=πh2(1+sin⁡α)2cos⁡3α.\frac{\partial A}{\partial \alpha} = \pi h^{2}\left(\sec^{3}\alpha + \sec\alpha\tan^{2}\alpha + 2\tan\alpha\sec^{2}\alpha\right) = \frac{\pi h^{2}(1 + \sin\alpha)^{2}}{\cos^{3}\alpha}.

Therefore the error in the area is

 δA≈2πhtan⁡α(sec⁡α+tan⁡α) δh+πh2(1+sin⁡α)2cos⁡3α δα \boxed{\ \delta A \approx 2\pi h\tan\alpha(\sec\alpha + \tan\alpha)\,\delta h + \frac{\pi h^{2}(1+\sin\alpha)^{2}}{\cos^{3}\alpha}\,\delta\alpha\ }

Step 4 — Specialize to α=π/6\alpha = \pi/6. Here

tan⁡π6=13,sec⁡π6=23,cos⁡π6=32,sin⁡π6=12.\tan\frac{\pi}{6} = \frac{1}{\sqrt{3}}, \qquad \sec\frac{\pi}{6} = \frac{2}{\sqrt{3}}, \qquad \cos\frac{\pi}{6} = \frac{\sqrt{3}}{2}, \qquad \sin\frac{\pi}{6} = \frac{1}{2}.tan⁡α(sec⁡α+tan⁡α)=13(23+13)=13⋅33=1⟹A=πh2,\tan\alpha(\sec\alpha + \tan\alpha) = \frac{1}{\sqrt{3}}\left(\frac{2}{\sqrt{3}} + \frac{1}{\sqrt{3}}\right) = \frac{1}{\sqrt{3}}\cdot\frac{3}{\sqrt{3}} = 1 \quad\Longrightarrow\quad A = \pi h^{2},∂A∂h∣α=π/6=2πh(1)=2πh,\frac{\partial A}{\partial h}\Big|_{\alpha = \pi/6} = 2\pi h(1) = 2\pi h,∂A∂α∣α=π/6=πh2(1+12)2(32)3=πh2(94)338=9πh24⋅833=23 πh2.\frac{\partial A}{\partial \alpha}\Big|_{\alpha = \pi/6} = \frac{\pi h^{2}\left(1 + \tfrac{1}{2}\right)^{2}}{\left(\tfrac{\sqrt{3}}{2}\right)^{3}} = \frac{\pi h^{2}\left(\tfrac{9}{4}\right)}{\tfrac{3\sqrt{3}}{8}} = \frac{9\pi h^{2}}{4}\cdot\frac{8}{3\sqrt{3}} = 2\sqrt{3}\,\pi h^{2}.

Step 5 — Compensation condition. A 1% error in hh means δh=0.01h\delta h = 0.01h, so

δA=2πh(0.01h)+23πh2 δα=0.02πh2+23πh2 δα.\delta A = 2\pi h(0.01h) + 2\sqrt{3}\pi h^{2}\,\delta\alpha = 0.02\pi h^{2} + 2\sqrt{3}\pi h^{2}\,\delta\alpha .

For this to be approximately compensated we require δA=0\delta A = 0:

0.02πh2+23πh2 δα=0⟹δα=−0.0223=−0.013 rad.0.02\pi h^{2} + 2\sqrt{3}\pi h^{2}\,\delta\alpha = 0 \quad\Longrightarrow\quad \delta\alpha = -\frac{0.02}{2\sqrt{3}} = -\frac{0.01}{\sqrt{3}} \ \text{rad}.

Convert to degrees:

δα=−0.013×180π≈−0.005773×57.296≈−0.3308∘≈−0.33∘.\delta\alpha = -\frac{0.01}{\sqrt{3}} \times \frac{180}{\pi} \approx -0.005773 \times 57.296 \approx -0.3308^{\circ} \approx -0.33^{\circ}.

This is exactly the stated result: at α=π/6\alpha = \pi/6 a +1%+1\% error in the height is compensated (to first order) by an error of about −0.33∘-0.33^{\circ} in the semi-vertical angle.

Answer: δA≈2Ah δh+23 πh2 δα\delta A \approx \dfrac{2A}{h}\,\delta h + 2\sqrt{3}\,\pi h^{2}\,\delta\alpha at α=π/6\alpha = \pi/6, and the compensating angular error is δα=−0.013\delta\alpha = -\dfrac{0.01}{\sqrt{3}} rad ≈−0.33∘\approx -0.33^{\circ}.


Question 2​

Question 2(a) (7 marks)​

Question

Given that matrix A=(200045043)A = \begin{pmatrix} 2 & 0 & 0 \\ 0 & 4 & 5 \\ 0 & 4 & 3 \end{pmatrix} can be diagonalized. Find the matrix that will diagonalize matrix AA if the diagonal matrix is (−100020008)\begin{pmatrix} -1 & 0 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 8 \end{pmatrix}.

Solution

Method. The matrix PP that diagonalizes AA has the eigenvectors of AA as its columns, ordered to match the given diagonal matrix D=diag⁡(−1, 2, 8)D = \operatorname{diag}(-1,\,2,\,8); then P−1AP=DP^{-1}AP = D, i.e. A=PDP−1A = PDP^{-1}.

Step 1 — Confirm the eigenvalues. Expand the characteristic determinant along the first row and factorise:

det⁡(A−λI)=(2−λ)[(4−λ)(3−λ)−20]=(2−λ)(λ2−7λ−8)=(2−λ)(λ−8)(λ+1).\det(A - \lambda I) = (2-\lambda)\left[(4-\lambda)(3-\lambda) - 20\right] = (2-\lambda)(\lambda^{2} - 7\lambda - 8) = (2-\lambda)(\lambda - 8)(\lambda + 1).

So λ=2, 8, −1\lambda = 2,\ 8,\ -1, which agrees with the given DD.

Step 2 — Eigenvector for λ=−1\lambda = -1 (first column of PP). Solve (A+I)x=0(A + I)\mathbf{x} = \mathbf{0}:

(300055044)(x1x2x3)=0⟹x1=0,x2+x3=0.\begin{pmatrix} 3 & 0 & 0 \\ 0 & 5 & 5 \\ 0 & 4 & 4 \end{pmatrix} \begin{pmatrix} x_{1} \\ x_{2} \\ x_{3} \end{pmatrix} = \mathbf{0} \quad\Longrightarrow\quad x_{1} = 0,\quad x_{2} + x_{3} = 0 .

Choose x2=1x_{2} = 1, x3=−1x_{3} = -1:

v1=(01−1).\mathbf{v}_{1} = \begin{pmatrix} 0 \\ 1 \\ -1 \end{pmatrix}.

Step 3 — Eigenvector for λ=2\lambda = 2 (second column of PP). Solve (A−2I)x=0(A - 2I)\mathbf{x} = \mathbf{0}:

(000025041)(x1x2x3)=0⟹2x2+5x3=0,4x2+x3=0.\begin{pmatrix} 0 & 0 & 0 \\ 0 & 2 & 5 \\ 0 & 4 & 1 \end{pmatrix} \begin{pmatrix} x_{1} \\ x_{2} \\ x_{3} \end{pmatrix} = \mathbf{0} \quad\Longrightarrow\quad 2x_{2} + 5x_{3} = 0,\quad 4x_{2} + x_{3} = 0 .

The last two equations force x2=x3=0x_{2} = x_{3} = 0, while x1x_{1} is free. Choose x1=1x_{1} = 1:

v2=(100).\mathbf{v}_{2} = \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}.

Step 4 — Eigenvector for λ=8\lambda = 8 (third column of PP). Solve (A−8I)x=0(A - 8I)\mathbf{x} = \mathbf{0}:

(−6000−4504−5)(x1x2x3)=0⟹x1=0,−4x2+5x3=0.\begin{pmatrix} -6 & 0 & 0 \\ 0 & -4 & 5 \\ 0 & 4 & -5 \end{pmatrix} \begin{pmatrix} x_{1} \\ x_{2} \\ x_{3} \end{pmatrix} = \mathbf{0} \quad\Longrightarrow\quad x_{1} = 0,\quad -4x_{2} + 5x_{3} = 0 .

Choose x2=5x_{2} = 5, x3=4x_{3} = 4:

v3=(054).\mathbf{v}_{3} = \begin{pmatrix} 0 \\ 5 \\ 4 \end{pmatrix}.

Step 5 — Assemble PP and verify. Taking the eigenvectors in the order −1, 2, 8-1,\,2,\,8 to match DD:

P=(010105−104).P = \begin{pmatrix} 0 & 1 & 0 \\ 1 & 0 & 5 \\ -1 & 0 & 4 \end{pmatrix}.

Check each column: Av1=−v1A\mathbf{v}_{1} = -\mathbf{v}_{1}, Av2=2v2A\mathbf{v}_{2} = 2\mathbf{v}_{2}, Av3=(0, 40, 32)T=8v3A\mathbf{v}_{3} = (0,\,40,\,32)^{T} = 8\mathbf{v}_{3}. ✓

The inverse (from det⁡P=−9\det P = -9 and the adjoint) is

P−1=(049−5910001919),P^{-1} = \begin{pmatrix} 0 & \tfrac{4}{9} & -\tfrac{5}{9} \\[2pt] 1 & 0 & 0 \\[2pt] 0 & \tfrac{1}{9} & \tfrac{1}{9} \end{pmatrix},

and indeed

PDP−1=(010105−104)(−100020008)(049−5910001919)=(200045043)=A. ✓PDP^{-1} = \begin{pmatrix} 0 & 1 & 0 \\ 1 & 0 & 5 \\ -1 & 0 & 4 \end{pmatrix} \begin{pmatrix} -1 & 0 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 8 \end{pmatrix} \begin{pmatrix} 0 & \tfrac{4}{9} & -\tfrac{5}{9} \\ 1 & 0 & 0 \\ 0 & \tfrac{1}{9} & \tfrac{1}{9} \end{pmatrix} = \begin{pmatrix} 2 & 0 & 0 \\ 0 & 4 & 5 \\ 0 & 4 & 3 \end{pmatrix} = A. \ \checkmark

Answer: P=(010105−104)P = \begin{pmatrix} 0 & 1 & 0 \\ 1 & 0 & 5 \\ -1 & 0 & 4 \end{pmatrix} diagonalizes AA, with P−1=(04/9−5/910001/91/9)P^{-1} = \begin{pmatrix} 0 & 4/9 & -5/9 \\ 1 & 0 & 0 \\ 0 & 1/9 & 1/9 \end{pmatrix} and A=PDP−1A = PDP^{-1} where D=diag⁡(−1, 2, 8)D = \operatorname{diag}(-1,\,2,\,8).


Question 2(b) (8 marks)​

Question

A software developer company would like to invest in three new projects, namely projects A, B and C, which are expected to give 5%, 10% and 10% rates of return respectively. However, based on market preference, the company also decides that the amount invested for project B has to be twice the amount invested for project C. If the total investment amount and the total return for all three projects are 27500 and 2500 respectively, determine the amount invested for each project using the Cramer's method.

Solution

Step 1 — Set up the system of linear equations. Let xx, yy and zz be the amounts (in the same currency units) invested in projects A, B and C.

Total investment:

x+y+z=27 500.x + y + z = 27\,500.

Total return (5% of xx plus 10% of yy plus 10% of zz equals 2500):

0.05x+0.10y+0.10z=2500.0.05x + 0.10y + 0.10z = 2500 .

Market-preference condition (B is twice C):

y=2z⟹y−2z=0.y = 2z \quad\Longrightarrow\quad y - 2z = 0 .

To keep integer entries, multiply the return equation by 100:

5x+10y+10z=250 000.5x + 10y + 10z = 250\,000 .

In matrix form Mu=bM\mathbf{u} = \mathbf{b} with u=(x, y, z)T\mathbf{u} = (x,\,y,\,z)^{T}:

(1115101001−2)(xyz)=(27 500250 0000).\begin{pmatrix} 1 & 1 & 1 \\ 5 & 10 & 10 \\ 0 & 1 & -2 \end{pmatrix} \begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} 27\,500 \\ 250\,000 \\ 0 \end{pmatrix}.

Step 2 — Determinant of the coefficient matrix (Cramer's denominator).

det⁡M=∣1115101001−2∣=1[10(−2)−10(1)]−1[5(−2)−10(0)]+1[5(1)−10(0)]=1(−30)−1(−10)+1(5)=−30+10+5=−15≠0.\begin{aligned} \det M &= \begin{vmatrix} 1 & 1 & 1 \\ 5 & 10 & 10 \\ 0 & 1 & -2 \end{vmatrix} = 1\bigl[10(-2) - 10(1)\bigr] - 1\bigl[5(-2) - 10(0)\bigr] + 1\bigl[5(1) - 10(0)\bigr]\\ &= 1(-30) - 1(-10) + 1(5) = -30 + 10 + 5 = -15 \ne 0 . \end{aligned}

Since det⁡M≠0\det M \ne 0 the system has a unique solution and Cramer's rule applies.

Step 3 — Solve for xx (replace column 1 by b\mathbf{b}):

det⁡Mx=∣27 50011250 000101001−2∣=27 500(−30)−1(−500 000)+1(250 000)=−825 000+500 000+250 000=−75 000,\det M_{x} = \begin{vmatrix} 27\,500 & 1 & 1 \\ 250\,000 & 10 & 10 \\ 0 & 1 & -2 \end{vmatrix} = 27\,500(-30) - 1(-500\,000) + 1(250\,000) = -825\,000 + 500\,000 + 250\,000 = -75\,000,x=det⁡Mxdet⁡M=−75 000−15=5000.x = \frac{\det M_{x}}{\det M} = \frac{-75\,000}{-15} = 5000 .

Step 4 — Solve for yy (replace column 2 by b\mathbf{b}). Expanding along the third row (only the entry −2-2 survives):

det⁡My=∣127 50015250 0001000−2∣=(−2) (+1)∣127 5005250 000∣=−2 (250 000−137 500)=−225 000,\det M_{y} = \begin{vmatrix} 1 & 27\,500 & 1 \\ 5 & 250\,000 & 10 \\ 0 & 0 & -2 \end{vmatrix} = (-2)\,(+1)\begin{vmatrix} 1 & 27\,500 \\ 5 & 250\,000 \end{vmatrix} = -2\,(250\,000 - 137\,500) = -225\,000,y=det⁡Mydet⁡M=−225 000−15=15 000.y = \frac{\det M_{y}}{\det M} = \frac{-225\,000}{-15} = 15\,000 .

Step 5 — Solve for zz (replace column 3 by b\mathbf{b}):

det⁡Mz=∣1127 500510250 000010∣=(1)(−1)3+2∣127 5005250 000∣=−(250 000−137 500)=−112 500,\det M_{z} = \begin{vmatrix} 1 & 1 & 27\,500 \\ 5 & 10 & 250\,000 \\ 0 & 1 & 0 \end{vmatrix} = (1)(-1)^{3+2}\begin{vmatrix} 1 & 27\,500 \\ 5 & 250\,000 \end{vmatrix} = -(250\,000 - 137\,500) = -112\,500,z=det⁡Mzdet⁡M=−112 500−15=7500.z = \frac{\det M_{z}}{\det M} = \frac{-112\,500}{-15} = 7500 .

Step 6 — Check. 5000+15 000+7500=27 5005000 + 15\,000 + 7500 = 27\,500 ✓ and 0.05(5000)+0.10(15 000)+0.10(7500)=250+1500+750=25000.05(5000) + 0.10(15\,000) + 0.10(7500) = 250 + 1500 + 750 = 2500 ✓, with y=15 000=2(7500)=2zy = 15\,000 = 2(7500) = 2z ✓.

Answer: Project A: 50005000, Project B: 15 00015\,000, Project C: 75007500 (so x=5000x = 5000, y=15 000y = 15\,000, z=7500z = 7500).


Question 3​

Question 3(i) (5 marks)​

Question

A spring of original length l0l_{0} has a mass mm attached to it and a dashpot damping the motion. It is subject to a force f(t)f(t) forcing the motion as shown in Figure 4.

Figure 4: mass m on a spring of natural length l0 with a dashpot damper, driven by a force f(t)

The input to this system is the forcing function, f(t)f(t) and the output is the displacement of the spring from its original length, x(t)x(t). The system is satisfying the equation 1:

md2xdt2+rdxdt+kx=f(t)(1)m\frac{d^{2}x}{dt^{2}} + r\frac{dx}{dt} + kx = f(t) \tag{1}

(i) Find all the possible complementary solutions for the displacement of the spring after time tt. Let λ=root\lambda = \text{root} in the calculation.

Solution

Method. The complementary solution xc(t)x_{c}(t) is the general solution of the homogeneous equation obtained by putting f(t)=0f(t) = 0. Try the exponential trial solution x=eλtx = e^{\lambda t}, which converts the ODE into the auxiliary (characteristic) equation

mλ2+rλ+k=0⟹λ=−r±r2−4mk2m.m\lambda^{2} + r\lambda + k = 0 \quad\Longrightarrow\quad \lambda = \frac{-r \pm \sqrt{r^{2} - 4mk}}{2m}.

The form of xcx_{c} is decided by the sign of the discriminant Δ=r2−4mk\Delta = r^{2} - 4mk.

Case 1 — Two distinct real roots: r2>4mkr^{2} > 4mk (overdamped).

λ1=−r+r2−4mk2m,λ2=−r−r2−4mk2m,\lambda_{1} = \frac{-r + \sqrt{r^{2} - 4mk}}{2m}, \qquad \lambda_{2} = \frac{-r - \sqrt{r^{2} - 4mk}}{2m},xc(t)=C1eλ1t+C2eλ2t.x_{c}(t) = C_{1}e^{\lambda_{1} t} + C_{2}e^{\lambda_{2} t}.

Case 2 — One repeated real root: r2=4mkr^{2} = 4mk (critically damped).

λ1=λ2=λ=−r2m,\lambda_{1} = \lambda_{2} = \lambda = -\frac{r}{2m},

and the second independent solution is teλtt e^{\lambda t}, so

xc(t)=(C1+C2t) e−rt/(2m).x_{c}(t) = (C_{1} + C_{2}t)\,e^{-rt/(2m)}.

Case 3 — Complex conjugate roots: r2<4mkr^{2} < 4mk (underdamped). Writing

λ=−r2m±iω,ω=4mk−r22m (>0),\lambda = -\frac{r}{2m} \pm i\omega, \qquad \omega = \frac{\sqrt{4mk - r^{2}}}{2m} \ (> 0),

Euler's formula gives the real form

xc(t)=e−rt/(2m)(C1cos⁡ωt+C2sin⁡ωt).x_{c}(t) = e^{-rt/(2m)}\left(C_{1}\cos\omega t + C_{2}\sin\omega t\right).

In every case C1C_{1} and C2C_{2} are arbitrary constants fixed by the initial displacement x(0)x(0) and initial velocity x′(0)x'(0).

Answer: With λ=−r±r2−4mk2m\lambda = \dfrac{-r \pm \sqrt{r^{2} - 4mk}}{2m}: if r2>4mkr^{2} > 4mk, xc=C1eλ1t+C2eλ2tx_{c} = C_{1}e^{\lambda_{1}t} + C_{2}e^{\lambda_{2}t}; if r2=4mkr^{2} = 4mk, xc=(C1+C2t)e−rt/(2m)x_{c} = (C_{1} + C_{2}t)e^{-rt/(2m)}; if r2<4mkr^{2} < 4mk, xc=e−rt/(2m)(C1cos⁡ωt+C2sin⁡ωt)x_{c} = e^{-rt/(2m)}\left(C_{1}\cos\omega t + C_{2}\sin\omega t\right) with ω=4mk−r22m\omega = \dfrac{\sqrt{4mk - r^{2}}}{2m}.


Question 3(ii) (2 marks)​

Question

Based on the result in part b(i), design the value of rr for repeated root case so that displacement can be minimized, if mm and kk are given as 2 and 2048 respectively. Hence, find the complementary solution. Note: r>0r > 0.

Solution

Step 1 — Impose the repeated-root condition. A repeated root occurs when the discriminant vanishes:

r2−4mk=0⟹r=4mk=2mk.r^{2} - 4mk = 0 \quad\Longrightarrow\quad r = \sqrt{4mk} = 2\sqrt{mk}.

With m=2m = 2 and k=2048k = 2048:

r=2(2)(2048)=24096=2(64)=128.r = 2\sqrt{(2)(2048)} = 2\sqrt{4096} = 2(64) = 128 .

(We take r=+128r = +128 since r>0r > 0.)

Step 2 — Why this design minimizes the displacement. This is the critically damped case. Because the discriminant is zero there is no oscillation and no overshoot: the displacement decays to zero monotonically, and of all non-oscillatory choices it decays fastest. If r<2mkr < 2\sqrt{mk} (underdamped) the mass oscillates about equilibrium, and if r>2mkr > 2\sqrt{mk} (overdamped) the extra damping slows the return. Hence the repeated-root (critical) value minimizes the displacement over time.

Step 3 — Complementary solution. The repeated root is

λ=−r2m=−1282(2)=−32.\lambda = -\frac{r}{2m} = -\frac{128}{2(2)} = -32 .

Therefore

xc(t)=(C1+C2t)e−32t.x_{c}(t) = (C_{1} + C_{2}t)e^{-32t}.

Answer: r=2mk=128r = 2\sqrt{mk} = 128, giving the repeated root λ=−32\lambda = -32 and xc(t)=(C1+C2t)e−32tx_{c}(t) = (C_{1} + C_{2}t)e^{-32t}.


Question 3(iii) (8 marks)​

Question

Hence, solve the total displacement solution for the designed parameters (mm, rr, and kk) in part b(ii) if f(t)=tetf(t) = te^{t}. Then, estimate x(t)x(t) when t=10t = 10.

Solution

Step 1 — Write the equation for the designed parameters. With m=2m = 2, r=128r = 128 and k=2048k = 2048, equation (1) becomes

2d2xdt2+128dxdt+2048x=tet.2\frac{d^{2}x}{dt^{2}} + 128\frac{dx}{dt} + 2048x = te^{t}.

The total solution is x(t)=xc(t)+xp(t)x(t) = x_{c}(t) + x_{p}(t), where xc(t)=(C1+C2t)e−32tx_{c}(t) = (C_{1} + C_{2}t)e^{-32t} from part (ii).

Step 2 — Choose the trial particular integral. The right-hand side is tette^{t}, and ete^{t} is not a root of the auxiliary equation (λ=−32\lambda = -32), so use the undetermined-coefficients form

xp(t)=(at+b)et.x_{p}(t) = (at + b)e^{t}.

Then

xp′=(at+b+a)et,xp′′=(at+b+2a)et.x_{p}' = (at + b + a)e^{t}, \qquad x_{p}'' = (at + b + 2a)e^{t}.

Step 3 — Substitute and match coefficients.

2xp′′+128xp′+2048xp=[2(at+b+2a)+128(at+b+a)+2048(at+b)]et=[2178 at+(2178b+132a)]et=!tet.\begin{aligned} 2x_{p}'' + 128x_{p}' + 2048x_{p} &= \bigl[2(at + b + 2a) + 128(at + b + a) + 2048(at + b)\bigr]e^{t}\\ &= \bigl[2178\,at + (2178b + 132a)\bigr]e^{t} \stackrel{!}{=} te^{t}. \end{aligned}

Comparing coefficients of tt and of the constant term:

2178a=1⟹a=12178,2178a = 1 \quad\Longrightarrow\quad a = \frac{1}{2178},2178b+132a=0⟹b=−1322178a=−13221782=−135937.2178b + 132a = 0 \quad\Longrightarrow\quad b = -\frac{132}{2178}a = -\frac{132}{2178^{2}} = -\frac{1}{35937}.

Hence

xp(t)=(t2178−135937)et.x_{p}(t) = \left(\frac{t}{2178} - \frac{1}{35937}\right)e^{t}.

Step 4 — Write the general (total) solution.

x(t)=(C1+C2t)e−32t+(t2178−135937)et.x(t) = (C_{1} + C_{2}t)e^{-32t} + \left(\frac{t}{2178} - \frac{1}{35937}\right)e^{t}.

Step 5 — Estimate x(10)x(10). Put t=10t = 10:

x(10)=(C1+10C2)e−320+(102178−135937)e10.x(10) = (C_{1} + 10C_{2})e^{-320} + \left(\frac{10}{2178} - \frac{1}{35937}\right)e^{10}.

The homogeneous (transient) term contains e−320≈1.06×10−139e^{-320} \approx 1.06 \times 10^{-139}, which is utterly negligible, so it dies away long before t=10t = 10:

x(10)≈(0.0045914−0.0000278)(22 026.47)≈(0.0045635)(22 026.47)≈100.5.x(10) \approx \left(0.0045914 - 0.0000278\right)\left(22\,026.47\right) \approx (0.0045635)(22\,026.47) \approx 100.5 .

Answer: x(t)=(C1+C2t)e−32t+(t2178−135937)etx(t) = (C_{1} + C_{2}t)e^{-32t} + \left(\dfrac{t}{2178} - \dfrac{1}{35937}\right)e^{t}, and x(10)≈100.5x(10) \approx 100.5 (the transient term is ∼10−139\sim 10^{-139}, i.e. zero to any practical accuracy).

Printing inconsistency in the paper

Parts (i)–(iii) of Question 3 are labelled with Roman numerals, but the wording of parts (ii) and (iii) refers to "part b(i)" and "part b(ii)". There is no part (b) in Question 3; these references are read as parts (i) and (ii) of Question 3.


Question 4​

Question 4(a) (12 marks)​

Question

Hydraulic impact hammer (Figure 5) characteristics can be defined by the following second order differential equation (equation 2). Based on the initial values, find the particular solution using power series and present the solution with at least 5 partial summation terms.

Figure 5

Figure 5 is a labelled cross-section of the hydraulic impact hammer showing the coupler, housing, back head, valve, accumulator, upper piston, main body and chisel. It is illustrative only — equation (2) and the initial conditions (3) below contain everything needed to solve the problem.

y′′−6xy′+x2y=0(2)y'' - 6xy' + x^{2}y = 0 \tag{2} y(0)=2,y′(0)=1(3)y(0) = 2, \qquad y'(0) = 1 \tag{3}
Solution

Method — power series solution about the ordinary point x=0x = 0.

Step 1 — Assume a power series solution.

y=∑n=0∞anxn,y′=∑n=1∞nanxn−1,y′′=∑n=2∞n(n−1)anxn−2.y = \sum_{n=0}^{\infty} a_{n}x^{n}, \qquad y' = \sum_{n=1}^{\infty} n a_{n}x^{n-1}, \qquad y'' = \sum_{n=2}^{\infty} n(n-1)a_{n}x^{n-2}.

Step 2 — Substitute into equation (2).

∑n=2∞n(n−1)anxn−2⏟(I)−6∑n=1∞nanxn⏟(II)+∑n=0∞anxn+2⏟(III)=0.\underbrace{\sum_{n=2}^{\infty} n(n-1)a_{n}x^{n-2}}_{(I)} - 6\underbrace{\sum_{n=1}^{\infty} n a_{n}x^{n}}_{(II)} + \underbrace{\sum_{n=0}^{\infty} a_{n}x^{n+2}}_{(III)} = 0 .

Re-index so that every series carries the same power xmx^{m}:

  • (I)(I): put m=n−2m = n - 2, so n=m+2n = m + 2: ∑m=0∞(m+2)(m+1)am+2xm\displaystyle\sum_{m=0}^{\infty}(m+2)(m+1)a_{m+2}x^{m};
  • (II)(II): already ∑m=1∞mamxm\displaystyle\sum_{m=1}^{\infty} m a_{m}x^{m};
  • (III)(III): put m=n+2m = n + 2, so n=m−2n = m - 2: ∑m=2∞am−2xm\displaystyle\sum_{m=2}^{\infty} a_{m-2}x^{m}.

Step 3 — Recurrence relation. Collecting the coefficient of xmx^{m} gives

(m+2)(m+1)am+2−6m am+am−2=0(m≥0,  a−2=0),(m+2)(m+1)a_{m+2} - 6m\,a_{m} + a_{m-2} = 0 \qquad (m \ge 0,\ \ a_{-2} = 0), am+2=6m am−am−2(m+2)(m+1) \boxed{\ a_{m+2} = \frac{6m\,a_{m} - a_{m-2}}{(m+2)(m+1)}\ }

where the term am−2a_{m-2} is present only for m≥2m \ge 2.

Step 4 — Initial values. From y(0)=2y(0) = 2 and y′(0)=1y'(0) = 1:

a0=2,a1=1.a_{0} = 2, \qquad a_{1} = 1 .

Step 5 — Generate the coefficients from the recurrence.

mmRecurrenceCoefficient
0a2=0−02⋅1a_{2} = \dfrac{0 - 0}{2\cdot 1}a2=0a_{2} = 0
1a3=6(1)(1)−03⋅2=66a_{3} = \dfrac{6(1)(1) - 0}{3\cdot 2} = \dfrac{6}{6}a3=1a_{3} = 1
2a4=12(0)−24⋅3=−212a_{4} = \dfrac{12(0) - 2}{4\cdot 3} = \dfrac{-2}{12}a4=−16a_{4} = -\dfrac{1}{6}
3a5=18(1)−15⋅4=1720a_{5} = \dfrac{18(1) - 1}{5\cdot 4} = \dfrac{17}{20}a5=1720a_{5} = \dfrac{17}{20}
4a6=24(−16)−06⋅5=−430a_{6} = \dfrac{24\left(-\tfrac{1}{6}\right) - 0}{6\cdot 5} = \dfrac{-4}{30}a6=−215a_{6} = -\dfrac{2}{15}
5a7=30(1720)−17⋅6=24.542a_{7} = \dfrac{30\left(\tfrac{17}{20}\right) - 1}{7\cdot 6} = \dfrac{24.5}{42}a7=712a_{7} = \dfrac{7}{12}
6a8=36(−215)−(−16)8⋅7=−1393056a_{8} = \dfrac{36\left(-\tfrac{2}{15}\right) - \left(-\tfrac{1}{6}\right)}{8\cdot 7} = \dfrac{-\tfrac{139}{30}}{56}a8=−1391680a_{8} = -\dfrac{139}{1680}

Step 6 — Particular solution. Substituting back,

y(x)=2+x+0⋅x2+x3−16x4+1720x5−215x6+712x7−1391680x8+⋯y(x) = 2 + x + 0\cdot x^{2} + x^{3} - \frac{1}{6}x^{4} + \frac{17}{20}x^{5} - \frac{2}{15}x^{6} + \frac{7}{12}x^{7} - \frac{139}{1680}x^{8} + \cdots

i.e. nine partial-summation terms (eight of them non-zero — well over the five required). As a check, the recurrence at m=6m = 6 reads 56a8−36a6+a4=−13930+245−16=056a_{8} - 36a_{6} + a_{4} = -\frac{139}{30} + \frac{24}{5} - \frac{1}{6} = 0 ✓, and a numerical integration of the ODE with y(0)=2y(0)=2, y′(0)=1y'(0)=1 reproduces the series to 7 decimal places at small xx.

Answer:

y(x)=2+x+x3−16x4+1720x5−215x6+712x7−1391680x8+⋯y(x) = 2 + x + x^{3} - \frac{1}{6}x^{4} + \frac{17}{20}x^{5} - \frac{2}{15}x^{6} + \frac{7}{12}x^{7} - \frac{139}{1680}x^{8} + \cdots

(from am+2=6mam−am−2(m+2)(m+1)a_{m+2} = \dfrac{6m a_{m} - a_{m-2}}{(m+2)(m+1)}, a0=2a_{0} = 2, a1=1a_{1} = 1).


Question 4(b) (3 marks)​

Question

Determine the singular point type of the given differential equations and whether they can be solved by power series or not.

Differential EquationSingular point typePower series (Yes or No)
8x2y′′+10xy′+(x−1)y=08x^{2}y'' + 10xy' + (x-1)y = 0
y′′+x4y′+y=0y'' + x^{4}y' + y = 0
2(x−1)2y′′+x4y′+y=02(x-1)^{2}y'' + x^{4}y' + y = 0
Solution

Method. Write each equation in the standard form

y′′+p(x)y′+q(x)y=0.y'' + p(x)y' + q(x)y = 0 .

A point x0x_{0} is a singular point if pp or qq fails to be analytic there. It is a regular singular point when both (x−x0)p(x)(x - x_{0})p(x) and (x−x0)2q(x)(x - x_{0})^{2}q(x) are analytic at x0x_{0} (then the Frobenius/power-series method works); otherwise it is an irregular singular point (no power-series solution about x0x_{0}). If pp and qq are analytic at x0x_{0}, then x0x_{0} is an ordinary point and an ordinary power series solution always exists.

(1) 8x2y′′+10xy′+(x−1)y=08x^{2}y'' + 10xy' + (x-1)y = 0. Dividing by 8x28x^{2}:

y′′+108xy′+x−18x2y=0⟹p(x)=54x,q(x)=x−18x2.y'' + \frac{10}{8x}y' + \frac{x-1}{8x^{2}}y = 0 \quad\Longrightarrow\quad p(x) = \frac{5}{4x}, \quad q(x) = \frac{x-1}{8x^{2}}.

x=0x = 0 is the only singular point. Test it:

x p(x)=54 (analytic at x=0),x2q(x)=x−18 (analytic at x=0).x\,p(x) = \frac{5}{4} \ \text{(analytic at } x=0), \qquad x^{2}q(x) = \frac{x-1}{8} \ \text{(analytic at } x=0).

Both are analytic, so x=0x = 0 is a regular singular point and the equation can be solved by (Frobenius) power series — the indicial equation comes from r(r−1)+54r−18=0r(r-1) + \tfrac{5}{4}r - \tfrac{1}{8} = 0.

(2) y′′+x4y′+y=0y'' + x^{4}y' + y = 0. Here p(x)=x4p(x) = x^{4} and q(x)=1q(x) = 1 are polynomials, hence analytic everywhere. There is no singular point (every point, in particular x=0x = 0, is an ordinary point), so an ordinary power series solution y=∑anxny = \sum a_{n}x^{n} exists for all xx — Yes.

(3) 2(x−1)2y′′+x4y′+y=02(x-1)^{2}y'' + x^{4}y' + y = 0. Dividing by 2(x−1)22(x-1)^{2}:

y′′+x42(x−1)2y′+12(x−1)2y=0⟹p(x)=x42(x−1)2,q(x)=12(x−1)2.y'' + \frac{x^{4}}{2(x-1)^{2}}y' + \frac{1}{2(x-1)^{2}}y = 0 \quad\Longrightarrow\quad p(x) = \frac{x^{4}}{2(x-1)^{2}}, \quad q(x) = \frac{1}{2(x-1)^{2}}.

The only singular point is x=1x = 1. Test it:

(x−1)p(x)=x42(x−1) is not analytic at x=1,(x-1)p(x) = \frac{x^{4}}{2(x-1)} \ \text{is not analytic at } x = 1,

so the singularity is an irregular singular point and the equation cannot be solved by a power series about x=1x = 1 — No.

The completed table:

Differential EquationSingular point typePower series (Yes or No)
8x2y′′+10xy′+(x−1)y=08x^{2}y'' + 10xy' + (x-1)y = 0Regular singular point at x=0x = 0Yes
y′′+x4y′+y=0y'' + x^{4}y' + y = 0No singular point (x=0x=0 ordinary)Yes
2(x−1)2y′′+x4y′+y=02(x-1)^{2}y'' + x^{4}y' + y = 0Irregular singular point at x=1x = 1No

Answer:

Differential EquationSingular point typePower series
8x2y′′+10xy′+(x−1)y=08x^{2}y'' + 10xy' + (x-1)y = 0Regular singular point (x=0x = 0)Yes
y′′+x4y′+y=0y'' + x^{4}y' + y = 0No singular point — ordinary point (x=0x = 0)Yes
2(x−1)2y′′+x4y′+y=02(x-1)^{2}y'' + x^{4}y' + y = 0Irregular singular point (x=1x = 1)No
About the third equation

x=0x = 0 is an ordinary point of 2(x−1)2y′′+x4y′+y=02(x-1)^{2}y'' + x^{4}y' + y = 0, so a power series about x=0x = 0 does exist. The classification above is about the equation's singular point x=1x = 1; because that singularity is irregular, no power-series (Frobenius) solution about x=1x = 1 is possible.


Appendix 1​

The paper supplies the following formula sheets (Appendix 1, page 7 of the original).

Table 1: Trigonometry Differentiation Formula

ddx(sin⁡x)=cos⁡x,ddx(cos⁡x)=−sin⁡x,ddx(tan⁡x)=(sec⁡x)2,\frac{d}{dx}(\sin x) = \cos x, \qquad \frac{d}{dx}(\cos x) = -\sin x, \qquad \frac{d}{dx}(\tan x) = (\sec x)^{2}, ddx(sec⁡x)=sec⁡x⋅tan⁡x,ddx(csc⁡x)=−csc⁡x⋅cot⁡x,ddx(cot⁡x)=−(csc⁡x)2.\frac{d}{dx}(\sec x) = \sec x\cdot\tan x, \qquad \frac{d}{dx}(\csc x) = -\csc x\cdot\cot x, \qquad \frac{d}{dx}(\cot x) = -(\csc x)^{2}.

Table 2: Commons forms of 2nd order ODE and strategy to solve them

FormsStrategy
Homogeneous linear differential equation with constant coefficients a, b, ca,\ b,\ c: ad2ydx2+bdydx+cy=0a\dfrac{d^{2}y}{dx^{2}} + b\dfrac{dy}{dx} + cy = 0Let y(x)=emxy(x) = e^{mx} and use characteristic equation
Nonhomogeneous linear differential equation with constant coefficients a, b, ca,\ b,\ c in the form of r(x)=eαxPn(x)r(x) = e^{\alpha x}P_{n}(x): ad2ydx2+bdydx+cy=r(x)a\dfrac{d^{2}y}{dx^{2}} + b\dfrac{dy}{dx} + cy = r(x)Method of undetermined coefficients
All types of nonhomogeneous linear differential equation: d2ydx2+p(x)dydx+q(x)y=r(x)\dfrac{d^{2}y}{dx^{2}} + p(x)\dfrac{dy}{dx} + q(x)y = r(x)Method of variation of parameters

Where the appendix is used above.

  • Question 3(i) uses Table 2, row 1 — the characteristic equation mλ2+rλ+k=0m\lambda^{2} + r\lambda + k = 0 for the homogeneous equation.
  • Question 3(iii) uses Table 2, row 2 — the method of undetermined coefficients for r(t)=tet=e1⋅tP1(t)r(t) = te^{t} = e^{1\cdot t}P_{1}(t) with P1(t)=tP_{1}(t) = t.
  • Question 1(c) uses the trigonometric derivatives of Table 1 to differentiate tan⁡αsec⁡α\tan\alpha\sec\alpha and tan⁡2α\tan^{2}\alpha: ddα(tan⁡αsec⁡α)=sec⁡3α+sec⁡αtan⁡2α\frac{d}{d\alpha}(\tan\alpha\sec\alpha) = \sec^{3}\alpha + \sec\alpha\tan^{2}\alpha and ddα(tan⁡2α)=2tan⁡αsec⁡2α\frac{d}{d\alpha}(\tan^{2}\alpha) = 2\tan\alpha\sec^{2}\alpha.
  • Question 4(b) uses Table 2, rows 1 and 3 to identify the applicable solution strategy at ordinary and singular points.

TAMAT / END — 7 printed pages.