Probability Q about parallel components

AI Thread Summary
The discussion centers on calculating the conditional probability that component 1 of a parallel system works, given that the system is functioning. The system operates if at least one component works, and the probability of each component functioning independently is 1/2. The correct approach to find the denominator involves using the inclusion-exclusion principle to account for multiple components potentially working simultaneously. Misunderstandings arise regarding the interpretation of unions in probability, with clarification that a union represents the occurrence of at least one event, not just one. The conversation emphasizes the importance of correctly applying probability principles to avoid errors in calculations.
CAF123
Gold Member
Messages
2,918
Reaction score
87

Homework Statement


A parallel system functions whenever at least one of its components works. Consider a parallel system of ##n## components, and suppose that each component works independently with prob 1/2. FInd the conditional prob that component 1 works given that the system is functioning.

The Attempt at a Solution


Let E be the event that compt 1 works and F the event that the system functions.
P(E|F) = P(EF)/P(F) = P(F|E)P(E)/P(F). I have the numerator correct, I just have a subtle question about the denominator.
When I see the words 'at least', I always jump to the conclusion of doing 1-P(less than 'at least'). Is this a normal practice?
So I get the correct answer for the denominator using this way. However, I also considered finding the denominator by conditioning on the component that works. So I said;
Let ##G_i## be the event that compt i works. Then $$P(F) = P(\cup_{i=1}^{n} F|G_i) = P(F|G_1)P(G_1) + P(F|G_2)P(G_2) +...+ P(F|G_n)P(G_n)$$. Correct me if I am wrong, but I believe this method fails because this assumes that the system functions when only one component works? In general, a union is where we want only one event to happen out of,say, n possibilities? Thanks!
 
Last edited:
Physics news on Phys.org
CAF123 said:

Homework Statement


A parallel system functions whenever at least one of its components works. Consider a parallel system of ##n## components, and suppose that each component works independently with prob 1/2. FInd the conditional prob that component 1 works given that the system is functioning.

The Attempt at a Solution


Let E be the event that compt 1 works and F the event that the system functions.
P(E|F) = P(EF)/P(F) = P(F|E)P(E)/P(F). I have the numerator correct, I just have a subtle question about the denominator.
When I see the words 'at least', I always jump to the conclusion of doing 1-P(less than 'at least'). Is this a normal practice?
So I get the correct answer for the denominator using this way. However, I also considered finding the denominator by conditioning on the component that works. So I said;
Let ##G_i## be the event that compt i works. Then $$P(F) = P(\cup_{i=1}^{n} F|G_i) = P(F|G_1)P(G_1) + P(F|G_2)P(G_2) +...+ P(F|G_n)P(G_n)$$. Correct me if I am wrong, but I believe this method fails because this assumes that the system functions when only one component works? In general, a union is where we want only one event to happen out of,say, n possibilities? Thanks!

If E occurs then F occurs (since at least component 1 is functioning); that is, E is a subset of F, so EF = E, giving P(E|F) = P(E)/P(F). Of course, P(F) = 1 - P{all broken}, just as you said; and yes, that is often the best way to do such computations and is a completely normal practice.

To get the denominator the hard way, you need to compute
P(F) = P\{\cup_{i=1}^n G_i \}. For example, if n = 3 this would be given by
P(F) = P(G_1) + P(G_2) - P(G_1 G_2) = 1/2 + 1/2 - 1/4 = 3/4. For larger values of n this gets more complicated, but you can appeal to general versions of the inclusion/exclusion principle as found, eg., in Feller, "An Introduction to Probability Theory and its Applications", Vol. I, Wiley (1968)----my very favorite probability book---and apply the formulas in Chapter IV. Specifically, if
S_1 = \sum_i P(G_i), \; S_2 = \sum_{i,j:i &lt; j}P(G_i G_j), \; <br /> S_3 = \sum_{i,j,k: i &lt; j &lt; k} P(G_i G_j G_k),\\<br /> \;\;\;\;\; \vdots\\<br /> S_n = P(G_1 G_2 \cdots G_n),
then the probability that at least r of the events G_i occur is
P_r = S_r - {r \choose r-1} S_{r+1} + {r+1 \choose r-1} S_{r+2}<br /> - {r+2 \choose r-1} S_{r+3} + \cdots \pm {n-1 \choose r-1} S_n.
In your case you can simplify this, using the fact that
S_m = {n \choose m} 1/2^m, because S_m is just the number of m-tuples chosen from 1,2,...,n, multiplied by a probability that is the same for any m-tuple. It simplifies even more because you only need the case r = 1, so
\text{answer } = S_1 - S_2 + S_3 - \cdots \pm S_n, and if you write this out in more detail something very nice happens.
 
Last edited:
Ray Vickson said:
To get the denominator the hard way, you need to compute
P(F) = P\{\cup_{i=1}^n G_i \}. For example, if n = 3 this would be given by
P(F) = P(G_1) + P(G_2) - P(G_1 G_2) = 1/2 + 1/2 - 1/4 = 3/4.

How does this second line follow from the first? Is what I wrote incorrect?Thanks
Also, in relation to what this union actually means - does it represent the probability of one of the events happening?
 
Last edited:
CAF123 said:
How does this second line follow from the first? Is what I wrote incorrect?Thanks
Also, in relation to what this union actually means - does it represent the probability of one of the events happening?

Yes, what you wrote not only makes no sense (look at it carefully!), but even if re-written properly would still be wrong. In general, an equation of the form
P(F) = \sum_i P(F|G_i) P(G_i)
is only true if the G_i are disjoint and their union is the whole space. In your problem the G_i are not disjoint, so what you wrote is false.

What I wrote in the second line is discussed in every introductory probability textbook; it is called the inclusion-exclusion principle. See, eg.
http://www.saylor.org/site/wp-conte...ia_Inclusion-Exclusion-Principle_6.8.2012.pdf
or
http://kaharris.org/teaching/425/Lectures/lec7.pdf
 
I am still struggling to see why a union calculation would be appropriate here. It is my understanding that a union of events ##G_i## would give the probability of only one of the events ##G_i## occurring, ie giving the prob that only one of the components are working. However, we want that the prob that at least one of the events is occurring so from that union of events, any number of the ##G_i## could occur to satisfy the system functionality, not just one. thanks
 
CAF123 said:
I am still struggling to see why a union calculation would be appropriate here. It is my understanding that a union of events ##G_i## would give the probability of only one of the events ##G_i## occurring, ie giving the prob that only one of the components are working. However, we want that the prob that at least one of the events is occurring so from that union of events, any number of the ##G_i## could occur to satisfy the system functionality, not just one. thanks

I don't know where your "understanding" about a union comes from---it is flat out wrong!
"A union B" = "A or B" = "at least one of A or B". If you want the set for "either A or B but not both" you need the set ##(A-B) \cup (B-A).##

Of course, if A and B are *disjoint* sets then ---- and ONLY then --- will we have that the union is the same as 'one or the other but not both'.

All this is made clear from the Venn diagrams in the links I provided in my previous response. Did you take the trouble to read them?

Finally, to see the difference, take two general sets A and B. Let C = {at least one of A or B occur} and D = {exactly one of A or B occur}. Their probabilities are generally different:
P(C) = P(A \cup B) = P(A) + P(B) - P(AB)\\<br /> P(D) = P[(A-B) \cup (B-A)] = P(A) + P(B) - 2P(AB).
Just draw a Venn diagram to see this.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...

Similar threads

Back
Top