Independent and dependent events-conditional probability

In summary, the conversation discusses the probability of rolling an even number on two dice given that they are the same number. The events A and B are defined as having the same number on both dice and having an even number on both dice, respectively. The conditional probability of B given A is 0.5, indicating that there is a 50% chance of rolling an even number when the two dice have the same number. The conversation also touches on the concept of independence between events, with the conclusion that A and B are not independent. The notation P(X|Y) is explained as representing a smaller probability space than P(X), with B being the event of rolling an even number and B|A being the event of rolling an
  • #1
Bassalisk
947
2
Lets say I roll 2 dice.

We have 36 possible elementary events.

I want to know what is the probability that I rolled an even number, given that I rolled both same dice.

So my event A={<1,1>, <2,2>, <3,3>, <4,4>, <5,5>, <6,6>}
My event B={<2,2>, <4,4>,<6,6>}

Conditional probability is,

P(B|A)=P(A and B)/P(A) = 0.5

I mean its intuitive, if I rolled the both dice with the same number I have 50:50 percent chance that I got an even number.

Now are these events independent? My gut is telling me that they aren't and math is confirming that.

This is an example I worked out myself, to try to explain this to myself, so I just need somebody to confirm it.
 
Physics news on Phys.org
  • #2
Bassalisk said:
Now are these events independent? My gut is telling me that they aren't and math is confirming that.

You haven't done the math to test whether the events are independent.
Is P(A|B) = P(A)? Is P(B|A) = P(B)?
 
  • #3
Hi Bassalisk! :smile:
Bassalisk said:
I want to know what is the probability that I rolled an even number, given that I rolled both same dice.

hmm :rolleyes: … let's restate the question, to make it easier :wink:

"what is the probability that the second die has the same parity (remainder on division by 2) as the first die?"​
 
  • #4
Stephen Tashi said:
You haven't done the math to test whether the events are independent.
Is P(A|B) = P(A)? Is P(B|A) = P(B)?

It doesn't give those equalities, so they are dependent?
 
  • #5
tiny-tim said:
Hi Bassalisk! :smile:hmm :rolleyes: … let's restate the question, to make it easier :wink:

"what is the probability that the second die has the same parity (remainder on division by 2) as the first die?"​

Hmmm I don't think I follow. I am as good with probability, as our politicians are with our countries.
 
Last edited:
  • #6
Bassalisk said:
It doesn't give those equalities


What doesn't give those inequaliies? You haven't shown any computation for P(B) or P(A).

By the way, your notation B = {(2,2),(4,4),(6,6) } is incorrect. That set should be named "B|A".

The set "B" is {(2,1),(2,2),(2,3)...(4,1),(4,2)... etc.
 
  • #7
Stephen Tashi said:
What doesn't give those inequaliies? You haven't shown any computation for P(B) or P(A).

By the way, your notation B = {(2,2),(4,4),(6,6) } is incorrect. That set should be named "B|A".

The set "B" is {(2,1),(2,2),(2,3)...(4,1),(4,2)... etc.

Give me a minute.

I thought B was my second event.

I wanted to both dice have the same and even number. Those were 22 44 66.

Probability that I rolled same numbers on both dice is: 6/36 right?

Probability that I rolled same numbers on both dice, and they are even, is 3/36

correct?


P(A and B)=3/36 (intersection between my original 2 sets)

P(B|A)=P(A and B)/P(A)

That is

P(B|A)=3/36/6/36 =1/2


If I carry on that test we spoke of:

P(A and B)=P(A)*P(B)

P(A and B)=6/36 * 3/36 = 18/36 which is not P(A and B) which equals 3/36

Where am I making a mistake, why did you define that second set the way you did?
 
  • #8
Bassalisk said:
why did you define that second set the way you did?

There is an important convention involving the notation P(X|Y).

In the notation P(X), X is an "event" or set in some space of events. The space in your in your problem is all possible outcomes of rolling two fair dice = {(1,1),(1,2)..(1,6)...(6,1)...etc. }

The notation P(X|Y) expresses the idea that you change both the set X that is considered and also the space of outcomes. The space of outcomes is now the event Y, not the entire space implied in the notation [itex] P(X) [/itex] The event that we consider within that new space of outcomes is the set [itex] X \cap Y [/itex]

Both the notation [itex] P(X \cap Y) [/itex] and [itex] P(X|Y) [/itex] refer to the event given by [itex] X \cap Y [/itex] but [itex] P(X|Y) [/itex] refers to that set as an event in "smaller" probability space than the space implied by [itex] P(X \cap Y) [/itex].

B is the event "you roll an even number". The standard mathematical interpretation of that is that you roll at least one even number in two rolls. This includes the cases where you roll an even number only on the first roll, the cases where you roll an even number only on the second roll and the cases where you roll an even number on both rolls. That's why I listed such possibilities.

The event B|A refers to the event "you roll and even number within the space of events defined by both rolls being the same". This is the set {(2,2),(4,4),(6,6)} which you listed.
 
  • #9
Stephen Tashi said:
There is an important convention involving the notation P(X|Y).

In the notation P(X), X is an "event" or set in some space of events. The space in your in your problem is all possible outcomes of rolling two fair dice = {(1,1),(1,2)..(1,6)...(6,1)...etc. }

The notation P(X|Y) expresses the idea that you change both the set X that is considered and also the space of outcomes. The space of outcomes is now the event Y, not the entire space implied in the notation [itex] P(X) [/itex] The event that we consider within that new space of outcomes is the set [itex] X \cap Y [/itex]

Both the notation [itex] P(X \cap Y) [/itex] and [itex] P(X|Y) [/itex] refer to the event given by [itex] X \cap Y [/itex] but [itex] P(X|Y) [/itex] refers to that set as an event in "smaller" probability space than the space implied by [itex] P(X \cap Y) [/itex].

B is the event "you roll an even number". The standard mathematical interpretation of that is that you roll at least one even number in two rolls. This includes the cases where you roll an even number only on the first roll, the cases where you roll an even number only on the second roll and the cases where you roll an even number on both rolls. That's why I listed such possibilities.

The event B|A refers to the event "you roll and even number within the space of events defined by both rolls being the same". This is the set {(2,2),(4,4),(6,6)} which you listed.

Hmmm. But what is the probability P(B|A) then?. I want to find the probability, that i rolled both even numbers, given that I rolled 2 same numbers before. 50% chance is something that is intuitive to me...
 
  • #10
I agree with your work and your answer for P(B|A).

However, If you are writing out the answer to this problem, you need to label the sets correctly.

You should indicate how you computed P(B) if you use that number. In your work, It looks like you are saying P(B) = 3/36. I don't think that is correct.
 
  • #11
I think he's getting confused.

They are not independent. A=two dice are the same. B=two dice are even.

P(AB) = probability of the intersection = 3/36 =1/12

But P(A) = 1/6 and P(B) = 1/4 (You can have ee, oo, eo, oe all with equal prob)

Since P(AB) is not equal to P(A)P(B) then the events are not independent.

In fact, P(B given A) = P(AB)/P(A) = (1/12)/(1/6) = 1/2
 
  • #12
alan2 said:
I think he's getting confused.

They are not independent. A=two dice are the same. B=two dice are even.

P(AB) = probability of the intersection = 3/36 =1/12

But P(A) = 1/6 and P(B) = 1/4 (You can have ee, oo, eo, oe all with equal prob)

Since P(AB) is not equal to P(A)P(B) then the events are not independent.

In fact, P(B given A) = P(AB)/P(A) = (1/12)/(1/6) = 1/2

Makes sense thank you!
 
  • #13
Stephen Tashi said:
I agree with your work and your answer for P(B|A).

However, If you are writing out the answer to this problem, you need to label the sets correctly.

You should indicate how you computed P(B) if you use that number. In your work, It looks like you are saying P(B) = 3/36. I don't think that is correct.

Yes I am sloppy with the notation. Thank you for addressing that, I am really trying to grasp this concept.

Again, you have been very helpful. I understand what I was missing now.
 
  • #14
You are welcome. Keep it simple.
 
  • #15
alan2 said:
B=two dice are even.

OK, I see that point of view.

The question is whether the problem says

1. "In a throw of two fair dice, is the event of rolling an even number (meaning at least one die shows an even number) independent of the event of rolling two identical numbers?"

Or is the problem:

2. "In a throw of two fair dice is the event of rolling an even number given that the two dice show identical numbers independent of the event that the two dice show identical numbers."

I was assuming the question was 1. If the equestion is 2, then my criticism of how the set B is labeled is incorrect. Bassalisk, what is the precise statement of the problem?
 
  • #16
Stephen Tashi said:
OK, I see that point of view.

The question is whether the problem says

1. "In a throw of two fair dice, is the event of rolling an even number (meaning at least one die shows an even number) independent of the event of rolling two identical numbers?"

Or is the problem:

2. "In a throw of two fair dice is the event of rolling an even number given that the two dice show identical numbers independent of the event that the two dice show identical numbers."

I was assuming the question was 1. If the equestion is 2, then my criticism of how the set B is labeled is incorrect. Bassalisk, what is the precise statement of the problem?

That 2nd one. I was asking this:

If I rolled 2 identical numbers. like 11 or 22 or anything from my set A. What is the chance that I got both even numbers? 2nd part of the question was:

Are these 2 events independent of each other. That is: Is having rolled both even numbers, dependent of rolling 2 same numbers.
 

Related to Independent and dependent events-conditional probability

1. What is the difference between independent and dependent events?

Independent events are events in which the outcome of one event has no effect on the outcome of another event. Dependent events, on the other hand, are events in which the outcome of one event does affect the outcome of another event.

2. How is conditional probability calculated?

Conditional probability is calculated by taking the probability of the desired outcome given that a certain condition has already occurred, and dividing it by the probability of that condition occurring on its own.

3. Can independent events ever become dependent?

Yes, independent events can become dependent if there is a common factor that affects the outcomes of both events. For example, if the outcomes of two events are affected by the same external factor, they may become dependent.

4. How does knowing the outcome of one event affect the probability of another event?

If two events are independent, knowing the outcome of one event does not affect the probability of the other event. However, if the events are dependent, knowing the outcome of one event can increase or decrease the probability of the other event, depending on the relationship between the two events.

5. Can the probability of an event be greater than 1?

No, the probability of an event can never be greater than 1. This is because 1 represents 100% certainty, and any event with a probability greater than 1 would be considered certain to occur, which is not possible.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
16
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
16
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
10
Views
2K
  • Set Theory, Logic, Probability, Statistics
2
Replies
41
Views
3K
Back
Top