If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

# Example: Analyzing distribution of sum of two normally distributed random variables

AP.STATS:
VAR‑5 (EU)
,
VAR‑5.E (LO)
,
VAR‑5.E.1 (EK)
,
VAR‑5.E.3 (EK)

## Video transcript

- [Instructor] Shinji commutes to work and he worries about running out of fuel. The amount of fuel he uses follows a normal distribution for each part of his commute, but the amount of fuel he uses on the way home varies more. The amounts of fuel he uses for each part of the commute are also independent of each other. Here are summary statistics for the amount of fuel Shinji uses for each part of his commute. So when he goes to work he uses a mean of 10 liters of fuel, with a standard deviation of 1.5 liters. And on the way home, he also has a mean of 10 liters, but there is more variation. There is more spread. He has a standard deviation of two liters. Suppose that Shinji has 25 liters of fuel in his tank and he intends to drive to work and back home. What is the probability that Shinji runs out of fuel? All right, this is really interesting. We have the distributions for the amount of fuel he uses to work and to home, and they say that these are normal distributions. They say that right over here, follows a normal distribution. But here we're talking about the total amount of fuel he has to go to work and to go home. So what we wanna do is come up with a total distribution, home and back, I guess you could say. We could say, call this work plus home. Home and back. If you have two random variables that can be described by normal distributions and you were to define a new random variable as their sum, the distribution of that new random variable will still be a normal distribution and its mean will be the sum of the means of those other random variables. So the mean here, I'll say the mean of work plus home is going to be equal to 20 liters. He will use a mean of 20 liters in the roundtrip. Now for the standard deviation, from home plus work, you can't just add the standard deviations going and coming back. But because the amount of fuel going to work and the amount of fuel coming home are independent random variables, because they are independent of each other, we can add the variances. And only because they are independent can we add the variances. So what you can say is that the variance of the combined trip is equal to the variance of going to work plus the variance of going home. So what's the variance of going to work? Well, 1.5 squared is, so this will be 1.5 squared, and what's the variance coming home? Well, this is going to be two squared, two squared. Well, this is 2.25 plus four, which is equal to 6.25. So the variance on the roundtrip is equal to 6.25. If I were to take the square root of that, which is equal to 2.5, we can now describe the normal distribution of the roundtrip and use that to answer the question. So we have this normal distribution that might look something like this. We know its mean is 20 liters. So this is 20 liters. And we want to know what is the probability that Shinji runs out of fuel. Well, to run out of fuel, he would need to require more than 25 liters of fuel. So if 25 liters of fuel is right over here, so this is 25 liters of fuel, the scenario where Shinji runs out of fuel is right over here, this is where he needs more than 25 liters. He actually has 25 liters in his tank. So how do we figure out that area right over there? Well, we could use a z-table. We could say how many standard deviations above the mean is 25 liters? Well, it is five liters above the mean, so let me write this down. So the Z here, the Z is equal to 25 minus the mean, minus 20, divided by the standard deviation for, I guess you could say this combined normal distribution. This is two standard deviations above the mean or a z-score of plus two. So if we look at a z-table and we look exactly two standard deviations above the mean, that will give us this area, the cumulative area below two standard deviations above the mean. And then if we subtract that from one, we will get the area that we care about. So let's get our z-table out. We care about a z-score of exactly two, so 2.00 is right over here, .9772. So that tells us that this area right over here is 0.9772, and so that blue area, the probability that Shinji runs out of fuel is going to be one minus 0.9772, and what is that going to be equal to? Let's see, this is going to be equal to 0.0228. Did I do that right? I think I did that right. Yes, 0.0228 is the probability that Shinji runs out of fuel. If you want to think of it as a percent, 2.28% chance that he runs out of fuel.
AP® is a registered trademark of the College Board, which has not reviewed this resource.