2. The Logic of Compound Statements Summary

Slides:



Advertisements
Similar presentations
1 Introduction to Abstract Mathematics Valid AND Invalid Arguments 2.3 Instructor: Hayk Melikya
Advertisements

Chapter 1 The Logic of Compound Statements. Section 1.3 Valid & Invalid Arguments.
CS128 – Discrete Mathematics for Computer Science
Chapter 1 The Logic of Compound Statements. Section 1.2 – 1.3 (Modus Tollens) Conditional and Valid & Invalid Arguments.
Discrete Mathematics Lecture 1 Logic of Compound Statements Harper Langston New York University.
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
1 Math 306 Foundations of Mathematics I Math 306 Foundations of Mathematics I Goals of this class Introduction to important mathematical concepts Development.
Proof by Deduction. Deductions and Formal Proofs A deduction is a sequence of logic statements, each of which is known or assumed to be true A formal.
Introduction to Logic Logical Form: general rules
Mathematical Induction Assume that we are given an infinite supply of stamps of two different denominations, 3 cents and and 5 cents. Prove using mathematical.
Adapted from Discrete Math
Propositions and Truth Tables
1.1 Sets and Logic Set – a collection of objects. Set brackets {} are used to enclose the elements of a set. Example: {1, 2, 5, 9} Elements – objects inside.
Chapter 3 Section 4 – Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
MATERI II PROPOSISI. 2 Tautology and Contradiction Definition A tautology is a statement form that is always true. A statement whose form is a tautology.
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
Discrete Mathematics and Its Applications
Mathematical Structures A collection of objects with operations defined on them and the accompanying properties form a mathematical structure or system.
Review I Rosen , 3.1 Know your definitions!
(CSC 102) Lecture 3 Discrete Structures. Previous Lecture Summary Logical Equivalences. De Morgan’s laws. Tautologies and Contradictions. Laws of Logic.
COS 150 Discrete Structures Assoc. Prof. Svetla Boytcheva Fall semester 2014.
Lecture 4. CONDITIONAL STATEMENTS: Consider the statement: "If you earn an A in Math, then I'll buy you a computer." This statement is made up of two.
1 CMSC 250 Discrete Structures CMSC 250 Lecture 1.
CS 381 DISCRETE STRUCTURES Gongjun Yan Aug 25, November 2015Introduction & Propositional Logic 1.
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.
Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math.
Propositional Logic. Propositions Any statement that is either True (T) or False (F) is a proposition Propositional variables: a variable that can assume.
1 Introduction to Abstract Mathematics Expressions (Propositional formulas or forms) Instructor: Hayk Melikya
Section 1.2: Propositional Equivalences In the process of reasoning, we often replace a known statement with an equivalent statement that more closely.
Propositional Logic ITCS 2175 (Rosen Section 1.1, 1.2)
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
Chapter 2 Fundamentals of Logic 1. What is a valid argument or proof?
Symbolic Logic The Following slide were written using materials from the Book: The Following slide were written using materials from the Book: Discrete.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Logic and Truth Tables Winter 2012 COMP 1380 Discrete Structures I Computing Science Thompson Rivers University.
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.
Simple Logic.
Chapter 7. Propositional and Predicate Logic
3. The Logic of Quantified Statements Summary
Advanced Algorithms Analysis and Design
Discrete Mathematics Lecture 1 Logic of Compound Statements
CSNB 143 Discrete Mathematical Structures
Discrete Mathematics Logic.
Discrete Mathematics Logic of Compound Statements
COMP 1380 Discrete Structures I Thompson Rivers University
Logical Equivalence of Propositions
(CSC 102) Discrete Structures Lecture 2.
Mathematics for Computing
6.1 Symbols and Translation
Chapter 8 Logic Topics
2 Chapter Introduction to Logic and Sets
Proposition logic and argument CISC2100, Spring 2017 X.Zhang
Propositional Equivalences
Information Technology Department
CS 220: Discrete Structures and their Applications
CS201: Data Structures and Discrete Mathematics I
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
CS 220: Discrete Structures and their Applications
Applied Discrete Mathematics Week 1: Logic
The Method of Deduction
1 Chapter An Introduction to Problem Solving
Discrete Mathematics and Its Applications Kenneth H
Discrete Mathematics Logic.
1 Chapter An Introduction to Problem Solving
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.
1.3 Propositional Equivalences
CS201: Data Structures and Discrete Mathematics I
Presentation transcript:

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

2.1 Logical Form and Logical Equivalence Summary 2. The Logic of Compound Statements 2.1 Logical Form and Logical Equivalence Statements; Compound Statements; Statement Form (Propositional Form) Logical Equivalence; Tautologies and Contradictions 2.2 Conditional Statements Conditional Statements; If-Then as Or Negation, Contrapositive, Converse and Inverse Only If and the Biconditional; Necessary and Sufficient Conditions 2.3 Valid and Invalid Arguments Argument; Valid and Invalid Arguments Modus Ponens and Modus Tollens Rules of Inference Fallacies

Summary Definition 2.1.1 (Statement) 2.1 Logical Form and Logical Equivalence Definition 2.1.1 (Statement) A statement (or proposition) is a sentence that is true or false, but not both. Definition 2.1.2 (Negation) If p is a statement variable, the negation of p is “not p” or “it is not the case that p” and is denoted ~p. Definition 2.1.3 (Conjunction) If p and q are statement variables, the conjunction of p and q is “p and q”, denoted p  q. Definition 2.1.4 (Disjunction) If p and q are statement variables, the disjunction of p and q is “p or q”, denoted p  q.

Summary Definition 2.1.5 (Statement Form/Propositional Form) 2.1 Logical Form and Logical Equivalence Definition 2.1.5 (Statement Form/Propositional Form) A statement form (or propositional form) is an expression made up of statement variables and logical connectives that becomes a statement when actual statements are substituted for the component statement variables. Definition 2.1.6 (Logical Equivalence) Two statement forms are called logically equivalent if, and only if, they have identical truth values for each possible substitution of statements for their statement variables. The logical equivalence of statement forms P and Q is denoted by P  Q. Definition 2.1.7 (Tautology) A tautology is a statement form that is always true regardless of the truth values of the individual statements substituted for its statement variables. A statement whose form is a tautology is a tautological statement. Definition 2.1.8 (Contradiction) A contradiction is a statement form that is always false regardless of the truth values of the individual statements substituted for its statement variables. A statement whose form is a contradiction is a contradictory statement.

Summary Theorem 2.1.1 Logical Equivalences 2.1 Logical Form and Logical Equivalence Theorem 2.1.1 Logical Equivalences Given any statement variables p, q and r, a tautology true and a contradiction false: 1 Commutative laws p  q  q  p p  q  q  p 2 Associative laws (p  q)  r  p  (q  r) (p  q)  r  p  (q  r) 3 Distributive laws p  (q  r)  (p  q)  (p  r) p  (q  r)  (p  q)  (p  r) 4 Identity laws p  true  p p  false  p 5 Negation laws p  ~p  true p  ~p  false 6 Double negative law ~(~p)  p 7 Idempotent laws p  p  p p  p  p 8 Universal bound laws p  true  true p  false  false 9 De Morgan’s laws ~(p  q)  ~p  ~q ~(p  q)  ~p  ~q 10 Absorption laws p  (p  q)  p p  (p  q)  p 11 Negation of true and false ~true  false ~false  true

Summary Definition 2.2.1 (Conditional) 2.2 Conditional Statements Definition 2.2.1 (Conditional) If p and q are statement variables, the conditional of q by p is “if p then q” or “p implies q”, denoted p  q. It is false when p is true and q is false; otherwise it is true. We called p the hypothesis (or antecedent) and q the conclusion (or consequent). Definition 2.2.2 (Contrapositive) The contrapositive of a conditional statement “if p then q” is “if ~q then ~p”. Symbolically, the contrapositive of p  q is ~q  ~p. Definition 2.2.3 (Converse) The converse of a conditional statement “if p then q” is “if q then p”. Symbolically, the converse of p  q is q  p. Definition 2.2.4 (Inverse) The inverse of a conditional statement “if p then q” is “if ~p then ~q”. Symbolically, the inverse of p  q is ~p  ~q.

conditional statement Summary 2.2 Conditional Statements ~p  q p  q  Implication law ~q  ~p p  q  contrapositive conditional statement ~p  ~q  inverse converse q  p Note that: p  q q  p 

Summary Definition 2.2.5 (Only If) If p and q are statements, 2.2 Conditional Statements Definition 2.2.5 (Only If) If p and q are statements, “p only if q” means “if not q then not p” Or, equivalently, “if p then q” Definition 2.2.6 (Biconditional) 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 the same truth values and is false if p and q have opposite truth values. The words if and only if are sometimes abbreviated iff. Definition 2.2.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” (or “if s then r”)

~     Order of operations: not and or Performed first Summary Order of Operations Order of operations: ~ not  and  or  if-then/implies  if and only if Performed first Coequal in order Coequal in order Performed last

Summary Definition 2.3.1 (Argument) 2.3 Valid and Invalid Arguments Definition 2.3.1 (Argument) An argument (argument form) is a sequence of statements (statement forms). All statements in an argument (argument form), except for the final one, are called premises (or assumptions or hypothesis). The final statement (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. Definition 2.3.2 (Sound and Unsound Arguments) An argument is called sound if, and only if, it is valid and all its premises are true. An argument that is not sound is called unsound.

Proof by Division Into Cases Summary 2.3 Valid and Invalid Arguments Table 2.3.1 Rules of Inference Rule of inference Modus Ponens p  q p  q Modus Tollens p  q ~q  ~p Generalization p  p  q q Specialization p  q  p  q Conjunction  p  q Rule of inference Elimination p  q ~q  p ~p  q Transitivity p  q q  r  p  r Proof by Division Into Cases p  r q  r  r Contradiction Rule ~p  false  p

END OF FILE