In recent videos, we've talked a lot about discrete random variables, numbers that can't be broken down any further, like the number of prizes in a raffle or the number of kids in a household. But there are many possible outcomes in those situations, like 0, 1, 2, 3, 4, 5, and so on and so forth. Now, a lot of times we will be looking at situations where there are only 2 possible outcomes, like heads or tails in a coin flip. So, one of the most common examples of a discrete random variable is the outcomes in what we call a binomial experiment. We'll talk a lot about probabilities, means, and standard deviations in a later video.
But in this video, I just want to introduce you to what it means for an experiment to be binomial. There are basically these four criteria that we're going to look for. So let's go ahead and take a look, and we'll do some examples together. Alright? So a binomial experiment, basically, the word binomial just means that there are 2.
These are events with 2 possible outcomes, either a success or a failure. Those don't necessarily mean something good or bad. So, for example, heads could be a success, and tails could be a failure, not necessarily good or bad. Alright? The variable little x that we'll be using in these problems is basically the number of successes.
So in other words, this is your discrete random variable. So what is the word experiment? So, basically, what is happening is you're just going to be doing a bunch of trials, a series of independent trials. So if I flip a coin 4 times, that's just 4 independent trials. The word independence we've actually seen before.
This just means that the outcome of one trial doesn't affect the next. If I flip a coin, it's going to land on heads or tails, then has no effect on what the next coin flip is going to be. Alright? Each trial has a probability of success. For example, the probability I land on heads, and the variable we use for that is the letter little p.
Each trial also has a probability of failure, and these successes and failures are not always going to be 50/50. The letter that we use for this is q. And, basically, we've seen the relationship between complements before where the probability of something not happening, if there are only 2 possible outcomes, is 1 minus the probability that it does. So, basically, what happens here is if failure is the opposite of success, then it means that the probability of failure is just 1 minus p. Usually, what's going to happen in these problems is they'll give you what the probability of success is, and you can always figure out what q is using this relationship.
Alright? So that's all the variables you need to know. Let's take a look at our example here. So we're going to take a look at these following experiments and figure out if they are binomial. And if they are, we're going to figure out the values of n, p, q, and little x.
Alright? So let's go ahead and get started with our first example here. You're going to flip a coin 4 times. You count the number of times the coin lands on heads, which is 3 times. Okay?
So is this binomial? There are basically 4 questions to ask here, which have to do with the information that we just talked about up here. So let's get started. The first thing you have to answer is, are there only 2 possible outcomes? Well, if you flip a coin, you either get heads or tails.
There's no other possible outcome. Right? So there are only 2 outcomes in this experiment. So are there a fixed number of trials? Are you doing this a set number of times, or are you flipping the coin until something happens?
Well, basically, what we're told here is that you're flipping the coin exactly 4 times, so that is a fixed number of trials. Are the trials independent, which means that the outcome of 1 affects the others? We've already talked about this. One coin flip doesn't affect the next one, so these are definitely independent. And is there an equal probability of success per trial?
Oh, in other words, if success is the number of heads that I get, then it's always 50/50 because they are independent. So usually what happens is that these last two questions are sort of tied together. Alright? So this is definitely a binomial experiment. Let's take a look at the values of n, p, q, and little x.
Number, n is basically just the number of trials. And so in this case, what happens is we're flipping the coin 4 times. So that is our n. Right? So n equals 4.
So what about p, the probability of success? Well, essentially, with a coin flip, it's 50/50, but we usually write these as decimals. So in other words, p is 0.5, and that just means that q is equal to 1 minus 0.5, which is also 0.5. Now don't be really careful here. Just because this coin flip is 50/50, doesn't mean that all binomial experiments are going to be 50/50 like this.
We're going to see other types of probabilities. And finally, our last variable is x, which is essentially the number of successes that we got. Well, the desired outcome that we wanted is we wanted heads, and we landed on that three times. So that is basically what little x is. Alright?
That's just the number of desired outcomes. So that is for this first example. Let's take a look at the second one over here. We're going to pull 4 marbles out of a bag of red and blue marbles, but we're not going to replace them. So we're not replacing