Mathematics for Computer Science
See description under subject 6.1200J.
Spring 2024
This course covers elementary discrete mathematics for science and engineering, with a focus on mathematical tools and proof techniques useful in computer science. Topics include logical notation, sets, relations, elementary graph theory, state machines and invariants, induction and proofs by contradiction, recurrences, asymptotic notation, elementary analysis of algorithms, elementary number theory and cryptography, permutations and combinations, counting tools, and discrete probability.
Readings
- Lecture 01 - Predicates, Sets, and Proofs: Sections 1.0–1.7, 3.1–3.3, 3.6 Lecture 02 - Contradiction and Induction: Sections 1.8–1.9, 4.1, and 5.1 Lecture 03 - Casework and Strong Induction: Sections 5.2–5.3 Lecture 04 - State Machines: Updated State Machines Chapter
- Lecture 11 - Graphs and Coloring: Sections 12.1–12.3, 12.6 Lecture 12 - Matching: Sections 12.5–12.5.1, and the Updated State Machines chapter, section 4 Lecture 13 - Connectivity and Trees: 12.7–12.9, 12.11 Lecture 14 - Digraphs and DAGs: 10–10.2, 10.5
- Lecture 18 - Probability: Section 17 (can skip 17.4) Lecture 19 - Conditional Probability: Sections 18.0–18.6 Lecture 20 - Independence: Sections 18.7–18.9, 17.4 Lecture 21 - Random Variables: Sections 19–19.3 Lecture 22 - Expectation: Sections 19.4–19.6 Lecture 23 - Expectation and Variance: Chapter 20 (reading shared with lecture 24) Lecture 24 - Large Deviations: Chebyshev and Chernoff Bound, Wrap Up: Chapter 20 (reading shared with lecture 23)
Spring 2015
This subject offers an interactive introduction to discrete mathematics oriented toward computer science and engineering. The subject coverage divides roughly into thirds: 1. Fundamental concepts of mathematics: Definitions, proofs, sets, functions, relations. 2. Discrete structures: graphs, state machines, modular arithmetic, counting. 3. Discrete probability theory. On completion of 6.042J, students will be able to explain and apply the basic methods of discrete (noncontinuous) mathematics in computer science. They will be able to use these methods in subsequent courses in the design and analysis of algorithms, computability theory, software engineering, and computer systems. This course is part of the {{% resource_link "70d06f44-b623-42be-9057-dc4b4773a7d6" "Open Learning Library" %}}, which is free to use. You have the option to sign up and enroll in the course if you want to track your progress, or you can view and use all the materials without enrolling.
Readings
Fall 2010
Topics
- Introduction and proofs
- Induction
- Strong induction
- Number theory I
- Number theory II
- Graph theory and coloring
- Matching problems
- Graph theory II: minimum spanning trees
- Communication networks
- Graph theory III
- Relations, partial orders, and scheduling
- Sums
- Sums and asymptotics
- Divide and conquer recurrences
- Midterm
- Linear recurrences
- Counting rules I
- Counting rules II
- Probability introduction
- Conditional probability
- Independence
- Random variables
- Expectation I
- Expectation II
- Large deviations
- Random walks
Readings
- This section contains the course notes, Mathematics for Computer Science . Chapter 8 is not available on MIT OpenCourseWare.
- CHAPTERS: Part I: Proofs
- CHAPTERS: Part II: Structures
- CHAPTERS: Chapter 8: State machines
- CHAPTERS: Part III: Counting
- CHAPTERS: Part IV: Probability
Fall 2005
Topics
- Good and Bad Proofs Course Information
- Propositions and Proofs
- Proofs by Contradiction and Cases
- Predicate Logic
- Sets and Functions
- Induction I
- Induction II
- Relations I
- Relations II
- Graph Theory I
- Graph Theory II
- Graph Theory III
- Graph Theory IV
- Number Theory I
- Number Theory II
- Number Theory III
- State Machines I: Invariants Fallacies with Infinity
- State Machines II: Derived Variables, Stable Marriage Problem
- Sums and Series I
- Sums and Series II Mid-course Survey
- Asymptotics
- Counting I
- Counting II
- Counting III (with Magic Trick Solution)
- Counting IV
- Generating Functions I
- Generating Functions II
- Introduction to Probability
- Conditional Probability and Independence
- Random Variables
- Distribution and Density, Binomial Distribution
- Expectation
- Linearity of Expectation
- Variance
- Sampling and Confidence
- Law of Large Numbers
- Random Walks
Readings
- Reading from Class Notes and Problem Sets are generally assigned on Mondays, with Problem Sets due the following Monday, but this varies with holidays and quizzes. See the calendar section for exact schedule. There is no textbook.
Prerequisites & course information
Same subject as 6.1200J Prereq: Calculus I (GIR) U (Fall, Spring) 5-0-7 units. REST
Sources
- Course catalogue ↗2026–2027
- MIT OpenCourseWare ↗Spring 2024
- MIT OCW syllabus ↗
- MIT OCW readings ↗
- MIT OpenCourseWare ↗Spring 2015
- MIT OCW readings ↗
- MIT OCW syllabus ↗
- MIT OpenCourseWare ↗Fall 2010
- MIT OCW calendar ↗
- MIT OCW readings ↗
- MIT OCW syllabus ↗
- MIT OpenCourseWare ↗Fall 2005
- MIT OCW calendar ↗
- MIT OCW readings ↗
- MIT OCW syllabus ↗
- Historical MIT OpenCourseWare offering. Named reading entries and schedule topics are automatically extracted from the linked source pages.
- Historical MIT OpenCourseWare offering. Named reading entries and schedule topics are automatically extracted from the linked source pages.
- Historical MIT OpenCourseWare offering. Named reading entries and schedule topics are automatically extracted from the linked source pages.
- Historical MIT OpenCourseWare offering. Named reading entries and schedule topics are automatically extracted from the linked source pages.