# Finding Joint PDF of Two Non-Independent Continuous Random Variables

I'm in the process of reviewing some stats using A First Course in Probability by Sheldon Ross. For the chapter on Joint Distributions, it shows how to obtain the Joint PDF given two independent continuous random variables. However, if the variables weren't independent, how would I go about obtaining the joint PDF of the two variables? Is there a systematic way of going about it similar to when the variables are independent?

So for example, if $$f(x)$$ and $$f(y)$$ is the PDF of two continuous independent random variables, I can find their joint PDF $$f_{x,y}(x,y)$$ by simply multiplying $$f(x)$$ and $$f(y)$$. However, how will I find $$f_{x,y}(x,y)$$ if $$X$$ and $$Y$$ were not independent?

Thanks!

• Give an example you want to understand Feb 8, 2021 at 4:54
• What information do you have about the two variables? You need something to work from. Usually the joint pdf is what is given, and other quantities found from it. Feb 8, 2021 at 4:55
• I updated with an example. I'm assuming no prior info is given. Only the the PDF's of X and Y, and I'm wondering if there's a way to find their joint PDF. Feb 8, 2021 at 5:01

You wouldn't be able to find their joint pdf $$f_{X,Y}$$ given just their individual pdfs if they are not independent. You would need at least a conditional pdf or the joint pdf itself to know more about the relationship of their distributions. The joint pdf is related to the conditional pdf by $$\begin{split}f_{X|Y}(x|y)&=\frac{f_{X,Y}(x,y)}{f_Y(y)}\\\text{or} f_{Y|X}(y|x)&=\frac{f_{X,Y}(x,y)}{f_X(x)}\end{split}$$

If the variables are independent $$\begin{split}\frac{f_{X,Y}(x,y)}{f_Y(y)}&=f_{X|Y}(x|y)\\ &=f_X(x)\end{split}$$

which is why you can directly multiply them together.

Sometimes the dependence structure can be derived reading the text:

Let be $$X , Y$$ two uniform rv's in $$(0;1)$$ where it is known that $$X>Y$$

Reading the text you can realize that

$$0

this inequalities are represented in the following drawing by the pink triangle

Thus the joint density is uniform in the pink triangle:

$$f_{XY}(x,y)=2$$

if $$(x,y) \in T$$ and zero elsewhere

In a compact way:

$$f_{XY}(x,y)=2\cdot\mathbb{1}_{(0;1)}(x)\cdot\mathbb{1}_{(0;x)}(y)$$