00:01
All right, so we're given some information about a friend of ours who likes going between los angeles and washington, d .c.
00:07
We're given three airlines, the probability that that friend uses each airline, and the probability that they're late pulling either out of washington c or into los angeles.
00:18
So we have a hint that recommends that we set up a probability tree in a certain way.
00:22
So we're going to set up that probability tree right now.
00:28
All right.
00:29
So let a1 be airline 1, a2, b, airline 2, a2, a2, et cetera.
00:42
So the probability of a1 is 0 .50, probability of a2 is 0 .30, the probability of a3 is 0 .20.
00:50
That's what we're given.
00:52
All right.
00:53
Now i'm going to define a new variable, l0, l1, and l2.
01:00
And what these mean is as follows.
01:02
L0 means that there are no late flights on either end.
01:11
L1 means there's exactly one late flight, whether that be in l .a.
01:15
Or washington, d .c.
01:23
And l2 means both flights are late.
01:31
Now, we're given the statistics that cernan either landing or taking off is late in each city, and we're going to use that to our advantage.
01:41
So we're going to make this like three -pronged thing off the side of each of our branches.
01:55
Right.
01:57
First off, we're going to find l2.
01:59
So we're going to say probability of l2 given a1.
02:04
We're given that they're late on airline 1.
02:07
Flights are late into dc at 30 % of the times and late into la at 10 % of the time.
02:13
So that means the probability of both occurring is 0 .3 times 0 .03 and 0 .03.
02:22
Conversely, the probability of no late flights on a1 is going to be 1 minus the probability that the flights are late in dc, so 0 .7, times 1 minus the probability they're late in los angeles.
02:37
So 0 .9.
02:38
This is 0 .63.
02:41
Now for l1, i'm going to eschew the multiplication for this because these are only three possibilities, which means the last possibility is just going to be one minus all of the probabilities.
02:51
So the other probabilities add up to 0 .66.
02:55
So we're going to do 1 minus 0 .66, which is 0 .54.
03:02
No, that's wrong.
03:03
0 .34.
03:11
So now that we've done that for a1, let's do it for a2.
03:15
So probability of l2 given a2 is going to be.
03:18
Be we're given that they're late 25 % and 20 % of the time so 0 .25 and 0 .2 and that's 0 .05.
03:31
Conversely we have the probability of no late flights into a2 which is 0 .75 times 0 .8.
03:41
This is 0 .6.
03:44
And then finally we have l1 given a 2.
03:48
There's going to be 1 minus 0 .65.
03:52
Add the other two together and this is 0 .35.
03:57
Finally, we're going to do the same for airline 3.
03:59
So l2 given a3 is going to be 40 and 25%.
04:08
So 0 .4 times 0 .25...