# Thread: Question on conditional probability

1. ## Question on conditional probability

I'm a bit stumped on this question. It seems simple but I don't know where to begin.

"There is a 50% chance of hard drive damage if a power line to which a computer is connected is hit during an electrical storm. There is a 50% chance that an electrical storm will occur on any given summer day in a given area. If there is a 0.1% chance that the line will be hit during a storm, what is the probability that the line will be hit and there will be hard drive damage during the next electrical storm?"

So it is the intersection between the line being hit and HDD damage. But how do you get there?

2. ## Re: Question on conditional probability

Originally Posted by showstopperx
I'm a bit stumped on this question. It seems simple but I don't know where to begin.

"Assume that there is a 50% chance of hard drive damage if a power line to which a computer is connected is hit during an electrical storm. There is a 5% chance that an electrical storm will occur on any given summer day in a given area. If there is a 0.1% chance that the line will be hit during a storm, what is the probability that the line will be hit and there will be hard drive damage during the next electrical storm in this area?"

So it is the intersection between the line being hit and HDD damage. But how do you get there?
Let's begin by defining events:

$\displaystyle A$ is the event that the hard drive is damaged.
$\displaystyle B$ is the event that the line is hit.
$\displaystyle C$ is the event that an electrical storm occurs.

$\displaystyle P(C) = 0.05$

$\displaystyle P(B|C) = 0.01$

$\displaystyle P(B|C)= \tfrac{P(B\cap C)}{P(C)} \implies 0.01 = \tfrac{P(B\cap C)}{0.05} \implies P(B\cap C)=0.0005$

$\displaystyle P\left[A|(B\cap C)\right] = 0.5$

$\displaystyle P\left[A|(B\cap C)\right] = \tfrac{P\left[A\cap (B\cap C)\right]}{P(B\cap C)} = \tfrac{P(A\cap B\cap C)}{P(B\cap C)} \implies 0.5 = \tfrac{P(A\cap B\cap C)}{0.0005}$ $\displaystyle \implies P(A\cap B\cap C)=0.00025$

$\displaystyle P\left[(A\cap B) | C\right] = \tfrac{P\left[A\cap (B\cap C)\right]}{P(C)} = \tfrac{P(A\cap B\cap C)}{P(C)} = \tfrac{0.00025}{0.05} = 0.005$

-Andy

3. ## Re: Question on conditional probability

Thank you sir!