Q. 4.18

Question

Four independent flips of a fair coin are made. Let X denote the number of heads obtained. Plot the probability mass function of the random variable X-2

Step-by-Step Solution

Verified
Answer


1Step 1 Given information

Let X denote the number of heads obtained. 

2Step 2 Explanation

From the information, observe that a fair coin is flipped 4 times independently.

Consider X is the random variable that represents the number of heads obtained.

Consider Y is the random variable and it is defined as Y=X-2

Here, the range of X is 0 and 4 because there are 4 flips.

Now, the range of Y is,

0X4

0-2X-24-2

-2Y2

Therefore, the range of Y is -2 and +2.

The random variable X follows binomial distribution with parameters n=4 and p=12 because the probability of getting any event is fixed for every flip and number flips is independent.

3Step 3 Calculation

Calculate the probability distribution of Y.

P(Y=-2)=P(X=0)

=n0p0(1-p)n-0

=401201-124-0

=1×1×124

=116


P(Y=-1)=P(X=1)

=n1p1(1-p)n-1

=411211-124-1

=4×12×123

=416




4Step 4 Continuation of Calculation

P(Y=0)=P(X=2)

=n2p2(1-p)n-2

=421221-124-2

=6×122×122

=616


P(Y=1)=P(X=3)

=n3p3(1-p)n-3

=431231-124-3

=4×123×12

=416


P(Y=2)=P(X=4)

=n4p4(1-p)n-4

=441241-124-4

=1×124×120

=116

5Step 5 Final answer

Therefore, the probability distribution is,

Y-2-1012p(y)116416616416116

The plot of the probability mass function is as follows: