Q.3.16

Question

(a) In Problem 3.66b, find the probability that a current flows from A to B, by conditioning on whether relay 1 closes.

(b) Find the conditional probability that relay 3 is closed given that a current flows from A to B .

Step-by-Step Solution

Verified
Answer

a). The probability that a current flows A from B is P(C)=P4+P5-P4P5P3+P41-P3P1+P2P4+P5-P4P5P3+P2P51-P31-P1

b). The conditional probability is P4+P5-P4P5P3-P4P3P1+P2P4+P5-P4P5P3+P2P51-P31-P1-P2P5+P1P2P4P5P4+P5-P4P5P3+P41-P3P1+P2P4+P5-P4P5P3+P2P51-P31-P1

1Step 1: Given Information (Part a)

Ei - The current can flow through switch i.

C - Event that the current flows from A to B.

Pi - Probability that a certain switch is closed.

The switches are independent.

2Step 2: Explanation (Part a)

It is given that we have to start with total probability conditioning on E1.

P(C)=PCE1PE1+PCE1cPE1c

Now regard conditional probability P·E1 and P·E1c as a probability and condition on E3 :

P(C)=PCE3E1PE3E1+PCE3cE1PE3cE1PE1+PCE3E1cPE3E1c+PCE3cE1cPE3cE1cPE1c

3Step 3: Explanation (Part a)

Now, with knowledge about switches 1 and 3 , show C as combination of E2,E4,E5, that is:

PCE3E1=PE4E5E3E1=independence PE4E5=P4+P5-P4P5

PCE3cE1=PE4E3cE1=PE4=P4

PCE3E1c=PE2E4E5E3E1=PE2E4E5=P2P4+P5-P4P5

PCE3cE1c=PE2E5E3cE1c=PE2E5=P2P5

This is because we can reduce C to stricter combinations of E2,E4,E5, given the knowledge about E1,E3

Use independence, and probabilities above to transform the last formula of total probability:

P(C)=P4+P5-P4P5P3+P41-P3P1+P2P4+P5-P4P5P3+P2P51-P31-P1

4Step 4: Final Answer (Part a)

The probability that a current flows A from B is

P(C)=P4+P5-P4P5P3+P41-P3P1+P2P4+P5-P4P5P3+P2P51-P31-P1

5Given Information (Part b)

Ei - the current can flow through switch i.

C- event that the current flows from A to B.

Pi - probability that a certain switch is closed.

6Step 6: Explanation (Part b)

Start with the definition:

PE3C=PE3CP(C)

P(C) is known from a) and:

PE3C=P(C)-PCE3c

And CE3c=E1E4E2E5 thus

PCE3c=PE1E4E2E5

=PE1E4+PE2E5-PE1E4E2E5

=P1P4+P2P5-P1P2P4P5

7Step 7: Explanation (Part b)

PE3C=P4+P5-P4P5P3+P41-P3P1+P2P4+P5-P4P5P3+P2P51-P31-P1-P1P4-P2P5+P1P2P4P5

=P4+P5-P4P5P3-P4P3P1+P2P4+P5-P4P5P3+P2P51-P31-P1-P2P5+P1P2P4P5

And now substitute this into the definition:

P(E3|C)=P4+P5-P4P5P3-P4P3P1+P2P4+P5-P4P5P3+P2P51-P31-P1-P2P5+P1P2P4P5P4+P5-P4P5P3+P41-P3P1+P2P4+P5-P4P5P3+P2P51-P31-P1

8Final Answer (Part b)

The conditional probability is P4+P5-P4P5P3-P4P3P1+P2P4+P5-P4P5P3+P2P51-P31-P1-P2P5+P1P2P4P5P4+P5-P4P5P3+P41-P3P1+P2P4+P5-P4P5P3+P2P51-P31-P1