You are on page 1of 3

4/20/2018 Variance of Binomial Distribution - ProofWiki

Variance of Binomial Distribution


Car Rent Sevilla Airport Car Rental Madrid Airport Inchirieri Auto Sevilla

Contents
1 Theorem
2 Proof 1
3 Proof 2
4 Proof 3
5 Sources

Theorem
Let X be a discrete random variable with the binomial distribution with parameters n and p.

Then the variance of X is given by:

var(X) = np (1 − p)

Proof 1
From the definition of Variance as Expectation of Square minus Square of Expectation:

2 2
var(X) = E (X ) − (E (X))

From Expectation of Function of Discrete Random Variable:

2 2
E (X ) = ∑ x Pr (X = x)

x ∈ Im(X)

To simplify the algebra a bit, let q = 1 − p , so p + q = 1 .

So:
n
n
2 2 k n−k Definition of Binomial Distribution:
E (X ) = ∑ k ( )p q
k p + q = 1
k ≥ 0

n Factors of Binomial Coefficient:


n − 1
k n−k
= ∑ kn( )p q n n − 1
k − 1 k( ) = n( )
k = 0 k k − 1

n
n − 1 k−1 (n−1)−(k−1) Change of limit: term is zero when
= np ∑ k( )p q
k − 1 k − 1 = 0
k = 1

m
m j m−j
= np ∑ (j + 1) ( )p q putting j = k − 1, m = n − 1
j
j = 0

m m
m m
j m−j j m−j
= np ( ∑ j( )p q + ∑( )p q ) splitting sum up into two
j j
j = 0 j = 0

m m Factors of Binomial Coefficient:


m − 1 m
j m−j j m−j
= np ( ∑ m( )p q + ∑( )p q ) m m − 1
j − 1 j j( ) = m( )
j = 0 j = 0 j j − 1

m m
m − 1
j−1 (m−1)−(j−1)
m
j m−j Change of limit: term is zero when
= np ((n − 1) p ∑ ( )p q + ∑( )p q )
j − 1 j j − 1 = 0
j = 1 j = 0

m−1 m
= np ((n − 1) p(p + q) + (p + q) ) Binomial Theorem

= np ((n − 1) p + 1) as p + q = 1

= n p
2 2
+ np (1 − p) by algebra

https://proofwiki.org/wiki/Variance_of_Binomial_Distribution 1/3
4/20/2018 Variance of Binomial Distribution - ProofWiki

Then:

2 2
var(X) = E (X ) − (E (X))

= np (1 − p) + n p
2 2
− (np)
2
Expectation of Binomial Distribution: E (X) = np

= np (1 − p)

as required.

Proof 2
From Variance of Discrete Random Variable from PGF:
′′ 2
var(X) = Π (1) + μ − μ
X

where μ = E (x) is the expectation of X.

From the Probability Generating Function of Binomial Distribution:


n
Π X (s) = (q + ps)

where q = 1 − p .

From Expectation of Binomial Distribution:

μ = np

From Derivatives of PGF of Binomial Distribution:

′′ 2 n−2
Π (s) = n (n − 1) p (q + ps)
X

Setting s = 1 and using the formula Π ′′X (1) + μ − μ2 :

2 2 2
var(X) = n (n − 1) p + np − n p

Hence the result.

Proof 3
From Bernoulli Process as Binomial Distribution, we see that X as defined here is the sum of the discrete random variables that model the
Bernoulli distribution.

Each of the Bernoulli trials is independent of each other.

Hence we can use Sums of Variances of Independent Trials.

The Variance of Bernoulli Distribution is p (1 − p) .

Thus the variance of B (n, p) is np (1 − p) .

Sources
1986: Geoffrey Grimmett and Dominic Welsh: Probability: An Introduction ... (previous) ... (next): §2.4: Expectation: Exercise 9

Car Rent Sevilla Airport Car Rental Madrid Airport Inchirieri Auto Sevil

https://proofwiki.org/wiki/Variance_of_Binomial_Distribution 2/3
4/20/2018 Variance of Binomial Distribution - ProofWiki

Retrieved from "https://proofwiki.org/w/index.php?title=Variance_of_Binomial_Distribution&oldid=350318"

This page was last modified on 14 April 2018, at 07:56 and is 991 bytes
Content is available under Creative Commons Attribution-ShareAlike License unless otherwise noted.

https://proofwiki.org/wiki/Variance_of_Binomial_Distribution 3/3

You might also like