Simple Logic.

Slides:



Advertisements
Similar presentations
Logic ChAPTER 3.
Advertisements

Notes on Logic Continued
2.2 Conditional Statements. Goals Identify statements which are conditional Identify the antecedent and consequent of a conditional statement Negate conditional.
Logic Chapter 2. Proposition "Proposition" can be defined as a declarative statement having a specific truth-value, true or false. Examples: 2 is a odd.
Propositional Logic. Negation Given a proposition p, negation of p is the ‘not’ of p.
1 Section 1.1 Logic. 2 Proposition Statement that is either true or false –can’t be both –in English, must contain a form of “to be” Examples: –Cate Sheller.
Conditional Statements
Adapted from Discrete Math
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley. All rights reserved.
Propositions and Truth Tables
Propositions and Truth Tables. Proposition: Makes a claim that may be either true or false; it must have the structure of a complete sentence.
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 3.3, Slide Logic The Study of What’s True or False or Somewhere in Between.
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 3.3, Slide Logic The Study of What’s True or False or Somewhere in Between.
Section 1-4 Logic Katelyn Donovan MAT 202 Dr. Marinas January 19, 2006.
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
Discrete Mathematics and Its Applications
Chapter 1: The Foundations: Logic and Proofs
BY: MISS FARAH ADIBAH ADNAN IMK. CHAPTER OUTLINE: PART III 1.3 ELEMENTARY LOGIC INTRODUCTION PROPOSITION COMPOUND STATEMENTS LOGICAL.
Chapter 5 – Logic CSNB 143 Discrete Mathematical Structures.
2.2 Statements, Connectives, and Quantifiers
Logic Disjunction A disjunction is a compound statement formed by combining two simple sentences using the word “OR”. A disjunction is true when at.
Conjunction A conjunction is a compound statement formed by combining two simple sentences using the word “AND”. A conjunction is only true when both.
Conditional Statements Conditional Statement: “If, then” format. Converse: “Flipping the Logic” –Still “if, then” format, but we switch the hypothesis.
Logic and Reasoning. Identify the hypothesis and conclusion of each conditional. Example 1: Identifying the Parts of a Conditional Statement A.If today.
CSNB143 – Discrete Structure LOGIC. Learning Outcomes Student should be able to know what is it means by statement. Students should be able to identify.
Chapter 2: The Logic of Compound Statements 2.2 Conditional Statements
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.
AIM: WHAT IS AN INDIRECT PROOF?
Conditional Statements Section 2-3 Conditional Statements If-then statements are called conditional statements. The portion of the sentence following.
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.
Section 2-2: Conditional Statements. Conditional A statement that can be written in If-then form symbol: If p —>, then q.
 Outside across from the word: › write the symbol for conditional: p -> q  INSIDE: › How to write the statement : If p, then q. › Example : If an angle.
Thinking Mathematically
Logic The Lost Art of Argument. Logic - Review Proposition – A statement that is either true or false (but not both) Conjunction – And Disjunction – Or.
 2012 Pearson Education, Inc. Slide Chapter 3 Introduction to Logic.
Inverse, Contrapositive & indirect proofs Sections 6.2/6.3.
Lesson 2-1 Conditional Statements 1 Lesson 2-3 Conditional Statements.
Conditional statement or implication IF p then q is denoted p ⇒ q p is the antecedent or hypothesis q is the consequent or conclusion ⇒ means IF…THEN.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
CS-7081 Application - 1. CS-7082 Example - 2 CS-7083 Simplifying a Statement – 3.
Chapter 1 Propositional Logic
Conditional Statements
2. The Logic of Compound Statements Summary
3. The Logic of Quantified Statements Summary
AND.
DISCRETE MATHEMATICS CHAPTER I.
CSNB 143 Discrete Mathematical Structures
Thinking Mathematically
Conditional Statements
Logic.
CPCS222 Discrete Structures I
The Foundations: Logic and Proofs
Principles of Computing – UFCFA3-30-1
Chapter 8 Logic Topics
Information Technology Department
CS 220: Discrete Structures and their Applications
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
Conditional Statements
(1.4) An Introduction to Logic
Discrete Mathematics and Its Applications Kenneth H
Discrete Mathematics Lecture 2: Propositional Logic
Symbolic Logic 2/25/2019 rd.
MAT 3100 Introduction to Proof
Discrete Mathematics Lecture 2: Propositional Logic
Equivalent Statements
CHAPTER 3 Logic.
Logic and Reasoning.
Conditional Statements Section 2.3 GEOMETRY
Different Forms of Conditional Statements
Presentation transcript:

Simple Logic

Statement(命題) A sentence which has the property of being true (T) or false (F) is called Statement or Proposition. (Usually denoted by p, q, r, … etc.)

Conjunction(合取 ): ‘p and q’ denoted by ‘p ^ q’. disjunction (析取 ): ‘p or q’ denoted by ‘p v q’. negation (否定): ‘ ~ p’

p q p ^ q p v q ~ p T F

Logically Equivalent (邏輯等價 ) or Equivalent (簡稱為等價 ) Symbol: ‘≡’

Conditional Proposition (條件命題 ) ‘if p then q’ denoted by ‘p → q’

sufficient condition (充分條件 ) necessary condition(必要條件) There are several ways in which “if p then q” can be expressed: (i) p  q. (ii) p is a sufficient condition for q. (iii) q is a necessary condition for p. (iv) p only if q.

p q p → q T F

Derivatives (條件命題的衍生命題 ) If ‘p → q’, then the converse (逆命題 ) q → p ; the inverse (否命題) (~p) → (~q); the contrapositive (逆反命題 )(~q) → (~p). Note: ‘p → q’ ≡ ‘(~q) → (~p)’; ‘q → p’ ≡ ‘(~p) → (~q)’

Biconditional Proposition(雙條件命題 ) p↔q

Other Symbols ‘’ means ‘for all’ ‘’ means ‘there exists’