Answer:
[tex]\displaystyle P=\frac{7}{15}=0.467[/tex]
Step-by-step explanation:
Probabilities
When we choose from two different sets to form a new set of n elements, we use the so-called hypergeometric distribution. We'll use an easier and more simple approach by the use of logic.
We have 6 republicans and 4 democrats applying for two positions. Let's call R to a republican member and D to a democrat member. There are three possibilities to choose two people from the two sets: DD, DR, RR. Both republicans, both democrats and one of each. We are asked to compute the probability of both being from the same party, i.e. the probability is
[tex]P=P(DD)+P(RR)[/tex]
Let's compute P(DD). Both democrats come from the 4 members available and it can be done in [tex]\binom{4}{2}[/tex] different ways.
For P(RR) we proceed in a similar way to get [tex]\binom{6}{2}[/tex] different ways.
The total ways to select both from the same party is
[tex]\displaystyle \binom{4}{2}+\binom{6}{2}=4+15=21[/tex]
The selection can be done from the whole set of candidates in [tex]\binom{10}{2}[/tex] different ways, so
[tex]\displaystyle P=\frac{21}{\binom{10}{2}}[/tex]
[tex]\displaystyle P=\frac{21}{45}=\frac{7}{15}=0.467[/tex]