SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
1

True or False. Justify your answer.
1.1

A. The Contrapositive of A → B is ¬B → ¬A.

True.
A B
T T
T F
F T
F F

1.2

¬A
F
F
T
T

¬B
F
T
F
T

A→B
T
F
T
T

¬B → ¬A.
T
F
T
T

B. If you want to prove a statement is true, it is enough to find
867 examples where it is true.

False
The case may not be true for the 868th example.You must show it is true for all cases.
However, to disprove it, you only need to show one counter example.

1.3

C. If P ∧ Q is true, then P ∨ Q is true.

True
P ∧ Q is true means that P is true and Q is true. In order for P ∨ Q to be true, we
only need only one of P, Q to be true. Since we have both, then P ∨ Q is true.

1.4

D. P → Q and Q → P are logically equivalent.

False
P Q P → Q Q → P.
T T
T
T
T F
F
T
F T
T
F
F F
T
T
Consider the bolded cases that have different truth values.

1
1.5

E. If p → q is false, then the truth value of (¬p ∨ ¬q) → (p ↔ q) is
also false.

True.
Realize that the only case where p → q is false is when p is true and q is false. So ¬p
is false and ¬q is true. So (¬p ∨ ¬q) is true since ¬q is true.
Also, (p ↔ q) means (p → q) ∧ (q → p). However, since p → q is false, then (p ↔ q) is
false.
Therefore, since the first part of the implication(¬p∨¬q) is true and the second (p ↔ q)
is false, we have that (¬p ∨ ¬q) → (p ↔ q) is false when p → q is false.

2
2.1

Prove that if a and b are odd integers, then a ∗ b is an odd integer.

Proof. Assume that a, b are odd integers. Then a = 2k + 1 for some integer k. Also,
b = 2m + 1 for some integer m.
We have that
a ∗ b = (2k + 1)(2m + 1).
= 4km + 2k + 2m + 1.
= 2(2km + m + k) + 1
.
Since k, m are integers, so is 2km + k + m.
So a ∗ b is odd.

3
3.1

For any mathematical statement, say C, fn (C) denotes the mathematical statement: ¬¬ . . . ¬C, where there are n¬ symbols in front
of C.

Prove that if A is a True mathematical statement and B is a False mathematical
statement, then ¬(f3 (A) ∨ f2 (B)) is a True mathematical statement.

2
Proof. Assume that A is a True mathematical statement and B is a False mathematical
statement.
We have that f3 (A) = ¬¬¬A = ¬(¬¬)A = ¬A since every pair of ¬ symbols cancels
out by the Double Negative Law.
We also have f2 (B) = ¬¬B = (¬¬)B = B.
So we have ¬(¬A ∨ B), which is (¬¬A ∧ ¬B).
So we have A ∧ ¬B.
Since A is true and B is false (that is, ¬B is true), we have two true statements.
The joining of two true statements with ”and” is true, so ¬(f3 (A) ∨ f2 (B)) is a True
mathematical statement

4
4.1
4.1.1
p
T
T
T
T
F
F
F
F

Find the Disjunctive Normal Form of ((p → q) ∧ (q → r)) → (p → r)
Method: Truth Table

q
T
T
F
F
T
T
F
F

r
T
F
T
F
T
F
T
F

¬p
F
F
F
F
T
T
T
T

¬q
F
F
T
T
F
F
T
T

¬r
F
T
F
T
F
T
F
T

p→q
T
T
F
F
T
T
T
T

q→r
T
F
T
T
T
F
T
T

p→r
T
F
T
F
T
T
T
T

((p → q) ∧ (q → r))
T
F
F
F
T
F
T
T

((p → q) ∧ (q → r)) → (p → r)
T
T
T
T
T
T
T
T

So we have (p ∧ q ∧ r) ∨ (p ∧ q ∧ ¬r) ∨ (p ∧ ¬q ∧ r) ∨ (p ∧ ¬q ∧ ¬r) ∨ (¬p ∧ q ∧ r) ∨ (¬p ∧
q¬r) ∨ (¬p ∧ ¬q ∧ r) ∨ (¬p ∧ ¬q ∧ ¬r).
Note that this the original statement is true no matter what the truth values of p, q, r.
So Disjunctive Normal Form addresses each of the possible cases represented in the truth
table.

3
5
5.1

Let a, b, c be real numbers. Prove that if a + b ≥ c, then a ≥
b ≥ c2.

c
2

or

Note: This can be proven directly but then you must address each of the following cases:
c
c
(i). a = 2 , b = 2 .
c
c
(ii) a = 2 , b > 2 .
c
c
(iii) a > 2 , b = 2 (similar to ii)
c
c
(iiii) a > 2 , b > 2 .
This is why contradiction proofs are easier to use in situations where you have OR
statements to deal with. In this situation, a contradiction gives us an AND statement,
which is a single case. When writing proofs it is often helpful to ask yourself ”When can
this be false?” Then show that that case cannot happen.
So,
c
c
Proof. Suppose for contradiction that a + b = c and a < 2 and b < 2 .
c
c
Then a + b < 2 + 2 .
So a + b < c, which contradicts our original assumption that a + b = c.

4

Weitere ähnliche Inhalte

Was ist angesagt?

Asymmetric multipartite GHZ states and Bell inequalities
Asymmetric multipartite GHZ states and Bell inequalitiesAsymmetric multipartite GHZ states and Bell inequalities
Asymmetric multipartite GHZ states and Bell inequalitiesDarwin Gosal
 
A26-8 analyze poly graphs
A26-8 analyze poly graphsA26-8 analyze poly graphs
A26-8 analyze poly graphsvhiggins1
 
Probabilistic diameter and its properties.
Probabilistic diameter and its properties.Probabilistic diameter and its properties.
Probabilistic diameter and its properties.inventionjournals
 
Congruence Lattices of A Finite Uniform Lattices
Congruence Lattices of A Finite Uniform LatticesCongruence Lattices of A Finite Uniform Lattices
Congruence Lattices of A Finite Uniform Latticesinventionjournals
 
Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S...
 Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S... Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S...
Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S...parmeet834
 
Methods of calculate roots of equations
Methods  of calculate  roots  of  equationsMethods  of calculate  roots  of  equations
Methods of calculate roots of equationsNORAIMA
 
Conference Poster: Discrete Symmetries of Symmetric Hypergraph States
Conference Poster: Discrete Symmetries of Symmetric Hypergraph StatesConference Poster: Discrete Symmetries of Symmetric Hypergraph States
Conference Poster: Discrete Symmetries of Symmetric Hypergraph StatesChase Yetter
 
Lect 18
Lect 18Lect 18
Lect 18IIUM
 
7.7 Transforming Formulas
7.7 Transforming Formulas7.7 Transforming Formulas
7.7 Transforming FormulasJessca Lundin
 
Non-informative reparametrisation for location-scale mixtures
Non-informative reparametrisation for location-scale mixturesNon-informative reparametrisation for location-scale mixtures
Non-informative reparametrisation for location-scale mixturesChristian Robert
 

Was ist angesagt? (18)

Probability Theory 6
Probability Theory 6Probability Theory 6
Probability Theory 6
 
Asymmetric multipartite GHZ states and Bell inequalities
Asymmetric multipartite GHZ states and Bell inequalitiesAsymmetric multipartite GHZ states and Bell inequalities
Asymmetric multipartite GHZ states and Bell inequalities
 
Aa2
Aa2Aa2
Aa2
 
Thesis 6
Thesis 6Thesis 6
Thesis 6
 
A26-8 analyze poly graphs
A26-8 analyze poly graphsA26-8 analyze poly graphs
A26-8 analyze poly graphs
 
Probabilistic diameter and its properties.
Probabilistic diameter and its properties.Probabilistic diameter and its properties.
Probabilistic diameter and its properties.
 
Sol80
Sol80Sol80
Sol80
 
Polytopes inside polytopes
Polytopes inside polytopesPolytopes inside polytopes
Polytopes inside polytopes
 
Congruence Lattices of A Finite Uniform Lattices
Congruence Lattices of A Finite Uniform LatticesCongruence Lattices of A Finite Uniform Lattices
Congruence Lattices of A Finite Uniform Lattices
 
Sim variation
Sim variationSim variation
Sim variation
 
22nd inmo 07
22nd inmo 0722nd inmo 07
22nd inmo 07
 
Quiz 1 solution
Quiz 1 solutionQuiz 1 solution
Quiz 1 solution
 
Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S...
 Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S... Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S...
Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S...
 
Methods of calculate roots of equations
Methods  of calculate  roots  of  equationsMethods  of calculate  roots  of  equations
Methods of calculate roots of equations
 
Conference Poster: Discrete Symmetries of Symmetric Hypergraph States
Conference Poster: Discrete Symmetries of Symmetric Hypergraph StatesConference Poster: Discrete Symmetries of Symmetric Hypergraph States
Conference Poster: Discrete Symmetries of Symmetric Hypergraph States
 
Lect 18
Lect 18Lect 18
Lect 18
 
7.7 Transforming Formulas
7.7 Transforming Formulas7.7 Transforming Formulas
7.7 Transforming Formulas
 
Non-informative reparametrisation for location-scale mixtures
Non-informative reparametrisation for location-scale mixturesNon-informative reparametrisation for location-scale mixtures
Non-informative reparametrisation for location-scale mixtures
 

Ähnlich wie Math 189 Exam 1 Solutions

Discrete mathematic question answers
Discrete mathematic question answersDiscrete mathematic question answers
Discrete mathematic question answersSamet öztoprak
 
[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
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statementsguestd166eb5
 
CMSC 56 | Lecture 5: Proofs Methods and Strategy
CMSC 56 | Lecture 5: Proofs Methods and StrategyCMSC 56 | Lecture 5: Proofs Methods and Strategy
CMSC 56 | Lecture 5: Proofs Methods and Strategyallyn joy calcaben
 
Logic and proof
Logic and proofLogic and proof
Logic and proofSuresh Ram
 
Discrete Structures
Discrete Structures Discrete Structures
Discrete Structures AQCreations
 
Aa - Module 1 Fundamentals_2.pdf
Aa  - Module 1  Fundamentals_2.pdfAa  - Module 1  Fundamentals_2.pdf
Aa - Module 1 Fundamentals_2.pdfAayushSharma261
 
CPSC 125 Ch 2 Sec 2
CPSC 125 Ch 2 Sec 2CPSC 125 Ch 2 Sec 2
CPSC 125 Ch 2 Sec 2David Wood
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical inductionKriti Varshney
 
Fundamentals of logic 1
Fundamentals of logic   1Fundamentals of logic   1
Fundamentals of logic 1Lakshmi R
 
UNIT-III-PPT.pptx
UNIT-III-PPT.pptxUNIT-III-PPT.pptx
UNIT-III-PPT.pptxDakshBaveja
 
Mcs lecture19.methods ofproof(1)
Mcs lecture19.methods ofproof(1)Mcs lecture19.methods ofproof(1)
Mcs lecture19.methods ofproof(1)kevinwu1994
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proofAbdur Rehman
 
Algorithmic foundations.docx
Algorithmic foundations.docxAlgorithmic foundations.docx
Algorithmic foundations.docxedwin orege
 

Ähnlich wie Math 189 Exam 1 Solutions (20)

Discrete mathematic question answers
Discrete mathematic question answersDiscrete mathematic question answers
Discrete mathematic question answers
 
[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
 
Lemh1a1
Lemh1a1Lemh1a1
Lemh1a1
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statements
 
CMSC 56 | Lecture 5: Proofs Methods and Strategy
CMSC 56 | Lecture 5: Proofs Methods and StrategyCMSC 56 | Lecture 5: Proofs Methods and Strategy
CMSC 56 | Lecture 5: Proofs Methods and Strategy
 
Logic and proof
Logic and proofLogic and proof
Logic and proof
 
Discrete Structures
Discrete Structures Discrete Structures
Discrete Structures
 
Induction.pdf
Induction.pdfInduction.pdf
Induction.pdf
 
Aa - Module 1 Fundamentals_2.pdf
Aa  - Module 1  Fundamentals_2.pdfAa  - Module 1  Fundamentals_2.pdf
Aa - Module 1 Fundamentals_2.pdf
 
12_Truth_Tables.pptx
12_Truth_Tables.pptx12_Truth_Tables.pptx
12_Truth_Tables.pptx
 
CPSC 125 Ch 2 Sec 2
CPSC 125 Ch 2 Sec 2CPSC 125 Ch 2 Sec 2
CPSC 125 Ch 2 Sec 2
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
Course notes1
Course notes1Course notes1
Course notes1
 
Fundamentals of logic 1
Fundamentals of logic   1Fundamentals of logic   1
Fundamentals of logic 1
 
UNIT-III-PPT.pptx
UNIT-III-PPT.pptxUNIT-III-PPT.pptx
UNIT-III-PPT.pptx
 
Mcs lecture19.methods ofproof(1)
Mcs lecture19.methods ofproof(1)Mcs lecture19.methods ofproof(1)
Mcs lecture19.methods ofproof(1)
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proof
 
Kumera2.docx
Kumera2.docxKumera2.docx
Kumera2.docx
 
Logic
LogicLogic
Logic
 
Algorithmic foundations.docx
Algorithmic foundations.docxAlgorithmic foundations.docx
Algorithmic foundations.docx
 

Mehr von Tyler Murphy

Job application 2020
Job application 2020Job application 2020
Job application 2020Tyler Murphy
 
The Table Method for Derivatives
The Table Method for DerivativesThe Table Method for Derivatives
The Table Method for DerivativesTyler Murphy
 
intro to Implicit differentiation
intro to Implicit differentiationintro to Implicit differentiation
intro to Implicit differentiationTyler Murphy
 
Tower of hanoi problem
Tower of hanoi problemTower of hanoi problem
Tower of hanoi problemTyler Murphy
 
Intro to derivatives
Intro to derivativesIntro to derivatives
Intro to derivativesTyler Murphy
 
Limits as x approaches infinity
Limits as x approaches infinityLimits as x approaches infinity
Limits as x approaches infinityTyler Murphy
 
Introduction to limits
Introduction to limitsIntroduction to limits
Introduction to limitsTyler Murphy
 
Solving a trig equation
Solving a trig equationSolving a trig equation
Solving a trig equationTyler Murphy
 
solving a trig problem and sketching a graph example problems
solving a trig problem and sketching a graph example problemssolving a trig problem and sketching a graph example problems
solving a trig problem and sketching a graph example problemsTyler Murphy
 
Finding a polyomial from data
Finding a polyomial from dataFinding a polyomial from data
Finding a polyomial from dataTyler Murphy
 
Jason format preferences m170
Jason format preferences m170Jason format preferences m170
Jason format preferences m170Tyler Murphy
 
Final exam review
Final exam review Final exam review
Final exam review Tyler Murphy
 
Inclusion exclusion principle
Inclusion exclusion principleInclusion exclusion principle
Inclusion exclusion principleTyler Murphy
 
Oral exam structure M189
Oral exam structure M189Oral exam structure M189
Oral exam structure M189Tyler Murphy
 
Drop trow game rules
Drop trow game rules Drop trow game rules
Drop trow game rules Tyler Murphy
 

Mehr von Tyler Murphy (20)

Job application 2020
Job application 2020Job application 2020
Job application 2020
 
The Table Method for Derivatives
The Table Method for DerivativesThe Table Method for Derivatives
The Table Method for Derivatives
 
Math 170 notation
Math 170 notationMath 170 notation
Math 170 notation
 
intro to Implicit differentiation
intro to Implicit differentiationintro to Implicit differentiation
intro to Implicit differentiation
 
Tower of hanoi problem
Tower of hanoi problemTower of hanoi problem
Tower of hanoi problem
 
Intro to derivatives
Intro to derivativesIntro to derivatives
Intro to derivatives
 
One sided limits
One sided limitsOne sided limits
One sided limits
 
Limits as x approaches infinity
Limits as x approaches infinityLimits as x approaches infinity
Limits as x approaches infinity
 
Computing limits
Computing limitsComputing limits
Computing limits
 
Introduction to limits
Introduction to limitsIntroduction to limits
Introduction to limits
 
Solving a trig equation
Solving a trig equationSolving a trig equation
Solving a trig equation
 
solving a trig problem and sketching a graph example problems
solving a trig problem and sketching a graph example problemssolving a trig problem and sketching a graph example problems
solving a trig problem and sketching a graph example problems
 
Finding a polyomial from data
Finding a polyomial from dataFinding a polyomial from data
Finding a polyomial from data
 
functions review
functions reviewfunctions review
functions review
 
Jason format preferences m170
Jason format preferences m170Jason format preferences m170
Jason format preferences m170
 
Final exam review
Final exam review Final exam review
Final exam review
 
Inclusion exclusion principle
Inclusion exclusion principleInclusion exclusion principle
Inclusion exclusion principle
 
Oral exam structure M189
Oral exam structure M189Oral exam structure M189
Oral exam structure M189
 
Class mods
Class mods Class mods
Class mods
 
Drop trow game rules
Drop trow game rules Drop trow game rules
Drop trow game rules
 

Kürzlich hochgeladen

Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 

Kürzlich hochgeladen (20)

Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

Math 189 Exam 1 Solutions

  • 1. 1 True or False. Justify your answer. 1.1 A. The Contrapositive of A → B is ¬B → ¬A. True. A B T T T F F T F F 1.2 ¬A F F T T ¬B F T F T A→B T F T T ¬B → ¬A. T F T T B. If you want to prove a statement is true, it is enough to find 867 examples where it is true. False The case may not be true for the 868th example.You must show it is true for all cases. However, to disprove it, you only need to show one counter example. 1.3 C. If P ∧ Q is true, then P ∨ Q is true. True P ∧ Q is true means that P is true and Q is true. In order for P ∨ Q to be true, we only need only one of P, Q to be true. Since we have both, then P ∨ Q is true. 1.4 D. P → Q and Q → P are logically equivalent. False P Q P → Q Q → P. T T T T T F F T F T T F F F T T Consider the bolded cases that have different truth values. 1
  • 2. 1.5 E. If p → q is false, then the truth value of (¬p ∨ ¬q) → (p ↔ q) is also false. True. Realize that the only case where p → q is false is when p is true and q is false. So ¬p is false and ¬q is true. So (¬p ∨ ¬q) is true since ¬q is true. Also, (p ↔ q) means (p → q) ∧ (q → p). However, since p → q is false, then (p ↔ q) is false. Therefore, since the first part of the implication(¬p∨¬q) is true and the second (p ↔ q) is false, we have that (¬p ∨ ¬q) → (p ↔ q) is false when p → q is false. 2 2.1 Prove that if a and b are odd integers, then a ∗ b is an odd integer. Proof. Assume that a, b are odd integers. Then a = 2k + 1 for some integer k. Also, b = 2m + 1 for some integer m. We have that a ∗ b = (2k + 1)(2m + 1). = 4km + 2k + 2m + 1. = 2(2km + m + k) + 1 . Since k, m are integers, so is 2km + k + m. So a ∗ b is odd. 3 3.1 For any mathematical statement, say C, fn (C) denotes the mathematical statement: ¬¬ . . . ¬C, where there are n¬ symbols in front of C. Prove that if A is a True mathematical statement and B is a False mathematical statement, then ¬(f3 (A) ∨ f2 (B)) is a True mathematical statement. 2
  • 3. Proof. Assume that A is a True mathematical statement and B is a False mathematical statement. We have that f3 (A) = ¬¬¬A = ¬(¬¬)A = ¬A since every pair of ¬ symbols cancels out by the Double Negative Law. We also have f2 (B) = ¬¬B = (¬¬)B = B. So we have ¬(¬A ∨ B), which is (¬¬A ∧ ¬B). So we have A ∧ ¬B. Since A is true and B is false (that is, ¬B is true), we have two true statements. The joining of two true statements with ”and” is true, so ¬(f3 (A) ∨ f2 (B)) is a True mathematical statement 4 4.1 4.1.1 p T T T T F F F F Find the Disjunctive Normal Form of ((p → q) ∧ (q → r)) → (p → r) Method: Truth Table q T T F F T T F F r T F T F T F T F ¬p F F F F T T T T ¬q F F T T F F T T ¬r F T F T F T F T p→q T T F F T T T T q→r T F T T T F T T p→r T F T F T T T T ((p → q) ∧ (q → r)) T F F F T F T T ((p → q) ∧ (q → r)) → (p → r) T T T T T T T T So we have (p ∧ q ∧ r) ∨ (p ∧ q ∧ ¬r) ∨ (p ∧ ¬q ∧ r) ∨ (p ∧ ¬q ∧ ¬r) ∨ (¬p ∧ q ∧ r) ∨ (¬p ∧ q¬r) ∨ (¬p ∧ ¬q ∧ r) ∨ (¬p ∧ ¬q ∧ ¬r). Note that this the original statement is true no matter what the truth values of p, q, r. So Disjunctive Normal Form addresses each of the possible cases represented in the truth table. 3
  • 4. 5 5.1 Let a, b, c be real numbers. Prove that if a + b ≥ c, then a ≥ b ≥ c2. c 2 or Note: This can be proven directly but then you must address each of the following cases: c c (i). a = 2 , b = 2 . c c (ii) a = 2 , b > 2 . c c (iii) a > 2 , b = 2 (similar to ii) c c (iiii) a > 2 , b > 2 . This is why contradiction proofs are easier to use in situations where you have OR statements to deal with. In this situation, a contradiction gives us an AND statement, which is a single case. When writing proofs it is often helpful to ask yourself ”When can this be false?” Then show that that case cannot happen. So, c c Proof. Suppose for contradiction that a + b = c and a < 2 and b < 2 . c c Then a + b < 2 + 2 . So a + b < c, which contradicts our original assumption that a + b = c. 4