Multiplying Dependent Events

Introduction

Welcome back to How Events Influence Each Other! This is Lesson 4 of 5, so we are almost at the finish line of this course. In the previous lesson, we discovered that dependent events reshape the playing field for each other: removing an item from a pool shifts both the total count and the category counts, giving the second event a different probability than it started with. We traced those shifts in detail, but we stopped short of one crucial skill — computing the overall probability that both events happen together.

That is exactly what this lesson delivers. We will give the "updated probability" a formal name, introduce a clean formula, and apply it step by step through two real-world examples. By the end, you will have a reliable three-step process you can use whenever two dependent events need to be combined.

From Observation to Calculation

Recall the employee scenario from Lesson 3: a team of 10 people (4 engineers, 6 designers) had one member randomly removed, and the probability of picking an engineer on the second draw turned out to be either 39\frac{3}{9} or 49\frac{4}{9}, depending on who left first. That adjusted fraction — computed after accounting for the first event's result — has a formal name: conditional probability.

Conditional probability captures the likelihood of the second event given that the first event has already occurred and its result is known. It is the bridge between simply recognizing dependence and calculating with it. Once we pair this adjusted probability with the probability of the first event, a single multiplication will give us the combined result we are after.

The Notation: P(B | A)

Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal