SlideShare a Scribd company logo
1 of 4
Name ________________________
Worksheet 1.2
Logic and Truth Tables
We can represent the truth of expressions in a tabular form called “truth tables.” These tables
consider all cases and can add great insight into otherwise complicated expressions. Here are
examples of some of most basic truth tables.
The truth table for negation (“not”)
p ¬ p
T F
F T
The truth table for disjunction (“or”)
p q p  q
T T T
T F T
F T T
F F F
1. Complete the following truth tables
(a) Truth table for conjunction (“and”)
p q p  q
T T
T F
F T
F F
(b) Truth table for biconditional (“if and only if”)
p q p ↔ q
T T
T F
F T
F F
Why do we say that the biconditional defines “logical equivalence”?
2. The truth table for conditional (“if...then...”) can be quite confusing. Here it is.
p q p → q
T T T
T F F
F T T
F F T
Consider the example “For every integer n, if n > 2 then n2 > 4.” In this case p represents
“n > 2” and q represents “n2 > 4.” Thus if n = 3 then p is true and q is true.
(a) Find another value of n that makes p true and q true.
(b) Find a value for n that makes p false and q false.
(c) Find a value for n that makes p false and q true.
(d) Find a value for n that make p true and q false. Explain any problems you have. Why
are you having these problems?
The third row, corresponding to part (c), frustrates many people—you are not alone. The
truth has a special name. It is called “vacuously true.”
3. Complete the following truth tables
(a)
p q (¬ p) ↔ q
T T
T F
F T
F F
(b)
p q (¬ p)  q
T T
T F
F T
F F
(c)
p q r q → r p → (q → 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
4. Draw up and complete the truth tables for the following expressions. Please follow all of the
conventions that you have observed above (such as listing p before q, etc.)
(a) p  (¬ p)
(b) (¬ p)  (¬ q)
5. An expression is a tautology if it is always true, regardless the truth of its component
statements. Thus, the last column in its truth table will be all T’s. A statement is a contradiction
if the last column is always F—it is never true.
(a) Show that (p  q) → p is a tautology by completing this truth table.
p q p  q (p  q) → p
T T
T T
T F
T F
F T
F T
F F
F F
(b) Show that p  (¬ p) is a contradiction.
p p  (¬ p)
T
F
6. Logically equivalent expressions have the same truth tables. Show that the following pairs of
statements are logically equivalent.
(a) (¬ p)  q and (p  q) (You saw this on the previous worksheet. Where?)
(b) p → q and (¬ q) → (¬ p) (The second statement is called the Contrapositive)
(c) (p  q)  r and (p  r)  (q  r) (Distribution of sorts)
(d) ¬ (p  q) and (¬ p)  (¬ q) (This, and part (e) is called De Morgan’s Law)
(e) ¬ (p  q) and (¬ p)  (¬ q)

More Related Content

What's hot

Similarity on right triangle
Similarity on right triangleSimilarity on right triangle
Similarity on right trianglerey castro
 
Rational Exponents
Rational ExponentsRational Exponents
Rational ExponentsPhil Saraspe
 
Slope and y intercept
Slope and y interceptSlope and y intercept
Slope and y interceptbillingssr
 
Simplifying radical expressions, rational exponents, radical equations
Simplifying radical expressions, rational exponents, radical equationsSimplifying radical expressions, rational exponents, radical equations
Simplifying radical expressions, rational exponents, radical equationsJessica Garcia
 
Solving Equations Involving Radical Expressions
Solving Equations Involving Radical ExpressionsSolving Equations Involving Radical Expressions
Solving Equations Involving Radical ExpressionsCipriano De Leon
 
Module 2 quadratic functions
Module 2   quadratic functionsModule 2   quadratic functions
Module 2 quadratic functionsdionesioable
 
Grade 8-addition-and-subtraction-of-rational-expression
Grade 8-addition-and-subtraction-of-rational-expressionGrade 8-addition-and-subtraction-of-rational-expression
Grade 8-addition-and-subtraction-of-rational-expressionAnnalizaTenioso
 
Identifying slope and y intercept
Identifying slope and y interceptIdentifying slope and y intercept
Identifying slope and y interceptrobertleichner
 
Rewriting Linear Equation from standard form to slope intercept form
Rewriting Linear Equation from standard form to slope intercept formRewriting Linear Equation from standard form to slope intercept form
Rewriting Linear Equation from standard form to slope intercept formJanetEsteban1
 
Permutation combination
Permutation combinationPermutation combination
Permutation combinationlovemucheca
 
Math 8 - Linear Inequalities in Two Variables
Math 8 - Linear Inequalities in Two VariablesMath 8 - Linear Inequalities in Two Variables
Math 8 - Linear Inequalities in Two VariablesCarlo Luna
 
Graph of polynomial function
Graph of polynomial functionGraph of polynomial function
Graph of polynomial functionAllan Gulinao
 
Mathematics 9 Lesson 6: Rational Exponents
Mathematics 9 Lesson 6: Rational ExponentsMathematics 9 Lesson 6: Rational Exponents
Mathematics 9 Lesson 6: Rational ExponentsJuan Miguel Palero
 
Parallel and Perpendicular Slopes lines
Parallel and Perpendicular Slopes linesParallel and Perpendicular Slopes lines
Parallel and Perpendicular Slopes linesswartzje
 
Rational expressions ppt
Rational expressions pptRational expressions ppt
Rational expressions pptDoreen Mhizha
 

What's hot (20)

Similarity on right triangle
Similarity on right triangleSimilarity on right triangle
Similarity on right triangle
 
Rational Exponents
Rational ExponentsRational Exponents
Rational Exponents
 
Trapezoids
TrapezoidsTrapezoids
Trapezoids
 
Slope and y intercept
Slope and y interceptSlope and y intercept
Slope and y intercept
 
Simplifying radical expressions, rational exponents, radical equations
Simplifying radical expressions, rational exponents, radical equationsSimplifying radical expressions, rational exponents, radical equations
Simplifying radical expressions, rational exponents, radical equations
 
Graphing polynomials
Graphing polynomialsGraphing polynomials
Graphing polynomials
 
Solving Equations Involving Radical Expressions
Solving Equations Involving Radical ExpressionsSolving Equations Involving Radical Expressions
Solving Equations Involving Radical Expressions
 
Module 2 quadratic functions
Module 2   quadratic functionsModule 2   quadratic functions
Module 2 quadratic functions
 
Grade 8-addition-and-subtraction-of-rational-expression
Grade 8-addition-and-subtraction-of-rational-expressionGrade 8-addition-and-subtraction-of-rational-expression
Grade 8-addition-and-subtraction-of-rational-expression
 
Identifying slope and y intercept
Identifying slope and y interceptIdentifying slope and y intercept
Identifying slope and y intercept
 
Rational Expressions
Rational ExpressionsRational Expressions
Rational Expressions
 
Rewriting Linear Equation from standard form to slope intercept form
Rewriting Linear Equation from standard form to slope intercept formRewriting Linear Equation from standard form to slope intercept form
Rewriting Linear Equation from standard form to slope intercept form
 
Permutation combination
Permutation combinationPermutation combination
Permutation combination
 
Math 8 - Linear Inequalities in Two Variables
Math 8 - Linear Inequalities in Two VariablesMath 8 - Linear Inequalities in Two Variables
Math 8 - Linear Inequalities in Two Variables
 
Graph of polynomial function
Graph of polynomial functionGraph of polynomial function
Graph of polynomial function
 
Logic parti
Logic partiLogic parti
Logic parti
 
Exponents Rules
Exponents RulesExponents Rules
Exponents Rules
 
Mathematics 9 Lesson 6: Rational Exponents
Mathematics 9 Lesson 6: Rational ExponentsMathematics 9 Lesson 6: Rational Exponents
Mathematics 9 Lesson 6: Rational Exponents
 
Parallel and Perpendicular Slopes lines
Parallel and Perpendicular Slopes linesParallel and Perpendicular Slopes lines
Parallel and Perpendicular Slopes lines
 
Rational expressions ppt
Rational expressions pptRational expressions ppt
Rational expressions ppt
 

Similar to Logic worksheet

Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statementsguestd166eb5
 
L4-IntroducClick to edit Master title styletion to logic.pptx
L4-IntroducClick to edit Master title styletion to logic.pptxL4-IntroducClick to edit Master title styletion to logic.pptx
L4-IntroducClick to edit Master title styletion to logic.pptxFahmiOlayah
 
[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf
[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf
[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdfrAjyarAjanItjJa
 
Logic and proof
Logic and proofLogic and proof
Logic and proofSuresh Ram
 
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1taimoor iftikhar
 
Discreate Truth tables and laws of logic
Discreate Truth tables and laws of logicDiscreate Truth tables and laws of logic
Discreate Truth tables and laws of logicZenLooper
 
Truth tables
Truth tablesTruth tables
Truth tableswalkerlj
 
Chapter 01 - p1.pdf
Chapter 01 - p1.pdfChapter 01 - p1.pdf
Chapter 01 - p1.pdfsmarwaneid
 
Truth table a.r
Truth table a.rTruth table a.r
Truth table a.rSyed Umair
 
Computer Organization and Assembly Language
Computer Organization and Assembly LanguageComputer Organization and Assembly Language
Computer Organization and Assembly LanguageRaquel Mulles
 
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDiscrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDr. Khaled Bakro
 

Similar to Logic worksheet (20)

Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statements
 
Discrete math Truth Table
Discrete math Truth TableDiscrete math Truth Table
Discrete math Truth Table
 
The logic
The logicThe logic
The logic
 
Logic - Logical Propositions
Logic - Logical Propositions Logic - Logical Propositions
Logic - Logical Propositions
 
L4-IntroducClick to edit Master title styletion to logic.pptx
L4-IntroducClick to edit Master title styletion to logic.pptxL4-IntroducClick to edit Master title styletion to logic.pptx
L4-IntroducClick to edit Master title styletion to logic.pptx
 
[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf
[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf
[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf
 
Logic and proof
Logic and proofLogic and proof
Logic and proof
 
CS202Ch1.ppt
CS202Ch1.pptCS202Ch1.ppt
CS202Ch1.ppt
 
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
 
Discreate Truth tables and laws of logic
Discreate Truth tables and laws of logicDiscreate Truth tables and laws of logic
Discreate Truth tables and laws of logic
 
Chapter1p1.pdf
Chapter1p1.pdfChapter1p1.pdf
Chapter1p1.pdf
 
LOGIC
LOGICLOGIC
LOGIC
 
Truth tables
Truth tablesTruth tables
Truth tables
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematics
 
Chapter 01 - p1.pdf
Chapter 01 - p1.pdfChapter 01 - p1.pdf
Chapter 01 - p1.pdf
 
Truth table a.r
Truth table a.rTruth table a.r
Truth table a.r
 
Computer Organization and Assembly Language
Computer Organization and Assembly LanguageComputer Organization and Assembly Language
Computer Organization and Assembly Language
 
Dicrete structure
Dicrete structureDicrete structure
Dicrete structure
 
4 ch 2 logical reasoning
4 ch 2 logical reasoning4 ch 2 logical reasoning
4 ch 2 logical reasoning
 
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDiscrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
 

Recently uploaded

Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 

Recently uploaded (20)

Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 

Logic worksheet

  • 1. Name ________________________ Worksheet 1.2 Logic and Truth Tables We can represent the truth of expressions in a tabular form called “truth tables.” These tables consider all cases and can add great insight into otherwise complicated expressions. Here are examples of some of most basic truth tables. The truth table for negation (“not”) p ¬ p T F F T The truth table for disjunction (“or”) p q p  q T T T T F T F T T F F F 1. Complete the following truth tables (a) Truth table for conjunction (“and”) p q p  q T T T F F T F F (b) Truth table for biconditional (“if and only if”) p q p ↔ q T T T F F T F F Why do we say that the biconditional defines “logical equivalence”?
  • 2. 2. The truth table for conditional (“if...then...”) can be quite confusing. Here it is. p q p → q T T T T F F F T T F F T Consider the example “For every integer n, if n > 2 then n2 > 4.” In this case p represents “n > 2” and q represents “n2 > 4.” Thus if n = 3 then p is true and q is true. (a) Find another value of n that makes p true and q true. (b) Find a value for n that makes p false and q false. (c) Find a value for n that makes p false and q true. (d) Find a value for n that make p true and q false. Explain any problems you have. Why are you having these problems? The third row, corresponding to part (c), frustrates many people—you are not alone. The truth has a special name. It is called “vacuously true.” 3. Complete the following truth tables (a) p q (¬ p) ↔ q T T T F F T F F (b) p q (¬ p)  q T T T F F T F F (c) p q r q → r p → (q → 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
  • 3. 4. Draw up and complete the truth tables for the following expressions. Please follow all of the conventions that you have observed above (such as listing p before q, etc.) (a) p  (¬ p) (b) (¬ p)  (¬ q) 5. An expression is a tautology if it is always true, regardless the truth of its component statements. Thus, the last column in its truth table will be all T’s. A statement is a contradiction if the last column is always F—it is never true. (a) Show that (p  q) → p is a tautology by completing this truth table. p q p  q (p  q) → p T T T T T F T F F T F T F F F F (b) Show that p  (¬ p) is a contradiction. p p  (¬ p) T F
  • 4. 6. Logically equivalent expressions have the same truth tables. Show that the following pairs of statements are logically equivalent. (a) (¬ p)  q and (p  q) (You saw this on the previous worksheet. Where?) (b) p → q and (¬ q) → (¬ p) (The second statement is called the Contrapositive) (c) (p  q)  r and (p  r)  (q  r) (Distribution of sorts) (d) ¬ (p  q) and (¬ p)  (¬ q) (This, and part (e) is called De Morgan’s Law) (e) ¬ (p  q) and (¬ p)  (¬ q)