К содержимому
learnspaceYOUR NEXT CHAPTER
ПРОСТРАНСТВО ОБУЧЕНИЯ
ГлавнаяКаталог курсовМоё обучениеCoursera

Знания без границ

Учитесь у лучших университетов и компаний мира.

Открыть Coursera
Интеграция
Пространство университета
Моё пространствоСтраница курса
↵
ЯЛичный кабинетСтудент
© 2026 LearnSpaceКаждый день — возможность узнать больше.Помощь
Discrete Math for Computer Science - Counting & Probability · LearnSpace
Назад в каталог
courseraПрограммирование

Discrete Math for Computer Science - Counting & Probability

Курс от The Hong Kong University of Science and Technology
Начальный≈ 14.4 чАнглийский
О курсеНавыкиПрограммаПреподаватели

О курсе

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.

Навыки, которые вы освоите

Bayesian StatisticsComputer ScienceAnalysis

Программа курса

8 модулей · 136 учебных материалов

01Introduction to Discrete Math for Computer Science (Counting & Probability)1 материалов
Introduction to Discrete Math for Computer Science (Counting & Probability)Чтение
02 Basics of Counting17 материалов
Basics of CountingЧтениеBasics of Counting OverviewВидео

Учитесь у экспертов

Kenneth Wai-Ting Leung

Associate Professor of Engineering Education

Discrete Math for Computer Science - Counting & Probability
В каталоге вашей программы

Инвестируйте в себя

Новые знания — в удобное для вас время.

Начать на Coursera

Обучение откроется на Coursera
в новой вкладке

Обучение на Coursera

≈ 14.4 ч

8 модулей

Язык: Английский

Часть программы вашего университета
Basics of Counting_introВидео
Product Rule_Intro, Example1 & 2Видео
(Optional) Product Rule_Example3 & 4Видео
(Optional) Product Rule_Example5 & 6Видео
Sum Rule_ExampleВидео
(Optional) Using Both Product and Sum Rules_Example1Видео
(Optional) Using Both Product and Sum Rules_Example2Видео
(Optional) InclassExВидео
Tree Diagrams_Intro, Example1 & 2Видео
The Pigeonhole Principle_Intro & Example1Видео
(Optional) The Pigeonhole Principle_Example2Видео
(Optional) The Pigeonhole Principle_Example3Видео
The Pigeonhole Principle_Generalized Pigeonhole Principle_Intro & Example1Видео
(Optional) The Pigeonhole Principle_Generalized Pigeonhole Principle_Example2 & 3Видео
Quiz 1Задание
03Permutations and Combinations18 материалов
Permutations and CombinationsЧтениеPermutations and Combinations OverviewВидеоPermutations and Combinations_introВидео(Optional) Permutations_Example1ВидеоPermutations_Number of k-PermutationsВидео(Optional) Permutations_Example2 & 3ВидеоPermutations_Permutation & k-Permutation DefinitionВидео(Optional) Permutations_Example4 & 5 & 6Видео(Optional) Permutations_Example7ВидеоCombinations_Intro & k-Combinations, ProofВидео(Optional) Combinations_Example1 & 2ВидеоCombinations_Combinatorial Proof and Bijection Principle_Intro & ExamplesВидеоGeneralized Permutations and Combinations_Permutations with Indistinguishable Objects_Intro & ExampleВидеоGeneralized Permutations and Combinations_Distributing Objects into Boxes_Intro & ExampleВидеоGeneralized Permutations and Combinations_Indistinguishable objects Distinguishable boxes_Theorem & ExampleВидеоGeneralized Permutations and Combinations_Combinations with Repetition_Intro & ExamplesВидео(Optional) InclassExВидеоQuiz 2Задание
04Binomial Coefficients15 материалов
Binomial CoefficientsЧтениеBinomial Coefficients OverviewВидеоBinomial Coefficients_IntroВидеоBinomial Theorem_Example1, Definition & ProofВидео(Optional) Binomial Theorem_Example2 & 3ВидеоBinomial Theorem_Corollary1 & Combinatorial ProofВидеоBinomial Theorem_Corollary2 & Pascal’s TriangleВидеоBinomial Theorem_Corollary3ВидеоPascal’s Identity and Triangle_Pascal's Identity & Combinatorial proof of Pascal’s identityВидеоPascal’s Identity and Triangle_Pascal’s TriangleВидеоSome Other Identities_Vandermonde's IdentityВидеоSome Other Identities_Vandermonde's Identity_CorollaryВидеоSome Other Identities_Counting bit strings & ProofВидео(Optional) InclassExВидеоQuiz 3Задание
05The Inclusion-Exclusion Principle15 материалов
The Inclusion-Exclusion PrincipleЧтениеThe Inclusion-Exclusion Principle OverviewВидеоThe Inclusion-Exclusion Principle_IntroВидеоTwo Finite Sets_Intro & ExamplesВидеоThree Finite Sets_IntroВидео(Optional) Three Finite Sets_ExampleВидеоInclusion-Exclusion Principle_TheoremВидеоInclusion-Exclusion Principle_ProofВидеоNumber of Onto Functions_Intro & Example1Видео(Optional) Number of Onto Functions_Example2ВидеоDerangement_Example1 & ProofВидео(Optional) Derangement_Example2ВидеоProbability of a derangementВидео(Optional) InclassExВидеоQuiz 4Задание
06Introduction to Probability23 материалов
Introduction to ProbabilityЧтениеIntroduction to Probability OverviewВидеоThe Hatcheck Problem RevisitedВидеоProbability_DefinitionsВидео(Optional) Probability_ExampleВидеоPoker_IntroВидео(Optional) Poker_Ex1Видео(Optional) Poker_Ex2Видео(Optional) Poker_Ex3Видео(Optional) Poker_Ex4ВидеоMark SixВидеоSampling with/without replacementВидеоComplement of Event_TheoremВидео(Optional) Complement of Event_ExampleВидеоUnion of Events & Inclusion-Exclusion Principle for Probability, Complement and Union EventsВидеоProbability DistributionВидеоUniform Distribution & Non-Uniform DistributionВидеоProbability of an EventВидеоIndependence_DefinitionВидео(Optional) Independence_ExamplesВидеоPairwise and Mutual IndependenceВидео(Optional) InclassExВидеоQuiz 5Задание
07Conditional Probability and Bayes' Theorem17 материалов
Conditional Probability and Bayes' TheoremЧтениеConditional Probability and Bayes' Theorem OverviewВидеоConditional Probability and Bayes' Theorem_IntroВидеоConditional ProbabilityВидео(Optional) Conditional Probability_Example1Видео(Optional) Conditional Probability_Example2ВидеоConditional Probability_The Birthday ProblemВидеоIndependence RevisitedВидеоIndependence Example RevisitedВидеоBayes’ Theorem_Theorem & Example1, ExplanationВидео(Optional) Bayes’ Theorem_Example2Видео(Optional) Bayes’ Theorem_Example3ВидеоBayesian Spam Filter_Intro & ExampleВидеоGeneralized Bayes’ Theorem_Theorem & ExampleВидеоMonty Hall ProblemВидео(Optional) InclassExВидеоQuiz 6Задание
08 Random Variables30 материалов
Random VariablesЧтение Random Variables OverviewВидеоRandom VariablesВидеоDistribution of a Random VariableВидеоBernoulli TrialsВидеоBinomial Distribution_Theorem & ExampleВидеоContinuous Probability DistributionВидеоInfinite Sample SpaceВидеоGeometric DistributionВидеоExpected Value_Definition, Theorem & ExampleВидеоExpected Value_Example_Binomial DistributionВидеоLinearity of Expectations_Theorem & ProofВидеоIndicator Random Variables_IntroВидео(Optional) Indicator Random Variables_Example_the Hatcheck ProblemВидео(Optional) Indicator Random Variables_Example_Hiring ProblemВидео(Optional) Indicator Random Variables_Example_Balls and BinsВидеоAverage-case Analysis of Algorithms_Definition & Example_Linear SearchВидео(Optional) Average-case Analysis of Algorithms_Example_Insertion SortВидеоGeometric Distribution_Definition & TheoremВидео(Optional) Geometric Distribution_Example_Coupon CollectorВидеоIndependent Random Variables_Definition, Theorem & ProofВидео(Optional) Independent Random Variables_ExampleВидеоVariance and Standard Deviation_DefinitionВидеоVariance_TheoremВидео(Optional) Variance_ExampleВидеоBienaymé’s Formula_Theorem & ProofВидео(Optional) Bienaymé’s Formula_Example1Видео(Optional) Bienaymé’s Formula_Example2Видео(Optional) InclassExВидеоQuiz 7Задание