Calculating Conditional Probability with Joint Probability Density Function

  • Thread starter Thread starter mrkb80
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 3K views
mrkb80
Messages
40
Reaction score
0

Homework Statement



let [itex]f_{X,Y}(x,y)=2e^{-(x+y)}[/itex] for [itex]0 \le x \le y[/itex] and [itex]y \ge 0 \\<br /> [/itex]find [itex]P(Y<1 | X < 1)[/itex]

Homework Equations


[itex] f(X=x | y=y) = \dfrac{f_{X,Y}(x,y)}{f_y(y)}[/itex]

The Attempt at a Solution


[itex]P(Y<1 | X<1) = \int_0^1 \dfrac{f_{X,Y}(x,y)}{\int_0^1 f_X(x) dx} dy[/itex]

before I integrate, I want to make sure I understand the concept, which I don't think I do.
 
on Phys.org
mrkb80 said:

Homework Statement



let [itex]f_{X,Y}(x,y)=2e^{-(x+y)}[/itex] for [itex]0 \le x \le y[/itex] and [itex]y \ge 0 \\<br /> [/itex]find [itex]P(Y<1 | X < 1)[/itex]

Homework Equations


[itex] f(X=x | y=y) = \dfrac{f_{X,Y}(x,y)}{f_y(y)}[/itex]

The Attempt at a Solution


[itex]P(Y<1 | X<1) = \int_0^1 \dfrac{f_{X,Y}(x,y)}{\int_0^1 f_X(x) dx} dy[/itex]

before I integrate, I want to make sure I understand the concept, which I don't think I do.

Use the formula
[tex]P(A|B) = \frac{P(A\, \& \, B)}{P(B)}.[/tex]
with appropriately-defined A and B.

RGV
 
I'm thinking that would be something like this:

P(A) = P(Y<1)
P(B) = P(X<1)=[itex]\int_0^1 f_X(x) dx[/itex]
so then [itex]P(A \cap B) =P(Y<1 \cap X<1) = \int_0^1 \int_0^y f_{X,Y}(x,y) dxdy[/itex]

and then [itex]\dfrac{\int_0^1 \int_0^y f_{X,Y}(x,y) dxdy}{\int_0^1 f_X(x) dx}[/itex]

or am I still not understanding?
 
mrkb80 said:
I'm thinking that would be something like this:

P(A) = P(Y<1)
P(B) = P(X<1)=[itex]\int_0^1 f_X(x) dx[/itex]
so then [itex]P(A \cap B) =P(Y<1 \cap X<1) = \int_0^1 \int_0^y f_{X,Y}(x,y) dxdy[/itex]

and then [itex]\dfrac{\int_0^1 \int_0^y f_{X,Y}(x,y) dxdy}{\int_0^1 f_X(x) dx}[/itex]

or am I still not understanding?

This is OK. Now all you need do is find fX, and do the integrations in the numerator and the denominator.

RGV
 
Great. Thanks for the help again.
 
I thought I understood it, but something is not correct. just working on the denominator, I get [itex]f_X(x)=-2(e^{-(x+y)}-e^{-x})[/itex] and then if I try to integrate that I get [itex]\int_0^1 f_X(x) dx = 2e^{-y-1}+2e^{-y}+e^{-1}+1[/itex] What am I missing here?
 
mrkb80 said:
I thought I understood it, but something is not correct. just working on the denominator, I get [itex]f_X(x)=-2(e^{-(x+y)}-e^{-x})[/itex] and then if I try to integrate that I get [itex]\int_0^1 f_X(x) dx = 2e^{-y-1}+2e^{-y}+e^{-1}+1[/itex] What am I missing here?

You are missing the fact that f_X(x) cannot have y in it. You need to start again.

RGV
 
You're right. I see my mistake: [itex]f_X(x)=2e^{-x}[/itex] makes much more sense.