Combinatorics, graph theory, and discrete structures.
July 2026
Boolean algebra is the algebraic structure that handles binary variables and logic operations. It is the mathematical foundation of digital circuit design.
The primary operations are:
Every boolean function can be represented as a Sum of Products (canonical form). Simplification is typically done using Karnaugh Maps or the Quine-McCluskey algorithm.
Combinatorics is the study of discrete structures. It determines the existence, count, and optimization of arrangements according to specific rules.
Permutations (): Choosing and ordering elements from .
Combinations (): Choosing elements without regard to order.
The identity allows for recursive construction.
Choosing items from types with repetition: .
Combinatorics is the branch of mathematics dealing with combinations of objects belonging to finite sets. It is foundational for probability and computer science.
The pigeonhole principle states that if items are put into containers, with , then at least one container must contain more than one item. While simple, it is a powerful tool for proving existence.
A generating function is a way of encoding an infinite sequence of numbers by treating them as the coefficients of a formal power series:
For two sets and : This generalizes to any number of sets, compensating for over-counting elements in intersections.
Mappings allow us to transition from static sets to dynamic interactions. They allow us to compare sets, group elements by shared properties, and transform data while preserving structure.
A Binary Relation between sets and is a subset of the Cartesian product . If , we write .
A relation on set can be:
A relation that is reflexive, symmetric, and transitive is an Equivalence Relation. It partitions a set into disjoint Equivalence Classes.
A function is a relation where every input has exactly one output.
In abstract algebra, we study functions that preserve operations:
For a subset , the Pre-image is .
Graphs provide a formal framework for modeling relationships between discrete objects. A graph consists of a set of vertices and edges .
A graph is planar if it can be drawn without edges crossing. For a connected planar graph: where is the number of faces.
Mathematical Induction is a method of proof used to establish the truth of an infinite set of statements indexed by natural numbers. Formal grounding lies in the structure of the natural numbers and the Well-Ordering Principle.
To prove that is true for all :
In Strong Induction, we assume is true for all to prove . This is essential for structures like the Fibonacci sequence.
The Well-Ordering Principle states that every non-empty subset of the natural numbers has a least element. This is logically equivalent to the principle of induction.
Induction extends to recursively defined structures like Trees.
Information theory is the mathematical study of the quantification, storage, and communication of information. It was founded by Claude Shannon in 1948.
Entropy measures the uncertainty or surprise associated with a random variable . Usually, for bits (Shannon entropy).
Kullback-Leibler (KL) Divergence, or relative entropy, measures the “distance” (though not a true metric) between two probability distributions and :
It quantifies the information lost when is used to approximate .
Mutual Information measures the reduction in uncertainty of given the knowledge of :
It is related to entropy by: .
Shannon’s Source Coding Theorem establishes that the minimum number of bits needed to represent a source is its entropy. Huffman Coding is a common algorithm to achieve this bound.
The Shannon-Hartley Theorem defines the maximum rate at which information can be transmitted over a noisy channel with bandwidth and signal-to-noise ratio :
A recurrence relation defines a sequence where each term is a function of preceding terms. They are the discrete analogues of differential equations.
For , we solve the Characteristic Equation:
The closed-form solution for Fibonacci is:
In CS, we often see .
For terms like , floating point precision fails. We use the transformation matrix where gives the -th term in time.
Set theory is often called the “language of mathematics.” Virtually every mathematical object—numbers, functions, manifolds, operators—can be formally defined as a set.
In Naive Set Theory, one could define a set through any property : . Bertrand Russell asked: if we define (the set of all sets that do not contain themselves), does contain itself?
To resolve such paradoxes, the Zermelo-Fraenkel axioms with the Axiom of Choice (ZFC) were developed.
Using these axioms, we can build the natural numbers :
AC states that given a collection of non-empty sets, we can select one element from each. While intuitive, it leads to non-constructive results like the Banach-Tarski Paradox (decomposing a ball into two identical balls).