MATH121 Section 1 - Laws of Logic

# MATH121 Section 1 - Laws of Logic - MATH121 Discrete...

This preview shows pages 1–14. Sign up to view the full content.

1 MATH121 Discrete Mathematics Bachelor Of Computer Science

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2 Topics Logic Predicate Logic Methods of Proof Set Theory Relations & Functions The Natural Numbers Mathematical Induction The Integers Elementary Number Theory Congruence Arithmetic Graphs and Trees
3 Why This Course? Propositional logic – digital circuit design Sets/relations - databases (Oracle, MS Access, etc.) Predicate logic - Artificial Intelligence, compilers Proofs - Artificial Intelligence, compilers, theoretical physics/chemistry Congruence arithmetic - Cryptography Graph Theory – network analysis

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
4 Logic Section 1
5 OBJECTIVES Understand statements and compound statements Understand the use of logical connectives to form compound statements Understand the use of the truth table to evaluate the truth values of compound statements Understand what is tautology, contradiction and contingent. Understand the use of logical equivalences to simplify compound statements

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
6 What is Logic? Mathematical logic is a tool for dealing with formal reasoning. Numerous application in design of computer circuits, construction of computer programs and verification of correctness of programs.
7 What is Logic? You are familiar with using numbers in arithmetic and symbols in algebra. You are also familiar with the ‘rules’ of arithmetic and alegbra. Examples: In a similar way, Logic deals with statements or sentences by defining symbols and establishing ‘rules’. (3 + 4) + 6 = 3 + (4 + 6) 3 x – 5 x = (3 – 5) x = 3 + 10 = -2 x = 13

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
8 What is Logic? Roughly speaking, in arithmetic an operation is a rule for producing new numbers from a pair of given numbers, like addition (+) or multiplication ( ). In Logic, we form new statements by combining short statements using connectives , like words and , or . Examples: This room is hot and I am tired. MATH122 lectures are fun or I am dreaming.
9 Statement A statement or proposition is a declarative sentence, that is, a sentence that is either true or false, but not both.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
10 Statement: Examples True statements: 2 + 2 = 4 The sun rises in the east. False statements: 2 + 2 = 7 There are twenty planets in the Solar system.
11 Non-Statement: Examples Non-statements are questions, commands, exclamations, or sentences with undefined words such as: Study logic. x + y > 0 Do you speak French? Do your homework now. Good! Read this carefully.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
12 Exercises: Which of the following are statements? (i) 2 + 3 = 5 Statement, True (ii) It is raining outside. Statement (iii) 2 + 3 = 6 Statement, False (iv) Is it raining? Non-statement (v) Go away! Non-statement (vi) There exists an even prime number. Statement, True (vii) There are six people here. Statement (viii) Seven is? Non-statement (ix) For some real number x , x < 2. Statement
13 Exercises: Which of the following are statements?

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern