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

oyth94
Messages
32
Reaction score
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
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$
 
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...
 
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$
 
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$$
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top