Fallacies The proposition [(p  q)  q]  p is not a tautology, because it is false when p is false and q is true. This type of incorrect reasoning is.

Slides:



Advertisements
Similar presentations
Discrete Mathematics University of Jazeera College of Information Technology & Design Khulood Ghazal Mathematical Reasoning Methods of Proof.
Advertisements

Rules of Inferences Section 1.5. Definitions Argument: is a sequence of propositions (premises) that end with a proposition called conclusion. Valid Argument:
1 Section 1.5 Rules of Inference. 2 Definitions Theorem: a statement that can be shown to be true Proof: demonstration of truth of theorem –consists of.
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 1: (Part 2): The Foundations: Logic and Proofs.
CSE115/ENGR160 Discrete Mathematics 01/26/12 Ming-Hsuan Yang UC Merced 1.
UNIT-I Statements and Notations Connectives Normal Forms
CS128 – Discrete Mathematics for Computer Science
Propositional Logic. Negation Given a proposition p, negation of p is the ‘not’ of p.
TR1413: Discrete Mathematics For Computer Science Lecture 3: Formal approach to propositional logic.
Fall 2002CMSC Discrete Structures1 Let’s proceed to… Mathematical Reasoning.
Adapted from Discrete Math
Discrete Mathematics Goals of a Discrete Mathematics Learn how to think mathematically 1. Mathematical Reasoning Foundation for discussions of methods.
Mathematical Structures A collection of objects with operations defined on them and the accompanying properties form a mathematical structure or system.
Chap. 2 Fundamentals of Logic. Proposition Proposition (or statement): an declarative sentence that is either true or false, but not both. e.g. –Margret.
Discrete Mathematics CS 2610 August 24, Agenda Last class Introduction to predicates and quantifiers This class Nested quantifiers Proofs.
Discrete Mathematics and Its Applications.  The English mathematician George Boole ( ) sought to give symbolic form to Aristotle's system of.
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Foundations of Computing I CSE 311 Fall bit Binary Adder Inputs: A, B, Carry-in Outputs: Sum, Carry-out A B Cin Cout S
1 Section 7.2 Equivalent Formulas Two wffs A and B are equivalent, written A  B, if they have the same truth value for every interpretation. Property:
Discrete Structures (DS)
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Circuit Design.
CSE 311 Foundations of Computing I Lecture 5 Predicate Logic Spring
Propositional Calculus – Methods of Proof Predicate Calculus Math Foundations of Computer Science.
Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems or solving problems, creativity and insight.
Propositional Logic. Propositions Any statement that is either True (T) or False (F) is a proposition Propositional variables: a variable that can assume.
CompSci 102 Discrete Math for Computer Science January 24, 2012 Prof. Rodger Slides modified from Rosen.
Extra slides for Chapter 3: Propositional Calculus & Normal Forms Based on Prof. Lila Kari’s slides For CS2209A, 2009 By Dr. Charles Ling;
Discrete Mathematics CS 2610 September Equal Boolean Functions Two Boolean functions F and G of degree n are equal iff for all (x 1,..x n )  B.
Module #1 - Logic Based on Rosen, Discrete Mathematics & Its Applications. Prepared by (c) , Michael P. Frank. Modified By Mingwu Chen 1 Module.
Chapter 2 Fundamentals of Logic 1. What is a valid argument or proof?
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 The Foundations: Logic and Proofs Rules of inference.
1 Section 6.2 Propositional Calculus Propositional calculus is the language of propositions (statements that are true or false). We represent propositions.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
Discrete Math by R.S. Chang, Dept. CSIE, NDHU1 Fundamentals of Logic 1. What is a valid argument or proof? 2. Study system of logic 3. In proving theorems.
Uniqueness Quantifier ROI for Quantified Statement.
Chapter 1 Logic and proofs
 Conjunctive Normal Form: A logic form must satisfy one of the following conditions 1) It must be a single variable (A) 2) It must be the negation of.
2. The Logic of Compound Statements Summary
Chapter 2 Fundamentals of Mathematical Logic
CSNB 143 Discrete Mathematical Structures
Lecture 1 – Formal Logic.
CSE15 Discrete Mathematics 01/30/17
Discrete Mathematics Logic.
G. Pullaiah College of Engineering and Technology
COMP 1380 Discrete Structures I Thompson Rivers University
Propositions and Logical Operations
Discussion #10 Logical Equivalences
Proposition & Predicates
Rules of Inference Section 1.6.
Propositional Calculus: Boolean Algebra and Simplification
Elementary Metamathematics
Discrete Mathematics CS 2610
Information Technology Department
Chapter 1 The Foundations: Logic and Proof, Sets, and Functions
CS201: Data Structures and Discrete Mathematics I
Mathematical Reasoning
Methods of Proof. Methods of Proof Definitions A theorem is a valid logical assertion which can be proved using Axioms: statements which are given.
Propositional Equivalences
Applied Discrete Mathematics Week 1: Logic
First Order Logic Rosen Lecture 3: Sept 11, 12.
(1.4) An Introduction to Logic
Computer Security: Art and Science, 2nd Edition
Discrete Mathematics Logic.
Foundations of Discrete Mathematics
COMP 1380 Discrete Structures I Thompson Rivers University
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
Mathematical Reasoning
CSE 311: Foundations of Computing
CS201: Data Structures and Discrete Mathematics I
Presentation transcript:

Fallacies The proposition [(p  q)  q]  p is not a tautology, because it is false when p is false and q is true. This type of incorrect reasoning is called the fallacy of affirming the conclusion. Ex. Is the following argument valid? “I you do every problem in this book, then you will learn discrete mathematics.” “You learned discrete mathematics.” Therefore, “you did every problem in this book.” Sol. Let p : “you did every problem in this book.” q : “You learned discrete mathematics” If p  q and q, then p

The proposition [(p  q)   p]   q is not a tautology, because it is false when p is false and q is true. This type of incorrect reasoning is called the fallacy of denying the hypothesis. Is it correct to assume that you did not learn discrete mathematics if you did not do every problem in this book It is possible that you learned discrete mathematics even if you did not do every problem in this book.

Rules of Inference for Quantified Statements

Ex. Show that the premises “Everyone in this discrete mathematics class has taken a course in computer science” and “Marla is a student in this class” imply the conclusion “Marla has taken a course in computer science”. Sol. Let D(x) : “x is in this discrete mathematics class” and let C(x) : “x has taken a course in computer science.” The premises are  x(D(x)  C(x)) and D(Marla). The conclusion is C(Marla).

Well Formed Formula A wff of propositional logic, also called propositional form, is a string consisting of propositional variables, connectives and parentheses used in proper manner. Ex. ((p  q)  (  p  q  r)  (  s  q)) is a wff A variable or the negation of a variable is called literal An elementary product is a conjunction of literals.  p  q, q  r   s, q are elementary products An elementary sum is a disjunction of literals  p  q, q  p  s, p are the elementary sums.

Disjunctive Normal Form (DNF) A formula which consists of a sum (disjunction) of elementary products (conjunction) is called a disjunctive normal form (DNF). Ex. Obtain the dnf of (p  q)  (  p  q). Sol. (p  q)  (  p  q)  (  p  q)  (  p  q) [ ∵ p  q   p  q]  (  p   p  q)  (q   p  q) [Distributive Law]  (  p  q)  (  p  q) [Commutative & Idempotent Law]

Conjunctive Normal Form (CNF) A formula, which consists of a product (conjunction) of elementary sums (disjunction), is called a conjunctive normal form (CNF). Ex. Obtain the cnf of the form (p  q)  (  p  q  r) Sol. (p  q)  (  p  q  r)  (p  (  p  q  r))  (q  (  p  q  r)) [Distributive Law]  ((p   p)  (p  q)  (p  r))  ((q   p)  (q  q)  (q  r)) [Distributive Law]  (p  q)  (p  r)  (q   p)  q  (q  r) [Idempotent & Complement Law]

Principal Disjunctive Normal Form Each variable occurs either negated or non negated, both negated and non negated forms of a variable do not occur together in the conjunction. These conjunctions are called minterms Also p  q and q  p are treated as the same. The conjunctions p  q, p   q,  p  q,  p   q are the minterms of p and q. A formula consisting of disjunctions of minterms only is known as principal disjunctive normal form. Also called sum-of-products canonical form.

Ex. Obtain principal disjunctive normal form for p   q. Sol. p   q  [p  (q   q)]  [  q  (p   p)]  (p  q)  (p   q)  (  q  p)  (  q   p)  (p  q)  (p   q)  (  p   q)

Principal Conjunctive Normal Form maxterm as a dual to minterm. For a given number of variables, the maxterm consists of disjunctions in which each variable or its negation, but not both, appears only once. A formula consisting of conjunction of maxterms only is known as principal conjunctive normal form. Also called the product of sums canonical form.

Ex. Find principal conjunctive normal form for (p  q) Sol. p  q = (p  q)  (q  p) = (  p  q)  (  q  p) Ex. Find principal conjunctive normal form for [(p  q)   p   q] Sol. [(p  q)   p   q]  [(p   p)  (q   p)]   q  (q   p)   q   (q   p)   q  (  q   p)   q   q  p   q   q  p  p   q