Skip to main content

Engineering Probability and Random Processes · Joint laws, transformations, and conditional expectation

A shared environment is bad with probability 1/4 and good with probability 3/4

Problem

Engineering Probability and Random Processes practice problem

A shared environment is bad with probability 1/41/4 and good with probability 3/43/4. Conditionally on the environment, two devices fail independently: the failure probability is 1/101/10 in a good environment and 1/21/2 in a bad environment. Let XX (respectively YY) be the indicator that the first (respectively second) device fails, and write BB for the indicator of a bad environment.

1. Compute the common marginal P(X=1)=P(Y=1)\mathbb P(X=1)=\mathbb P(Y=1) by the law of total probability.

2. Compute the joint success probability P(X=1,Y=1)\mathbb P(X=1,Y=1) by conditioning on the environment. Then computeCov⁡(X,Y)=E[XY]−E[X]E[Y]\operatorname{Cov}(X,Y)=\mathbb E[XY]-\mathbb E[X]\mathbb E[Y]and the correlationCorr⁡(X,Y)=Cov⁡(X,Y)Var⁡(X)Var⁡(Y).\operatorname{Corr}(X,Y)=\frac{\operatorname{Cov}(X,Y)}{\sqrt{\operatorname{Var}(X)\operatorname{Var}(Y)}}.(Each coordinate is a Bernoulli random variable.)

3. Compute P(Y=1∣X=1)\mathbb P(Y=1\mid X=1). Compare the value with the marginal P(Y=1)\mathbb P(Y=1) and decide whether XX and YY are unconditionally independent.

4. Audit both sentences: (i) “conditional independence given the environment is ordinary independence, so the joint factorizes as (1/5)2=1/25(1/5)^2=1/25 and the covariance vanishes”; (ii) “the marginal failure probability is just the good-environment value 1/101/10, or just the bad-environment value 1/21/2.”

Do not replace the mixture by a single Bernoulli parameter, and do not drop the shared environment.

Hint

Hint

The mixture of failure probabilities is (1/10)(3/4)+(1/2)(1/4)=1/5(1/10)(3/4)+(1/2)(1/4)=1/5.

Check your work

Work the problem yourself first. Then open it in Training to check your answer and read the full worked solution.

The answer check and full solution for this problem come with ProofAnvil Practice membership ($19 USD monthly). See membership. Or start with the free Engineering Probability and Random Processes sample problem: Try the free sample problem.

More Engineering Probability and Random Processes practice problems