Joint probabilty integral boundaries understanding.

In summary, the student is trying to solve a homework question involving the integral, but is having difficulties understanding the basis for the calculation.
  • #1
oriel1
8
0
Hi,
I have homework question that I'm trying to solve. But I can't understand the basis.
Here is a picture of the question and what I have done:
View attachment 6986
My question is, How do I set the boundaries for the integral? 1. If I want the whole squart. 2. To sum up areas.

Assume I want to sum the areas, I get difficulties to calculate area "1". By simply calculate integral of (y=x+0.5) from [0 to 0.5] it work, but I need to use double integral, in the picture I did it but the "1/4" seem to be wrong.
Thank you.
 

Attachments

  • 2.jpg
    2.jpg
    157.6 KB · Views: 79
Physics news on Phys.org
  • #2
Are you trying to calculate $P(|X+Y|<0.5)$ or $P(|X-Y|<0.5)?$ If the first, then your plot would seem to be incorrect. Here is W|A's plot command: plot |x+y| < 0.5 on [0,2]. You can see that the diagonal goes the other way. This is a tricky integral to set up, because you'll have to break it up into two regions, regardless of the order of integration.

[EDIT] The integral is less tricky than I thought, since you're only interested in the first quadrant. Better command for W|A: plot |x+y| < 0.5, 0<x<2, 0<y<2. It's a triangle. Can you set up that integral?
 
  • #3
Ackbach said:
Are you trying to calculate $P(|X+Y|<0.5)$ or $P(|X-Y|<0.5)?$ If the first, then your plot would seem to be incorrect. Here is W|A's plot command: plot |x+y| < 0.5 on [0,2]. You can see that the diagonal goes the other way. This is a tricky integral to set up, because you'll have to break it up into two regions, regardless of the order of integration.

[EDIT] The integral is less tricky than I thought, since you're only interested in the first quadrant. Better command for W|A: plot |x+y| < 0.5, 0<x<2, 0<y<2. It's a triangle. Can you set up that integral?

Sorry, you right! this |x-y| I confused for a moment.
I'm trying to calculate this one: $P(|X-Y|<0.5)$. Where do I enter that "plot" command? do I need MATLAB or something?

However, I need to find answer. Finding the first quadrant is just part of the process that I think is relevant for solving that problem. Maybe I'm wrong with that way of thinking.

The Solution given is:
\(\displaystyle \int_{0}^{\frac{1}{2}}\int_{0}^{{\frac{1}{2}+x}}\frac{1}{4}dydx\)

I need to get that answer or other answer by myself. But must include nested integrals.
Thank you!
 
Last edited:
  • #4
oriel said:
Sorry, you right! this |x-y| I confused for a moment.
I'm trying to calculate this one: $P(|X-Y|<0.5)$. Where do I enter that "plot" command? do I need MATLAB or something?

W|A refers to Wolfram|Alpha:

plot |x+y| < 0.5 on [0,2]
 
  • #5
oriel said:
Sorry, you right! this |x-y| I confused for a moment.
I'm trying to calculate this one: $P(|X-Y|<0.5)$. Where do I enter that "plot" command? do I need MATLAB or something?

However, I need to find answer. Finding the first quadrant is just part of the process that I think is relevant for solving that problem. Maybe I'm wrong with that way of thinking.

The Solution given is:
\(\displaystyle \int_{0}^{\frac{1}{2}}\int_{0}^{{\frac{1}{2}+x}}\frac{1}{4}\, dy\, dx\)

I need to get that answer or other answer by myself. But must include nested integrals.
Thank you!

I think, then, that you will have to break up the integral into three pieces, because the rule of association changes as you go. The problem is that you don't want to pick up area outside the square $0<x<2, 0<y<2$. If you just integrate from $0$ to $2$, you'll get the wrong value. So here's the necessary setup for the first and second regions. See if you can come up with what you need for the third region.

$$P(|X-Y|<0.5) = \underbrace{\int_{0}^{0.5} \int_{0}^{x+0.5}\frac14 \, dy \, dx}_{\text{first region}} + \underbrace{\int_{0.5}^{1.5} \int_{x-0.5}^{x+0.5}\frac14 \, dy \, dx}_{\text{second region}}
+\text{third region integral}. $$
Does that help? What's the integral for the third region?
 
  • #6
Ackbach said:
I think, then, that you will have to break up the integral into three pieces, because the rule of association changes as you go. The problem is that you don't want to pick up area outside the square $0<x<2, 0<y<2$. If you just integrate from $0$ to $2$, you'll get the wrong value. So here's the necessary setup for the first and second regions. See if you can come up with what you need for the third region.

$$P(|X-Y|<0.5) = \underbrace{\int_{0}^{0.5} \int_{0}^{x+0.5}\frac14 \, dy \, dx}_{\text{first region}} + \underbrace{\int_{0.5}^{1.5} \int_{x-0.5}^{x+0.5}\frac14 \, dy \, dx}_{\text{second region}}
+\text{third region integral}. $$
Does that help? What's the integral for the third region?

That what I did at first, and I got wrong answer. But I found calculation mistake, now it work and give correct answer. The third part need to be:
\(\displaystyle \int_{1.5}^{2}\int_{x-0.5}^{2}f(x,y)dydx\)

Ok, I understand how to set that specific boundaries. But why in the first "1" quadrant area when I calculate it with geometrics methods I get 3/8 but in the integral method it 3/32? even they both correct when sum-up the parts.

Another question, what if asked for P(|X-Y|=k) then k suppose to mobe between zero to four. for that example assuime k=0.5 How then I set the graph?

Thank you very much!
 
Last edited:
  • #7
oriel said:
That what I did at first, and I got wrong answer. But I found calculation mistake, now it work and give correct answer. The third part need to be:
\(\displaystyle \int_{1.5}^{2}\int_{x-0.5}^{2}f(x,y)\, dy\,dx\)

Yep! Hint: I like to use a small spacer: \, in the $\LaTeX$ code to get spaces after $f(x,y)$ and in-between the differentials. I think it looks better.

oriel said:
Ok, I understand how to set that specific boundaries. But why in the first "1" quadrant area when I calculate it with geometrics methods

Not sure what you mean by "geometric methods". You mean non-calculus methods? If so, can you show your calculations?

oriel said:
I get 3/8 but in the integral method it 3/32? even they both correct when sum-up the parts.

Another question, what if asked for P(|X-Y|=k)

I could be wrong, but I think this shape in the $X-Y$ plane is either one or two straight lines, with zero area. Therefore, I would say the probability, with no calculations necessary, is zero.

oriel said:
then k suppose to mobe between zero to four. for that example assuime k=0.5 How then I set the graph?

Thank you very much!
 

What is joint probability integral boundaries understanding?

Joint probability integral boundaries understanding is a concept in probability theory that involves calculating the probability of an event occurring within a specific range or boundaries. This is achieved by integrating the joint probability density function over the given boundaries.

How is joint probability integral boundaries understanding used in research?

Joint probability integral boundaries understanding is commonly used in research to determine the likelihood of an event occurring within a certain range or boundaries. This allows researchers to make predictions and draw conclusions based on the probability of different outcomes.

What are the limitations of joint probability integral boundaries understanding?

One limitation of joint probability integral boundaries understanding is that it assumes independence between the variables being studied. This may not always be the case in real-world situations, which can affect the accuracy of the calculated probabilities.

Can joint probability integral boundaries understanding be applied to continuous and discrete variables?

Yes, joint probability integral boundaries understanding can be applied to both continuous and discrete variables. For continuous variables, the integral is used to calculate the probability within a given range. For discrete variables, the sum of probabilities within the boundaries is used instead.

How is joint probability integral boundaries understanding different from marginal probability?

Joint probability integral boundaries understanding involves calculating the probability of an event occurring within a specific range, while marginal probability deals with the probability of a single event occurring without considering other variables. Marginal probability is calculated by summing or integrating the joint probabilities over all possible values of the other variables.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
2K
  • Electrical Engineering
Replies
1
Views
778
  • Introductory Physics Homework Help
Replies
7
Views
535
  • Introductory Physics Homework Help
Replies
3
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
4K
  • Calculus
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
14
Views
259
  • Programming and Computer Science
Replies
5
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
Back
Top