Skip to content

Math B: Combinatorics and Probability ​

The combinatorics and probability module counts finite choices and models random outcomes. Define the sample space and repetition rules first; factorials work very hard and will happily work overtime for a bad assumption.

Prerequisites ​

  • Understand sets, functions, and basic proofs. Review the relevant Math A: Discrete Mathematics lessons if needed.
  • Be comfortable with algebra and simple Python programs. Probability and number theory start from definitions; expand the first few terms when a summation symbol is unfamiliar.

Coverage ​

Chapter 6 covers counting and generating functions; Chapter 7 covers graphs, paths, and network flow. Chapter 8 introduces probability and statistical inference, and Chapter 9 develops integers, modular arithmetic, and mathematical questions from cryptography.

Chapter 6 ​

Chapter 7 ​

Chapter 8 ​

Chapter 9 ​

Outcomes ​

  • Decide whether order and repetition matter, and check counting formulas with small enumerations.
  • Model dependencies, paths, or resource allocation as graphs and choose algorithms suited to their weights and structure.
  • State assumptions behind probability models and sampling conclusions, and compute congruences, modular inverses, and fast exponentiation.

How to use this map ​

Enter at the chapter that fits your problem, checking the required set and proof concepts first. When a counting formula gives a huge number, test it with two or three objects. For probability, write the sample space first. Small-integer number theory experiments explain mathematical relationships; they are not deployable cryptographic systems.

Built with VitePress | Software Systems Atlas