Henry Ernest Dudeney/Modern Puzzles/21 - Their Ages/Solution

by : $21$

 * Their Ages

Solution
Tom is $7$ and Mary is $13$.

Proof
Let $T$ be the age of Tom and $M$ be the age of Mary.

Expressing one variable in terms of another and eliminating one of them results in a quartic:

Good luck with that.

So, let us assume that both $T$ and $M$ are natural numbers.

It is apparent that $T < 8$ and $M < 14$, otherwise the totals will be such that either $T$ or $M$ will be negative.

So:
 * $176 - M^2 < 8$

which leads us to:
 * $M^2 = 169$

giving us:
 * $M = 13$

and:
 * $T = 176 - 169 = 7$

We check the other equation:
 * $7^2 + 13 = 49 + 13 = 62$

and all is well.