ISTER_REG
Junior Member
- Joined
- Oct 28, 2020
- Messages
- 59
Hello,
I have a joint density function of [MATH]X[/MATH] and [MATH]Y[/MATH] with
[MATH]f(x,y) = \begin{cases} 2e^{-x}e^{-2y}, \quad 0 < x < \infty, 0 < y < \infty \\ 0, \quad \text{else}\end{cases}[/MATH]
Now I want to calculate [MATH]P(X<Y)[/MATH] and [MATH]P(X<a)[/MATH]. For this there is the following example calculation, which I would like to reproduce here very briefly:
[MATH]P(X<Y) = \int_{0}^{\infty}\int_{0}^{y} 2e^{-x}e^{-2y} \, dx\, dy[/MATH]
[MATH]P(X<a) = \int_{0}^{a}\int_{0}^{\infty} 2e^{-x}e^{-2y} \, dy\, dx[/MATH]
My question here is, if I look at both integrals for [MATH]P(X<Y)[/MATH] and [MATH]P(X<a)[/MATH], I notice that in the last case the integral limits are swapped ([MATH]dx\, dy[/MATH] vs. [MATH]dy\, dx[/MATH]), but why?.
For the last case, I have additionally found that one can calculate alternatively the following:
[MATH]P(X<a) = \int_{0}^{\infty}\int_{0}^{a} 2e^{-x}e^{-2y} \, dx\, dy[/MATH]
So the following relationship holds:
[MATH]P(X<a) = \int_{0}^{a}\int_{0}^{\infty} 2e^{-x}e^{-2y} \, dy\, dx = \int_{0}^{\infty}\int_{0}^{a} 2e^{-x}e^{-2y} \, dx\, dy[/MATH]
The question I have is, what is correct now? Why did one exchange the integral limits for [MATH]P(X<a)[/MATH]? Which style of integrating should one get used to here?
Unfortunately, it is not explained that why one has swapped the limits in the case of [MATH]P(X<a)[/MATH]. I have a guess Fubini, but I'm not sure and so I ask here
I have a joint density function of [MATH]X[/MATH] and [MATH]Y[/MATH] with
[MATH]f(x,y) = \begin{cases} 2e^{-x}e^{-2y}, \quad 0 < x < \infty, 0 < y < \infty \\ 0, \quad \text{else}\end{cases}[/MATH]
Now I want to calculate [MATH]P(X<Y)[/MATH] and [MATH]P(X<a)[/MATH]. For this there is the following example calculation, which I would like to reproduce here very briefly:
[MATH]P(X<Y) = \int_{0}^{\infty}\int_{0}^{y} 2e^{-x}e^{-2y} \, dx\, dy[/MATH]
[MATH]P(X<a) = \int_{0}^{a}\int_{0}^{\infty} 2e^{-x}e^{-2y} \, dy\, dx[/MATH]
My question here is, if I look at both integrals for [MATH]P(X<Y)[/MATH] and [MATH]P(X<a)[/MATH], I notice that in the last case the integral limits are swapped ([MATH]dx\, dy[/MATH] vs. [MATH]dy\, dx[/MATH]), but why?.
For the last case, I have additionally found that one can calculate alternatively the following:
[MATH]P(X<a) = \int_{0}^{\infty}\int_{0}^{a} 2e^{-x}e^{-2y} \, dx\, dy[/MATH]
So the following relationship holds:
[MATH]P(X<a) = \int_{0}^{a}\int_{0}^{\infty} 2e^{-x}e^{-2y} \, dy\, dx = \int_{0}^{\infty}\int_{0}^{a} 2e^{-x}e^{-2y} \, dx\, dy[/MATH]
The question I have is, what is correct now? Why did one exchange the integral limits for [MATH]P(X<a)[/MATH]? Which style of integrating should one get used to here?
Unfortunately, it is not explained that why one has swapped the limits in the case of [MATH]P(X<a)[/MATH]. I have a guess Fubini, but I'm not sure and so I ask here