Probability Vector — Definition, Formula & Example
A probability vector is a list of numbers, none of them negative, that add up to exactly 1. Each entry gives the probability of one outcome out of a fixed, finite set of outcomes.
A vector is a probability vector (or stochastic vector) if for every and . The set of all such vectors is called the probability simplex. Any convex combination of probability vectors is again a probability vector.
Key Formula
Where:
- = The probability vector
- = Probability assigned to outcome (or state) i
- = Number of possible outcomes or states
Worked Example
Problem: Decide which of these vectors are probability vectors: , , and .
Step 1: Check u. Every entry is nonnegative, so add the entries. The sum is exactly 1, so both conditions hold.
Step 2: Check v. The entries do sum to 1, but the third entry is negative. A probability can never be below 0, so v fails the nonnegativity condition.
Step 3: Check w. Every entry is nonnegative, but the sum falls short of 1. The missing 0.25 of probability is not assigned to any outcome.
Answer: Only is a probability vector. has a negative entry, and the entries of sum to 0.75 instead of 1.
Why It Matters
In a linear algebra or probability course, probability vectors describe the state of a Markov chain. The long-run behavior of the chain is a probability vector satisfying . Google's PageRank is one such vector over web pages. The softmax output of a machine learning classifier is also a probability vector over its possible labels.
Common Mistakes
Mistake: Checking only that the entries sum to 1 and stopping there.
Correction: Both conditions are required. The vector sums to 1 but is not a probability vector because it has a negative entry. Always confirm every entry satisfies before checking the sum.
