Axiom AcademyAxiom Academy
HomeCoursesFormula SheetsAbout
Axiom Academy
Axiom Academy

Making math accessible and enjoyable through interactive lessons, engaging explanations, and a passion for teaching.

What's New

Learn

  • All Courses
  • Formula Sheets
  • Achievements

Test Prep

  • SAT Math
  • ACT Math
  • GRE Quant
  • Competition Math

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Accessibility

© 2026 Axiom Academy. All rights reserved.

Built with love for math.

  1. Home
  2. Courses
  3. Math for CS
CS

Math for Computer Science

Logic, algorithms, complexity — the math every CS student needs

181Modules
9Units

Being rebuilt

This course is still in our original format. All the content is here and free to use, but it has not yet been through the rebuild that gives our newer courses their interactive animations and cleaner visuals — so you may hit some rough edges. Spot an error? Send us a note and we will fix it.

Recommended preparation

Algebra 2 and a first taste of proofs (Intro to Proofs) are helpful — this course gathers the math computer science relies on.

Algebra 2Intro to Proofs
1
Welcome to Math for CSINTRO
2
Diagnostic AssessmentASSESSMENT
3
Why Math for Computer Science?LESSON
4
Proof Techniques OverviewLESSON
5
Direct ProofLESSON
6
Proof by ContrapositiveLESSON
7
Proof Examples & TechniquesEXAMPLE
8
Proof by ContradictionLESSON
9
Mathematical InductionLESSON
10
Mathematical Notation & SymbolsLESSON
11
Foundation Practice ProblemsPRACTICE
12
Unit 1 SummarySUMMARY
13
Proof Techniques Formula SheetFORMULA SHEET
14
Unit 1 QuizQUIZ
1
Introduction to LogicINTRO
2
Propositions and Propositional VariablesLESSON
3
Logical Connectives (AND, OR, NOT)LESSON
4
Truth TablesLESSON
5
Truth Table Builder ActivityACTIVITY
6
Logical Equivalences & LawsLESSON
7
Normal Forms (DNF, CNF)LESSON
8
Real World: Circuit DesignREAL WORLD
9
Predicates and QuantifiersLESSON
10
Universal Quantifier (∀)LESSON
11
Existential Quantifier (∃)LESSON
12
Nested QuantifiersLESSON
13
Real World: SQL Queries & LogicREAL WORLD
14
Logical Arguments & ValidityLESSON
15
Proof by Contradiction in LogicLESSON
16
Logic Examples & Case StudiesEXAMPLE
17
Logic Practice ProblemsPRACTICE
18
Unit 2 SummarySUMMARY
19
Logic Formula SheetFORMULA SHEET
20
Unit 2 QuizQUIZ
1
Introduction to Set TheoryINTRO
2
Sets and Set NotationLESSON
3
Set Operations (Union, Intersection, Complement)LESSON
4
Venn DiagramsLESSON
5
Venn Diagram ActivityACTIVITY
6
Power SetsLESSON
7
Cartesian ProductsLESSON
8
Set Theory Examples & ApplicationsEXAMPLE
9
Set Theory Practice ProblemsPRACTICE
10
RelationsLESSON
11
Relation Properties (Reflexive, Symmetric, Transitive)LESSON
12
Equivalence RelationsLESSON
13
Real World: Database Schemas & RelationsREAL WORLD
14
Partial Orders & Total OrdersLESSON
15
FunctionsLESSON
16
Real World: Type Systems & FunctionsREAL WORLD
17
Injective, Surjective, and Bijective FunctionsLESSON
18
Inverse FunctionsLESSON
19
Function CompositionLESSON
20
Unit 3 SummarySUMMARY
21
Set Theory Formula SheetFORMULA SHEET
22
Unit 3 QuizQUIZ
1
Introduction to Number TheoryINTRO
2
Divisibility and Prime NumbersLESSON
3
Greatest Common Divisor & Least Common MultipleLESSON
4
Euclidean AlgorithmLESSON
5
Fundamental Theorem of ArithmeticLESSON
6
Modular ArithmeticLESSON
7
Real World: Hashing AlgorithmsREAL WORLD
8
Modular ExponentiationLESSON
9
Fermat's Little TheoremLESSON
10
Euler's TheoremLESSON
11
RSA CryptosystemLESSON
12
RSA Encryption ActivityACTIVITY
13
Linear Congruences & SolutionsLESSON
14
Chinese Remainder TheoremLESSON
15
Diffie-Hellman Key ExchangeLESSON
16
Real World: Encryption & SecurityREAL WORLD
17
Cryptography ExamplesEXAMPLE
18
Number Theory Practice ProblemsPRACTICE
19
Unit 4 SummarySUMMARY
20
Number Theory Formula SheetFORMULA SHEET
21
Unit 4 QuizQUIZ
1
Introduction to Counting & CombinatoricsINTRO
2
Basic Counting PrinciplesLESSON
3
Multiplication PrincipleLESSON
4
Addition PrincipleLESSON
5
PermutationsLESSON
6
Real World: Password ComplexityREAL WORLD
7
CombinationsLESSON
8
Binomial TheoremLESSON
9
Pascal's TriangleLESSON
10
Real World: Network Routing & PathsREAL WORLD
11
Inclusion-Exclusion PrincipleLESSON
12
Pigeonhole PrincipleLESSON
13
Stars and BarsLESSON
14
Combinatorial Counting ActivityACTIVITY
15
Combinatorics ExamplesEXAMPLE
16
Recurrence RelationsLESSON
17
Generating Functions IntroductionLESSON
18
Combinatorics Practice ProblemsPRACTICE
19
Unit 5 SummarySUMMARY
20
Combinatorics Formula SheetFORMULA SHEET
21
Unit 5 QuizQUIZ
1
Introduction to Graph TheoryLESSON
2
Graphs and TerminologyINTRO
3
Types of Graphs (Directed, Undirected, Weighted)LESSON
4
Graph Representation: Adjacency MatrixLESSON
5
Graph Representation: Adjacency ListLESSON
6
Graph Visualizer ActivityACTIVITY
7
Graph Traversal OverviewLESSON
8
Breadth-First Search (BFS)LESSON
9
Depth-First Search (DFS)LESSON
10
Real World: Routing AlgorithmsREAL WORLD
11
Trees and Tree PropertiesLESSON
12
Spanning TreesLESSON
13
Minimum Spanning Trees (Kruskal, Prim)LESSON
14
Euler Paths and CircuitsLESSON
15
Graph Theory ExamplesEXAMPLE
16
Hamiltonian Paths and CyclesLESSON
17
Planar GraphsLESSON
18
Graph ColoringLESSON
19
Real World: Social NetworksREAL WORLD
20
Matching in GraphsLESSON
21
Bipartite GraphsLESSON
22
Network Flow BasicsLESSON
23
Graph Theory Practice ProblemsPRACTICE
24
Unit 6 SummarySUMMARY
25
Graph Theory Formula SheetFORMULA SHEET
26
Unit 6 QuizQUIZ
1
Introduction to ProbabilityINTRO
2
Sample Spaces and EventsLESSON
3
Probability BasicsLESSON
4
Probability Simulation ActivityACTIVITY
5
Conditional ProbabilityLESSON
6
Bayes' TheoremLESSON
7
Independence and Conditional IndependenceLESSON
8
Random VariablesLESSON
9
Real World: Spam Filters & Machine LearningREAL WORLD
10
Probability DistributionsLESSON
11
Expectation (Expected Value)LESSON
12
Variance and Standard DeviationLESSON
13
Normal DistributionLESSON
14
Real World: Randomized AlgorithmsREAL WORLD
15
Binomial DistributionLESSON
16
Poisson DistributionLESSON
17
Markov's InequalityLESSON
18
Chebyshev's InequalityLESSON
19
Probability ExamplesEXAMPLE
20
Probability Practice ProblemsPRACTICE
21
Unit 7 SummarySUMMARY
22
Probability Formula SheetFORMULA SHEET
23
Unit 7 QuizQUIZ
1
Introduction to Algorithm ComplexityINTRO
2
Big-O NotationLESSON
3
Big-Omega NotationLESSON
4
Big-Theta NotationLESSON
5
Analyzing Loop ComplexityLESSON
6
Complexity Analysis ActivityACTIVITY
7
Little-o and Little-omega NotationLESSON
8
Solving Recurrence RelationsLESSON
9
Master TheoremLESSON
10
Real World: Sorting AlgorithmsREAL WORLD
11
Amortized AnalysisLESSON
12
Space ComplexityLESSON
13
Common Complexity ClassesLESSON
14
Complexity Analysis ExamplesEXAMPLE
15
P vs NP OverviewLESSON
16
NP-CompletenessLESSON
17
Real World: Database Query OptimizationREAL WORLD
18
Complexity Practice ProblemsPRACTICE
19
Unit 8 SummarySUMMARY
20
Complexity Analysis Formula SheetFORMULA SHEET
21
Unit 8 QuizQUIZ
1
Introduction to Automata & Formal LanguagesINTRO
2
Finite Automata (DFA and NFA)LESSON
3
Converting between DFA and NFALESSON
4
Regular ExpressionsLESSON
5
Automata ExamplesEXAMPLE
6
Context-Free GrammarsLESSON
7
Pushdown AutomataLESSON
8
Turing Machines OverviewLESSON
9
Decidability and ComputabilityLESSON
10
Automata Practice ProblemsPRACTICE
11
Unit 9 SummarySUMMARY
12
Automata & Formal Languages Formula SheetFORMULA SHEET
13
Unit 9 QuizQUIZ