Probability > Joint Probability / Joint Distribution

## What is Joint Probability?

Joint probability is the probability of two events happening together. The two events are usually designated *event A *and *event B.* In probability terminology, it can be written as:

**p(A and B)**

**p(A ∩ B)**

Joint probability is also called the

**intersection**of two (or more) events. The intersection can be represented by a Venn diagram:

**Example**: The probability that a card is a five and black = p(five and black) = 2/52 = 1/26. (There are two black fives in a deck of 52 cards, the five of spades and the five of clubs).

You can find several more examples here: Probability of A and B.

## Joint Probability Distribution

A joint probability distribution shows a probability distribution for two (or more) random variables. Instead of events being labeled A and B, the norm is to use X and Y. The formal definition is:

**f(x,y) = P(X = x, Y = y)**

The whole point of the joint distribution is to look for a **relationship **between two variables. For example, the following table shows some probabilities for X and Y happening at the same time:

You can use the table to find probabilities. For example:

**Question**: What is the probability for Y = 2 and X = 3?

**Answer**: Look at the table for the intersection of Y = 2 and X = 3. The answer (1/6) is circled:

See also: Joint Frequency.

## Joint Probability Mass Function

If your variables are discrete (like in the above table example), their distribution can be described by a joint probability mass function (Joint PMF). Basically, **if you have found all probabilities for all possible combinations of X and Y, then you have created a joint PMF.**

## Joint Probability Density Function

If you have continuous variables, they can be described with a probability density function (PDF). Unlike the discrete variable example above, you can’t write out every combination of every variable because you would have infinite possibilities to write out (which is, of course, impossible). What you *can* do is create a formula; **The formula that describes all possible combinations of X and Y is called a joint PDF.** For more on PDFs, see: What is a Probability Density Function?

**Confused and have questions?** Head over to Chegg and use code “CS5OFFBTS18” (exp. 11/30/2018) to get $5 off your first month of Chegg Study, so you can understand any concept by asking a subject expert and getting an in-depth explanation online 24/7.

**Comments? Need to post a correction?** Please post a comment on our *Facebook page*.