SMC 2019 Q21
21. In a square garden \(PQRT\) of side 10 m, a ladybird sets off from \(Q\) and moves along edge \(QR\) at 30 cm per minute. At the same time, a spider sets off from \(R\) and moves along edge \(RT\) at 40 cm per minute.
What will be the shortest distance between them, in metres?
- A 5
- B 6
- C \(5\sqrt{2}\)
- D 8
- E 10
Senior Mathematical Challenge 2019, Question 21. © UK Mathematics Trust. Original paper on ukmt.org.uk
Answer: D 8
Let \(L\) be the position of the ladybird on \(QR\) and let \(S\) be the position of the spider on \(RT\) each after \(t\) minutes. The shortest distance between \(L\) and \(S\) is along the straight line which is the hypotenuse of the right-angled triangle \(LRS\). The distance \(QL\) is \(30t\) cm, so the distance \(LR\) is \((1000 - 30t)\) cm. Also, the distance \(RS\) is \(40t\) cm. So, \(LS^2 = (1000 - 30t)^2 + (40t)^2\) which expands and simplifies to \(2500(t^2 - 24t + 400) = 2500((t - 12)^2 + 256)\). The distance from \(L\) to \(S\) is shortest when \(t = 12\) and is \(\sqrt{2500 \times 256}\) cm = 800 cm = 8 m.

Solution © UK Mathematics Trust, from the SMC 2019 solutions. Longer versions with investigations: Solutions and investigations (PDF).