3 Independent events

If the occurrence of one event A does not affect, nor is affected by, the occurrence of another event B then we say that A and B are independent events. Clearly, if A and B are independent then

P ( B | A ) = P ( B ) and P ( A | B ) = P ( A )

Then, using the Key Point 7 formula P ( A B ) = P ( B | A ) P ( A ) we have, for independent events:

Key Point 8

The Multiplication Law

If A and B are independent events then

P ( A B ) = P ( A ) × P ( B )
In words

‘The probability of independent events A and B occurring is the product of the probabilities of the events occurring separately.’

In Figure 8 two components a and b are connected in series.

Figure 8

No alt text was set. Please request alt text from the person who provided you with this resource.

Define two events

Previous testing has indicated that P ( A ) = 0.99 , and P ( B ) = 0.98 . The circuit functions only if a and b are both operating simultaneously. The components are assumed to be independent.

Then the probability that the circuit is operating is given by

P ( A B ) = P ( A ) P ( B ) = 0.99 × 0.98 = 0.9702

Note that this probability is smaller then either P ( A ) or P ( B ) .

Task!

Decide which of the following pairs (A and B) of events arising from the experiments described are independent.

  1. One card is drawn from each of two packs

    A = { a red card is drawn from pack 1 }

    B = { a picture card is drawn from pack 2 }

  2. The daily traffic accidents in Hull involving pedal cyclists and motor cyclists are counted

    A = { three motor cyclists are injured in separate collisions with cars }

    B = { one pedal cyclist is injured when hit by a bus }

  3. Two boxes contains 20 nuts each, some have a metric thread, some have a British Standard Fine (BSF) threads and some have a British Standard Whitworth (BSW) thread. A nut is picked out of each box.

    A = { nut picked out of the first box is BSF }

    B = { nut picked out of the second box is metric  }

  4. A box contains 20 nuts, some have a metric thread, some have a British Standard Fine (BSF) threads and some have British Standard Whitworth (BSW) thread. Two nuts are picked out of the box.

    A = { first nut picked out of the box is BSF }

    B = { second nut picked out of the box is metric  }

(1), (2), (3): A and B are independent. (4) A and B are not independent.

Key Point 9

Laws of Elementary Probability

Let a sample space S consist of the n simple distinct events E 1 , E 2 E n and let A and B be events contained in S .

Then:

  1. 0 P ( A ) 1 . P ( A ) = 0 is interpreted as meaning that the event A cannot occur and P ( A ) = 1 is interpreted as meaning that the event A is certain to occur.
  2. P ( A ) + P ( A ) = 1 where the event A is the complement of the event A
  3. P ( E 1 ) + P ( E 2 ) + + P ( E n ) = 1 where E 1 , E 2 , E n form the sample space
  4. If A and B are any two events then P ( A B ) = P ( A ) + P ( B ) P ( A B )
  5. If A and B are two mutually exclusive events then P ( A B ) = P ( A ) + P ( B )
  6. If A and B are two independent events then P ( A B ) = P ( A ) × P ( B ) .
Example 12

A circuit has three independent switches A, B and C wired in parallel as shown in the figure below.

Figure 9

No alt text was set. Please request alt text from the person who provided you with this resource.

Current can only flow through the bank of switches if at least one of them is closed. The probability that any given switch is closed is 0.9. Calculate the probability that current can flow through the bank of switches.

Solution

Assume that A is the event {switch A is closed}. Similarly for switches B and C . We require P ( A B C ) , the probability that at least one switch is closed. Using set theory,

P ( A B C ) = P ( A ) + P ( B ) + P ( C ) [ P ( A B ) + P ( B C ) + P ( C A ) ] + P ( A B C )

Using the fact that the switches operate independently,

P ( A B C ) = 0.9 + 0.9 + 0.9 [ 0.9 × 0.9 + 0.9 × 0.9 + 0.9 × 0.9 ] + 0.9 × 0.9 × 0.9 = 2.7 2.43 + 0.729 = 0.999

Note that the result implies that the system is more likely to allow current to flow than any single switch in the system. This is why replication is built into systems requiring a high degree of reliability such as aircraft control systems.

Task!

A circuit has four independent switches A , B , C and D wired in parallel as shown in the diagram below.

No alt text was set. Please request alt text from the person who provided you with this resource.

Current can only flow through the bank of switches if at least one of them is closed. The probabilities that switches A , B , C and D are closed are 0.9, 0.8, 0.7 and 0.6 respectively. Calculate the probability that current can flow through the bank of switches.

Denoting the switches by A , B , C and D we have:

P ( A B C D )

= P ( A ) + P ( B ) + P ( C ) + P ( D )

P ( A B ) P ( B C ) P ( C D ) P ( D A ) P ( A C ) P ( B D )

+ P ( A B C ) + P ( B C D ) + P ( C D A ) + P ( D A B )

P ( A B C D )

Using the fact that the switches operate independently and substituting gives:

P ( A B C D ) = 3 3.35 + 1.65 0.3024 = 0.9976

Hence, the probability that current can flow through the bank of switches is 0.9976.

Exercises
  1. A box contains 4 bad tubes and 6 good tubes. Two are drawn out together. One of them is tested and found to be good. What is the probability that the other one is also good?
  2. A man owns a house in town and a cottage in the country. In any one year the probability of the town house being burgled is 0.01 and the probability of the country cottage being burgled is 0.05. In any one year what is the probability that:
    1. both will be burgled?
    2. one or the other (but not both) will be burgled ?
  3. In a Baseball Series, teams A and B play until one team has won 4 games. If team A has probability 2/3 of winning against B in a single game, what is the probability that the Series will end only after 7 games are played?
  4. The probability that a single aircraft engine will fail during flight is q . A multi-engine plane makes a successful flight if at least half its engines run. Assuming that the engines operate independently, find the values of q for which a two-engine plane is to be preferred to a four-engine plane.
  5. Current flows through a relay only if it is closed. The probability of any relay being closed is 0.95. Calculate the probability that a current will flow through a circuit composed of 3 relays in parallel. What assumption must be made?
  6. A central heating installation and maintenance engineer keeps a record of the causes of failure of systems he is called out to repair. The causes of failure are classified as ‘electrical’, ‘gas’, or in some cases ‘other’. A summary of the records kept of failures involving either gas or electrical faults is as follows:

    No alt text was set. Please request alt text from the person who provided you with this resource.

    1. Find the probability that failure involves gas given that it involves electricity.
    2. Find the probability that failure involves electricity given that it involves gas.
  1. Let G i = { i t h tube is good } B i = { i t h tube is bad }

    P ( G 2 | G 1 ) = 5 9 (only 5 good tubes left out of 9).

    1. H = { house is burgled } C = { cottage is burgled }
    2. P ( H C ) = P ( H ) P ( C ) = ( 0.01 ) ( 0.05 ) = 0.0005 since events independent

      P (one or the other (but not both)) = P ( ( H C ) ( H C ) ) = P ( H C ) + P ( H C )

      = P ( H ) P ( C ) + P ( H ) P ( C )

      = ( 0.01 ) ( 0.95 ) + ( 0.99 ) ( 0.05 ) = 0 . 059 .

  2. Let A i be event { A  wins the  i t h game }

    required event is { A 1 A 2 A 3 A 4 A 5 A 6 ) ( ) no. of ways of arranging 3 in 6 i.e. 6 C 3

    P (required event) = 6 C 3 P ( A 1 A 2 A 3 A 4 A 5 A 6 ) = 6 C 3 [ P ( A 1 ) ] 3 P [ A 1 ] 3 = 160 729

  3. Let E i be event { i t h  engine success }

    Two-engine plane: flight success if { ( E 1 E 2 ) ( E 1 E 2 ) ( E 1 E 2 ) } occurs

    P (required event) = P ( E 1 ) P ( E 2 ) + P ( E 1 ) P ( E 2 ) + P ( E 1 ) P ( E 2 ) = ( 1 q ) 2 + 2 q ( 1 q ) = 1 q 2

    Four-engine plane: success if following event occurs

    { E 1 E 2 E 3 E 4 } 4 C 2 ways { E 1 E 2 E 3 E 4 } 4 C 1 ways { E 1 E 2 E 3 E 4 } 4 C 0 ways

    required probability = 6 ( 1 q ) 2 q 2 + 4 ( 1 q ) 3 q + ( 1 q ) 4 = 3 q 4 4 q 3 + 1

    Two-engine plane is preferred if

    1 q 2 > 3 q 4 4 q 3 + 1 i.e. if 0 > q 2 ( 3 q 1 ) ( q 1 )

    Let y = ( 3 q 1 ) ( q 1 ) . By drawing a graph of this quadratic you will quickly see that a two-engine plane is preferred if 1 3 < q < 1 .

  4. Let A be event { relay  A  is closed } : Similarly for B , C

    required event is { A B C } { A B C } 3 C 1 { A B C } 3 C 2

    P (required event) = ( 0.95 ) 3 + 3 ( 0.95 ) 2 ( 0.05 ) + 3 ( 0.95 ) ( 0.05 ) 2 = 0.999875

    ( or 1 P (all relays open) = 1 ( 0.05 ) 3 = 0.999875 .)

    The assumption is that relays operate independently.

    1. A total of 76 failures involved electrical faults. Of the 76 some 53 involved gas. Hence

        P { Gas Failure  |  Electrical Failure } = 53 76 = 0.697

    2. A total of 64 failures involved electrical faults. Of the 64 some 53 involved gas. Hence

        P { Electrical Failure  |  Gas Failure } = 53 64 = 0.828