Joint Probability — Definition, Formula & Examples
Joint probability is the probability that two (or more) events happen together, such as a randomly chosen student taking both Calculus and Physics. You write it as or .
For events and in a sample space , the joint probability is , the probability of the event consisting of all outcomes in both and . For discrete random variables and , the joint probability distribution is the function , which satisfies and .
Key Formula
Where:
- = Joint probability that both A and B occur
- = Probability that event A occurs
- = Conditional probability of B given that A has occurred
- = Conditional probability of A given that B has occurred
Worked Example
Problem: In a group of 100 students, 40 take Calculus. Of those 40, 30 also take Physics. Another 20 students take Physics but not Calculus. You pick one student at random. Find the joint probability that the student takes both Calculus and Physics.
Step 1: Count the students in the intersection (both courses) and divide by the total. This is how you read a joint probability straight from a two-way table.
Step 2: Check with the multiplication rule. First find and , then multiply.
Answer: The joint probability that a randomly chosen student takes both Calculus and Physics is .
Why It Matters
Joint probabilities are the numerator in conditional probability and Bayes' theorem. That is how you compute the chance a patient has a disease given a positive test. In statistics and machine learning courses, joint distributions of several variables are the starting point for covariance, correlation, and probabilistic models.
Common Mistakes
Mistake: Multiplying to get the joint probability for any two events. Here that gives .
Correction: The shortcut works only when and are independent. Taking Calculus and taking Physics are not independent here, so the correct value is . In general, use .
