Question

There are 3 red socks, 4 green socks and 3 blue socks. You choose 2 socks. The probability that they are of the same colour is

Choose one option
Official answer and solution
Official answer
D
From
Official GATE 2017 answer key

Solution

Calculate the total number of ways to choose 2 socks out of 10 and the number of ways to choose 2 socks of identical colour.

Total number of socks is 3 (red)+4 (green)+3 (blue)=103 \text{ (red)} + 4 \text{ (green)} + 3 \text{ (blue)} = 10 socks.
The total number of ways to pick any 2 socks without replacement is:

(102)=10×92=45\binom{10}{2} = \frac{10 \times 9}{2} = 45

Count the favorable outcomes where both selected socks have the same colour:

  • Both red: (32)=3\binom{3}{2} = 3
  • Both green: (42)=4×32=6\binom{4}{2} = \frac{4 \times 3}{2} = 6
  • Both blue: (32)=3\binom{3}{2} = 3

Total favorable outcomes:

3+6+3=123 + 6 + 3 = 12

Therefore, the probability is:

P(same colour)=1245=415P(\text{same colour}) = \frac{12}{45} = \frac{4}{15}

This matches option D.

Final answer

D

Common trap

Computing probability with replacement (3/10×3/10+…3/10 \times 3/10 + \dots) instead of without replacement.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2017 Computer Science and Information Technology (CS) Session 2
Question
60 of 65, printed as GA Q.5
Section
General Aptitude

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.