Discrete Math for Computer Science - Counting & Probability

Coursera MOOC / Non-credit USD 49
Enroll now →
Discrete Math for Computer Science - Counting & Probability

About this course

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. The course begins with the fundamentals of counting, including the product rule, sum rule, permutations, combinations, and binomial coefficients. You will learn how to count complex structures efficiently using techniques such as the principle of inclusion and exclusion, with applications ranging from algorithm analysis to data organization. The second half of the course focuses on probability, emphasizing its deep connection to counting. Topics include sample spaces, events, conditional probability, independence, and Bayes’ Theorem. You will also study random variables, probability distributions, expectation, and variance, gaining tools to model and analyze randomized algorithms and real-world uncertainty. Throughout the course, abstract concepts are reinforced with concrete examples drawn from computing, games of chance, and classic probability puzzles. By the end, learners will be able to systematically count possibilities, compute probabilities, and reason rigorously about randomness—skills essential for advanced study in algorithms, data science, machine learning, and beyond.

What you'll learn

  • understanding combinatorial counting techniques
  • applying probability theory to real-world problems
  • calculating permutations and combinations
  • reasoning about randomness and uncertainty
  • using Bayes' Theorem in analysis

Course objectives

  • develop skills in counting and probability that apply to computer science
  • strengthen logical reasoning abilities related to random processes
  • prepare learners for advanced studies in data science and algorithms

Skills you'll gain

Related courses

Course details are provided by the platform and may change — always confirm on the provider's site. Links may be affiliate links.