$X, Y$ are continuous uniform random variables and I want to understand how to find $PDF_{X+Y}$ by convolution given various intervals for $X$ and $Y$.
I started with the simplest (I thought) case and read this answer but when both $X,Y\in[0,1]$ even though I do understand why $0<z<2$, I do not understand how we know in advance that we need to break this into 2 cases and how we know that we should consider $0<z<1$, $1<z<2$ (why not, for example, $0<z<1.5$, $1.5<z<2$?)
Now I have another similar problem, where $X\in[0,2]$ and $Y\in[3,4]$. I have a hunch that we need to break it all up into several cases as well, but I have no idea, again, how many cases there should be and what the limits of the intervals are.
How can I know that?