MA175 - Solución - Taller 1 - Primera Parte
MA175 - Solución - Taller 1 - Primera Parte
MA175 - Solución - Taller 1 - Primera Parte
𝑋/𝑌 0 1 2 3
0 0.2𝑎 0.2𝑏 0 0
1 0.2𝑏 0.5𝑎 0.05𝑏 0
2 0 0.05𝑏 0.1𝑎 0.025𝑏
3 0 0 0.025𝑏 0.1𝑎
𝑃(𝑋 = 1) = ∑ 𝑃(𝑋 = 1, 𝑌 = 𝑦)
𝑅𝑌
= 𝑃(𝑋 = 1, 𝑌 = 0) + 𝑃(𝑋 = 1, 𝑌 = 1) + 𝑃(𝑋 = 1, 𝑌 = 2) + 𝑃(𝑋 = 1, 𝑌 = 3)
= 0.2𝑏 + 0.5𝑎 + 0.05𝑏 + 0 = 0.5𝑎 + 0.25𝑏
𝑃(𝑋 = 2) = ∑ 𝑃(𝑋 = 2, 𝑌 = 𝑦)
𝑅𝑌
= 𝑃(𝑋 = 2, 𝑌 = 0) + 𝑃(𝑋 = 2, 𝑌 = 1) + 𝑃(𝑋 = 2, 𝑌 = 2) + 𝑃(𝑋 = 2, 𝑌 = 3)
= 0 + 0.05𝑏 + 0.1𝑎 + 0.025𝑏 = 0.1𝑎 + 0.075𝑏
𝑃(𝑋 = 3) = ∑ 𝑃(𝑋 = 4, 𝑌 = 𝑦)
𝑅𝑌
= 𝑃(𝑋 = 3, 𝑌 = 0) + 𝑃(𝑋 = 3, 𝑌 = 1) + 𝑃(𝑋 = 3, 𝑌 = 2) + 𝑃(𝑋 = 3, 𝑌 = 3)
= 0 + 0 + 0.025𝑏 + 0.1𝑎 = 0.1𝑎 + 0.025𝑏
𝑃(𝑌 = 1) = ∑ 𝑃(𝑋 = 𝑥, 𝑌 = 1)
𝑅𝑋
= 𝑃(𝑋 = 0, 𝑌 = 1) + 𝑃(𝑋 = 1, 𝑌 = 1) + 𝑃(𝑋 = 2, 𝑌 = 1) + 𝑃(𝑋 = 3, 𝑌 = 1)
= 0.2𝑏 + 0.5𝑎 + 0.05𝑏 + 0 = 0.5𝑎 + 0.25𝑏
𝑃(𝑌 = 2) = ∑ 𝑃(𝑋 = 𝑥, 𝑌 = 2)
𝑅𝑋
= 𝑃(𝑋 = 0, 𝑌 = 2) + 𝑃(𝑋 = 1, 𝑌 = 2) + 𝑃(𝑋 = 2, 𝑌 = 2) + 𝑃(𝑋 = 3, 𝑌 = 2)
= 0 + 0.05𝑏 + 0.1𝑎 + 0.025𝑏 = 0.1𝑎 + 0.075𝑏
𝑃(𝑌 = 3) = ∑ 𝑃(𝑋 = 𝑥, 𝑌 = 3)
𝑅𝑋
= 𝑃(𝑋 = 0, 𝑌 = 3) + 𝑃(𝑋 = 1, 𝑌 = 3) + 𝑃(𝑋 = 2, 𝑌 = 3) + 𝑃(𝑋 = 3, 𝑌 = 3)
= 0 + 0 + 0.025𝑏 + 0.1𝑎 = 0.1𝑎 + 0.025𝑏
𝑋/𝑌 0 1 2 3
0 0.1 0.2 0 0 0.3 ← 𝑃(𝑋 = 0)
1 0.2 0.25 0.05 0 0.5 ← 𝑃(𝑋 = 1)
2 0 0.05 0.05 0.025 0.125 ← 𝑃(𝑋 = 2)
3 0 0 0.025 0.05 0.075 ← 𝑃(𝑋 = 3)
0.3 0.5 0.125 0.075
↑ ↑ ↑ ↑
𝑃(𝑌 = 0) 𝑃(𝑌 = 1) 𝑃(𝑌 = 2) 𝑃(𝑌 = 3)
b) Calcule la probabilidad de que el número de clientes que esperan (en dicho intervalo
de tiempo específico) es el mismo en las dos líneas expresas.
c) Calcule la probabilidad de que en la primera línea esperen dos clientes dado que en la
segunda línea esperan al menos un cliente.
𝑃(𝑋 = 2, 𝑌 ≥ 1)
𝑃(𝑋 = 2|𝑌 ≥ 1) =
𝑃(𝑌 ≥ 1)
𝑃(𝑋 = 2, 𝑌 = 1) + 𝑃(𝑋 = 2, 𝑌 = 2) + 𝑃(𝑋 = 2, 𝑌 = 3)
=
1 − 𝑃(𝑌 = 0)
0.05 + 0.05 + 0.025
= = 0.179
1 − 0.3
d) Halle el número esperado y la varianza de clientes que espera en la primera línea.
𝐸(𝑋) = ∑ 𝑥𝑃(𝑋 = 𝑥)
𝑅𝑋
= 0 × 𝑃(𝑋 = 0) + 1 × 𝑃(𝑋 = 1) + 2 × 𝑃(𝑋 = 2) + 3 × 𝑃(𝑋 = 3)
= 0 × 0.3 + 1 × 0.5 + 2 × 0.125 + 3 × 0.075 = 0.975
𝐸(𝑋 2 ) = ∑ 𝑥 2 𝑃(𝑋 = 𝑥)
𝑅𝑋
= 02 × 𝑃(𝑋 = 0) + 12 × 𝑃(𝑋 = 1) + 22 × 𝑃(𝑋 = 2) + 32 × 𝑃(𝑋 = 3)
= 0 × 0.3 + 1 × 0.5 + 4 × 0.125 + 9 × 0.075 = 1.675
𝐸(𝑌) = ∑ 𝑦𝑃(𝑌 = 𝑦)
𝑅𝑌
= 0 × 𝑃(𝑌 = 0) + 1 × 𝑃(𝑌 = 1) + 2 × 𝑃(𝑌 = 2) + 3 × 𝑃(𝑌 = 3)
= 0 × 0.3 + 1 × 0.5 + 2 × 0.125 + 3 × 0.075 = 0.975
𝐸(𝑌 2 ) = ∑ 𝑦 2 𝑃(𝑌 = 𝑦)
𝑅𝑌
= 02 × 𝑃(𝑌 = 0) + 12 × 𝑃(𝑌 = 1) + 22 × 𝑃(𝑌 = 2) + 32 × 𝑃(𝑌 = 3)
= 0 × 0.3 + 1 × 0.5 + 4 × 0.125 + 9 × 0.075 = 1.675
𝐸(𝑋𝑌) = ∑ ∑ 𝑥𝑦𝑃(𝑋 = 𝑥, 𝑌 = 𝑦)
= 0 × 0 × 𝑃(𝑋 = 0, 𝑌 = 0) + 0 × 1 × 𝑃(𝑋 = 0, 𝑌 = 1) + ⋯
+3 × 2 × 𝑃(𝑋 = 3, 𝑌 = 2) + 3 × 3 × 𝑃(𝑋 = 3, 𝑌 = 3)
= 0 × 0 × 0.1 + 0 × 1 × 0.2 + ⋯ + 3 × 2 × 0.025 + 3 × 3 × 0.05 = 1.4
𝐶𝑜𝑣(𝑋, 𝑌) 0.4494
𝜌(𝑋, 𝑌) = = = 0.5957
√𝑉(𝑋) × 𝑉(𝑌) √0.7244 × 0.7244
g) Determine el numero esperado de clientes que espera en la segunda línea cuando en
la primera línea tiene 2 clientes.
𝑃(𝑋 = 2, 𝑌 = 𝑦)
𝐸(𝑌|𝑋 = 2) = ∑ 𝑦𝑃(𝑌 = 𝑦|𝑋 = 2) = ∑ 𝑦
𝑃(𝑋 = 2)
𝑅𝑌 𝑅𝑌
𝑃(𝑋 = 2, 𝑌 = 0) 𝑃(𝑋 = 2, 𝑌 = 1)
=0× +1×
𝑃(𝑋 = 2) 𝑃(𝑋 = 2)
𝑃(𝑋 = 2, 𝑌 = 2) 𝑃(𝑋 = 2, 𝑌 = 3)
+2 × +3×
𝑃(𝑋 = 2) 𝑃(𝑋 = 2)
0 0.05 0.05 0.025
=0× +1× +2× +3× = 1.8
0.125 0.125 0.125 0.125