This course develops the mathematical tools needed to count, measure uncertainty, and reason about random processes, which are central to computer science, data analysis, and algorithm design. Building on the logical foundations from the first course, it introduces combinatorial counting techniques and probability theory through a discrete, computation-oriented lens.

Discrete Math for Computer Science - Counting & Probability

Discrete Math for Computer Science - Counting & Probability
This course is part of Discrete Mathematical Tools for Computer Science Specialization

Instructor: Kenneth Wai-Ting Leung
Access provided by Masterflex LLC, Part of Avantor
Recommended experience
What you'll learn
Use propositional and predicate logic to model and reason about computer science problems.
Use permutations, combinations, and inclusion–exclusion to solve combinatorial problems.
Analyse uncertainty using probability, conditional probability, and random variables.
Skills you'll gain
Details to know

Add to your LinkedIn profile
7 assignments
February 2026
See how employees at top companies are mastering in-demand skills

Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate

There are 8 modules in this course
This module teaches how to count arrangements, selections, and possibilities using permutations, combinations, binomial coefficients, and inclusion-exclusion. It covers probability fundamentals, conditional probability, random variables, and iconic problems like the Monty Hall dilemma to handle uncertainty. These tools are crucial for analyzing algorithm efficiency, game design, randomized systems, machine learning, and risk assessment.
What's included
1 reading
Counting techniques provide systematic methods for determining the number of possible outcomes in discrete structures. This topic introduces basic counting principles such as the sum rule and product rule.
What's included
15 videos1 reading1 assignment
This topic studies methods for counting arrangements and selections of objects. It distinguishes between ordered and unordered selections and introduces formulas for permutations and combinations.
What's included
16 videos1 reading1 assignment
Binomial coefficients arise in counting combinations and in the expansion of binomial expressions. This topic covers the binomial theorem, Pascal’s identity, and important combinatorial identities.
What's included
13 videos1 reading1 assignment
The inclusion–exclusion principle provides a systematic way to count elements in overlapping sets. It is widely used in counting problems involving unions of multiple sets.
What's included
13 videos1 reading1 assignment
This topic introduces probability as a measure of uncertainty based on counting outcomes. It defines experiments, sample spaces, events, and basic probability rules.
What's included
21 videos1 reading1 assignment
Conditional probability measures the likelihood of events given prior information. This topic introduces independence and Bayes’ theorem, enabling probabilistic reasoning in real-world decision making.
What's included
15 videos1 reading1 assignment
Random variables assign numerical values to outcomes of random experiments. This topic covers discrete and continuous distributions, expectation, and variance, forming the foundation of probability modeling.
What's included
28 videos1 reading1 assignment
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor

Why people choose Coursera for their career

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
Explore more from Computer Science

University of California San Diego

The Hong Kong University of Science and Technology

The Hong Kong University of Science and Technology

Birla Institute of Technology & Science, Pilani

