Given conditions,1) They all have different ages (a1, a2, a3, a4, a5)
2) each member age is a whole number
3) Average age is 20 => sum of their ages = 20×5=100.
a1 +a2 + a3+ a4+ a5 = 100
4) Median age is 20
Since there are 5 people, median would be arranged as
a1 < a2 < a3 < a4 < a5
the middle age, a3 =20
5) Oldest is 16 years older than youngest=> a5 = a1 + 16
we have find,
a) Minimum the minimum possible age of the oldest member
b) Maximum the maximum possible age of the oldest member
let's solve now,
as per condition (4), a1 < a2 < a3(20) < a4 < a5
as per condition (3), a1 +a2 + a3+ a4+ a5 = 100
=> a1 +a2 + 20 + a4+ a5 = 100
=> a1 +a2 + a4 + a5 = 80
as per condition (5), a5 = a1 + 16, subsitute in above equation
a1 +a2 + a4 + a1 + 16 = 80
2* a1 + a2 + a4 = 64 --->equation 1
now lets find (a) Minimum the minimum possible age of the oldest member based on conditions, as a3 = 20 => a2<20
So, let a2 =19.
as per condition (5), a5 = a1 + 16 and as per condition (4)
a4<a5
a4 ≤a1 +15 and a4 >20, so let a4 ≥21.
Now, substitute a2=19 in equation 1
2* a1 + a2 + a4 = 64
2*a1+a4=45
a4 ≤a1 +15
a4=45−2a1
45−2a1 ≤a1 +15
45−15≤3a1
30≤3a1
10≤a1
So, the smallest possible integer value for a1 = 10
a2 =19
a3=20 (Given)
a4=45−2(10)=45−20=25
a5=a1 +16=10+16=26
So, the minimum possible age of the oldest member (a5) = 26now lets find (b) Maximum the maximum possible age of the oldest member As per equation, 2* a1 + a2 + a4 = 64
consider a2 and a4 to be small values
a2>a1 => a2 = a1 + 1
a4>20 => a4 = 21
subsitute above in equation 1
2a1 + (a1 + 1) + 21 = 64
3a1 + 22 = 64
3a1 = 42
a1 = 14
then a2 = 15, a3 = 20( Given), a4 = 21, a5 = a1 + 16 = 30
So, the maximum possible age of the oldest member (a5) is 30