The convolution formula goes as follows:
If the random variables $X$ and $Y$ are independent and continuous with density function $f_X$ and $f_Y$, then the density function of $Z=X+Y$ is $$f_Z(z)=\int_{\infty}^\infty f_X(x)f_Y(z-x)\,\mathrm{d}x\quad \text{for } z\in\mathbb R.$$
However, the theorem does not explicitly state that those two random variables have to be jointly continuous. Why not? My textbook assumes joint continuity to show,
$$f_Z(z)=\int_{\infty}^\infty f_{X,Y}(x,z-x) \, \mathrm{d}x,$$
which almost immediately gives us the convolution formula for independent random variables that are continuous.
So my question is: why is joint continuity not assumed in the theorem?
Later on my textbook gives the following example:
Let $X$ and $Y$ be independent random variables having, respectively, the gamma distribution with parameters $s$ and $\lambda$, and the gamma distribution with parameters $t$ and $\lambda$.
They proceed to apply the convolution formula, yet they nowhere state that those two random variables are jointly continuous...
So is it a mistake, or am I missing something here?