Trial Count and Shape

Introduction

You have reached the fourth lesson in The Binomial Distribution, putting you well past the halfway mark of this six-lesson course. Over the first three lessons, you built a solid foundation: the four requirements for a binomial setup, how to read the bar chart of success counts, and how the success probability pp tilts the distribution left, right, or keeps it balanced. In each of those lessons, the number of trials stayed fixed while we focused on other features.

Now we shift attention to the other control in the binomial setup: the number of trials nn. What happens to the distribution when we keep pp the same but run more trials? As you will see, changing nn affects both where the bars concentrate and how widely they spread out.

A Quick Thought Experiment

Before we look at charts, let's build some intuition with a simple scenario. Imagine you flip a fair coin 55 times and count the heads. You would expect around 22 or 33 heads, and getting 00 or 55 would feel unusual but not shocking.

Now imagine flipping that same coin 100100 times. You would expect roughly 5050 heads, and getting 00 or 100100 would be practically impossible. Notice two things happened when we moved from 55 flips to 100100: the typical count jumped from about 22–33 up to about 5050, and the range of realistic outcomes got wider. You would not be surprised by 4545 or 5555 heads out of 100100, a span of about 1010, whereas with 55 flips the realistic range covered only about 33 or 44 values. These two effects are the heart of today's lesson.

More Trials Raise the Typical Count

As you may recall from previous lessons, the peak of a binomial distribution sits near n×pn \times p. This product gives us the expected number of successes, and it grows in direct proportion to nn. When we hold pp fixed and increase nn, the peak simply slides to the right.

Consider a process with p=0.30p = 0.30:

Number of trials nnExpected successes n×pn \times p
101033
50501515
1001003030

Every time we multiply nn by some factor, the expected count multiplies by the same factor. Double the trials, double the typical count. This makes intuitive sense: if each trial has a 30%30\% chance of success, running more trials simply gives that 30%30\% more opportunities to produce a "yes."

Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal