The probability mass function of a PP on a SS, equipped with all its subsets, is the function

p:S[0,1],p(x)=P({x}).p:S\to[0,1],\qquad p(x)=P(\{x\}).
Characterization

The masses satisfy xSp(x)=1\sum_{x\in S}p(x)=1, and P(A)=xAp(x)P(A)=\sum_{x\in A}p(x) for every ASA\subseteq S. Conversely, any nonnegative function on SS whose sum is one defines a probability measure by this formula.

For a XX taking values in SS, its mass function is that of its : pX(x)=P(X=x)p_X(x)=\mathbb P(X=x).

Example

A with parameter θ\theta has masses p(1)=θp(1)=\theta and p(0)=1θp(0)=1-\theta.

Mass versus density

A mass is a point probability. A gives probabilities by integration, not by evaluating the density at a point.