SlideShare a Scribd company logo
1 of 23
Module 1: Mathematical Logic
and Statement Calculus
Introduction-Statements and Notation
Connectives
Tautologies
Two State Devices and Statement logic
Equivalence - Implications–Normal forms
The Theory of Inference for the Statement Calculus
Let’s get started with...
Logic!
What is it???
Logic
•Crucial for mathematical reasoning
•Logic is a system based on propositions.
•A proposition is a statement that is either true or
false (not both).
•We say that the truth value of a proposition is either
true (T) or false (F).
•Corresponds to 1 and 0 in digital circuits
The
Statement/Proposition
Game…
The Statement/Proposition Game
• “Elephants are bigger than mice.”
Is this a statement? yes
Is this a proposition? yes
What is the truth value
of the proposition? true
The Statement/Proposition Game
• “520 < 111”
Is this a statement?
Is this a proposition?
What is the truth value
of the proposition? false
yes
yes
The Statement/Proposition Game
• “y > 5”
Is this a statement?
Is this a proposition?
Its truth value depends on the value of y,
but this value is not specified.
We call this type of statement a
propositional function or open sentence.
yes
no
The Statement/Proposition Game
• “Today is July 22 and 99 < 5.”
Is this a statement? yes
Is this a proposition? yes
What is the truth value
of the proposition? false
The Statement/Proposition Game
• “Please do not fall asleep.”
Is this a statement? no
Is this a proposition? no
Only statements can be propositions.
It’s a request.
The Statement/Proposition Game
• “If elephants were red,
• they could hide in cherry trees.”
Is this a statement? yes
Is this a proposition? yes
What is the truth value
of the proposition? probably false
The Statement/Proposition Game
• “x < y if and only if y > x.”
Is this a statement? yes
Is this a proposition? yes
What is the truth value
of the proposition? true
… because its truth value
does not depend on
specific values of x and y.
Combining Propositions
•As we have seen in the previous examples, one
or more propositions can be combined to form a
single compound proposition.
•We formalize this by denoting propositions with
letters such as p, q, r, s, and introducing several
logical operators.
Logical Operators (Connectives)
•We will examine the following logical operators:
• Negation (NOT)
• Conjunction (AND)
• Disjunction (OR)
• Exclusive or (XOR)
• Implication (if – then)
• Biconditional (if and only if)
•Truth tables can be used to show how these operators
can combine propositions to compound propositions.
Negation (NOT)
•Unary Operator, Symbol: 
P P
true (T) false (F)
false (F) true (T)
Conjunction (AND)
•Binary Operator, Symbol: 
P Q PQ
T T T
T F F
F T F
F F F
Disjunction (OR)
•Binary Operator, Symbol: 
P Q PQ
T T T
T F T
F T T
F F F
Exclusive Or (XOR)
•Binary Operator, Symbol: 
P Q PQ
T T F
T F T
F T T
F F F
Implication (if - then)
•Binary Operator, Symbol: 
P Q PQ
T T T
T F F
F T T
F F T
Biconditional (if and only if)
•Binary Operator, Symbol: 
P Q PQ
T T T
T F F
F T F
F F T
Statements and Operators
• Statements and operators can be combined in any way
to form new statements.
P Q P Q (P)(Q)
T T F F F
T F F T T
F T T F T
F F T T T
Statements and Operations
• Statements and operators can be combined in any way to
form new statements.
P Q PQ  (PQ) (P)(Q)
T T T F F
T F F T T
F T F T T
F F F T T
Equivalent Statements
P Q (PQ) (P)(Q) (PQ)(P)(Q)
T T F F T
T F T T T
F T T T T
F F T T T
• The statements (PQ) and (P)  (Q) are logically equivalent,
since (PQ)  (P)  (Q) is always true.
If the seed catalog is correct then if
seeds are planted in April then the
flowers bloom in July. The flowers do not
bloom in July. Therefore, if seeds
are planted in April then the seed catalog
is not correct.

More Related Content

What's hot

Trig substitution
Trig substitutionTrig substitution
Trig substitution
dynx24
 
Probability Powerpoint
Probability PowerpointProbability Powerpoint
Probability Powerpoint
spike2904
 
Infinite series & sequence lecture 2
Infinite series & sequence lecture 2Infinite series & sequence lecture 2
Infinite series & sequence lecture 2
Mohsin Ramay
 

What's hot (20)

Sequences and Series
Sequences and SeriesSequences and Series
Sequences and Series
 
1631 the binomial theorem
1631 the binomial theorem1631 the binomial theorem
1631 the binomial theorem
 
Polynomials
PolynomialsPolynomials
Polynomials
 
Complex number
Complex numberComplex number
Complex number
 
Deductive and Inductive Arguments
Deductive and Inductive ArgumentsDeductive and Inductive Arguments
Deductive and Inductive Arguments
 
Trig substitution
Trig substitutionTrig substitution
Trig substitution
 
Ppt on polynomial
Ppt on polynomial Ppt on polynomial
Ppt on polynomial
 
4.1-4.2 Sample Spaces and Probability
4.1-4.2 Sample Spaces and Probability4.1-4.2 Sample Spaces and Probability
4.1-4.2 Sample Spaces and Probability
 
Permutations and combinations ppt
Permutations and combinations pptPermutations and combinations ppt
Permutations and combinations ppt
 
Conditionals
ConditionalsConditionals
Conditionals
 
Ring-ppt.pptx
Ring-ppt.pptxRing-ppt.pptx
Ring-ppt.pptx
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 
Permutation and combination
Permutation and combinationPermutation and combination
Permutation and combination
 
Group Actions
Group ActionsGroup Actions
Group Actions
 
rupali real analysis ppt.ppt
rupali real analysis ppt.pptrupali real analysis ppt.ppt
rupali real analysis ppt.ppt
 
Probability Powerpoint
Probability PowerpointProbability Powerpoint
Probability Powerpoint
 
The beauty of mathematics
The beauty of mathematicsThe beauty of mathematics
The beauty of mathematics
 
Infinite series & sequence lecture 2
Infinite series & sequence lecture 2Infinite series & sequence lecture 2
Infinite series & sequence lecture 2
 
Linear equations and thier use in practical life
Linear equations and thier use in practical lifeLinear equations and thier use in practical life
Linear equations and thier use in practical life
 
Complex analysis
Complex analysisComplex analysis
Complex analysis
 

Similar to 1. Introduction to math logic.pptx

Similar to 1. Introduction to math logic.pptx (20)

dma_ppt.pdf
dma_ppt.pdfdma_ppt.pdf
dma_ppt.pdf
 
predicateLogic.ppt
predicateLogic.pptpredicateLogic.ppt
predicateLogic.ppt
 
CS202Ch1.ppt
CS202Ch1.pptCS202Ch1.ppt
CS202Ch1.ppt
 
Introduction to mathematical analysis
Introduction to mathematical analysisIntroduction to mathematical analysis
Introduction to mathematical analysis
 
Intro to disceret structure
Intro to disceret structureIntro to disceret structure
Intro to disceret structure
 
Logic DM
Logic DMLogic DM
Logic DM
 
4535092.ppt
4535092.ppt4535092.ppt
4535092.ppt
 
lec3 AI.pptx
lec3  AI.pptxlec3  AI.pptx
lec3 AI.pptx
 
Logic
LogicLogic
Logic
 
Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)
 
1019Lec1.ppt
1019Lec1.ppt1019Lec1.ppt
1019Lec1.ppt
 
Logic
LogicLogic
Logic
 
Logic programming (1)
Logic programming (1)Logic programming (1)
Logic programming (1)
 
Discrete Mathematics - All chapters
Discrete Mathematics - All chapters Discrete Mathematics - All chapters
Discrete Mathematics - All chapters
 
MFCS PPT.pdf
MFCS PPT.pdfMFCS PPT.pdf
MFCS PPT.pdf
 
Lecture 01.ppt
Lecture 01.pptLecture 01.ppt
Lecture 01.ppt
 
AppTheories_L3
AppTheories_L3AppTheories_L3
AppTheories_L3
 
Discrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.pptDiscrete mathematics Chapter1 presentation.ppt
Discrete mathematics Chapter1 presentation.ppt
 
Mathematical Logic Part 2
Mathematical Logic Part 2Mathematical Logic Part 2
Mathematical Logic Part 2
 
Logic in Computer Science Unit 2 (1).pptx
Logic in Computer Science Unit 2 (1).pptxLogic in Computer Science Unit 2 (1).pptx
Logic in Computer Science Unit 2 (1).pptx
 

Recently uploaded

21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
rahulmanepalli02
 
Seizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networksSeizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networks
IJECEIAES
 
Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdf
Kira Dess
 

Recently uploaded (20)

Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
CLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalCLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference Modal
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentation
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) ppt
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Students
 
Seizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networksSeizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networks
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
 
Insurance management system project report.pdf
Insurance management system project report.pdfInsurance management system project report.pdf
Insurance management system project report.pdf
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & Modernization
 
Intro to Design (for Engineers) at Sydney Uni
Intro to Design (for Engineers) at Sydney UniIntro to Design (for Engineers) at Sydney Uni
Intro to Design (for Engineers) at Sydney Uni
 
handbook on reinforce concrete and detailing
handbook on reinforce concrete and detailinghandbook on reinforce concrete and detailing
handbook on reinforce concrete and detailing
 
Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded Systems
 
Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdf
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 

1. Introduction to math logic.pptx

  • 1. Module 1: Mathematical Logic and Statement Calculus Introduction-Statements and Notation Connectives Tautologies Two State Devices and Statement logic Equivalence - Implications–Normal forms The Theory of Inference for the Statement Calculus
  • 2. Let’s get started with... Logic! What is it???
  • 3. Logic •Crucial for mathematical reasoning •Logic is a system based on propositions. •A proposition is a statement that is either true or false (not both). •We say that the truth value of a proposition is either true (T) or false (F). •Corresponds to 1 and 0 in digital circuits
  • 5. The Statement/Proposition Game • “Elephants are bigger than mice.” Is this a statement? yes Is this a proposition? yes What is the truth value of the proposition? true
  • 6. The Statement/Proposition Game • “520 < 111” Is this a statement? Is this a proposition? What is the truth value of the proposition? false yes yes
  • 7. The Statement/Proposition Game • “y > 5” Is this a statement? Is this a proposition? Its truth value depends on the value of y, but this value is not specified. We call this type of statement a propositional function or open sentence. yes no
  • 8. The Statement/Proposition Game • “Today is July 22 and 99 < 5.” Is this a statement? yes Is this a proposition? yes What is the truth value of the proposition? false
  • 9. The Statement/Proposition Game • “Please do not fall asleep.” Is this a statement? no Is this a proposition? no Only statements can be propositions. It’s a request.
  • 10. The Statement/Proposition Game • “If elephants were red, • they could hide in cherry trees.” Is this a statement? yes Is this a proposition? yes What is the truth value of the proposition? probably false
  • 11. The Statement/Proposition Game • “x < y if and only if y > x.” Is this a statement? yes Is this a proposition? yes What is the truth value of the proposition? true … because its truth value does not depend on specific values of x and y.
  • 12. Combining Propositions •As we have seen in the previous examples, one or more propositions can be combined to form a single compound proposition. •We formalize this by denoting propositions with letters such as p, q, r, s, and introducing several logical operators.
  • 13. Logical Operators (Connectives) •We will examine the following logical operators: • Negation (NOT) • Conjunction (AND) • Disjunction (OR) • Exclusive or (XOR) • Implication (if – then) • Biconditional (if and only if) •Truth tables can be used to show how these operators can combine propositions to compound propositions.
  • 14. Negation (NOT) •Unary Operator, Symbol:  P P true (T) false (F) false (F) true (T)
  • 15. Conjunction (AND) •Binary Operator, Symbol:  P Q PQ T T T T F F F T F F F F
  • 16. Disjunction (OR) •Binary Operator, Symbol:  P Q PQ T T T T F T F T T F F F
  • 17. Exclusive Or (XOR) •Binary Operator, Symbol:  P Q PQ T T F T F T F T T F F F
  • 18. Implication (if - then) •Binary Operator, Symbol:  P Q PQ T T T T F F F T T F F T
  • 19. Biconditional (if and only if) •Binary Operator, Symbol:  P Q PQ T T T T F F F T F F F T
  • 20. Statements and Operators • Statements and operators can be combined in any way to form new statements. P Q P Q (P)(Q) T T F F F T F F T T F T T F T F F T T T
  • 21. Statements and Operations • Statements and operators can be combined in any way to form new statements. P Q PQ  (PQ) (P)(Q) T T T F F T F F T T F T F T T F F F T T
  • 22. Equivalent Statements P Q (PQ) (P)(Q) (PQ)(P)(Q) T T F F T T F T T T F T T T T F F T T T • The statements (PQ) and (P)  (Q) are logically equivalent, since (PQ)  (P)  (Q) is always true.
  • 23. If the seed catalog is correct then if seeds are planted in April then the flowers bloom in July. The flowers do not bloom in July. Therefore, if seeds are planted in April then the seed catalog is not correct.