Docsity

Study Guide for Discrete Structures with Computer Science Applications | CECS 228, Study notes of Discrete Structures and Graph Theory

Toggle sidebar
bg1
CECS 228: Discrete Structures With Computer
Science Applications
Darin Goldstein
1 Contact info
•Instructor: Darin Goldstein
•Phone: 562.985.1507
•Office: ECS 546
•Office hours: MW 6:00-6:30pm, TTh 3:00-3:30 pm, 6:00-6:30 pm (How-
ever, expect to be kicked out of my office 5 minutes beforehand so that
I can make it to class on time. You will have priority during the office
hours just before lecture.)
•Web page: http://www.cecs.csulb.edu/∼daring/
•Textbook: Discrete Mathematics and Its Applications (6th Edition) by
Kenneth Rosen
2 Course Description
Credits: Credit for this course (syllabus, course materials, etc.) all
go to Todd Ebert, the course coordinator for CECS 228.
This course provides an introduction to the fascinating world of discrete
mathematics in its relation to solving problems in computer science and engi-
neering. The topics covered include logic, set theory, functions, integers, mod-
ular arithmetic, mathematical reasoning and proofs, recursive definitions and
algorithms, basic counting principles, relations, graphs, and trees.
2.1 Course Objectives
•An ability to: model statements and systems using propositional and pred-
icate logic; translate b etween English sentences and propositional/predicate
logic; determine the consistency of a set of logical statements; solve logic
puzzles from a set of given statements
1
pf3
pf4
pf5

Partial preview of the text

Download Study Guide for Discrete Structures with Computer Science Applications | CECS 228 and more Study notes Discrete Structures and Graph Theory in PDF only on Docsity!

CECS 228: Discrete Structures With Computer

Science Applications

Darin Goldstein

1 Contact info

  • Instructor: Darin Goldstein
  • Phone: 562.985.
  • Email: [email protected]
  • Office: ECS 546
  • Office hours: MW 6:00-6:30pm, TTh 3:00-3:30 pm, 6:00-6:30 pm (How- ever, expect to be kicked out of my office 5 minutes beforehand so that I can make it to class on time. You will have priority during the office hours just before lecture.)
  • Web page: http://www.cecs.csulb.edu/∼daring/
  • Textbook: Discrete Mathematics and Its Applications (6th Edition) by Kenneth Rosen

2 Course Description

Credits: Credit for this course (syllabus, course materials, etc.) all go to Todd Ebert, the course coordinator for CECS 228. This course provides an introduction to the fascinating world of discrete mathematics in its relation to solving problems in computer science and engi- neering. The topics covered include logic, set theory, functions, integers, mod- ular arithmetic, mathematical reasoning and proofs, recursive definitions and algorithms, basic counting principles, relations, graphs, and trees.

2.1 Course Objectives

  • An ability to: model statements and systems using propositional and pred- icate logic; translate between English sentences and propositional/predicate logic; determine the consistency of a set of logical statements; solve logic puzzles from a set of given statements
  • An ability to: define a set and perform set operations; find the Cartesian product of sets, and the power set of a given set; represent a set as a binary vector, and define vector/set operations; recognize well-known set identi- ties, and determine the relationship between two sets (equal, subset, etc.); identify when a relationship between two sets represents a function; find the domain and range of a function, and determine whether or not it is 1-1, onto, or both; describe the growth of a function using big-O notation; find composite and inverse functions; use special functions including the floor and ceiling functions; understand and write recursive definitions and algorithms; determine the cardinality of a set using the sum rule, product rule, principle of inclusion-exclusion, generalized pigeonhole principle, per- mutations, and combinations; solve linear recurrence relations; represent a binary relation using set notation (ordered pairs), a directed graph, and a matrix; understand n-ary relations and their applications; determine if a given relation is reflexive, irreflexive, symmetric, anti-symmetric, asym- metric, and transitive; determine if a relation on a given set is an equiva- lence relation; determine if a relation on a given set is a partial ordering; apply equivalence relations and partial orderings to some common prob- lems; represent a graph using an adjacency list, an adjacency matrix, and an incidence matrix; recognize some special graphs including: complete graphs, cycles, wheels, n-cubes, bipartite graphs; use simple properties to rule out two graphs being isomorphic; determine the connectivity of a given graph; recognize a tree, and compute various properties of a tree including internal vertices, leaves, and height
  • An ability to: apply a rule of inference in an argument; construct an argument using rules of inference to show the conclusion is valid; find all possible conclusions one can deduce from a set of statements using rules of inference; identify fallacies in an argument; construct a mathematical proof using mathematical induction, cases, the direct method, the indirect method, and proof by contradiction; prove the correctness of recursive algorithms and definitions using mathematical induction

2.2 Topics

  • Foundations: Logic; Propositional equivalences; Predicates and quanti- fiers; Sets; Functions; Algorithms; Growth of functions and big-O notation
  • Mathematical Reasoning: rules of inference and fallacies; recursive defi- nitions; recursive algorithms; mathematical induction with application to correctness proof of recursive algorithms and definitions; mathematical proof techniques; counting techniques; recurrence relations
  • Basic Discrete Structures: relations, applications and representations; equivalence relations; partial orderings; graphs, terminology and appli- cations; representing graphs; connectivity in graphs; trees, terminology and applications

5 Homework, Quizzes, Exams, Programming As-

signments

Homework will not be turned it. However, I highly recommend doing it if you want to do well on the exams. If you choose not to do the homework, you will not be explicitly penalized, but you should plan on not doing well in the course. The homework assignments are as follow (Note that not all lectures have per- fectly corresponding homework assignments so you may want to do the practice problems on the web site as well.):

  • Do problems 1-35 odd, 45-63 odd from Section 1.1, and problems 1-59 odd in Section 1.2.
  • Section 1.3: 1-45 odd, 51, 53 odd
  • Section 2.1: 1-21 odd; Section 2.2: 1-41 odd, 51, 52.
  • Section 2.1: 23-31 odd, Section 8.2: 1-9 odd
  • Do problems 1-19 odd from Section 2.3.
  • Section 8.1: 1-19 odd, 25-29 odd, 33.
  • Section 8.5: 1-15, 19-47 odd, 8.6: 1-27 odd, 9.1: 1-19 odd
  • Section 9.2: 1-25 odd, 30, 37, Section 9.3: 35-43 odd, Section 9.4: 1- odd, 19, 21
  • Section 10.1: 1-23 odd, Section 5.1: 1-61 odd, Section 5.2: 1-19 odd, Sections 5.3, 1-41 odd.
  • Section 5.4: 1-25 odd, Section 1.6: 1-35 odd, Section 4.3: 1-17 odd, 23- odd.

The tentative breakdown for grading is as follows:

  1. Midterm # 1: 1/
  2. Midterm # 2: 1/
  3. Final Exam: 1/

The class will be graded on a curve. Independent of the curve, if you get 90% of the total points or above, you get an automatic A; 80% of the total points or above, you get an automatic B; and so on. (I do not round points.) The curve can only help your grade. Usually, independent of the actual score, the top person/people get A’s. I then go down the grades and determine where the first big break in the grades is and, after the first big break, we start the B’s. This continues all the way down. Generally speaking, office hours are pretty crowded the day before exams. I was a college student once and am very familiar with the concept of cramming

for an exam. During office hours, I will try to help as many people as I can. However, the chances are pretty good that if you leave all of your questions for the last minute, they may go unanswered. Please take this into account when you start your studying.

6 Cheating

You may not leave the room during any in-class exam. You may not use any communication device (cell phones, etc.) during any in-class exam. For take-home exams, you are allowed to use calculators and any nonhuman help you need. If you receive help in any way from any human being (including any help at all from the Internet; human help using an electronic or other intermediary is still considered “human help”), it will be considered cheating and will be dealt with as outlined below. If you have any questions about whether or not something is considered “human help,” it is your responsibility to come see me before you receive such help. You will not receive any leniency after the fact; please consider this one of the rare occasions when it is easier to get permission than forgiveness. Failure to observe these rules will result in an F in the course. Cheating on any graded material in the course will lead to an automatic grade of F in the course. I don’t give warnings.

7 The final word

If there is anything on this page that you have a question or comment about, it is very important to let me know about it on the FIRST DAY OF CLASSES. After the first day of classes, I will assume that you are aware of the grading policies. Any grading misunderstandings you have after the first day of classes are your responsibility. Good luck.

8 Syllabus

These have a one-to-one correspondence to lectures. The lectures correspond to

  1. Propositional Logic
  2. Predicate Logic
  3. Sets
  4. Functions
  5. Review of Integers
  6. Midterm #
  7. Modular Arithmetic