
Charles C. answered 06/07/21
Adjunct Math Professor, Calculus and Linear Algebra focus
Let M1, M2, M3 = amount of money held by each man, and P equal amount of money in the purse.
The three conditions are:
M1 + P = 2(M2 + M3)
M2 + P = 3(M1 + M3)
M3 + P = 5(M1 + M2)
Re-arranging and putting into matrix form Am = p (A is a 3x3, m and p are 3 x 1):
A = [-1 2 2, 3 -1 3, 5 5 -1][M1 M2 M3]T = [P P P]T
Then M = A-1P = [(1/15)P (3/15)P (5/15)P]
Setting P = 15 gives the smallest whole number solution: M1 = 1, M2 = 3, M3 = 5, P = 15