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 21 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 n−10 equals
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+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 21 . 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 21 .
We have to find the number of red marbles say n and the value of n−10
Let the no. of red marbles be x and no. of blue marbles be y.
Which means that x+y is the total no. of marbles and x+y⩽17
No. of ways of selecting 2 red balls randomly is xC2 and no. of ways of selecting 2 blue balls randomly is yC2 ; selecting 2 balls randomly from total no. of balls is x+yC2
Probability when two marbles are red or two marbles are blue when selected randomly is
x+yC2xC2+yC2 which is equal to 21
⇒x+yC2xC2+yC2=21 nCr=(n−r)!r!n! xC2=2x(x−1),yC2=2y(y−1),x+yC2=2(x+y)(x+y−1) ⇒(2(x+y)(x+y−1))(2x(x−1))+(2y(y−1))=21 ⇒2(2x(x−1)+y(y−1))=2(x+y)(x+y−1)(∴Cross multiplication) ⇒2(x2−x+y2−y)=x2+xy−x+xy+y2−y ⇒2x2−2x+2y2−2y=x2+y2+2xy−x−y ⇒2x2−x2+2y2−y2−2xy=−x+2x−y+2y ⇒x2+y2−2xy=x+y ∴(x−y)2=x+y
We already know that x+y⩽17
Substitute the value of x+y obtained in the above inequation.
(x+y)⩽17 ⇒(x−y)2⩽17
As x+y is a count, it must be a positive integer.
Which means the square root of (x−y)2 must be a positive integer. So the greatest perfect square below 17 is our answer.
(x−y)2⩽17 ⇒(x−y)2=16 ⇒(x−y)2=42 ⇒x−y=4
On substituting the value of x−y in (x−y)2=x+y , we get
x+y=42 ⇒x+y=16 ⇒x=10,y=6
Total no. of red marbles x, which is n, is 10.
Then n−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