Section A — 1 Mark Questions
1. What is a random variable? [1 Mark]
Answer: A random variable is a real-valued function whose domain is the sample space of a random experiment.
2. What are the two main types of random variables? [1 Mark]
Answer: Discrete random variables and continuous random variables.
3. What does p.m.f. stand for? [1 Mark]
Answer: Probability mass function.
4. What does p.d.f. stand for? [1 Mark]
Answer: Probability density function.
5. What does c.d.f. stand for? [1 Mark]
Answer: Cumulative distribution function.
6. Can a discrete random variable take infinitely countable values? [1 Mark]
Answer: Yes, a discrete random variable can take a finite or countably infinite number of values.
7. What is the range of values for a probability mass function P(X = x)? [1 Mark]
Answer: The values must lie between 0 and 1 inclusive, so 0 ≤ P(X = x) ≤ 1.
8. State the sum property of a probability mass function over all possible values of X. [1 Mark]
Answer: The sum of all probabilities for a p.m.f. equals 1, meaning ∑ P(X = x) = 1.
9. Can a continuous random variable take a specific exact value with a non-zero probability? [1 Mark]
Answer: No, the probability that a continuous random variable equals any single exact value is always zero.
10. What is the total area under the curve of a probability density function f(x)? [1 Mark]
Answer: The total area under the curve is equal to 1, meaning ∫ f(x) dx = 1 over its entire domain.
11. Write the mathematical definition of a cumulative distribution function F(x) in terms of a random variable X. [1 Mark]
Answer: F(x) = P(X ≤ x).
12. What is the lower limit of the values taken by any cumulative distribution function F(x)? [1 Mark]
Answer: The lower limit is 0, as lim (x → -∞) F(x) = 0.
13. What is the upper limit of the values taken by any cumulative distribution function F(x)? [1 Mark]
Answer: The upper limit is 1, as lim (x → ∞) F(x) = 1.
14. Is a cumulative distribution function always a non-decreasing function? [1 Mark]
Answer: Yes, if x1 ≤ x2, then F(x1) ≤ F(x2).
15. How is the probability of a continuous random variable lying between two points a and b expressed using its p.d.f. f(x)? [1 Mark]
Answer: P(a < X < b) = ∫ab f(x) dx.
16. What type of random variable is best suited to model the exact height of an adult human? [1 Mark]
Answer: A continuous random variable.
17. What type of random variable is best suited to model the number of heads obtained in three coin tosses? [1 Mark]
Answer: A discrete random variable.
18. For a continuous random variable, is P(X = a) equal to P(a ≤ X ≤ a)? [1 Mark]
Answer: Yes, and both probabilities are equal to zero.
19. If F(x) is the c.d.f. of a continuous random variable with p.d.f. f(x), what is the relationship between them using derivatives? [1 Mark]
Answer: f(x) = dF(x) / dx wherever the derivative exists.
20. Give a fundamental property that distinguishes a p.d.f. from a p.m.f. [1 Mark]
Answer: A p.d.f. can take values greater than 1 at specific points, whereas a p.m.f. cannot exceed 1 for any individual value.
Section B — 2/3 Mark Questions
1. Explain the concept of a random variable with a simple example. [2 Marks]
Answer: A random variable is a mathematical formalization of a quantity or object which depends on random events. For example, if we toss two fair coins, let X represent the number of heads obtained. Here, X is a random variable that can take the discrete values 0, 1, or 2 based on the outcome of the sample space.
2. State two fundamental properties of a probability mass function (p.m.f.). [2 Marks]
Answer: The two fundamental properties of a p.m.f. P(X = x) are: (1) Non-negativity, which means the probability for any specific value must satisfy 0 ≤ P(X = x) ≤ 1 for all x. (2) Normalization, which means the sum of probabilities over all possible values of the discrete random variable must equal 1, expressed as ∑ P(X = x) = 1.
3. Why is the probability of a continuous random variable taking any exact single value always equal to zero? Explain briefly. [2 Marks]
Answer: For a continuous random variable, probabilities are defined as areas under a probability density function curve over an interval. The probability of a single exact point x = a corresponds to the area of a region with a width of zero, which evaluates to zero. Therefore, P(X = a) = ∫aa f(x) dx = 0.
4. Explain how to find the probability P(a ≤ X ≤ b) for a continuous random variable given its p.d.f. f(x). [2 Marks]
Answer: To find the probability that a continuous random variable X falls between two values a and b, we integrate the probability density function f(x) from a to b. Mathematically, this is expressed as P(a ≤ X ≤ b) = ∫ab f(x) dx.
5. List three key properties of a cumulative distribution function (c.d.f.) F(x). [3 Marks]
Answer: The three key properties of a c.d.f. are: (1) It is a non-decreasing function of x, meaning if x1 < x2, then F(x1) ≤ F(x2). (2) Its limit as x approaches negative infinity is 0, and its limit as x approaches positive infinity is 1. (3) It is right-continuous everywhere for any random variable.
6. Differentiate between a discrete random variable and a continuous random variable based on their range of values and probability assignment. [3 Marks]
Answer: A discrete random variable takes values that are finite or countably infinite, and probabilities are assigned to individual points using a probability mass function. A continuous random variable takes an uncountably infinite set of values over an interval, and probabilities are assigned to intervals using a probability density function, with individual points having a probability of zero.
7. Given a discrete random variable X with values 1, 2, and 3 such that P(X = 1) = 0.2, P(X = 2) = 0.5, find P(X = 3) and verify the p.m.f. property. [3 Marks]
Answer: Since the sum of all probabilities in a p.m.f. must equal 1, we have P(X = 1) + P(X = 2) + P(X = 3) = 1. Substituting the given values: 0.2 + 0.5 + P(X = 3) = 1. Therefore, 0.7 + P(X = 3) = 1, which gives P(X = 3) = 0.3. This satisfies the non-negativity and total sum conditions of a valid p.m.f.
8. Explain the relationship between a probability density function f(x) and a cumulative distribution function F(x) for a continuous random variable. [3 Marks]
Answer: The cumulative distribution function F(x) is obtained by integrating the probability density function f(t) from negative infinity up to x, so F(x) = ∫-∞x f(t) dt. Conversely, the probability density function is the first derivative of the cumulative distribution function with respect to x, given by f(x) = dF(x) / dx wherever the derivative exists.
9. Illustrate how a random variable maps the outcomes of a sample space to real numbers using the experiment of tossing two coins. [3 Marks]
Answer: In the random experiment of tossing two coins, the sample space is S = {HH, HT, TH, TT}. A random variable X can be defined as the number of tails. The mapping is as follows: HH maps to 0, HT maps to 1, TH maps to 1, and TT maps to 2. Thus, X assigns the real numbers {0, 1, 2} to the abstract outcomes of the sample space.
10. State whether a function f(x) = 2x for 0 ≤ x ≤ 1 can serve as a valid p.d.f., and justify your answer. [3 Marks]
Answer: To be a valid p.d.f., f(x) must be non-negative in the given interval and its total integral must equal 1. Here, 2x ≥ 0 for all x in [0, 1]. Integrating the function gives ∫01 2x dx = [ x2 ]01 = 12 - 02 = 1. Since both conditions are satisfied, f(x) is a valid probability density function.
Section C — 5 Marks Questions
1. Define a random variable and explain the detailed differences between discrete and continuous random variables with appropriate illustrations and properties. [5 Marks]
Introduction
A random variable is a rule or function that assigns a unique numerical value to each outcome of a random experiment's sample space. It translates qualitative or raw experimental outcomes into quantitative values suitable for mathematical and statistical analysis.
Classification of Random Variables
Random variables are broadly classified into two categories depending on the nature of the set of values they can take:
- Discrete Random Variable: A random variable that takes a finite or countably infinite number of distinct values. Examples include the number of defective items in a batch or the number of phone calls received in an hour.
- Continuous Random Variable: A random variable that can take any value within a continuous range or interval on the real number line. Examples include the exact weight of a person, temperature, or lifespan of a component.
Key Differences
- Value Set: Discrete variables take isolated points, whereas continuous variables take intervals of real numbers.
- Probability Function: Discrete variables use a probability mass function (p.m.f.), while continuous variables use a probability density function (p.d.f.).
- Point Probabilities: For discrete variables, P(X = x) can be greater than zero. For continuous variables, the probability at any exact single point is always zero, so P(X = x) = 0.
Conclusion
Understanding whether a random variable is discrete or continuous is fundamental in probability theory because it dictates the mathematical tools, such as summation or integration, required to calculate probabilities and expected values.
2. Discuss the concept of a Probability Mass Function (p.m.f.) for discrete random variables, including its formal definition, essential properties, and a practical illustration. [5 Marks]
Introduction
When dealing with discrete random variables, the probability distribution is completely described by its probability mass function, commonly abbreviated as p.m.f. It assigns probabilities to each individual value that the discrete random variable can take.
Definition of p.m.f.
Let X be a discrete random variable taking values x1, x2, x3, ... . A function P(X = x) is called the probability mass function of X if it satisfies specific mathematical conditions that govern valid probabilities.
Essential Properties
- Non-negativity: The probability of any outcome must be greater than or equal to zero, so P(X = x) ≥ 0 for all x.
- Upper Bound: No probability can exceed one, meaning P(X = x) ≤ 1 for all x.
- Total Probability Sum: The sum of probabilities of all possible outcomes in the sample space must equal exactly 1, expressed as ∑ P(X = x) = 1.
Illustration
Consider a fair coin tossed twice. Let X be the number of heads. The sample space is {HH, HT, TH, TT} and the values of X are 0, 1, and 2. The p.m.f. is given by P(X = 0) = 1/4, P(X = 1) = 2/4, and P(X = 2) = 1/4. We can verify that 1/4 + 2/4 + 1/4 = 1, confirming it is a valid p.m.f.
Conclusion
The p.m.f. provides a complete probabilistic profile of a discrete random variable, allowing us to compute the likelihood of any event or combination of events within the discrete sample space.
3. Explain in detail the concept of a Probability Density Function (p.d.f.) for continuous random variables, along with its properties and how probabilities are derived from it. [5 Marks]
Introduction
For continuous random variables, individual outcomes do not have individual probabilities. Instead, probabilities are associated with intervals. The mathematical function that describes the relative likelihood of a continuous random variable taking a value in a given interval is the probability density function (p.d.f.).
Definition and Interpretation
Let X be a continuous random variable. A function f(x) is a probability density function if the probability that X lies in the interval [a, b] is given by the integral of f(x) from a to b. Unlike a p.m.f., the value of f(x) at any specific point is a density, not a probability.
Core Properties of a p.d.f.
- Non-negativity: The density function must never be negative for any real number x, so f(x) ≥ 0 for all x.
- Total Area Under Curve: The total integral of the p.d.f. over its entire defined domain must equal 1, represented as ∫-∞∞ f(x) dx = 1.
- Interval Probability: The probability of X falling between a and b is calculated as P(a ≤ X ≤ b) = ∫ab f(x) dx.
Implications
Because the probability at a single point is zero, inclusive and non-inclusive inequalities yield the same probability for continuous variables. Thus, P(a ≤ X ≤ b) is identical to P(a < X < b).
Conclusion
The p.d.f. is an essential analytical tool in continuous probability, serving as the continuous counterpart to the discrete p.m.f. and enabling the calculation of likelihoods over continuous domains.
4. Define the Cumulative Distribution Function (c.d.f.) and explain its properties and significance for both discrete and continuous random variables. [5 Marks]
Introduction
The cumulative distribution function (c.d.f.) provides an alternative and unified way to describe the probability distribution of any random variable, whether discrete or continuous. It measures the accumulated probability up to a given point.
Definition
For any random variable X, the cumulative distribution function denoted by F(x) is defined as the probability that the random variable X takes a value less than or equal to x. Mathematically, F(x) = P(X ≤ x) for all real numbers x from -∞ to ∞.
Key Properties of c.d.f.
- Range: The value of F(x) always lies between 0 and 1 inclusive, so 0 ≤ F(x) ≤ 1.
- Monotonicity: F(x) is a non-decreasing function of x. If x1 ≤ x2, then F(x1) ≤ F(x2).
- Asymptotic Limits: The limit of F(x) as x approaches negative infinity is 0, and as x approaches positive infinity, the limit is 1.
- Right-Continuity: The c.d.f. is always continuous from the right at any point on the real line.
Connection to p.m.f. and p.d.f.
For discrete random variables, F(x) is a step function obtained by summing the p.m.f. values up to x. For continuous random variables, F(x) is obtained by integrating the p.d.f. from negative infinity to x, and the derivative of F(x) gives the p.d.f. f(x).
Conclusion
The c.d.f. is a powerful concept because it applies universally to all types of random variables and simplifies the calculation of interval probabilities.
5. Compare and contrast discrete and continuous random variables comprehensively across multiple parameters including definition, function type, mathematical operations, and examples. [5 Marks]
Introduction
Random variables are classified into discrete and continuous types based on the nature of the values they assume. Both serve to model random phenomena but utilize fundamentally different mathematical frameworks for probability calculations.
Comparison Table
| Parameters | Discrete Random Variable | Continuous Random Variable |
|---|---|---|
| Value Set | Distinct, countable values (finite or infinite). | Uncountable values forming an interval. |
| Probability Function | Probability Mass Function (p.m.f.). | Probability Density Function (p.d.f.). |
| Point Probability | P(X = x) can be greater than zero. | P(X = x) is always zero. |
| Mathematical Operator | Uses summation (∑) for total probabilities. | Uses integration (∫) for total probabilities. |
| Cumulative Function | Step function increasing in jumps. | Smooth, continuous curve. |
| Examples | Coin tosses, number of students, rolling dice. | Height, weight, time, temperature. |
Detailed Explanation of Differences
The core distinction lies in how accumulation occurs. For discrete variables, probabilities are accumulated by adding discrete mass points together. For continuous variables, probabilities are accumulated by integrating density across an unbroken continuum. Despite these structural differences, both share common foundational axioms, such as non-negativity and a total probability sum or integral equal to 1.
Conclusion
Recognizing the differences between discrete and continuous random variables is vital for selecting the correct probability distributions and statistical techniques in data analysis.