DISCRETE MATH: FINAL REVIEW

Similar documents
DISCRETE MATH: LECTURE 6

1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : 5 points

2. The Logic of Compound Statements Summary. Aaron Tan August 2017

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014

5. Use a truth table to determine whether the two statements are equivalent. Let t be a tautology and c be a contradiction.

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

CSE 20 DISCRETE MATH WINTER

CSE 20 DISCRETE MATH SPRING

A. Propositional Logic

CSE 20 DISCRETE MATH. Winter

Logic and Proofs. (A brief summary)

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

CSE 20 DISCRETE MATH. Fall

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics. Introductory Notes in Discrete Mathematics Solution Guide

What is the decimal (base 10) representation of the binary number ? Show your work and place your final answer in the box.

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017

CSE 20. Final Review. CSE 20: Final Review

WUCT121. Discrete Mathematics. Logic. Tutorial Exercises

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

Discrete Mathematics Exam File Spring Exam #1

Logic and Proofs. (A brief summary)

Quiz 1. Directions: Show all of your work and justify all of your answers.

Math 3336: Discrete Mathematics Practice Problems for Exam I

The Logic of Compound Statements cont.

CSC 125 :: Final Exam May 3 & 5, 2010

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

Chapter 1 Elementary Logic

STUDY PROBLEMS FOR EXAM I CMSC 203 DISCRETE STRUCTURES. n (n +1)(2n +1), 6. j 2 = 1(1+1)(2 1+1) 6. k (k +1)(2k +1) 6

CSC Discrete Math I, Spring Propositional Logic

MACM 101 Discrete Mathematics I. Exercises on Propositional Logic. Due: Tuesday, September 29th (at the beginning of the class)

Steinhardt School of Culture, Education, and Human Development Department of Teaching and Learning. Mathematical Proof and Proving (MPP)

MATH 271 Summer 2016 Practice problem solutions Week 1

Chapter 3. The Logic of Quantified Statements

Logic, Sets, and Proofs

software design & management Gachon University Chulyun Kim

Chapter 1 : The language of mathematics.

DISCRETE MATH: LECTURE 3

Logic Overview, I. and T T T T F F F T F F F F

CSE 1400 Applied Discrete Mathematics Proofs

Section A (not in the text) Which of the following are statements? Explain. 3. The President of the United States in 2089 will be a woman.

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

Logic. Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another.

Intro to Logic and Proofs

9/5/17. Fermat s last theorem. CS 220: Discrete Structures and their Applications. Proofs sections in zybooks. Proofs.

3/29/2017. Logic. Propositions and logical operations. Main concepts: propositions truth values propositional variables logical operations

Basic Proof Examples

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

MATH CSE20 Homework 5 Due Monday November 4

CSE Discrete Structures

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Valid Reasoning. Alice E. Fischer. CSCI 1166 Discrete Mathematics for Computing February, Outline Truth and Validity Valid Reasoning

AN INTRODUCTION TO MATHEMATICAL PROOFS NOTES FOR MATH Jimmy T. Arnold

Chapter 1: The Logic of Compound Statements. January 7, 2008

Conjunction: p q is true if both p, q are true, and false if at least one of p, q is false. The truth table for conjunction is as follows.

Tutorial Obtain the principal disjunctive normal form and principal conjunction form of the statement

Math 230 Final Exam, Spring 2008

Proofs. Chapter 2 P P Q Q

Math Final Exam December 14, 2009 Page 1 of 5

MATH 2001 MIDTERM EXAM 1 SOLUTION

Mathematical Reasoning Rules of Inference & Mathematical Induction. 1. Assign propositional variables to the component propositional argument.

Packet #1: Logic & Proofs. Applied Discrete Mathematics

Chapter 2: The Logic of Quantified Statements

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS

MATH 2200 Final Review

CS100: DISCRETE STRUCTURES. Lecture 5: Logic (Ch1)

Do not start until you are given the green signal

2.2: Logical Equivalence: The Laws of Logic

Proof by Contradiction

MATH 2200 Final LC Review

Discrete Mathematical Structures: Theory and Applications

Argument. whenever all the assumptions are true, then the conclusion is true. If today is Wednesday, then yesterday is Tuesday. Today is Wednesday.

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

Introduction to Sets and Logic (MATH 1190)

Logic and Proof. Aiichiro Nakano

Unit 1. Propositional Logic Reading do all quick-checks Propositional Logic: Ch. 2.intro, 2.2, 2.3, 2.4. Review 2.9

Unit I (Logic and Proofs)

MAT 243 Test 1 SOLUTIONS, FORM A

Propositional Logic. Jason Filippou UMCP. ason Filippou UMCP) Propositional Logic / 38

1) Let h = John is healthy, w = John is wealthy and s = John is wise Write the following statement is symbolic form

Compound Propositions

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook)

Proofs. Chapter 2 P P Q Q

n Empty Set:, or { }, subset of all sets n Cardinality: V = {a, e, i, o, u}, so V = 5 n Subset: A B, all elements in A are in B

Propositional Logic. Spring Propositional Logic Spring / 32

SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY MA DISCRETE MATHEMATICS

Proving Things. Why prove things? Proof by Substitution, within Logic. Rules of Inference: applying Logic. Using Assumptions.

Tools for reasoning: Logic. Ch. 1: Introduction to Propositional Logic Truth values, truth tables Boolean logic: Implications:

Discrete Mathematics Logics and Proofs. Liangfeng Zhang School of Information Science and Technology ShanghaiTech University

MaanavaN.Com MA1256 DISCRETE MATHEMATICS. DEPARTMENT OF MATHEMATICS QUESTION BANK Subject & Code : MA1256 DISCRETE MATHEMATICS

RED. Name: Instructor: Pace Nielsen Math 290 Section 1: Winter 2014 Final Exam

Logic. Facts (with proofs) CHAPTER 1. Definitions

Inference in Propositional Logic

Mathematics 220 Midterm Practice problems from old exams Page 1 of 8

Readings: Conjecture. Theorem. Rosen Section 1.5

Boolean Algebra and Proof. Notes. Proving Propositions. Propositional Equivalences. Notes. Notes. Notes. Notes. March 5, 2012

Chapter 4, Logic using Propositional Calculus Handout

Handout on Logic, Axiomatic Methods, and Proofs MATH Spring David C. Royster UNC Charlotte

Today. Proof using contrapositive. Compound Propositions. Manipulating Propositions. Tautology

Midterm Exam Solution

Transcription:

DISCRETE MATH: FINAL REVIEW DR. DANIEL FREEMAN 1) a. Does 3 = {3}? b. Is 3 {3}? c. Is 3 {3}? c. Is {3} {3}? c. Is {3} {3}? d. Does {3} = {3, 3, 3, 3}? e. Is {x Z x > 0} {x R x > 0}? 1. Chapter 1 review 2. Chapter 2 review 1) Construct a truth table for ( p q) (p q). 2) Construct a truth table to show that (p q) is logically equivalent to p q. What is the name for this law? 1

2 DR. DANIEL FREEMAN 3) Construct a truth table to determine if (p q) r is logically equivalent to (p r) (q r). 4) Use a truth table to determine if the following argument is logically valid. Write a sentence which justifies your conclusion. p q r r p q p r

DISCRETE MATH: FINAL REVIEW 3 You will be provided with the following information on the test. 2.1. Modus Ponens and Modus Tollens. The modus ponens argument form has the following form: If p then q. p q. Modus tollens has the following form: If p then q. q p. 2.2. Additional Valid Argument Forms: Rules of Inference. A rule of inference is a form of argument that is valid. Modus ponens and modus tollens are both rules of inference. Here are some more... Generalization p Elimination p q p q q Specialization p q p p Transitivity p q Proof by Division into Cases p q q r p q p r q r Conjunction p r q Contradiction Rule p c p q p

4 DR. DANIEL FREEMAN 5) Write a logical argument which determines what I ate for dinner. Number each step in your argument and cite which rule you use for each step. a. I did not have a coupon for buns or I did not have a coupon for hamburger. b. I had hamburgers or chicken for dinner. c. If I had hamburgers for dinner then I bought buns. d. If I did not have a coupon for buns then I did not buy buns. e. If I did not have a coupon for hamburger then I did not buy buns.

DISCRETE MATH: FINAL REVIEW 5 3. Chapter 3 review 1) a. Give an example of a universal conditional statement. b. Write the contrapositive of the example. c. Write the negation of the example. 2) Write the following statements symbolically using,,,,. Then write their negation. a. If x, y R then xy + 1 R. b. Every nonzero real number x has a multiplicative inverse y. c. Being divisible by 8 is not a necessary condition for an integer to be divisible by 4. d. If I studied hard then I will pass the test.

6 DR. DANIEL FREEMAN 2) Is it true or false that every real number bigger than 4 and less than 3 must be negative? Explain why. 4. Chapter 4 review 1) Prove using the definition of odd: For all integers n, if n is odd then ( 1) n = 1. 2) Prove using the definition of even: The product of any two even integers is divisible by 4.

DISCRETE MATH: FINAL REVIEW 7 3) Prove: For each integer n with 1 n 5, n 2 n + 11 is prime. 4) Show that:.123123123... is a rational number. 5) Prove using the definition of divides: For all integers a, b, and c, if a divides b and a divides c then a divides b c.

8 DR. DANIEL FREEMAN 6) Evaluate 60 div 8 and 60 mod 8. 7) Prove using the definition of mod: For every integer p, if pmod10 = 8 then pmod5 = 3.

9 a) How do you prove a statement by contradiction? DISCRETE MATH: FINAL REVIEW 9 9 b) Prove: There is no greatest integer. (for a more interesting problem, prove that there is no greatest prime number.) 9 a) How do you prove x D, if P (x) then Q(x) by contraposition? 9 b) Prove: For all integers a, b, and c, if a bc then a b.

10 DR. DANIEL FREEMAN 1) a. Compute: 5 i=2 i2 5. Chapter 5 review b. Compute: 1 i= 5 i c. Compute: 100 i=1 (i)2 (i 1) 2 d. Compute: 50 i=2 i(i 1) (i+1)(i+2)

DISCRETE MATH: FINAL REVIEW 11 3 a) What are the steps for proving For all integers n such that n a, P (n) is true using mathematical induction? 3 b) Prove: For all integers n 1, n 5i 4 = i=1 n(5n 3). 2

12 DR. DANIEL FREEMAN 6 a) What are the steps for proving For all integers n such that n a, P (n) is true using strong mathematical induction? 6 b) Prove: If s 0 = 12, s 1 = 29, and s k = 5s k 1 6s k 2 k 2, then s n = 5 3 n + 7 2 n for all integers n 0.

DISCRETE MATH: FINAL REVIEW 13 6. Chapter 6 review 1) Let B = {n Z n = 21r + 10 for some r Z} and C = {m Z m = 7s + 3 for some s Z}. Prove that B C. 2) Let A = {a, b, c, d, e}, B = {d, e, f, g} and C = {b, c, d, f}. What is (A B) C?

14 DR. DANIEL FREEMAN (1) Commutative Laws: For all sets A and B, A B = B A and A B = B A. (2) Associative Laws: For all sets A, B, and C, (A B) C = A (B C) and (A B) C = A (B C). (3) Distributive Laws: For all sets A, B, and C, A (B C) = (A B) (A C) and A (B C) = (A B) (A C). (4) Identity Laws: For all sets A, A = A and A =. (5) Complement Laws: For all sets A, A A c = U and A A c =. (6) Double Complement Law: For all sets A, (A c ) c = A. (7) Idempotent Laws: For all sets A, A A = A and A A = A. (8) Universal Bound Laws: For all sets A, A U = U and A =. (9) De Morgan s Laws: For all sets A and B, (A B) c = A c B c and (A B) c = A c B c. (10) Absorption Laws: For all sets A and B, A (A B) = A and A (A B) = A. (11) Complements of U and : U c = and c = U (12) Set Difference Law: For all sets A and B, A B = A B c

3) Prove the second part of the Distributive Law DISCRETE MATH: FINAL REVIEW 15

16 DR. DANIEL FREEMAN 4) Prove the second part of De Morgan s Law.

DISCRETE MATH: FINAL REVIEW 17 5) Prove or give a counterexample to the statement: For all sets A,B, and C, A (B C) = (A B) (A C)

18 DR. DANIEL FREEMAN 6) Prove or give a counterexample to the statement: For all sets A,B, and C, A (B C) = (A B) (A C)

DISCRETE MATH: FINAL REVIEW 19 7) Prove using the given set theory laws that for all sets A,B, and C, A (B C) = (A B) (A C)

20 DR. DANIEL FREEMAN 7. Chapter 7 review 9) Prove or give a counterexample to the statement: For all functions f : X Y, and all sets C, D Y, f 1 (C D) = f 1 (C) f 1 (D)

DISCRETE MATH: FINAL REVIEW 21 10) Prove or give a counterexample to the statement: For all functions f : X Y, and all sets C Y f(f 1 (C) = C 11) Prove or give a counterexample to the statement: For all functions f : X Y, and all sets A X f 1 (f(a)) = A

22 DR. DANIEL FREEMAN 8. Chapter 9 review 12) Prove that the number of r permutations of a set of n elements is P (n, r) = n! (n r)!. 13) Prove that if X is a set of n elements then the number of subsets of X with r elements is ( ) n n! = r r!(n r)!

DISCRETE MATH: FINAL REVIEW 23 14) Prove that if X is a set of n elements then the number of subsets of X is N(P(X)) = 2 n 15) Use problem 13) and 14) to prove that n n! r!(n r)! = 2n r=0

24 DR. DANIEL FREEMAN 14) How many 3 digit numbers contain the digit 1? Justify your answer. 15) How many 3 digit numbers contain the digit 0? Justify your answer. 16) How many 3 digit numbers contain the digit 0 or the digit 1?

DISCRETE MATH: FINAL REVIEW 25 17) In a standard 52 card deck, there are 4 suits of 13 cards each. a. How many cards do you need to draw to be guaranteed of drawing at least 2 of the same suit? b. How many cards do you need to draw to be guaranteed of drawing at least 3 of the same suit? 18) A group of 15 workers are supervised by 5 managers. Each worker is assigned exactly one manager, and no manager supervises more than 4 workers. Show that at least 3 managers supervise 3 or more workers.

26 DR. DANIEL FREEMAN 19) How many ways are there to choose 5 people from a group of 14 to work as a team? 20) Suppose that there are 6 men and 8 women in the group. How many ways are there to choose a team consisting of 2 men and 3 women. 21) Suppose that there are 6 men and 8 women in the group. How many ways are there to choose a team consisting of 5 people such that at least one is a man.