In how many different ways can 3 persons A,BandC having 6 one rupee coins, 7one rupee coin and 8 one rupee coins respectively donate 10 one rupee coins collectively.
Open in App
Solution
Let A,B,C donate x1,x2,x3 coins with xi≥0.
Then A/Q∑xi=10......(1)
At first lets find all the solutions of this equation in integers.
The no. of such solutions is 12C2
Now we will find out the no. of solutions in which x1≥7, ( these solutions cant be considered),
To find this lets replace x1 by x+6 where x≥1 putting this into 1 we have x+x2+x3=4 we will find no. of such soln. 5C2
In this way we will find the other cases which are not possible.
Namely when x2≥8 in this case we have 4C2 solutions, and the last one whne x3≥9 then we have 3C2 solutions.
All the cases which cant be possible are disjoint implying the total no. of solution = ( total no. of cases)-(cases not possible).