Conditional Statements

Slides:



Advertisements
Similar presentations
3.4 More on the Conditional
Advertisements

Geometry Logic.
Logic Day Two.
Logic ChAPTER 3.
TRUTH TABLES The general truth tables for each of the connectives tell you the value of any possible statement for each of the connectives. Negation.
Chapter 3 section 2. Please form your groups The 1 st column represents all possibilities for the statement that can be either True or False. The 2 nd.
1. Propositions A proposition is a declarative sentence that is either true or false. Examples of propositions: The Moon is made of green cheese. Trenton.
The Conditional & Biconditional MATH 102 Contemporary Math S. Rook.
John Rosson Thursday February 15, 2007 Survey of Mathematical Ideas Math 100 Chapter 3, Logic.
 Writing conditionals  Using definitions as conditional statements  Writing biconditionals  Making truth tables.
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.
1 Section 1.2 Propositional Equivalences. 2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and.
Conditional Statements
Propositional Logic Lecture 2: Sep 9. Conditional Statement If p then q p is called the hypothesis; q is called the conclusion “If your GPA is 4.0, then.
Propositional Logic 7/16/ Propositional Logic A proposition is a statement that is either true or false. We give propositions names such as p, q,
Truth Tables for Negation, Conjunction, and Disjunction.
3.2 – Truth Tables and Equivalent Statements
Logic ChAPTER 3.
Validity: Long and short truth tables Sign In! Week 10! Homework Due Review: MP,MT,CA Validity: Long truth tables Short truth table method Evaluations!
The Foundations: Logic and Proofs
Propositional Logic.
2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt Truth Value Conjunction and.
Chapter 1 Section 1.4 More on Conditionals. There are three statements that are related to a conditional statement. They are called the converse, inverse.
Conditional Statements M Deductive Reasoning Proceeds from a hypothesis to a conclusion. If p then q. p  q hypothesis  conclusion.
Section 1.5 Implications. Implication Statements If Cara has a piano lesson, then it is Friday. If it is raining, then I need to remember my umbrella.
Section 1-4 Logic Katelyn Donovan MAT 202 Dr. Marinas January 19, 2006.
Discrete Maths 2. Propositional Logic Objective
CS 285- Discrete Mathematics Lecture 2. Section 1.1 Propositional Logic Propositions Conditional Statements Truth Tables of Compound Propositions Translating.
Chapter 1 The Logic of Compound Statements. Section 1.1 Logical Form and Logical Equivalence.
BY: MISS FARAH ADIBAH ADNAN IMK. CHAPTER OUTLINE: PART III 1.3 ELEMENTARY LOGIC INTRODUCTION PROPOSITION COMPOUND STATEMENTS LOGICAL.
Valid and Invalid Arguments
Normal Forms, Tautology and Satisfiability 2/3/121.
Chapter 5 – Logic CSNB 143 Discrete Mathematical Structures.
Logical Form and Logical Equivalence Lecture 2 Section 1.1 Fri, Jan 19, 2007.
Discrete Mathematics Lecture1 Miss.Amal Alshardy.
Chapter 3 section 3. Conditional pqpqpq TTT TFF FTT FFT The p is called the hypothesis and the q is called the conclusion.
CSNB143 – Discrete Structure LOGIC. Learning Outcomes Student should be able to know what is it means by statement. Students should be able to identify.
3.3: Truth Tables. Types of Statements Negation: ~p Conjunction: p ˄ q (p and q) Disjunction: p V q (p or q, or both) Conditional: p → q (if p, then q)
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.
MADAM SITI AISYAH ZAKARIA. CHAPTER OUTLINE: PART III 1.3 ELEMENTARY LOGIC LOGICAL CONNECTIVES CONDITIONAL STATEMENT.
Lecture 9 Conditional Statements CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
How do I show that two compound propositions are logically equivalent?
Logic. Statements, Connectives, and Quantifiers In symbolic logic, we only care whether statements are true or false – not their content. In logic, a.
LOGIC.
Logical Form and Logical Equivalence Lecture 1 Section 1.1 Wed, Jan 12, 2005.
Lesson 20 INTERPRETING TRUTH TABLES. Review Conditional Statements (Less. 17) Original If p, then q. Converse If q, then p. Inverse If ~p, then ~q. Contrapositive.
3.1 Statements and Quantifiers 3.2 Truth Tables.  A statement is a declarative sentence that is either true or false.  Examples: Mr. Healey is my math.
If a quadrilateral is a square, then it has 4 right angles. What is p? A quad is a square What is the conclusion? It has 4 right angles What is the converse?
Conditional Statements – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Conditional Statements Reading: Kolman, Section 2.2.
Section 1.1. Section Summary Propositions Connectives Negation Conjunction Disjunction Implication; contrapositive, inverse, converse Biconditional Truth.
Statement Forms and Material Equivalence Kareem Khalifa Department of Philosophy Middlebury College.
Joan Ridgway. If a proposition is not indeterminate then it is either true (T) or false (F). True and False are complementary events. For two propositions,
رياضيات متقطعة لعلوم الحاسب MATH 226. Text books: (Discrete Mathematics and its applications) Kenneth H. Rosen, seventh Edition, 2012, McGraw- Hill.
Section 1.1. Propositions A proposition is a declarative sentence that is either true or false. Examples of propositions: a) The Moon is made of green.
Conditional Statements Lecture 2 Section 1.2 Fri, Jan 20, 2006.
Mathematics for Computing Lecture 2: Computer Logic and Truth Tables Dr Andrew Purkiss-Trew Cancer Research UK
If-then statements April 4, What is an if-then statement? One of the postulates we looked at earlier stated: If B is between A and C, then AB +
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.
Reasoning and Proof Chapter Use Inductive Reasoning Conjecture- an unproven statement based on an observation Inductive reasoning- finding a pattern.
Chapter 1. Chapter Summary  Propositional Logic  The Language of Propositions (1.1)  Logical Equivalences (1.3)  Predicate Logic  The Language of.
Aim 1.4: To work with conditionals and biconditionals Do Now: Determine the truth value of the following sentences: 1.9 is a prime number and New York.
Logical Operators (Connectives) We will examine the following logical operators: Negation (NOT,  ) Negation (NOT,  ) Conjunction (AND,  ) Conjunction.
Conditional Statements
Conditional Statements
Conditional Statements
Logic and Reasoning.
2-3 Conditional Statements
Conditional Statements Section 2.3 GEOMETRY
Different Forms of Conditional Statements
Presentation transcript:

Conditional Statements Lecture 3 Section 1.2 Mon, Jan 22, 2007

The Conditional A conditional statement is a statement of the form p  q p is the hypothesis. q is the conclusion. Read p  q as “p implies q.” The idea is that the truth of p implies the truth of q.

Truth Table for the Conditional p  q is true if p is false or q is true. p  q is false if p is true and q is false. p q p  q T F

Example: Conditional Statements “If it is Wednesday, then Discrete Math meets today.” This statement is true if Discrete Math meets today (whether or not it is Wednesday), and if it is not Wednesday (whether or not Discrete Math meets today). It is false only if it is Wednesday and Discrete Math does not meet today.

The Contrapositive The contrapositive of p  q is q  p. The statements p  q and q  p are logically equivalent.

The Converse and the Inverse The converse of p  q is q  p. The inverse of p  q is p  q. p  q q  p p  q q  p

The Converse and the Inverse The converse of p  q is q  p. The inverse of p  q is p  q. converses p  q q  p p  q q  p

The Converse and the Inverse The converse of p  q is q  p. The inverse of p  q is p  q. converses p  q q  p p  q q  p inverses

The Converse and the Inverse The converse of p  q is q  p. The inverse of p  q is p  q. converses p  q q  p p  q q  p inverses contra positives

The Biconditional The statement p  q is the biconditional of p and q. p  q is logically equivalent to (p  q)  (q  p). p q p  q T F

Exclusive-Or The statement p  q is the exclusive-or of p and q. p  q is defined by p q p  q T F

Exclusive-Or p  q means “one or the other, but not both.” p  q is logically equivalent to (p  q)  (q  p) p  q is also logically equivalent to (p  q) (p  q)  (p  q)

The NAND Operator The statement p | q means “not both p and q.” The operator | is also called the Scheffer stroke or NAND. NAND stands for “Not AND.” p | q is logically equivalent to (p  q).

The NAND Operator p | q is defined by p q p | q T F

The NAND Operator The three basic operators may be defined in terms of NAND. p  p | p. p  q  (p | q) | (p | q). p  q  (p | p) | (q | q).

The NOR Operator The statement p  q means “neither p nor q.” The operator  is also called the Pierce arrow or NOR. NOR stands for “Not OR.” p  q is logically equivalent to (p  q).

The NOR Operator p  q is defined by p q p  q T F

The NOR Operator The three basic operators may be defined in terms of NOR. p  p  p. p  q  (p  q)  (p  q). p  q  (p  p)  (q  q).