What is the intuitive meaning for the marginal density probability of a joint pdf? I mean, graphically, what does it represent? Lets say I have the pdf $f_{X, Y}(x, y)$ for $0 < x < 1, 0 < y < x$. Drawing the domain I have the area under $y = x$. The pdf is "above" this domain. So far so good.
But in order to calculate the marginal pdf I'll have $f_X(x) = \int_{-\infty}^{+\infty}f_{X, Y}(x, y)dy$ - why? What is the reasoning behind this? This is surely not the "projection" of $f_{X, Y}$ in the $zOx$ plane; then what is it exactly?
And what if it where $f_{X|Y}$?
A mental picture of what is going on with the marginal pdf is imagining telescoping the joint pdf from two to a single dimension, i.e. integrating one of the variables out for each point in the domain of the variable whose marginal you are interested in.
Here is a graphical picture of the following joint pdf:
$$f_{X,Y}(x,y) = 4x $$
where
$$\begin{cases}0 \leq x \leq 1 \\ 0 \leq y \leq x^2 \end{cases}$$
To get the marginal $f_Y(y)$ the random variable $X$ has to be integrated out:
$$f_Y(y)=\int_{x=\sqrt y}^{x=1}4x \, dx = 2(1-y)$$