The Ages of a Prince and Princess

A princess is as old as the prince will be when the princess is twice the age that the prince was when the princess’s age was half the sum of their present ages.

What are their ages?

This one took a while to figure out and there are numerous valid ways of finding the answer.

Here is the solution I came up with

I created the following table from the riddle:

 CurrentFuturePast
Princessx2z(x+y)/2
Princeyxz

I then created three equations, since the difference in their age will always be the same.
d = the difference in ages
x – y = d
2z – x = d
x/2 + y/2 – z = d

I then created a matrix and solved it using row reduction.

xyz
1-10d
-102d
.5.5-1d

It reduced to:

xyz
1004d
0103d
0015d/2

This means that you can pick any difference you want (an even one presumably because you want integer ages).
Princess age: 4d
Prince age: 3d

Ages that work

PrincessPrince
43
86
1612
2418
3224
4030
4836
5642
6448
7254
8060

To see other solutions check out the comments from when I posted this on my blog.

Posted in Brain Teasers

 

2 Comments on "The Ages of a Prince and Princess"


Merlin says
June 27, 2019 @ 22:50

Holy molie someone asked me that verbally once and it was a complete brain buster – needs a pen and paper to solve. Good on you for posting how to solve it


Queenie says
March 19, 2020 @ 15:00

My question is…do Princess’s get so old that they age out of that title… Asking for a friend… who really wants to know.
Thanks!


Leave a comment

First name (required)

Email (will not be published) (required)