DISCRETE MATH: LECTURE 3



Similar documents
Likewise, we have contradictions: formulas that can only be false, e.g. (p p).

def: An axiom is a statement that is assumed to be true, or in the case of a mathematical system, is used to specify the system.

Handout #1: Mathematical Reasoning

p: I am elected q: I will lower the taxes

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

CHAPTER 2. Logic. 1. Logic Definitions. Notation: Variables are used to represent propositions. The most common variables used are p, q, and r.

Rules of Inference Friday, January 18, 2013 Chittu Tripathy Lecture 05

Lecture Notes in Discrete Mathematics. Marcel B. Finan Arkansas Tech University c All Rights Reserved

1.2 Forms and Validity

DEDUCTIVE & INDUCTIVE REASONING

Predicate logic Proofs Artificial intelligence. Predicate logic. SET07106 Mathematics for Software Engineering

Hypothetical Syllogisms 1

CHAPTER 7 GENERAL PROOF SYSTEMS

Propositional Logic. A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not both.

A Few Basics of Probability

3. Mathematical Induction

Math 3000 Section 003 Intro to Abstract Math Homework 2

Logic Appendix. Section 1 Truth Tables CONJUNCTION EXAMPLE 1

CSL105: Discrete Mathematical Structures. Ragesh Jaiswal, CSE, IIT Delhi

alternate interior angles

Beyond Propositional Logic Lukasiewicz s System

Reasoning and Proof Review Questions

Chapter 1. Use the following to answer questions 1-5: In the questions below determine whether the proposition is TRUE or FALSE

WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT?

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

Lecture 2: Moral Reasoning & Evaluating Ethical Theories

Examination paper for MA0301 Elementær diskret matematikk

Logic in general. Inference rules and theorem proving

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

MATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Predicate Logic. For example, consider the following argument:

Vocabulary. Term Page Definition Clarifying Example. biconditional statement. conclusion. conditional statement. conjecture.

WOLLONGONG COLLEGE AUSTRALIA. Diploma in Information Technology

Logical Agents. Explorations in Artificial Intelligence. Knowledge-based Agents. Knowledge-base Agents. Outline. Knowledge bases

Mathematical Induction

Philosophical argument

6.2 Permutations continued

Predicate Logic. Example: All men are mortal. Socrates is a man. Socrates is mortal.

6.080/6.089 GITCS Feb 12, Lecture 3

CS510 Software Engineering

Cosmological Arguments for the Existence of God S. Clarke

Solutions Q1, Q3, Q4.(a), Q5, Q6 to INTLOGS16 Test 1

Conjunction is true when both parts of the statement are true. (p is true, q is true. p^q is true)

Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson

Geometry Chapter 2 Study Guide

CS 103X: Discrete Structures Homework Assignment 3 Solutions

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

Lecture 9 Maher on Inductive Probability

Fallacies are deceptive errors of thinking.

A Correlation of Pearson Texas Geometry Digital, 2015

INTRODUCTORY SET THEORY

Cartesian Products and Relations

ON ADDING A CRITICAL THINKING MODULE TO A DISCRETE STRUCTURES COURSE *

INCIDENCE-BETWEENNESS GEOMETRY

Mathematics Review for MS Finance Students

Lecture 16 : Relations and Functions DRAFT

Mathematical Induction

Introduction to Automata Theory. Reading: Chapter 1

196 Chapter 7. Logical Agents

Last time we had arrived at the following provisional interpretation of Aquinas second way:

Solutions to Homework 6 Mathematics 503 Foundations of Mathematics Spring 2014

Database Design and Normal Forms

Developing Critical Thinking Skills with The Colbert Report

This chapter is all about cardinality of sets. At first this looks like a

8 Divisibility and prime numbers

Basic Proof Techniques

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Deductive reasoning is the application of a general statement to a specific instance.

PHILOSOPHY 101: CRITICAL THINKING

Inductive & Deductive Reasoning Syllabus

Set Theory and Logic Supplementary Materials Math 103: Contemporary Mathematics with Applications. A. Calini, E. Jurisich, S.

Cycles in a Graph Whose Lengths Differ by One or Two

What Is Circular Reasoning?

Lecture 8: Resolution theorem-proving

MI314 History of Mathematics: Episodes in Non-Euclidean Geometry

Cultural Relativism. 1. What is Cultural Relativism? 2. Is Cultural Relativism true? 3. What can we learn from Cultural Relativism?

The Mathematics of GIS. Wolfgang Kainz

Solutions for Practice problems on proofs

What Is Induction and Why Study It?

Mathematical Induction. Lecture 10-11

ROCHESTER INSTITUTE OF TECHNOLOGY COURSE OUTLINE FORM COLLEGE OF SCIENCE. School of Mathematical Sciences

INTRODUCTION TO LOGIC

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

E3: PROBABILITY AND STATISTICS lecture notes

Lecture 17 : Equivalence and Order Relations DRAFT

Math 55: Discrete Mathematics

Geometry Course Summary Department: Math. Semester 1

Predicate Logic Review

The last three chapters introduced three major proof techniques: direct,

136 CHAPTER 4. INDUCTION, GRAPHS AND TREES

Show all work for credit. Attach paper as needed to keep work neat & organized.

Enforcing Security Policies. Rahul Gera

Automata and Formal Languages

Invalidity in Predicate Logic

1. Implication. Example 1. Each of the following statements is an implication: You can view Statement 1 above as a promise.

Transcription:

DISCRETE MATH: LECTURE 3 DR. DANIEL FREEMAN 1. Chapter 2.2 Conditional Statements If p and q are statement variables, the conditional of q by p is If p then q or p implies q and is denoted p q. It is false when p is true and q is false; otherwise it is true. We call p the hypothesis (or antecedent) of the conditional and q the conclusion (or consequent). p q p q T T T F F T F F A conditional statement that is true by virtue of the fact that its hypothesis is false is called vacuously true or true by default. In general, when the if part of an if-then statement is false, the statement as a whole is said to be true, regardless of whether the conclusion is true or false. For example: If 0 = 1, then 1 = 2. NOTE: The order of operations for evaluating statements is first, then and, and finally. For example: Construct the truth table for the statement p q p. p q p q p q p q p T T T F F T F F 1.1. In Class Group Work: Show that p q r (p r) (q r). 1

2 DR. DANIEL FREEMAN 1.2. Representation of If-Then as Or and The Negation of a Conditional Statement. You can write p q as p q. The negation of if p then q is logically equivalent to p and not q, that is, (p q) p q. 1.3. In Class Group Work: First, show that p q p q. Then, show that (p q) p q. Finally, write down a conditional statement and then negate it.

DISCRETE MATH: LECTURE 3 3 1.4. Contrapositive, Converse, Inverse Words that made you tremble in high school geometry. The contrapositive of a conditional statement of the form p q is: If q p. A conditional statement is logically equivalent to its contrapositive! (This is very useful for proof writing!) The converse of p q is q p. The inverse of p q is p q. A conditional statement and its converse are NOT logically equivalent. A conditional statement and its inverse are NOT logically equivalent. The converse and the inverse of a conditional statement are logically equivalent to each other. Your example: Write down a conditional statement and its contrapositive, converse, and inverse. 1.5. Only If and the Biconditional. If p and q are statements, p only if q means if not q then not p, or equivalently, if p then q. Given statement variables, p and q, the biconditional of p and q is p if, and only if, q and is denoted p q. It is true if both p and q have teh same truth values and is false if p and q have opposite truth values. The words if and only if are sometimes abbreviated iff. The biconditional has the following truth table: p q p q T T T F F T F F The order of operations for logical operators is: (1) Evaluate first. (2) Evaluate and second. When both are present, parenthesis may be needed. (3) Evaluate and third. When both are present, parenthesis may be needed. Notice that p q is equivalent to (p q) (q p). 1.6. In Class Group Work: Use a truth table to show p q (p q) (q p).

4 DR. DANIEL FREEMAN 1.7. Necessary and Sufficient Conditions. If r and s are statements: r is a sufficient condition for s means if r then s. r is a necessary condition for s means if not r then not s. Because statements and their contrapositives are equivalent, r is a necessary condition for s also means if s then r. Hence, r is a necessary and sufficient condition for s means r if, and only if, s. For example: If John is eligible to vote, then he is at least 18 years old. 2. 2.3 Valid and Invalid Arguments An argument is a sequence of statements, and an argument form is a sequence of sttement forms. All statements in an argument and all statement forms in an argument form, except for the final one, are called premises (or assumptions or hypotheses). The final statement or statement form is called the conclusion. The symbol, which is read therefore, is normally placed just before the conclusion. To say that an argument form is valid means that no matter what particular statements are substituted for the statement variables in its premises, if the resulting premises are all true, then the conclusion is also true. To say that an argument is valid means that its form is valid. A valid argument is is such that the truth of its conclusion follows necessarily from the truth of its premises. It is impossible to have a valid argument with true premises and a false conclusion. Testing an argument form for validity (1) Identify the premises and conclusion of the argument form. (2) construct a truth table showing the truth values of all the premises and the conclusion. (3) A row of the truth table in which all the premises are true is called a critical row. If there is a critical row in which the conclusion is false, then it is possible for an argument of the given form to have true premises and a false conclusion, and so the argument form is invalid. if the conclusion in every critical row is true, then the argument form is valid. For example: Determine the validity of the following argument: p q r q p r p r

DISCRETE MATH: LECTURE 3 5 p q r r q r p r p q r q p r p r T T T T T F T F T T F F F T T F T F F F T F F F 2.1. Modus Ponens and Modus Tollens. An argument form consisting of two premises and a conclusion is called a syllogism. The first and second premises are called the major premise and minor premise, respectively. 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. Your example: Write down an example of modus ponens and an example of modus tollens.

6 DR. DANIEL FREEMAN 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 2.3. In Class Group Work. The famous detective Percule Hoirot was called in to solve a baffling murder mystery. He determined the following facts: (1) Lord Hazelton, the murdered man, was killed by a blow on the head with a brass candlestick. (2) Either Lady Hazelton or a maid, Sara, was in the dining room at the time of the murder. (3) If the cook was in the kitchen at the time of the murder, then the butler killed Lord Hazelton with a fatal dose of strychnine. (4) If Lady Hazelton was in the dining room at the time of the murder, then the chauffeur killed Lord Hazelton. (5) If the cook was not in the kitchen at the time of the murder, then Sara was not in the dining room when the murder was committed. (6) if Sara was in the dining room at the time the murder was committed, then the wine steward killed Lord Hazelton. Is it possible for the detective to deduce the identity of the murderer from these facts? If so, who did murder Lord Hazelton? (Assume there was only one cause of death).

DISCRETE MATH: LECTURE 3 7 2.4. Fallacies. A fallacy is an error in reasoning hat results in an invalid argument. Three common fallacies are using ambiguous premises, and treating them as if they were unambiguous, circular reasoning (assuming what is to be proved without having derived it from the premises), and jumping to a conclusion (without adequate grounds). For an argument to be valid, every argument of the same form whose premises are all true must have a true conclusion. It follows that for an argument to be invalid means that there is an argument of that form whose premises are all true and whose conclusion is false. Here are two more error types Converse Error p q Inverse Error p q q p p q