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
The Notation: P(B | A)
The Multiplication Rule for Dependent Events
Worked Example: Drawing Marbles
A Second Example: Defective Parts
Different Categories: Red then Green
Avoiding Common Mistakes
Conclusion and Next Steps
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