Solveeit Logo

Question

Question: A drawer contains a mixture of red marbles and blue marbles, at most 17 in all. It so happens that w...

A drawer contains a mixture of red marbles and blue marbles, at most 17 in all. It so happens that when two marbles are selected randomly without replacement, there is a probability of exactly 12\dfrac{1}{2} that both are either red or blue. Let n be the largest possible number of red marbles in the drawer, consistent with the data. Then n10n - 10 equals

Explanation

Solution

Hint : Let the no. of red marbles be x and the no. of blue marbles be y. Total number of marbles will be x+yx + y which is less than or equal to 17. Use combinations to select two marbles from x and y as the order of selection does not matter. Find the probability when two marbles are selected randomly without replacement from x or y and equate it to 12\dfrac{1}{2} . Use this info to further solve the question.

Complete step-by-step answer :
We are given that a drawer contains at most 17 red and blue marbles. The probability when two marbles are red or two marbles are blue when selected randomly is 12\dfrac{1}{2} .
We have to find the number of red marbles say n and the value of n10n - 10
Let the no. of red marbles be x and no. of blue marbles be y.
Which means that x+yx + y is the total no. of marbles and x+y17x + y \leqslant 17
No. of ways of selecting 2 red balls randomly is xC2{}^x{C_2} and no. of ways of selecting 2 blue balls randomly is yC2{}^y{C_2} ; selecting 2 balls randomly from total no. of balls is x+yC2{}^{x + y}{C_2}
Probability when two marbles are red or two marbles are blue when selected randomly is
xC2+yC2x+yC2\dfrac{{{}^x{C_2} + {}^y{C_2}}}{{{}^{x + y}{C_2}}} which is equal to 12\dfrac{1}{2}
xC2+yC2x+yC2=12 nCr=n!(nr)!r! xC2=x(x1)2,yC2=y(y1)2,x+yC2=(x+y)(x+y1)2 (x(x1)2)+(y(y1)2)((x+y)(x+y1)2)=12 2(x(x1)+y(y1)2)=(x+y)(x+y1)2(Cross multiplication) 2(x2x+y2y)=x2+xyx+xy+y2y 2x22x+2y22y=x2+y2+2xyxy 2x2x2+2y2y22xy=x+2xy+2y x2+y22xy=x+y (xy)2=x+y   \Rightarrow \dfrac{{{}^x{C_2} + {}^y{C_2}}}{{{}^{x + y}{C_2}}} = \dfrac{1}{2} \\\ {}^n{C_r} = \dfrac{{n!}}{{\left( {n - r} \right)!r!}} \\\ {}^x{C_2} = \dfrac{{x\left( {x - 1} \right)}}{2},{}^y{C_2} = \dfrac{{y\left( {y - 1} \right)}}{2},{}^{x + y}{C_2} = \dfrac{{\left( {x + y} \right)\left( {x + y - 1} \right)}}{2} \\\ \Rightarrow \dfrac{{\left( {\dfrac{{x\left( {x - 1} \right)}}{2}} \right) + \left( {\dfrac{{y\left( {y - 1} \right)}}{2}} \right)}}{{\left( {\dfrac{{\left( {x + y} \right)\left( {x + y - 1} \right)}}{2}} \right)}} = \dfrac{1}{2} \\\ \Rightarrow 2\left( {\dfrac{{x\left( {x - 1} \right) + y\left( {y - 1} \right)}}{2}} \right) = \dfrac{{\left( {x + y} \right)\left( {x + y - 1} \right)}}{2}{\text{(}}\therefore {\text{Cross multiplication)}} \\\ \Rightarrow {\text{2}}\left( {{x^2} - x + {y^2} - y} \right) = {x^2} + xy - x + xy + {y^2} - y \\\ \Rightarrow 2{x^2} - 2x + 2{y^2} - 2y = {x^2} + {y^2} + 2xy - x - y \\\ \Rightarrow 2{x^2} - {x^2} + 2{y^2} - {y^2} - 2xy = - x + 2x - y + 2y \\\ \Rightarrow {x^2} + {y^2} - 2xy = x + y \\\ \therefore {\left( {x - y} \right)^2} = x + y \;
We already know that x+y17x + y \leqslant 17
Substitute the value of x+yx + y obtained in the above inequation.
(x+y)17 (xy)217   \left( {x + y} \right) \leqslant 17 \\\ \Rightarrow {\left( {x - y} \right)^2} \leqslant 17 \;
As x+yx + y is a count, it must be a positive integer.
Which means the square root of (xy)2{\left( {x - y} \right)^2} must be a positive integer. So the greatest perfect square below 17 is our answer.
(xy)217 (xy)2=16 (xy)2=42 xy=4   {\left( {x - y} \right)^2} \leqslant 17 \\\ \Rightarrow {\left( {x - y} \right)^2} = 16 \\\ \Rightarrow {\left( {x - y} \right)^2} = {4^2} \\\ \Rightarrow x - y = 4 \;
On substituting the value of xyx - y in (xy)2=x+y{\left( {x - y} \right)^2} = x + y , we get
x+y=42 x+y=16 x=10,y=6   x + y = {4^2} \\\ \Rightarrow x + y = 16 \\\ \Rightarrow x = 10,y = 6 \;
Total no. of red marbles x, which is n, is 10.
Then n10=1010=0n - 10 = 10 - 10 = 0

Note : A Permutation is arranging the objects in order. Combination is the way of selecting an object from a group of objects. When the order of the objects does not matter then it should be considered as Combination and when the order matters then it should be considered as Permutation. Do not confuse using a combination, when required, instead of a permutation and vice-versa