How to add/subtract probability distributions?

Using my first method above (I went back and edited it to fix the off-by-one error), you get this:

probs

Does that look close enough to what you were envisioning? It’s hard to see because it moves so quickly, but the initial distribution is the same uniform one you plotted above.

4 Likes