Independent random variables

Comprehensive study notes, diagrams, and exam preparation for Independent random variables.

Independent Random Variables

Definition

Two random variables and are independent if, for every pair of sets of possible values and ,

In words, the probability that falls in a set and falls in a set at the same time is equal to the product of their separate probabilities.

For discrete random variables, independence can also be stated as:

for all possible values and .

For continuous random variables with joint density , independence means:

for all and , where and are the marginal densities.

A very important point is that independence is different from zero correlation. Two variables can have correlation 0 and still not be independent.


Main Content

1. Independence of Events vs Independence of Random Variables

Independence of events

  • is the basic idea: two events and are independent if Random variables extend this idea to the values they can take. Instead of asking whether two single events are independent, we ask whether all events generated by the random variables are independent.

Random variable independence is stronger and more complete

  • . If and are independent random variables, then any event involving is independent of any event involving . For example, the event is independent of the event . This makes independence very powerful in probability calculations.

Example

Suppose:

  • = outcome of a fair coin toss, where for Heads and for Tails
  • = outcome of a fair die roll

Then: If they are independent:

This means knowing the coin result gives no information about the die result.


2. Joint, Marginal, and Conditional Probability

  • The joint probability distribution gives probabilities for pairs of values . Independence is checked by comparing the joint distribution with the product of the marginals.
  • The marginal distribution of each random variable is its distribution considered alone. If the joint distribution factors into marginals, the variables are independent.

Conditional Probability Connection

Independence can also be expressed using conditional probability:

whenever .
This says that once we know , the probability distribution of does not change.

Example Table for Discrete Variables

Consider two binary random variables and :

0 0 0.25
0 1 0.25
1 0 0.25
1 1 0.25

Marginals:

Check: This holds for all pairs, so and are independent.

Non-Independent Example

If the table were:

0 0 0.5
0 1 0
1 0 0
1 1 0.5

Then , so knowing one gives the other exactly. These variables are not independent.


3. Key Properties and Consequences

Product rule for probabilities

  • : For independent random variables, probabilities of combined outcomes multiply. This is often the main practical benefit of independence.

Functions of independent variables remain independent if applied separately

  • : If and are independent, then and are also independent for suitable functions and . This is useful when transforming random variables in applications.

Mean and variance results

  • : Independence simplifies expected values and variances. In particular, when and are independent and the expectations exist.

Also, if and are independent.

This formula is one of the most important applications of independence.

Why independence matters in variance

For any two random variables, If they are independent, then , so the extra term disappears.

ASCII sketch for intuition

Relationship between independent variables:

X outcomes:   x1   x2   x3
              |    |    |
              v    v    v
Y outcomes:   y1   y2   y3

No outcome of X changes the probabilities for Y.

Relationship between dependent variables:

X outcome ---> affects ---> Y probabilities

Working / Process

1. Identify the random variables

  • Determine what each random variable represents.
  • Write down all possible values it may take.
  • Example: could be the result of a coin toss, and could be the result of a die roll.

2. Find the joint distribution and marginals

  • Calculate or list for all possible pairs.
  • Then find and by summing or integrating over the other variable.
  • This step is essential because independence is checked through the relationship between joint and marginal distributions.

3. Verify the independence condition

  • Check whether for all values in the discrete case.

  • For continuous variables, check whether

  • If the equality holds everywhere needed, the variables are independent; otherwise, they are not.


Advantages / Applications

Simplifies probability calculations

  • : Independent random variables allow probabilities of combined events to be found by multiplication instead of more complicated joint reasoning.

Useful in modeling real-world systems

  • : Many models in science, engineering, finance, and computer science assume independence as a starting point because it makes analysis manageable.

Supports statistical inference and theory

  • : Independence is central in sampling, estimation, regression assumptions, hypothesis testing, and laws such as the law of large numbers and central limit theorem.

Summary

  • Independent random variables do not influence each other’s probabilities.
  • Independence means the joint probability equals the product of the marginal probabilities.
  • This idea makes computations easier and is widely used in probability and statistics.
  • Important terms to remember: random variable, joint distribution, marginal distribution, conditional probability, independence, covariance