For 2 and 3 variables it's easy to "visualize" such problems using a two-dimensional and three-dimensional coordinate grid. My question is about algebraically solving those types of problems.
What's the probability that the sum of four uniformly picked values from the interval (0,1) is less than 3? (in other words, $w+x+y+z < 3$)
This WolframAlpha integral query gives the correct solution. I understand that it's equivalent if we replace $min(1, 3-w)$ and $min(1, 3-w-x)$ upper bounds with $1$ because $3-w$ and $3-w-x$ are always greater than 1:
However, what I don't understand is:
- How to get to such integrals? If the question asks about a sum greater than something, by intuition the lower bounds would have to be changed somehow instead of the upper bounds. If there are multiple inequalities given, $min$ and $max$ functions would have to be used (inspiration taken from this answer)
I'd also appreciate if you can link any books/papers that approach similar problems in a not-so-advanced way