Probability Function of Z: 1/4 & 1/2 Explained

In summary, the probability function of Z is as follows:$$P_{0}= P \{X=0\} = \frac{1}{2}$$$$P_{1} = P \{X=1\}\ P \{Y=1 \} = \frac{1}{4}$$$$P_{5} = P \{ X=1\}\ P \{Y = 5\} = \frac{1}{4}$$and for any other k is $P_{k}=0$. The probability of the first event is $\frac{1}{4}$, the probability of the second event is $\frac{1}{4}$, and the probability of any other
  • #1
oyth94
33
0
Consider flipping two fair coins. Let X = 1 if the first coin is heads, and X = 0
if the first coin is tails. Let Y = 1 if the second coin is heads, and Y = 5 if the second
coin is tails. Let Z = XY. What is the probability function of Z?
how did you get 1/4 and 1/2 ?? and why? confused!
 
Mathematics news on Phys.org
  • #2
Re: probability function

oyth94 said:
Consider flipping two fair coins. Let X = 1 if the first coin is heads, and X = 0
if the first coin is tails. Let Y = 1 if the second coin is heads, and Y = 5 if the second
coin is tails. Let Z = XY. What is the probability function of Z?
how did you get 1/4 and 1/2 ?? and why? confused!

Setting $P_{k}= P \{Z=k\}$ we have...$$P_{0}= P \{X=0\} = \frac{1}{2}$$ $$P_{1} = P \{X=1\}\ P \{Y=1 \} = \frac{1}{4}$$$$P_{5} = P \{ X=1\}\ P \{Y = 5\} = \frac{1}{4}$$ ... and for any other k is $P_{k}=0$...

Kind regards

$\chi$ $\sigma$
 
  • #3
Re: probability function

chisigma said:
Setting $P_{k}= P \{Z=k\}$ we have...$$P_{0}= P \{X=0\} = \frac{1}{2}$$ $$P_{1} = P \{X=1\}\ P \{Y=1 \} = \frac{1}{4}$$$$P_{5} = P \{ X=1\}\ P \{Y = 5\} = \frac{1}{4}$$ ... and for any other k is $P_{k}=0$...

Kind regards

$\chi$ $\sigma$

How come for the "P (X=0) = 1/2" you didn't multiply by P(Y=1) or P(Y=2)? I'm not sure how you ended up with 1/2 instead of 1/4 for this one...
 
  • #4
Re: probability function

oyth94 said:
How come for the "P (X=0) = 1/2" you didn't multiply by P(Y=1) or P(Y=2)? I'm not sure how you ended up with 1/2 instead of 1/4 for this one...

If X=0 then is Z = X Y = 0 no matter which is Y...

Kind regards

$\chi$ $\sigma$
 
  • #5
Re: probability function

oyth94 said:
How come for the "P (X=0) = 1/2" you didn't multiply by P(Y=1) or P(Y=2)? I'm not sure how you ended up with 1/2 instead of 1/4 for this one...

If it helps, you can also think of $P_0$ as follows:
Because y=1 and y=5 are mutually exclusive events, we can state:
$$P\left(Z=0\right) = P\left(X=0\right)
\\= P\left(X=0 \wedge Y=1\right)+P\left(X=0 \wedge Y=5\right)
\\= P\left(tails \wedge heads\right)+P\left(tails \wedge tails\right)$$
The probability of the first event, as you rightly stated, is
$$\frac{1}{2}\cdot\frac{1}{2}=\frac{1}{4}$$
The probability of the second even is the same.
Adding these two together, we have
$$\frac{1}{4}+\frac{1}{4}=\frac{1}{2}$$
giving us our answer.

As $\chi \sigma$ rightly stated, we would have gotten the same answer if we had simply evaluated
$$P\left(Z=0\right) = P\left(X=0\right) = P\left(first \, coin \, is\, tails\right) = \frac12$$
 

Related to Probability Function of Z: 1/4 & 1/2 Explained

1. What is the probability function of Z?

The probability function of Z is a statistical tool used to determine the likelihood of a certain event occurring. It assigns a numerical value to each possible outcome of an experiment, which can range from 0 to 1.

2. What does a probability of 1/4 mean in the context of Z?

A probability of 1/4 means that there is a 25% chance of the event occurring. In other words, out of four possible outcomes, one is expected to happen.

3. How is a probability of 1/2 different from 1/4 in terms of Z?

A probability of 1/2 means that there is a 50% chance of the event occurring. In comparison, a probability of 1/4 means there is a lower chance of the event occurring, as it is only a quarter of the total possible outcomes.

4. Can the probability function of Z be used to predict outcomes?

Yes, the probability function of Z can be used to make predictions about the likelihood of an event occurring. However, it is important to note that it cannot guarantee the exact outcome, as it is based on probability and not certainty.

5. How is the probability function of Z calculated?

The probability function of Z is calculated by dividing the number of favourable outcomes by the total number of possible outcomes. For example, if there are 4 favourable outcomes out of 16 possible outcomes, the probability would be 4/16 or 1/4.

Similar threads

  • Set Theory, Logic, Probability, Statistics
2
Replies
57
Views
3K
Replies
7
Views
2K
  • Quantum Physics
Replies
24
Views
437
Replies
3
Views
4K
Replies
1
Views
909
  • Programming and Computer Science
Replies
10
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
2K
Replies
1
Views
2K
Replies
6
Views
4K
Replies
17
Views
2K
Back
Top