Answer:
The probability is 0.2727
Explanation:
There are nCk combinations or ways to take k elements from a group of n elements. So, nCk is calculated as:
![nCk=(n!)/(k!(n-k)!)](https://img.qammunity.org/2020/formulas/mathematics/high-school/cmcu0k51rp2jyxj8w8n9kbni0vx8lu74us.png)
Then, there are 66 ways to select two socks from the 12 that are in the basket. This is calculated as:
![12C2=(12!)/(2!(12-2)!)=66](https://img.qammunity.org/2020/formulas/mathematics/high-school/ofu4pl5p5f0j5odv0kyi0f882vn0mng4vy.png)
Additionally, if the student match the socks, he have 3 possibilities:
1. He match socks type A
2. He match socks type B
3. He match socks type C
There are 6 ways to match socks type A, 6 ways to match socks type B and 6 ways to match socks type C. This is calculated as:
![4C2=(4!)/(2!(4-2)!)=6](https://img.qammunity.org/2020/formulas/mathematics/high-school/z7zzakktl0o1dorm26w0jldnitpjpaq0oj.png)
Because the student should select 2 socks type A from the 4 socks type A that are in the basket and it is the same calculation for socks type B and Type C.
Finally, there are 18 possibilities to match the socks, so the probability is calculated as:
![P=(6+6+6)/(66)=(18)/(66)=0.2727](https://img.qammunity.org/2020/formulas/mathematics/high-school/w36pnxowqt2j0atu7y0ljd3ni7nitpde59.png)