Loading lessons…
Loading lessons…
Explore the structures used to reason about logic, counting, sets, and discrete systems. Lessons cover truth tables, Boolean algebra, Karnaugh maps, induction, modular arithmetic, relations, and combinatorial counting. Visual and worked representations help turn symbolic rules into clear procedures, such as simplifying a logic expression or counting arrangements without double-counting. Follow the topic links to see how these ideas support computer science, digital circuits, and proof. Each public preview highlights the main concept and relevant formulas while keeping practice questions and full exam revision behind sign-in.
A set groups distinct objects, and Venn diagrams show how membership, intersection, and union relate.
Truth tables enumerate the input cases for logical connectives and make compound propositions precise.
Induction proves an infinite family of statements by establishing a base case and showing each case implies the next.
Counting choices depends on whether order matters, and factorial formulas keep track of those arrangements exactly.
Pascal's triangle arranges binomial coefficients so each entry and each polynomial expansion follows a simple recurrence.
Logic gates implement Boolean functions by mapping one or two binary inputs to a binary output.
Graphs model relationships as vertices joined by edges; breadth-first and depth-first search reveal how to explore them.
A tree is a connected graph without cycles; roots, leaves, and traversal orders organize its structure.
Modular arithmetic works with remainders; repeated squaring computes large powers exactly, while inverses exist only for coprime inputs.
Euclid’s algorithm finds the greatest common divisor by replacing a pair with the smaller number and their remainder.
A recurrence defines each term from earlier terms; the Fibonacci sequence connects a step-by-step rule with a closed-form formula.
A relation connects elements of sets; a function assigns each domain element exactly one value in its codomain.
Positional notation represents integers and fractions in different bases, while computers encode signed integers and approximate real numbers.
Boolean laws and Karnaugh-map groupings reduce logic expressions while preserving their truth-table outputs.
Inclusion-exclusion corrects overcounting among overlapping sets, while pigeonhole arguments force repeated assignments.