Homework 7 –Average: 70Median: 75 –http://www.cs.virginia.edu/~cmt5n/cs202/hw7/http://www.cs.virginia.edu/~cmt5n/cs202/hw7/ Homework 8 –Average: 74Median:

Slides:



Advertisements
Similar presentations
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Advertisements

Chapter Primes and Greatest Common Divisors ‒Primes ‒Greatest common divisors and least common multiples 1.
Induction and recursion
Great Theoretical Ideas in Computer Science.
Induction Sections 41. and 4.2 of Rosen Fall 2008 CSCE 235 Introduction to Discrete Structures Course web-page: cse.unl.edu/~cse235 Questions:
Lecture 19 Exam: Tuesday June14 4-6pm Overview. Disclaimer The following is a only study guide. You need to know all the material treated in class.
Discrete Mathematics Lecture 4 Harper Langston New York University.
Lecture 19 Exam: Tuesday June15 4-6pm Overview. General Remarks Expect more questions than before that test your knowledge of the material. (rather then.
Lecture ,3.3 Sequences & Summations Proof by Induction.
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
Cantor’s Legacy: Infinity And Diagonalization Great Theoretical Ideas In Computer Science Steven RudichCS Spring 2004 Lecture 25Apr 13, 2004Carnegie.
Section 7.6: Partial Orderings Def: A relation R on a set S is called a partial ordering (or partial order) if it is reflexive, antisymmetric, and transitive.
Methods of Proof & Proof Strategies
Induction and recursion
A Brief Summary for Exam 1 Subject Topics Propositional Logic (sections 1.1, 1.2) –Propositions Statement, Truth value, Proposition, Propositional symbol,
Numbers, Operations, and Quantitative Reasoning.
MATH 224 – Discrete Mathematics
CSE 311: Foundations of Computing Fall 2013 Lecture 8: More Proofs.
Section 1.8. Section Summary Proof by Cases Existence Proofs Constructive Nonconstructive Disproof by Counterexample Nonexistence Proofs Uniqueness Proofs.
Week 15 - Wednesday.  What did we talk about last time?  Review first third of course.
CS 173, Lecture B August 27, 2015 Tandy Warnow. Proofs You want to prove that some statement A is true. You can try to prove it directly, or you can prove.
ICS 253: Discrete Structures I
1 Lecture 3 (part 3) Functions – Cardinality Reading: Epp Chp 7.6.
1 1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 15-1 Mälardalen University 2012.
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Copyright  The McGraw-Hill Companies, Inc. Permission required for reproduction.
Basic Structures: Sets, Functions, Sequences, and Sums CSC-2259 Discrete Structures Konstantin Busch - LSU1.
Mathematical Induction
Chap 3 –A theorem is a statement that can be shown to be true –A proof is a sequence of statements to show that a theorem is true –Axioms: statements which.
Functions Section 2.3. Section Summary Definition of a Function. – Domain, Cdomain – Image, Preimage Injection, Surjection, Bijection Inverse Function.
COMPSCI 102 Introduction to Discrete Mathematics.
Aim: How can the word ‘infinite’ define a collection of elements?
Section 3.3: Mathematical Induction Mathematical induction is a proof technique that can be used to prove theorems of the form:  n  Z +,P(n) We have.
Discrete Structures & Algorithms More on Methods of Proof / Mathematical Induction EECE 320 — UBC.
A Brief Summary for Exam 2 Subject Topics Number theory (sections ) –Prime numbers Definition Relative prime Fundamental theorem of arithmetic.
Great Theoretical Ideas in Computer Science.
CS 2800 Midterm Review. Announcements Midterm Tuesday, 11/3, 7:30PM, UP B17 Covers up to and including HW #4 (induction) Practice Prelim / Homework Solutions.
Mathematical Induction Section 5.1. Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If.
Section 3.2: Sequences and Summations. Def: A sequence is a function from a subset of the set of integers (usually the set of natural numbers) to a set.
CS 285- Discrete Mathematics
Chapter 5. Section 5.1 Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If we can reach.
Homework 9 –Average: 81Median: 88 – –Section 7.3, #9 Note that.
CSCI 115 Course Review.
Section 1.7. Definitions A theorem is a statement that can be shown to be true using: definitions other theorems axioms (statements which are given as.
To Infinity And Beyond! CS Lecture 11 The Ideal Computer: no bound on amount of memory Whenever you run out of memory, the computer contacts the.
CS 173, Lecture B August 27, 2015 Tandy Warnow. Proofs You want to prove that some statement A is true. You can try to prove it directly, or you can prove.
CMSC250 S ECTIONS 0303 & 0304 M IDTERM R EVIEW Sri Kankanahalli Discussion 10: 9 March 2016 Office Hrs: Mon. and Wed. 4-6PM AVW 1112.
Week 15 - Wednesday.  What did we talk about last time?  Review first third of course.
Chapter 5 With Question/Answer Animations 1. Chapter Summary Mathematical Induction - Sec 5.1 Strong Induction and Well-Ordering - Sec 5.2 Lecture 18.
Week 8 - Wednesday.  What did we talk about last time?  Relations  Properties of relations  Reflexive  Symmetric  Transitive.
Sequences Lecture 11. L62 Sequences Sequences are a way of ordering lists of objects. Java arrays are a type of sequence of finite size. Usually, mathematical.
Fall 2002CMSC Discrete Structures1 Chapter 3 Sequences Mathematical Induction Recursion Recursion.
3.3 Mathematical Induction 1 Follow me for a walk through...
Chapter 5 1. Chapter Summary  Mathematical Induction  Strong Induction  Recursive Definitions  Structural Induction  Recursive Algorithms.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Great Theoretical Ideas In Computer Science
Discrete Mathematics CS 2610
Discrete Mathematics Lecture 7
Induction and recursion
Chapter 1: The Foundations: Logic and Proofs
Lecture 7 Functions.
Discrete Structures for Computer Science
CS 280 Midterm Review.
Induction and recursion
A Brief Summary for Exam 1
Applied Discrete Mathematics Week 9: Integer Properties
Formal Languages, Automata and Models of Computation
Copyright © Zeph Grunschlag,
Chapter 11: Further Topics in Algebra
Lecture 5 Number Theory & Proof Methods
Mathematical Induction
Presentation transcript:

Homework 7 –Average: 70Median: 75 – Homework 8 –Average: 74Median: 79 – –#36 was commonly missed The solution key presents a rather tedious, straightforward application of the counting techniques we discussed in class. There is a more clever way to solve this problem but it takes a bit of creative insight beyond what we discussed in class. I did not present this more clever solution in the key because I want you to see how it can be solved without this insight. Emmanuel’s last OH is this Thursday, April 24 th

Review for Final Exam (Part 1) Propositional Logic Know the rules and connectives Be able to translate statements into propositional logic Be able to produce logical equivalences Solve Logic Puzzles (Who’s Lying?, Knights/Knaves, etc.) Predicate Logic Know the rules, quantifies, and format for predicate logic Be able to translate statements into predicate logic Know how to form common statements (such as at least two, etc)

Methods of Proof Know how to apply the different proof techniques When can you use a counter-example, when do you need UG? Be able to prove given statements by applying the proper method Know how to spot invalid use of a proof technique Sets Know the definition of commonly used sets: N, Z, Z +, R, Q, etc. Be able to work with set operations: , , , , , P(S), etc. Have facility with set specifiers: =, , , , , |S|, etc. Know set terminology: empty, disjoint, etc. Understand the bit string representation of a subset of a given set Review things that gave you trouble on TEST1

Functions KNOW THE DEFINITION OF MAP AND FUNCTION! Be able to tell whether a function is 1-1 or onto and show it Understand function operations such as composition and inverse What is a 1-1 correspondence? How does it relate to counting? The Integers and Division Know the definitions: a | b, even, odd, rational, irrational, prime, composite, mod, relatively prime, pairwise relatively prime Review the theorems in this section regarding divisibility, mod, primes, fundamental theorem of arithmetic, division algorithm, etc. Be able to find the prime factorization, gcd, lcm, mod, etc. Prove results concerning divisibility, rational, irrational, prime, composite, mod, etc.

Proof Strategy The main goal is to be able to prove theorems. Strategies presented include working backwards from the desired result, using existing proofs, looking for counter-examples, making conjectures Sequences and Summations Review sequences, summations, summation notation, cardinality Know the definition of countability, uncountability, etc. How do sequences relate to countability? Be able to determine whether a set is countable or uncountable. Prove results concerning countability/uncountability. Understand the technique of diagonalization and how it is used to prove that a set is uncountable. Other methods of proving a set is uncountable?

Ex: Show that the set of irrational numbers is uncountable. We can not use the technique of diagonalization here because we don’t have a rigorous representation for irrational numbers. Proof: Assume, to the contrary, that the set of irrational numbers is countable. Use I to represent the set of irrational numbers. We know that R = Q  I. We also know that Q is countable. Hence R is countable as the union of two countable sets [we proved it]. But we know that R is uncountable [we proved this as well]. This is a contradiction: a set can’t be both countable and uncountable, so the set of irrational numbers must be uncountable, after all.  Take specific note here that diagonalization is not the only means by which to prove a set is countable. Also note that just because we may not be able to diagonalize a set doesn’t mean it isn’t uncountable.

Mathematical Induction Know the principle of mathematical induction When can we use mathematical induction Be able to prove results using mathematical induction Recursive Definitions and Structural Induction KNOW HOW A RECURSIVE SET DEFINITION WORKS! Be able to determine the elements of a recursively defined set Understand the technique of structural induction and how to use it to prove results about recursively defined sets and sequences. Review things that gave you trouble on TEST2 Pay specific attention to understanding countability/uncountability Also the workings of recursive set definition gave a lot of trouble.