I'm working through Norman Matloff's book 'Probability and statistics for data science', chapter 11 (multivariate distributions).
I'm a bit concerned about an example given.
$X$ and $Y$ are independent and exponentially distributed random variables with mean 2 and mean 1 respectively.
$W$ is a convolution of two exponential densities corresponding to the pdfs of $X$ and $Y$.
The density of W is calculated to be $e^{-0.5t} - e^{-t}$, with $0 < t < \infty$
But this integral does not sum to 1 in the support of $t$. It's divergent. So it can't be a valid pdf.
My question is how should I interpret this example that the authors gave?
He's trying to give an example of convolution. Is this example flawed? If it is flawed, then is there a better example of this principle?