A PMF assigns probability to discrete values

A probability mass function, or PMF, describes a discrete random variable by assigning a probability to each value it can take. Each assigned mass is nonnegative, and the masses over the complete support add to one.


The quantity p(x) is the probability of the exact value x, not the probability density near x. For an event made of several mutually exclusive values, add the masses for precisely those values. Values outside the support have mass zero even if a formula would look algebraically defined there.


Start every PMF problem by writing the support, checking that every mass is nonnegative, and testing normalization. These checks catch a missing supported value, a negative mass, or a formula applied outside its declared domain before later arithmetic conceals the defect. A sum of one alone does not rule out a negative mass.

A discrete random variable X can have nonzero probability only at 0, 1, and 2. Which condition must p satisfy to be a PMF?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A variable X has p(1) = 0.20, p(2) = 0.35, p(3) = 0.45, and p(x) = 0 otherwise. What is P(X is 1 or 3)?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

For x in {1, 2, 3, 4}, let p(x) = kx. What value of k makes this a PMF?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors