Discrete Math
Explore set operations, proofs, recursion, and more in this introduction to discrete math — the math of computer science!
Skill level
IntermediateTime to complete
Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary4 hoursPrerequisites
1 courseWe suggest you complete the following courses before you get started with Discrete Math:- Learn Python 3
About this course
In this course, we will dive into discrete math, the math of computer science! Broadly speaking, discrete math is math that uses discrete numbers, or integers, meaning there are no fractions or decimals involved. In this course, you’ll learn about proofs, binary, sets, sequences, induction, recurrence relations, and more! We’ll also dive deeper into topics you’ve seen previously, like recursion.
Syllabus
8 lessons • 8 quizzesCertificate of completion available with Plus or Pro
Earn a certificate of completion and showcase your accomplishment on your resume or LinkedIn.

Earn a certificate of completion
Show your network you've done the work by earning a certificate of completion for each course or path you finish.- Show proofReceive a certificate that demonstrates you've completed a course or path.
- Build a collectionThe more courses and paths you complete, the more certificates you collect.
- Share with your networkEasily add certificates of completion to your LinkedIn profile to share your accomplishments.
Discrete Math course ratings and reviews
- 5 stars
- 4 stars
- 3 stars
- 2 stars
- 1 star
- The progress I have made since starting to use codecademy is immense! I can study for short periods or long periods at my own convenience - mostly late in the evenings.ChrisCodecademy Learner @ USA
- I felt like I learned months in a week. I love how Codecademy uses learning by practice and gives great challenges to help the learner to understand a new concept and subject.RodrigoCodecademy Learner @ UK
- Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.John-AndrewCodecademy Learner @ USA
Our learners work at
Frequently asked questions about Discrete Math
You can think of discrete math as math with numbers or objects that are separated from each other. Imagine a line with one-inch tick marks spaced evenly apart — those tick marks would be “discrete.” Similarly, discrete math uses counting numbers (e.g., 1, 2, 3, 4…) because they’re all kept separate from each other.
Join over 50 million learners and start Discrete Math today!
Looking for something else?
Related resources
- Article
Training Set vs Validation Set vs Test Set
Discover training set vs. validation set vs. test set differences in ML. Learn data splitting best practices for better model performance. - Article
Binary Search Algorithm in C++
Learn how to implement the binary search algorithm in C++ with step-by-step examples using both iterative and recursive approaches. - Article
The Troubleshooting Method
Find out about a systematic approach to solving technical issues!
Related courses and paths
- Learn about recurrence relations and dive deeper into recursion and dynamic programming.
- Beginner Friendly.< 1 hour
- Learn how to verify theorems and dive into induction, strong induction, and other types of proofs.
- Beginner Friendly.1 hour
- Learn about counting theory and its relevance to computer science, and dive into the pigeonhole principle.
- Beginner Friendly.< 1 hour
Browse more topics
- Math103,956 learners enrolled
- Python4,243,073 learners enrolled
- Computer science6,924,769 learners enrolled
- Code foundations8,434,461 learners enrolled
- Web development5,657,773 learners enrolled
- Data science5,249,025 learners enrolled
- For business4,044,278 learners enrolled
- JavaScript3,176,776 learners enrolled
- Data analytics3,147,378 learners enrolled
Unlock additional features with a paid plan
Practice Projects
Guided projects that help you solidify the skills and concepts you're learning.Assessments
Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.Certificate of Completion
Earn a document to prove you've completed a course or path that you can share with your network.







