Menu

Difference between Joint probability and Conditional probability

Written by Selva Prabhakaran | 2 min read

Joint probability and conditional probability are two concepts in probability theory that deal with the likelihood of events, but they are used in different contexts and measure different things.

Joint Probability

  • Definition: Joint probability is the probability of two events happening at the same time.
  • Notation: $( P(A \cap B) ) or ( P(A \text{ and } B) )$
  • Example: The probability of drawing a King and then a Queen from a deck of cards in two draws (without replacement) is an example of joint probability.

Conditional Probability

  • Definition: Conditional probability is the probability of an event occurring given that another event has already occurred.
  • Notation: $( P(A|B) )$
  • Example: The probability of drawing a Queen given that a King has already been drawn (without replacement) from a deck of cards.

Key Differences

Context:
– Joint probability considers the likelihood of two events happening together.
– Conditional probability considers the likelihood of one event happening given that another event has already happened.

Formula:
– Joint Probability: $( P(A \cap B) )$
– Conditional Probability: $( P(A|B) = \frac{P(A \cap B)}{P(B)} )$

Interpretation:
– Joint probability measures the combined likelihood of both events.
– Conditional probability measures the likelihood of one event in the context of the occurrence of another event.

Example to Illustrate Both Concepts

  1. Joint Probability Example:
    • Drawing a King and then a Queen from a deck of cards without replacement.
      $( P(\text{King and Queen}) = \frac{1}{13} \times \frac{4}{51} = \frac{4}{663} ).$
  2. Conditional Probability Example:
    • Drawing a Queen given that a King has already been drawn.
      $( P(\text{Queen}|\text{King}) = \frac{4}{51} )$

In summary, joint probability looks at the combination of events happening together, while conditional probability focuses on the probability of an event occurring in the context of another event having already occurred.

Free Course
Master Core Python — Your First Step into AI/ML

Build a strong Python foundation with hands-on exercises designed for aspiring Data Scientists and AI/ML Engineers.

Start Free Course
Trusted by 50,000+ learners
Related Course
Master Probability — Hands-On
Join 5,000+ students at edu.machinelearningplus.com
Explore Course
Get the full course,
completely free.
Join 57,000+ students learning Python, SQL & ML. One year of access, all resources included.
📚 10 Courses
🐍 Python & ML
🗄️ SQL
📦 Downloads
📅 1 Year Access
No thanks
🎓
Free AI/ML Starter Kit
Python · SQL · ML · 10 Courses · 57,000+ students
🎉   You're in! Check your inbox (or Promotions/Spam) for the access link.
⚡ Before you go

Python.
SQL. NumPy.
All free.

Get the exact 10-course programming foundation that Data Science professionals use.

🐍
Core Python — from first line to expert level
📈
NumPy & Pandas — the #1 libraries every DS job needs
🗃️
SQL Levels I–III — basics to Window Functions
📄
Real industry data — Jupyter notebooks included
R A M S K
57,000+ students
★★★★★ Rated 4.9/5
⚡ Before you go
Python. SQL.
All Free.
R A M S K
57,000+ students  ★★★★★ 4.9/5
Get Free Access Now
10 courses. Real projects. Zero cost. No credit card.
New learners enrolling right now
🔒 100% free ☕ No spam, ever ✓ Instant access
🚀
You're in!
Check your inbox for your access link.
(Check Promotions or Spam if you don't see it)
Or start your first course right now:
Start Free Course →
Scroll to Top
Scroll to Top
Course Preview

Machine Learning A-Z™: Hands-On Python & R In Data Science

Free Sample Videos:

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science