I'm not sure if the following question of mine sound silly. I thought I would just go ahead and ask. The question is the following. We often find in probability text books questions, for example, of the form
Let $X_i$ denote the percentage of votes cast in a given election that are for candidate $i$, and suppose that $X_1$ and $X_2$ have a joint density function $$f_{X_1,X_2}(x,y) = \begin{cases} 3(x+y)&\quad \text{if } X\ge 0, y\ge 0, 0\le x+y\le 1\\ 0,&\quad\text{otherwise.}\end{cases}$$
Is this possible to know (closed form expressions of) the density functions in real life situations? Or do we use the available data to somehow approximately find it? Is this related to the research area of 'Density Estimation'? I am asking this in the context of teaching. As I am teaching a first level course in probability and statistics, what if a student asks such a question?