Q.3.20

Question

Fifty-two percent of the students at a certain college are females. Five percent of the students in this college are majoring in computer science. Two percent of the students are women majoring in computer science. If a student is selected at random, find the conditional probability that

(a) the student is female given that the student is majoring in computer science; 

(b) this student is majoring in computer science given that the student is female

Step-by-Step Solution

Verified
Answer

The conditional probability  shows that,

a) 40%

b) 3.846%

1Step 1: Given Information (part a)

The conditional probability that the student is female given that the student is majoring in computer science

2Step 2: Explanation (part a)

Considered events:

S - a person is a student in the college

C - a person is studying computer science

F - a person is female

Given conditional probabilities:

P(FS)=0.52PS(F)=0.52

P(CS)=0.05PS(C)=0.05

P(CFS)=0.02PS(CF)=0.02

Calculate:

a)PS(FC)=P(FCS)=?b)PS(CF)=P(CFS)=?

Note that conditional probability satisfies all axioms, so treat it like a probability.

Theses are obtained directly from the definition of conditional probability.

PS(FC)=PS(FC)PS(C)=0.020.05=0.4=40%

3Step 3: Final Answer (part a)

The student is female given that the student is majoring in computer science is 40%

4Step 4: Given Information (part b)

The conditional probability that this student is majoring in computer science given that the student is female.

5Step 5: Explanation (part b)

Note that conditional probability satisfies all axioms, so treat it like a probability.

PS(CF)=PS(FC)PS(F)=0.020.52=0.03846=3.846%

6Step 6: Final Answer (part b)

This student is majoring in computer science given that the student is female is 3.846%