Independence, part 2

A fair die is thrown two times independently. Let X X and Y Y be the random variable indicating the outcomes of these two throws. Define Z = X + Y , Z = X + Y, and define U U as the remainder when Z Z is divided by 6 6 .

Which of the following statements are true?

  1. X X and Z Z are independent.
  2. X X and U U are independent.
  3. Z Z and U U are independent.
None of them 1 only 2 only 3 only 1 and 2 only 1 and 3 only 2 and 3 only All of them

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Jason Dyer Staff
Apr 13, 2017

Statement 1: (One die roll vs. the sum of dice)

Note that there is a completely different possible set of sums for each possible roll of a die; for example, if the first die is a 1, then a sum of 12 is impossible, whereas if the first die is a 6, a sum of 2 is impossible. Therefore, the two are not independent.

Statement 2: (One die roll vs. the sum of dice modulo 6)

Each column has the digits 0 through 5, each with a probability of 1 6 \frac{1}{6} of occuring. Therefore, the first die does not affect the probability of a particular sum of dice modulo 6, and so the probabilities are independent.

Statement 3: (The sum of dice vs. the sum of dice modulo 6)

The sum of dice modulo 6 is completely dependent on the original sum of dice; if rolling a 7, for instance, the only possible sum of dice modulo 6 is 1. This means the probabilities are dependent.

@Jason Dyer thanks for the nice looking solution!!! (+1)

Ravneet Singh - 4 years, 1 month ago

i do not agree with answer, x and u are not independent, as u change when x change and clearly u is not the probability of one remainder, it is the remainder and it changes while x change. How these two can be independent?????

Amit Chand - 4 years, 1 month ago

Log in to reply

U is a probability chosen out a solution set of {0, 1, 2, 3, 4, 5} where each element of the set has equal probability. No value of X changes this. Therefore, X and U are independent.

Contrast this with the third statement, where a particular value of Z changes the solution set of U, and in fact makes the solution set of U contain only one element.

You may also see Agnishom's answer which derives the independence with formulas.

Jason Dyer Staff - 4 years, 1 month ago

Log in to reply

In the question it is not defined that U is a probability but a remainder. I agree with that the range set of mod function is {0, 1, 2, 3, 4, 5}. Also agree with your logic that the probability does not getting effected by one dice but surely the remainder is. U is only the value, it is not the probability (according to the question). If i am missing any point then please tell me.

Amit Chand - 4 years, 1 month ago

Log in to reply

@Amit Chand In this case each element of the set occurs with equal probability. When this is the case equivalent solution sets indicate equivalent probabilities.

Jason Dyer Staff - 4 years, 1 month ago

We shall use the following definition of independence:

Two random variables X X and Y Y are independent iff P ( X = x ; Y = y ) = P ( X = x ) P ( Y = y ) P(X = x; \; Y=y) = P(X=x)\; P(Y=y) for every x , y x, y .


Claim: X X and Z Z are not independent.

Proof: When X = 1 X=1 , we can never have Z = 12 Z=12 , but they are individually possible. Formally,

P ( X = 1 ; Z = 12 ) = 0 P ( X = 1 ) > 0 P ( Z = 12 ) > 0 P(X=1; Z=12) = 0 \\ P(X=1) > 0 \; P(Z=12) > 0

The product of two positive numbers can never be zero. \blacksquare

Claim: Z Z and U U are not independent.

Proof: When Z = 2 Z=2 , we can never have U = 3 U=3 , but they are individually possible. Formally,

P ( Z = 2 ; U = 3 ) = 0 P ( Z = 2 ) > 0 P ( U = 3 ) > 0 P(Z=2; U=3) = 0 \\ P(Z=2) > 0 \; P(U=3) > 0

\blacksquare

Claim: X X and U U are independent.

Proof: We shall interpret x , u x, u as remainders modulo 6.

We want to calculate the probability of the event ( X = x ; U = u ) (X=x; U=u) . This is the same as the event ( X = x ; Y u x ) (X=x; Y \equiv u-x) .

But we know that P ( X = x ; Y u x ) = P ( X = x ) P ( Y u x ) P(X=x; Y \equiv u-x) = P(X=x) \; P(Y \equiv u-x) , by independence of X X and Y Y . Hence, it follows that X X and U U are also independent. \blacksquare

thanks for the clear solution. although there is only one sentence i didn't understand,"We shall interpret x , u x, u as elements of Z / 6 Z \mathbb{Z}/6\mathbb{Z} ." is the '/' means division or it has something to do with probability?

Mehdi K. - 4 years, 2 months ago

Log in to reply

My apologies. What this means is that we are interpretting the numbers as if they were in a 6-hour clock. So, 5+1 = 0 and 5*2 = 4.

See modular arithmetic

Agnishom Chattopadhyay - 4 years, 1 month ago

Log in to reply

didn't know crazy people so kind xD

Mehdi K. - 4 years, 1 month ago
Malcolm Rich
Apr 10, 2017

Since U = Z (mod 6), then clearly Z and U are dependent.

Z = X + Y, so by simple logic we can say that Z is dependent on Z. To show a bit more rigour E [Z|X] = X + E [Y].

To show U and X are independent, we can demonstrate that U can take any value from 0 to 5 regardless of the value of X. Each of these has the same 1/6 probability so knowledge of X tells us nothing about U -> they are independent.

Actually, to show that two random variables X X and Y Y are independent formally, one shows that P ( X = x ; Y = y ) = P ( X = x ) P ( Y = y ) P(X=x;\; Y=y) = P(X=x)\;P(Y=y)

Agnishom Chattopadhyay - 4 years, 2 months ago

Log in to reply

So much cleaner, thanks.

Easier to prove Z,U are dependent by considering P (Z=7, U=1).

And P (Z=5,X=6) = 0 < P (Z=5) * P (X=6).

Malcolm Rich - 4 years, 2 months ago

Log in to reply

Yes, this is essentially the proof.

Agnishom Chattopadhyay - 4 years, 2 months ago

X is independent because is the first thrown, Y depends on first thrown, Z depends on X and Y. U is independent because is the result from division Z/6

How y depends on x?

Mehdi K. - 4 years, 2 months ago

How can we formalise the idea of dependence?

Agnishom Chattopadhyay - 4 years, 2 months ago

Y is not dependent on X at all; the value of X does not in any way impact the value of Y.

Mark Thomasy - 4 years, 2 months ago

Because Y is the second thrown, it can't be second without first, represented by X

Angel Mavarez Arevalo - 4 years, 2 months ago

Log in to reply

The throw may be dependent, but not the resulting value, which is what Y represents.

Mark Thomasy - 4 years, 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...