CS/MATH 111, "Discrete Structures"
Spring 2021




  Schedule

  Syllabus

Recommended textbooks:

Prerequisites: CS10, CS/MATH11, MATH 9C (or equivalents). The prerequisites are strictly enforced.

Prerequisites by topic: basic programming, logic (propositional, predicate), sets, operations on sets, sequences, relations (equivalence, partial orderings), functions, combinations, basic counting methods, elementary linear algebra (matrices, determinants), proof methods (induction, contradiction), elementary number theory.

Topics Covered:

Remote Learning: During the campus closure, lectures, discussions and office hours will be conducted over Zoom. The lectures and discussions will be recorded. You can find some help and information on remote learning environments here.

Homework Assignments: Five homework assignments. To submit an assignment, you will need to upload the pdf file to Gradescope.

Homework assignments can be done individually or in groups of two (strongly recommended). Each group submits one assignment. Both students will receive the same credit (unless requested otherwise). If a student (or a group) fails to submit the assignment, he/she receives a "0".

Homework papers must be prepared with LaTeX. Handwritten assignments or assignments in Word or other word processors will not be accepted. LaTeX templates for homework assignments and other help with LaTeX will be available.

Homework papers must be well written, in grammatical English, self-contained, and aesthetically formatted. During the first week of the quarter you are required to read the homework assignment guidelines, and follow these guidelines throughout the quarter. Sloppy papers will not be graded.

Quizzes: Four quizzes. The first "entrance" quiz will cover the prerequisite topics and will not be counted toward your grade.

Final: Monday, June 7, 8am.

Attendance: Regular attendance at lectures and discussions is strongly advised. Some of the presented material may not be covered in the book or in posted lecture notes. In addition, extra credit assignments may be given during the lectures. Students are also strongly encouraged to take advantage of the office hours.

Grading: Quizzes 45%, Final 30%, Homeworks 25%. Course grades are expected to be determined as follows: A (A-, A, A+) = 90-100%, B (B-, B, B+) = 80-89%, C (C-, C, C+) = 70-79%, D (D-, D, D+) = 60-69%. Minor adjustments of this scale can be made at the end of the quarter. However, in order to get a D-, one has to receive at least 60%.

Copyright: See UC Copyright Policies.

Academic Integrity: Zero-tolerance policy on plagiarism is enforced. Cheating on homework assignments or tests will result in an F grade for the course and a disciplinary action, independently of the extent of plagiarism. You are required to print, read, and sign the academic integrity statement, and upload it to Gradescope no later than Monday, April 5. You can find more information here.

  Lectures

Week 1 Monday, March 29
Wednesday, March 31
Friday, April 2 Quiz 1

Things to Do During the First Week
Review: logic, sets, functions, relations, basic summation formulas, important numbers, sequences, approximations, number theory basics, proofs, proofs by induction.
Week 2 Monday, April 5
Wednesday, April 7,
Friday, April 9
Asymptotic notation
Number theory and cryptography
Review: Gcd, Euclid's algorithm
Fermat's theorems
Computing powers modulo an integer
Review: Computing inverses mod p
Week 3 Monday, April 12
Wednesday, April 14
Friday, April 16
Homework 1 is due April 16
The RSA cryptosystem
RSA: correctness, security, efficiency
Famous open (and solved) problems in number theory
Week 4 Monday, April 19
Wednesday, April 21
Friday, April 23 Quiz 2
Linear recurrence equations (homogeneous)
Linear recurrence equations (non-homogeneous)
Week 5 Monday, April 26
Wednesday, April 28,
Friday, April 30 Homework 2 is due April 30
Linear recurrence equations (non-homogeneous)
Divide-and-conquer recurrences
Week 6 Monday, May 3
Wednesday, May 5
Friday, May 7 Homework 3 is due May 7
Inclusion-Exclusion
Integer partitions
Graphs
Week 7 Monday, May 10 Quiz 3
Wednesday, May 12,
Friday, May 14
Euler tours
Hamiltonian cycles, Dirac's theorem, Ore's theorem
Bipartite graphs

Week 8 Monday, May 17,
Wednesday, May 19, Homework 4 is due May 19
Friday, May 21 Quiz 4
Bipartite graphs: matchings, Hall's theorem
Trees
Planar graphs
Euler's formula/inequality for planar graphs
Week 9 Monday, May 24
Wednesday, May 26
Friday, May 28
Homework 5 is due May 28
Planar graphs: Kuratowski's theorem
Graph coloring, coloring graphs with maximum degree D
Coloring planar graphs with 6 and 5 colors, the 4-Color theorem

Week 10 Monday, May 31 Memorial Day -- no class
Wednesday, June 2,
Friday, June 4
Adjacency matrices and matrix multiplication
Binary trees, applications (lower bound for comparison sorting)
Review

  Homework Assignments

LaTeX and Homework help.

  Quizzes

  Final

  Other Books

  Useful Links