< Return to Video

Geometric random variables introduction

  • 0:02 - 0:05
    - [Narrator] So I have two,
    different random variables here.
  • 0:05 - 0:06
    And what I wanna do is think about
  • 0:06 - 0:08
    what type of random variables they are.
  • 0:08 - 0:11
    So this first random variable, x,
  • 0:11 - 0:13
    is equal to the number of sixes
  • 0:13 - 0:15
    after 12 rolls of a fair die.
  • 0:16 - 0:18
    Well this looks pretty much like
  • 0:18 - 0:20
    a binomial random variable.
  • 0:20 - 0:22
    In fact, I'm pretty confident it is
  • 0:22 - 0:24
    a binomial random variable and we
  • 0:24 - 0:26
    can just go down the checklist.
  • 0:26 - 0:28
    The outcome of each trial can be
  • 0:28 - 0:30
    a success or failure.
  • 0:30 - 0:33
    So, trial outcome success or failure.
  • 0:40 - 0:42
    It's either gonna go either way.
  • 0:42 - 0:44
    The result of each trial is independent
  • 0:44 - 0:45
    from the other one.
  • 0:45 - 0:48
    Whether I get a six on the third trial
  • 0:48 - 0:49
    is independent of whether I got
  • 0:49 - 0:51
    a six on the first or the second trial.
  • 0:51 - 0:53
    So result, let me write this,
  • 0:53 - 0:56
    trial, I'll just do a shorthand trial,
  • 0:56 - 0:59
    results independent, independent,
  • 1:02 - 1:04
    that's an important condition.
  • 1:04 - 1:08
    Let's see, there are a
    fixed number of trials.
  • 1:08 - 1:10
    Fixed number of trials.
  • 1:13 - 1:16
    In this case we're gonna have 12 trials.
  • 1:16 - 1:18
    And then the last one is, we have
  • 1:18 - 1:20
    the same probability on each trial.
  • 1:20 - 1:23
    Same probability of success
  • 1:24 - 1:26
    probability on each trial.
  • 1:30 - 1:34
    So yes indeed, this met
    all of the conditions
  • 1:34 - 1:37
    for being a binomial,
    binomial random variable.
  • 1:43 - 1:44
    And this was all just a little
  • 1:44 - 1:46
    bit of review about things that
  • 1:46 - 1:48
    we have talked about in other videos.
  • 1:48 - 1:50
    But what about this thing
    in the salmon color?
  • 1:50 - 1:52
    The random variable y.
  • 1:52 - 1:54
    So this says the number of rolls
  • 1:54 - 1:57
    until we get a six on a fair die.
  • 1:58 - 2:01
    So this one strikes us as
    a little bit different.
  • 2:01 - 2:03
    But let's see where it
    is actually different.
  • 2:03 - 2:07
    So, does it meet that the trial outcomes
  • 2:07 - 2:11
    that there's a clear success
    or failure for each trial?
  • 2:11 - 2:12
    Well yeah, we're just gonna keep rolling.
  • 2:12 - 2:14
    So each time we roll, it's a trial.
  • 2:14 - 2:16
    And success is when we get a six.
  • 2:16 - 2:18
    Failure is when we don't get a six.
  • 2:18 - 2:20
    So the outcome of each trial can
  • 2:20 - 2:24
    be classified as either
    a success or a failure.
  • 2:24 - 2:26
    So it meets, maybe I'll put the checks
  • 2:26 - 2:29
    right over here, it meets
    this first constraint.
  • 2:29 - 2:33
    Are the results of each trial independent?
  • 2:33 - 2:35
    Well whether I get a six on the first roll
  • 2:35 - 2:37
    or the second roll, or the third roll,
  • 2:37 - 2:39
    or the fourth roll, or the third roll,
  • 2:39 - 2:41
    the probabilities shouldn't be dependent
  • 2:41 - 2:45
    on whether I did or didn't
    get a six on a previous roll.
  • 2:45 - 2:48
    So, we have the independents.
  • 2:48 - 2:50
    And we also have the same probability
  • 2:50 - 2:51
    of success on each trial.
  • 2:51 - 2:53
    In every case it's a 1/6 probability that
  • 2:53 - 2:56
    I get a six, so this stays constant.
  • 2:56 - 2:59
    And I skipped this third
    condition for a reason.
  • 2:59 - 3:03
    Because we clearly don't have
    a fixed number of trials.
  • 3:03 - 3:08
    Over here we could roll 50
    times until we get a six.
  • 3:08 - 3:09
    The probability that we'd have
  • 3:09 - 3:10
    to roll 50 times is very low.
  • 3:10 - 3:12
    But we might have to roll 500 times
  • 3:12 - 3:14
    in order to get a six.
  • 3:14 - 3:17
    In fact, think about what
    the minimum value of y is
  • 3:17 - 3:20
    and what the maximum value of y is.
  • 3:20 - 3:24
    So the minimum value that
    this random variable can take,
  • 3:25 - 3:28
    I'll just call it min y, is equal to what?
  • 3:28 - 3:29
    Well, it's gonna take at least one roll.
  • 3:29 - 3:31
    So that's the minimum value.
  • 3:31 - 3:34
    But what is the maximum value for y?
  • 3:34 - 3:36
    And I'll let you think about that.
  • 3:36 - 3:39
    I'll assumed you thought about
    it, if you paused the video.
  • 3:39 - 3:41
    Well, there is no max value.
  • 3:41 - 3:43
    You can't say, "Oh it's a billion."
  • 3:43 - 3:44
    Because there's some probability
  • 3:44 - 3:47
    that it might take a
    billion and one rolls.
  • 3:47 - 3:49
    It is a very, very, very,
    very, very, very small
  • 3:49 - 3:52
    probability, but there's some probability.
  • 3:52 - 3:56
    It could take a Google
    rolls, a Google plex rolls.
  • 3:56 - 3:58
    So you can imagine where this is going.
  • 3:58 - 4:01
    So this type of random variable,
  • 4:01 - 4:03
    where it meets a lot of the constraints
  • 4:03 - 4:05
    of a binomial random variable.
  • 4:05 - 4:08
    Each trial has a clear
    success or failure outcome.
  • 4:08 - 4:11
    The probability of success
    on each trial is constant.
  • 4:11 - 4:14
    The trial results are
    independent of each other.
  • 4:14 - 4:16
    But we don't have a
    fixed number of trials.
  • 4:16 - 4:18
    In fact, it's a situation, we're saying,
  • 4:18 - 4:20
    "How many trials do we need to get,
  • 4:20 - 4:23
    "to we need to have until we get success?"
  • 4:23 - 4:25
    Maybe that's a general way of framing
  • 4:25 - 4:27
    this type of random variable.
  • 4:27 - 4:30
    How many trials until success?
  • 4:38 - 4:41
    While the binomial random variable was,
  • 4:41 - 4:44
    how many trials, or how many successes,
  • 4:48 - 4:51
    I should say, how many successes in
  • 4:53 - 4:55
    finite number of trials?
  • 4:59 - 5:01
    So if you see this general form
  • 5:01 - 5:02
    and it meets these conditions, you can
  • 5:02 - 5:05
    feel good it's a binomial random variable.
  • 5:05 - 5:07
    But if we're meeting this condition,
  • 5:07 - 5:10
    clear success or failure outcome,
  • 5:10 - 5:12
    independent trials, constant probability,
  • 5:12 - 5:14
    but we're not talking about the successes
  • 5:14 - 5:15
    in a finite number of trials.
  • 5:15 - 5:18
    We're talking about how
    many trials until success?
  • 5:18 - 5:20
    Then this type of random variable
  • 5:20 - 5:24
    is called a geometric random variable.
  • 5:29 - 5:31
    And we will see why, in future videos
  • 5:31 - 5:33
    it is called geometric.
  • 5:34 - 5:36
    Because the math that involves
  • 5:36 - 5:38
    the probabilities of various outcomes
  • 5:38 - 5:41
    looks a lot like geometric growth,
  • 5:41 - 5:43
    or geometric sequences and series
  • 5:43 - 5:46
    that we look at in other
    types of mathematics.
  • 5:46 - 5:47
    And in case I forgot to mention,
  • 5:47 - 5:48
    the reason why they're called binomial
  • 5:48 - 5:50
    random variables is because when you
  • 5:50 - 5:53
    think about the probabilities
    of different outcomes,
  • 5:53 - 5:55
    you have these things called
    binomial coefficients,
  • 5:55 - 5:57
    based on combinatorics.
  • 5:57 - 5:59
    And those come out of things like
  • 5:59 - 6:01
    Pascal's Triangle and when you take
  • 6:01 - 6:04
    a binomial to ever increasing powers.
  • 6:04 - 6:06
    So that's where those words come from.
  • 6:06 - 6:08
    But in the next few videos, the important
  • 6:08 - 6:10
    thing is to recognize the
    difference between the two.
  • 6:10 - 6:11
    And then we're gonna start thinking
  • 6:11 - 6:15
    about how do we deal with
    geometric random variables.
Title:
Geometric random variables introduction
Description:

more » « less
Video Language:
English
Team:
Khan Academy
Duration:
06:15

English subtitles

Revisions