I am trying to work on a problem with a probability distribution. I wanted to get the result in analytical form. Suppose I need to keep p1, p2, p3, p4 variables such that p1+p2+p3+p4=1;
How to use this information (p1+p2+p3+p4=1) in mathematica so that wherever in my calculation this term appears, it takes the value 1. Otherwise I will have to find this expression in a lengthy result and convert.