draw a probability distribution table relating to a given situation involving a discrete random variable X, and calculate E(X) and Var(X)
A random variable is one that can take multiple values and in some cases these values may be defined by a function. Random variables are denoted by a capital letter, for example, X. A discrete random variable only takes exact values, for example, 1, 2, 3, and so on. The sum of the probabilities of all the values governed by a particular random variable adds up to 1. This can be denoted by, P(X=x)=1Where X represents the random variable and x represents all the values that the random variable can take. This may also be written as, p=1Where p represents P(X=x).
If we know the probabilities of the values that the random variable can take, we can draw a probability distribution table. Let’s look at an example.
Example 1 The random variable X, takes values 1, 2, 3 and 4. It is given that P(X=1)=0.1, P(X=2)=0.4, P(X=3)=0.4 and P(X=4)=0.1. Draw the probability distribution table.
The probability distribution table for the problem above would look like this,
x
1
2
3
4
P(X=x)
0.1
0.4
0.4
0.1
Using the probability distribution table we can also find the E(X) and Var(X). The formula for mean is, E(X)=ΣxpThe formula for variance is, Var(X)=Σx2p−[E(X)]2Using the example above, let’s find E(X) and Var(X), E(X)=ΣxpE(X)=1(0.1)+2(0.4)+3(0.4)+4(0.1)E(X)=2.5Var(X)=Σx2p−[E(X)]2Σx2p=12(0.1)+22(0.4)+32(0.4)+42(0.1)Σx2p=6.9Var(X)=6.9−(2.5)2Var(X)=0.65
Let’s look at some past paper questions.
1. The random variable X takes the values 1, 2, 3, 4 only. The probability that x takes the value x is kx(5−x), where k is a constant. (9709/52/F/M/21 number 4)
(a) Draw up the probability distribution table for X, in terms of k.
We are given that, P(X=x)=kx(5−x)We can use that function to find the probabilities for the values that x takes. Let’s start with 1, P(X=x)=kx(5−x)P(X=1)=k(1)(5−1)P(X=1)=4kLet’s evaluate 2, P(X=x)=kx(5−x)P(X=2)=k(2)(5−2)P(X=2)=6kLet’s evaluate 3, P(X=x)=kx(5−x)P(X=3)=k(3)(5−3)P(X=3)=6kLet’s evaluate 4, P(X=x)=kx(5−x)P(X=4)=k(4)(5−4)P(X=4)=4kNow that we have all the probabilities in terms of k, we can now draw up a probability distribution table,
x
1
2
3
4
P(X=x)
4k
6k
6k
4k
Therefore, the final answer is,
x
1
2
3
4
P(X=x)
4k
6k
6k
4k
(b) Show that Var(X)=1.05.
The formula for variance under discrete conditions is, Var(X)=Σx2p−[E(X)]2To be able to use this formula we need to find Σx2p and the mean. To do that, we need to first evaluate k, we will use the idea that, P(X=x)=1P(X=1)+P(X=2)+P(X=3)+P(X=4)=1Substitute in the values in terms of k from the probability distribution table, 4k+6k+6k+4k=1Simplify and solve for k, 20k=1k=201We can now draw up a new probability distribution table in which the k has been substituted,
x
1
2
3
4
P(X=x)
204
206
206
204
We can now find the mean, E(X)=ΣxpE(X)=1(204)+2(206)+3(206)+4(204)E(X)=2.5Note: If the distribution is symmetrical, then the mean is the midpoint of the x values.
Now let’s find Σx2p, Σx2p=12(204)+22(206)+32(206)+42(204)Σx2p=7.3Now let’s substitute back into the formula for variance, Var(X)=Σx2p−[E(X)]2Var(X)=7.3−(2.5)2Var(X)=7.3−6.25Var(X)=1.05Therefore, we have proved that, Var(X)=1.052. A fair spinner has sides numbered 1, 2, 2. Another fair spinner has sides numbered −2, 0, 1. Each spinner is spun. The number on the side on which a spinner comes to rest is noted. The random variable X is the sum of the numbers for the two spinners. (9709/52/M/J/21 number 4)
(a) Draw up the probability distribution table for X.
Since there are two spinners, we can draw a possibility space diagram to show all possible outcomes. Label the y-axis with, spinner 1 and the x-axis with, spinner 2. Inside the diagram add up the sum of the numbers for the two spinners,
From the diagram we can tell that, P(X=−1)=91P(X=0)=92P(X=1)=91P(X=2)=93P(X=3)=92Now that we have all the probabilities, we can now draw a probability distribution table,
x
−1
0
1
2
3
P(X=x)
91
92
91
93
92
Therefore, the final answer is,
x
−1
0
1
2
3
P(X=x)
91
92
91
93
92
(b) Find E(X) and Var(X).
To find the mean, we use the formula, E(X)=ΣxpE(X)=−1(91)+0(92)+1(91)+2(93)+3(92)E(X)=34To find the variance, we use the formula, Var(X)=Σx2p−[E(X)]2Let’s find Σx2p, Σx2p=(−1)2(91)+02(92)+12(91)+22(93)+32(92)Σx2p=932Substitute back into the formula for variance, Var(X)=Σx2p−[E(X)]2Var(X)=932−(34)2Var(X)=916Therefore, the final answer is, Var(X)=916
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.