All Exams Test series for 1 year @ ₹349 only
Question

There are n socks in a drawer, of which 3 socks are red. If 2 of the socks are chosen randomly and the probability that both selected socks are red is \(\frac{1}{2}\) , then what is the value of n?

This question was previously asked in
NDA II 2019 GAT Previous Year Paper (17-Nov-2019)
The correct answer is

4

Understanding the Probability Problem

This question asks us to find the total number of socks in a drawer, denoted by \(n\), given that there are 3 red socks and the probability of randomly choosing 2 red socks out of 2 selected is \(\frac{1}{2}\). This is a classic probability problem involving combinations, as the order in which the socks are chosen does not matter.

Setting up the Probability Calculation

The probability of an event is calculated as the ratio of the number of favorable outcomes to the total number of possible outcomes.

Total number of socks: \(n\)

Number of red socks: 3

Number of socks chosen: 2

The total number of ways to choose 2 socks from the \(n\) socks in the drawer is given by the combination formula \(\binom{n}{k} = \frac{n!}{k!(n-k)!}\), where \(n\) is the total number of items, and \(k\) is the number of items to choose. In this case, the total number of ways to choose 2 socks from \(n\) is \(\binom{n}{2}\).

The number of ways to choose 2 red socks from the 3 red socks is given by \(\binom{3}{2}\).

The probability of choosing 2 red socks is the ratio of the number of ways to choose 2 red socks to the total number of ways to choose 2 socks:

\[ P(\text{both socks are red}) = \frac{\text{Number of ways to choose 2 red socks}}{\text{Total number of ways to choose 2 socks}} = \frac{\binom{3}{2}}{\binom{n}{2}} \]

Solving the Probability Equation

We are given that the probability of choosing both red socks is \(\frac{1}{2}\). So, we can set up the equation:

\[ \frac{\binom{3}{2}}{\binom{n}{2}} = \frac{1}{2} \]

First, let's calculate the values of the combinations:

\(\binom{3}{2} = \frac{3!}{2!(3-2)!} = \frac{3 \times 2 \times 1}{(2 \times 1)(1!)} = \frac{6}{2 \times 1} = 3\)

\(\binom{n}{2} = \frac{n!}{2!(n-2)!} = \frac{n \times (n-1) \times (n-2)!}{(2 \times 1)(n-2)!} = \frac{n(n-1)}{2}\)

Substitute these values back into the equation:

\[ \frac{3}{\frac{n(n-1)}{2}} = \frac{1}{2} \]

Simplify the left side:

\[ \frac{3 \times 2}{n(n-1)} = \frac{1}{2} \] \[ \frac{6}{n(n-1)} = \frac{1}{2} \]

Now, cross-multiply to solve for \(n\):

\[ 6 \times 2 = 1 \times n(n-1) \] \[ 12 = n^2 - n \]

Rearrange the equation into a quadratic form:

\[ n^2 - n - 12 = 0 \]

Factor the quadratic equation. We need two numbers that multiply to -12 and add up to -1. These numbers are -4 and 3.

\[ (n-4)(n+3) = 0 \]

This gives two possible solutions for \(n\):

\(n-4 = 0 \implies n = 4\)

\(n+3 = 0 \implies n = -3\)

Since \(n\) represents the number of socks, it must be a positive integer. Therefore, \(n=4\) is the only valid solution.

Verifying the Value of n

Let's check if \(n=4\) gives the correct probability. If \(n=4\), there are 4 socks total, 3 of which are red. We choose 2 socks.

Total ways to choose 2 socks from 4: \(\binom{4}{2} = \frac{4 \times 3}{2} = 6\)

Ways to choose 2 red socks from 3: \(\binom{3}{2} = 3\)

Probability of choosing 2 red socks: \(\frac{3}{6} = \frac{1}{2}\)

This matches the given probability, confirming that \(n=4\) is the correct value.

Quantity Value Description
Total socks \(n\) Unknown value to find
Red socks 3 Given number of red socks
Socks chosen 2 Number of socks selected randomly
Prob. (both red) \(\frac{1}{2}\) Given probability
Formula used \(\binom{n}{k}\) Combinations formula

Conclusion

Based on the probability calculation and solving the resulting equation, the value of \(n\) is 4.

Revision Table: Probability and Combinations

Concept Definition/Formula Relevance to Problem
Probability \(P(E) = \frac{\text{Favorable Outcomes}}{\text{Total Outcomes}}\) Used to set up the equation \(\frac{\binom{3}{2}}{\binom{n}{2}} = \frac{1}{2}\)
Combination \(\binom{n}{k}\) \(\frac{n!}{k!(n-k)!}\) Used to calculate the number of ways to choose socks without regard to order
Solving Quadratic Eq. \(ax^2+bx+c=0\) The equation for \(n\) turned out to be quadratic (\(n^2 - n - 12 = 0\))

Additional Information: Combinations vs Permutations

It's important to understand the difference between combinations and permutations in probability problems. Combinations are used when the order of selection does not matter, while permutations are used when the order does matter.

Combinations: Choosing a committee of 3 people from a group of 10. The order in which they are chosen doesn't change the committee. \(\binom{10}{3}\)

Permutations: Arranging 3 books on a shelf from a set of 10 books. The order in which they are placed matters. \(P(10, 3) = \frac{10!}{(10-3)!}\)

In this sock problem, selecting a red sock then another red sock is the same outcome as selecting the second red sock then the first red sock. Therefore, combinations are the correct approach.

Was this answer helpful?

Similar Questions

  1. Let two events A and B be such that P(A) = L and P(B) = M. Which one of the following is correct?

  2. If A and B are two mutually exclusive events, then what is the probability of occurrence of either event A or event B?

  3. If P(A|B) < P(A), then which one of the following is correct?

  4. For two events, A and B, it is given that \({\rm{P}}\left( {\rm{A}} \right) = \frac{3}{5},{\rm{\;P}}\left( {\rm{B}} \right) = \frac{3}{{10}}\) and \({\rm{P}}\left( {{\rm{A|B}}} \right) = \frac{2}{3}\) . If A̅ and B̅ are the complementary events of A and B, then what is P(A̅ | B̅) equal to?

  5. Consider the following statements:

    1) P(A̅ ∪ B) = P(A̅) + P (B) – P(A̅ ∩ B)

    2) P(A ∪ B̅ ) = P(B) – P(A ∩ B)

    3) P(A ∩ B) = P(B) P(A|B)

    Which of the above statements are correct? 

  6. Two events A and B are such that P(not B) = 0.8, P(A ∪ B) = 0.5 and P(A|B) = 0.4. Then P(A) is equal to

  7. If two fair dice are rolled then what is the conditional probability that the first dice lands on 6 given that the sum of numbers on the dice is 8?

  8. If A and B are two events such that P(A) = 0.5, P(B) = 0.6 and P(A ∩ B) = 0.4, then what is \(P\left( {\overline {A \cup B} } \right)\) equal to?

  9. Two independent events A and B are such that \({\rm{P}}\left( {{\rm{A}} \cup {\rm{B}}} \right) = \frac{2}{3}\) and \({\rm{P}}\left( {{\rm{A}} \cap {\rm{B}}} \right) = \frac{1}{6}\) . If P(B) < P(A), then what is P(B) equal to?

  10. What is \(P (G \cap \overline T)\) equal to?


Important Questions from Conditional Probability

  1. A box contains 5 coins: 4 regular coins and 1 fake coin. When a regular coin is tossed, the probability 𝑃(ℎ𝑒𝑎𝑑) = 0.5 and for a fake coin, 𝑃(ℎ𝑒𝑎𝑑) = 1. You pick a coin at random and toss it twice, and get two heads. The probability that the coin you have chosen is the fake coin is _______. (rounded off to two decimal places)

  2. Suppose an unbiased coin is tossed 6 times. Each coin toss is independent of all previous coin tosses. Let $E_1$ be the event that among the second, fourth, and sixth coin tosses, there are at least two heads. Let $E_2$ be the event that among the first, second, third, and fifth coin tosses, there are equal number of heads and tails.

    The conditional probability P($E_1$ | $E_2$) is equal to ____________. (rounded off to one decimal place)
  3. A box contains three apples and two oranges. Two fruits are removed randomly in succession. The probability that the first is an apple and the second is an orange is _____ .
  4. An experiment is performed by rolling an unbiased die once. Events A and B are defined as follows:
    Event A: The outcome of the rolled die is a prime number.
    Event B: The outcome of the rolled die is an odd number less than 4.
    The conditional probability of A given B, denoted by P(A|B), is ______ (rounded off to one decimal place).
  5. Bag I contains 4 white and 6 black balls.
    Bag II contains 4 white and 3 black balls.
    One ball is drawn at random from any one of the two bags and it is found to be a black ball. The probability that the black ball was drawn from Bag I is ______ (rounded off to two decimal places).
Need Expert Advice?
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
526 Tests 1 Tests Free
1205 Attempts
4.7(163)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App