Combinatorics and Probability
Description
When you enroll for courses through Coursera you get to choose for a paid plan or for a free plan .
- Free plan: No certicification and/or audit only. You will have access to all course materials except graded items.
- Paid plan: Commit to earning a Certificate—it's a trusted, shareable way to showcase your new skills.
About this course: Counting is one of the basic mathematically related tasks we encounter on a day to day basis. The main question here is the following. If we need to count something, can we do anything better than just counting all objects one by one? Do we need to create a list of all phone numbers to ensure that there are enough phone numbers for everyone? Is there a way to tell that our algorithm will run in a reasonable time before implementing and actually running it? All these questions are addressed by a mathematical field called Combinatorics. In this course we discuss most standard combinatorial settings that can help to answer questions of this type. We will especially conce…

Frequently asked questions
There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.
When you enroll for courses through Coursera you get to choose for a paid plan or for a free plan .
- Free plan: No certicification and/or audit only. You will have access to all course materials except graded items.
- Paid plan: Commit to earning a Certificate—it's a trusted, shareable way to showcase your new skills.
About this course: Counting is one of the basic mathematically related tasks we encounter on a day to day basis. The main question here is the following. If we need to count something, can we do anything better than just counting all objects one by one? Do we need to create a list of all phone numbers to ensure that there are enough phone numbers for everyone? Is there a way to tell that our algorithm will run in a reasonable time before implementing and actually running it? All these questions are addressed by a mathematical field called Combinatorics. In this course we discuss most standard combinatorial settings that can help to answer questions of this type. We will especially concentrate on developing the ability to distinguish these settings in real life and algorithmic problems. This will help the learner to actually implement new knowledge. Apart from that we will discuss recursive technique for counting that is important for algorithmic implementations. One of the main `consumers’ of Combinatorics is Probability Theory. This area is connected with numerous sides of life, on one hand being an important concept in everyday life and on the other hand being an indispensable tool in such modern and important fields as Statistics and Machine Learning. In this course we will concentrate on providing the working knowledge of basics of probability and a good intuition in this area. The practice shows that such an intuition is not easy to develop. In the end of the course we will create a program that successfully plays a tricky and very counterintuitive dice game. As prerequisites we assume only basic math (e.g., we expect you to know what is a square or how to add fractions), basic programming in python (functions, loops, recursion), common sense and curiosity. Our intended audience are all people that work or plan to work in IT, starting from motivated high school students.
Created by: University of California, San Diego, Higher School of Economics-
Taught by: Alexander S. Kulikov, Visiting Professor
Department of Computer Science and Engineering -
Taught by: Vladimir Podolskii, Associate Professor
Computer Science Department
Each course is like an interactive textbook, featuring pre-recorded videos, quizzes and projects.
Help from your peersConnect with thousands of other learners and debate ideas, discuss course material, and get help mastering concepts.
CertificatesEarn official recognition for your work, and share your success with friends, colleagues, and employers.
University of California, San Diego UC San Diego is an academic powerhouse and economic engine, recognized as one of the top 10 public universities by U.S. News and World Report. Innovation is central to who we are and what we do. Here, students learn that knowledge isn't just acquired in the classroom—life is their laboratory. Higher School of Economics National Research University - Higher School of Economics (HSE) is one of the top research universities in Russia. Established in 1992 to promote new research and teaching in economics and related disciplines, it now offers programs at all levels of university education across an extraordinary range of fields of study including business, sociology, cultural studies, philosophy, political science, international relations, law, Asian studies, media and communications, IT, mathematics, engineering, and more. Learn more on www.hse.ruSyllabus
WEEK 1
Basic Counting
Suppose we need to count certain objects. Can we do anything better than just list all the objects? Do we need to create a list all phone numbers to check whether there are enough phone numbers for everyone? Is there a way to tell whether our algorithm will run in a reasonable time before implementing and actually running it? All these questions are addressed by a mathematical field called Combinatorics. In this module we will give an introduction to this field that will help us to answer basic versions of the above questions.
12 videos, 4 readings, 1 practice quiz expand
- Video: Why counting
- Video: Rule of Sum
- Practice Quiz: Numbers Divisible by 2 or 3
- Video: How Not to Use the Rule of Sum
- Video: Convenient Language: Sets
- Video: Generalized Rule of Sum
- Reading: Slides
- Video: Number of Paths
- Video: Rule of Product
- Video: Back to Recursive Counting
- Reading: Slides
- Video: Number of Tuples
- Video: Licence Plates
- Video: Tuples with Restrictions
- Video: Permutations
- Reading: Listing All Permutations
- Reading: Slides
Graded: Rule of Sum in Programming
Graded: Operations with Sets
Graded: Generalized Rule of Sum
Graded: Puzzle: Number of Paths
Graded: Rule of Product in Programming
Graded: Applications of the Rule of Product
Graded: Tuples
Graded: Counting with Restrictions
WEEK 2
Binomial Coefficients
In how many ways one can select a team of five students out of ten students? What is the number of non-negative integers with at five digits whose digits are decreasing? In how many ways one can get from the bottom left cell to the top right cell of a 5x5 grid, each time going either up or to the right? And why all these three numbers are equal? We'll figure this out in this module!
8 videos, 4 readings, 1 practice quiz expand
- Video: Previously on Combinatorics
- Reading: Generating Combinatorial Objects: Code
- Video: Number of Games in a Tournament
- Video: Combinations
- Practice Quiz: Number of Iterations of Nested For Loops
- Reading: Slides
- Video: Pascal's Triangle
- Video: Symmetries
- Video: Row Sums
- Video: Binomial Theorem
- Reading: Slides
- Video: Practice Counting
- Reading: Slides
Graded: Number of Segments and Diagonals
Graded: Forming Sport Teams
Graded: Sum of the First Six Rows of Pascal's Triangle
Graded: Expanding (3a-2b)^k
Graded: Practice Counting
WEEK 3
Advanced Counting
We have already considered most of the most standard settings in Combinatorics, that allow us to address many counting problems. However, successful application of this knowledge on practice requires considerable experience in this kind of problems. In this module we will address the final standard setting in our course, combinations with repetitions, and then we will gain some experience by discussing various problems in Combinatorics.
8 videos, 3 readings, 5 practice quizzes expand
- Video: Review
- Video: Salad
- Video: Combinations with Repetitions
- Reading: Salads
- Reading: Slides
- Practice Quiz: Distributing Assignments Among People
- Video: Distributing Assignments Among People
- Practice Quiz: Distributing Candies Among Kids
- Video: Distributing Candies Among Kids
- Practice Quiz: Numbers with Fixed Sum of Digits
- Video: Numbers with Fixed Sum of Digits
- Practice Quiz: Numbers with Non-increasing Digits
- Video: Numbers with Non-increasing Digits
- Practice Quiz: Splitting into Working Groups
- Video: Splitting into Working Groups
- Reading: Slides
Graded: Salads
Graded: Combinations with Repetitions
Graded: Problems in Combinatorics
WEEK 4
Probability
The word "probability" is used quite often in the everyday life. However, not always we can speak about probability as some number: for that a mathematical model is needed. What is this mathematical model (probability space)? How to compute probabilities (if the model is given)? How to judge whether the model is adequate? What is conditional probability and Bayes' theorem? How our plausible reasoning can be interpreted in terms of Bayes' theorem? In this module we cover these questions using some simple examples of probability spaces and real life sutiations.
17 videos, 4 readings expand
- Video: The Paradox of Probability Theory
- Video: Galton Board
- Video: Natural Sciences and Mathematics
- Video: Rolling Dice
- Video: Probability Spaces
- Reading: Slides
- Video: Not Equiprobable Outcomes
- Video: About Finite Spaces
- Video: Mathematics for Prisoners
- Video: Not All Questions Make Sense
- Reading: Slides
- Video: What Is Conditional Probability?
- Video: How Reliable Is The Test?
- Video: Bayes' Theorem
- Video: Conditional Probability: A Paradox
- Video: Past and Future
- Video: Independence
- Reading: Slides
- Video: Monty Hall Paradox
- Video: `Our Position'
- Reading: Slides
Graded: Concentration for Galton Board
Graded: Computing Probabilities for Two Dice
Graded: Computing Probabilities: Examples
Graded: Fair Decisions and Imperfect Coins
Graded: Prisoner and King
Graded: Inclusion-Exclusion Formula
Graded: Computing Conditional Probabilities
Graded: Prisoner, King and Conditional Probabilities
Graded: Conditional Probabilities
Graded: About Independence
Graded: Monty Hall Gone Crazy
WEEK 5
Random Variables
In the previous module we discussed how to compute probabilities of random events. But in many practical situation we are interested not only in positive or negative outcome, but also in some quantitative characteristics of an outcome. Among these cases are number of steps of an algorithms, number of points that one can win in the games involving any kind of randomness, all quantitative characteristics of a random person in some group of people. Basically settings of this kind arise in all situations when (a) any kind of uncertainty is presented (b) we are interested in quantitative characteristics. The mathematical model for this is called random variables. And we will discuss them in this module.
9 videos, 6 readings expand
- Video: Random Variables
- Video: Average
- Reading: Average Value of a Dice Throw: Experiment
- Video: Expectation
- Reading: Slides
- Video: Linearity of Expectation
- Video: Birthday Problem
- Reading: Slides
- Video: Expectation is Not All
- Reading: Dice Game Experiment
- Reading: Slides
- Video: From Expectation to Probability
- Video: Markov’s Inequality
- Video: Application to Algorithms
- Reading: Slides
Graded: Random Variables
Graded: Average
Graded: Expectations
Graded: Linearity of Expectation
Graded: Bob’s Party
Graded: Linearity
Graded: Average Income
Graded: Bob’s Party Revisited
Graded: Alice’s tests
WEEK 6
Project: Dice Games
In this module, we will apply accumulated knowledge to create a project solving a certain dice game. The game is very simple: two players pick a dice each from a given pool of dices with various numbers on their sides. Then each player throws his dice and the one with the greater number on his dice wins. The game looks very simple and it seems that it is very easy to play this game optimally once we know our pool of dices. Yet it turns out that this intuition is overwhelmingly wrong: the game turns out to be very counterintuitive. In this module we will discuss the game in detail and create a program that finds an optimal strategy to play the game on a given pool of dices.
3 videos, 3 readings expand
- Video: Dice Game
- Video: Playing the Game
- Reading: Experiment: Dice Game
- Reading: Slides
- Video: Project Description
- Reading: Slides
Graded: Final Project: Dice Game
Share your review
Do you have experience with this course? Submit your review and help other people make the right choice. As a thank you for your effort we will donate $1.- to Stichting Edukans.There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.