Computer Science
>
>

CS 70: Discrete Mathematics and Probability Theory

Fall 2022

UC Berkeley

CS 70 presents key ideas from discrete mathematics and probability theory with emphasis on their application in Electrical Engineering and Computer Sciences. It addresses a variety of topics such as logic, induction, modular arithmetic, and probability. Sophomore mathematical maturity and programming experience equivalent to an Advanced Placement Computer Science A exam are prerequisites.

Course Page

Overview

Logic, infinity, and induction; applications include undecidability and stable marriage problem. Modular arithmetic and GCDs; applications include primality testing and cryptography. Polynomials; examples include error correcting codes and interpolation. Probability including sample spaces, independence, random variables, law of large numbers; examples include load balancing, existence arguments, Bayesian inference.

Prerequisites

Sophomore mathematical maturity, and programming experience equivalent to that gained with a score of 3 or above on the Advanced Placement Computer Science A exam.

Learning objectives

The goal of this course is to introduce students to ideas and techniques from discrete mathematics that are widely used in Electrical Engineering and Computer Sciences. The course aims to present these ideas "in action"; each one will be geared towards a specific significant application. Thus, students will see the purpose of the techniques at the same time as learning about them.

Textbooks and other notes

There is no textbook for this class. Instead, there is a set of comprehensive lecture notes posted on the front page for each lecture. Make sure you revisit the notes after every lecture. Each note may be covered in one or more lectures.

Distinguished Alum Megan says, “When I took the course, I studied the notes until I was able to comfortably reproduce all of the proofs.

Other courses in Mathematical Foundations

CS 103A Math Problem-Solving Strategies

Winter 2020

Stanford University

15-354 Computation & Discrete Math

Spring 2021

Carnegie Mellon University

CSE 311 Foundations of Computing I

Autumn 2021

University of Washington

CSE 312 Foundations of Computing II

Winter 2022

University of Washington

Courseware availability

Lecture slides and notes available at Home

No videos available

Homework with solutions available at Home

Discussions with solutions available at Home

Resources available at Resources

Covered concepts