Unit 1 subjective questions Logic and Proofs
MTH401 — Discrete Mathematics 20 questions with model answers. Write yours first, then compare.
-
Question 1 of 20
Construct the truth table for the compound proposition and determine if it is a tautology.
Model answer
Truth Table Construction:
T T F F T T T T F F T F F T F T T F T T T F F T T T T T Conclusion:
Since the last column contains only True (T) values for all possible assignments of truth values to and , the proposition is a Tautology. -
Question 2 of 20
Define Tautology, Contradiction, and Contingency with a mathematical example for each.
Model answer
1. Tautology:
A compound proposition that is always true, no matter what the truth values of the propositional variables that occur in it.- Example: (Law of Excluded Middle).
2. Contradiction:
A compound proposition that is always false.- Example: .
3. Contingency:
A compound proposition that is neither a tautology nor a contradiction (it can be true or false depending on the variables).- Example: (True if , False if ).
-
Question 3 of 20
State and prove De Morgan's Laws for propositional logic using truth tables.
Model answer
Statement of De Morgan's Laws:
Proof for First Law ():
T T T F F F F T F F T F T T F T F T T F T F F F T T T T Since columns 4 and 7 are identical, the logical equivalence holds.
-
Question 4 of 20
Using logical equivalences (without truth tables), show that .
Model answer
Derivation:
Conclusion: The statement is proven.
-
Question 5 of 20
Explain the difference between Universal Quantifier () and Existential Quantifier (). Translate the statement: "Every student in this class has studied Calculus" into logical notation.
Model answer
Universal Quantifier ():
- Denoted by , it asserts that is true for every element in the domain.
- English phrases: "for all", "for every", "for each".
Existential Quantifier ():
- Denoted by , it asserts that is true for at least one element in the domain.
- English phrases: "there exists", "for some", "there is at least one".
Translation:
- Let denote " is a student in this class".
- Let denote " has studied Calculus".
- Notation: (Assuming the domain is all people).
- Alternative: If the domain is restricted to "Students in this class", then: .
-
-
Question 6 of 20
Provide the negation of the following nested quantifier statement: . Simplify the negation so that no negation symbol appears outside a quantifier or parentheses.
Model answer
Step-by-Step Negation:
- Original:
- Apply De Morgan's Law for quantifiers (change to ):
- Apply De Morgan's Law for quantifiers again (change to ):
- Negate the implication (Recall ):
Final Answer:
-
Question 7 of 20
Prove the following statement using a Direct Proof: "If is an odd integer, then is an odd integer."
Model answer
Proof:
- Assumption: Assume that is an odd integer.
- Definition: By definition of odd integers, there exists an integer such that .
- Squaring: We need to examine .
- Factorization: We can factor out 2 from the first two terms:
- Conclusion: Let . Since is an integer, is also an integer. Therefore, .
- By the definition of odd integers, is odd.
Q.E.D.
-
Question 8 of 20
Prove the following statement using Proof by Contraposition: "For an integer , if is odd, then is odd."
Model answer
Structure of Contraposition:
To prove , we prove .- : is odd.
- : is odd.
- : is even.
- : is even.
Proof:
- Assume : Assume is an even integer.
- Definition: By definition, for some integer .
- Substitution: Substitute into the expression :
- Factorization: Factor out 2:
- Conclusion: Let , which is an integer. Thus . This means is even.
- We have shown that if is even, then is even. Therefore, by contraposition, if is odd, then is odd.
Q.E.D.
-
Question 9 of 20
Distinguish between Vacuous Proof and Trivial Proof with examples.
Model answer
1. Vacuous Proof:
- Used to prove an implication when the hypothesis is known to be false.
- Since is always true regardless of , the statement holds.
- Example: Prove "If , then ". Since is false, the implication is vacuously true.
2. Trivial Proof:
- Used to prove an implication when the conclusion is known to be true.
- Since is always true regardless of , the statement holds.
- Example: Prove "If it rains today, then ". Since is always true, the implication is trivially true.
-
Question 10 of 20
Prove that is irrational using Proof by Contradiction.
Model answer
Proof:
- Assumption (Negation): Assume is rational.
- Definition: There exist integers and () such that , and we assume the fraction is in simplest form (i.e., ).
- Algebraic Manipulation:
- Inference 1: Since , is even. If is even, then must be even (proven previously). So, let for some integer .
- Substitution: Substitute back into the equation:
- Inference 2: Since , is even, which implies is even.
- Contradiction: We concluded that both and are even. This means they share a common factor of 2. However, we initially assumed that (simplest form).
- Conclusion: The assumption leads to a contradiction. Therefore, is irrational.
Q.E.D.
-
Question 11 of 20
Prove the logical equivalence using a Double Negation and implication laws, or a Truth Table.
Model answer
Proof using Truth Table:
T T T F T T F F F F F T T T T F F T T T Explanation:
Comparing the column for and , the truth values are identical in every row. Therefore, the statements are logically equivalent. -
Question 12 of 20
What is a Counterexample? Use a counterexample to show that the statement "For every positive integer , is a prime number" is false.
Model answer
Definition:
A counterexample is a specific instance or case in the domain of a universal quantification () for which the statement is false. Finding just one counterexample is sufficient to disprove a universal statement.Disproof of the statement:
- Statement: is prime for all .
- Let's test .
- Substitute :
- Analysis: is a composite number (divisible by 41 and 43), not a prime number.
- Conclusion: Since is not prime, the universal statement is false.
-
Question 13 of 20
Describe the method of Proof by Cases (Exhaustive Proof). Use it to prove that for every real number , .
Model answer
Method Description:
Proof by cases involves breaking the domain into distinct categories (cases) that cover all possibilities and proving the statement for each case individually.Proof:
We divide the real numbers into two cases: and .
-
Case 1:
By definition of absolute value, if , then .
Since , it follows that . -
Case 2:
By definition of absolute value, if , then .
Since is negative, is positive. Therefore, , which implies .
Conclusion:
In both cases, . Since these cases cover all real numbers, the statement is true. -
-
Question 14 of 20
Explain the strategy for Proofs of Equivalence (Biconditional Statements). Prove that: For an integer , is odd if and only if is odd.
Model answer
Strategy:
To prove a biconditional statement ("p if and only if q"), we must prove two separate implications:- (Necessity)
- (Sufficiency)
Proof:
-
Part 1: If is odd, then is odd ().
- Assume .
- .
- is in the form , so is odd.
-
Part 2: If is odd, then is odd ().
- We use contraposition: Prove "If is even, then is even".
- Assume .
- .
- is in the form , so is even.
- Since the contrapositive is true, the original implication ( odd odd) is true.
Conclusion: Since both directions hold, is odd iff is odd.
-
Question 15 of 20
Discuss common Mistakes in Proofs. Explain the fallacy of Affirming the Consequent and Denying the Antecedent with examples.
Model answer
Common Mistakes: Arithmentic errors, circular reasoning (begging the question), and logical fallacies.
1. Affirming the Consequent:
- Logic: .
- Error: Assuming that if the conclusion is true, the hypothesis must be true. This is invalid.
- Example: "If I have the flu (), I have a fever (). I have a fever (). Therefore, I have the flu ()." (Incorrect, fever could be from infection).
2. Denying the Antecedent:
- Logic: .
- Error: Assuming that if the hypothesis is false, the conclusion must be false.
- Example: "If it barks (), it is a dog (). It does not bark (). Therefore, it is not a dog ()." (Incorrect, some dogs don't bark/basenji).
-
Question 16 of 20
Prove that there is no rational number such that . (Hint: Use Proof by Contradiction and cases).
Model answer
Proof Strategy:
This often relies on the Rational Root Theorem or contradiction properties of integers.Proof by Contradiction:
- Assume there exists a rational root in lowest terms (, ).
- .
- Analysis of Parity (Odd/Even):
- Case 1: and are both odd. Sum of three odd numbers is odd (). Contradiction.
- Case 2: is even, is odd. (even) + (even) + (odd) = Odd. Contradiction.
- Case 3: is odd, is even. (odd) + (even) + (even) = Odd. Contradiction.
- Case 4: and are even. Impossible as .
- Conclusion: In all cases, cannot equal 0. Therefore, no such rational number exists.
-
Question 17 of 20
What are Constructive and Non-constructive Existence Proofs? Give an example of a Constructive Existence Proof.
Model answer
Definitions:
- Constructive Existence Proof: Demonstrates the existence of an element such that is true by finding a specific example or providing a method to construct it.
- Non-constructive Existence Proof: Proves that such an must exist (usually by contradiction or intermediate value theorem) without explicitly identifying the element.
Example of Constructive Proof:
- Statement: Prove there exists a positive integer that can be written as the sum of cubes of positive integers in two different ways.
- Proof: Consider the number 1729. We have explicitly found the number 1729, proving the existence.
-
Question 18 of 20
Define Uniqueness Proof. Prove that if is a real number, such that , there is a unique real number such that .
Model answer
Definition:
A uniqueness proof shows that there is exactly one element satisfying a property . It involves two steps: Existence (there is an ) and Uniqueness (if also satisfies it, ).Proof:
- Existence: Let . Since , is a valid real number. Multiplying gives . So, a solution exists.
- Uniqueness: Suppose there are two numbers and such that and .
We have .
Since , we can divide both sides by (or multiply by ). - Conclusion: Since any other solution must equal , the solution is unique.
-
Question 19 of 20
Translate the following argument into propositional logic and determine if it is valid:
"If it rains, I will not go to the park. If I do not go to the park, I will study. Therefore, if it rains, I will study."Model answer
Translation:
Let:- : It rains.
- : I go to the park.
- : I study.
Premises:
- If it rains, I will not go to the park:
- If I do not go to the park, I will study:
Conclusion:
- Therefore, if it rains, I will study:
Validity Check:
This argument follows the rule of Hypothetical Syllogism:Since Hypothetical Syllogism is a valid inference rule (tautology), the argument is Valid.
-
Question 20 of 20
Prove that the sum of two rational numbers is rational.
Model answer
Proof:
- Assumptions: Let and be two rational numbers.
- Definition: By definition of rational numbers:
for integers with .
for integers with . - Operation: Consider the sum :
- Simplification: Find a common denominator:
- Closure Properties: Since are integers, , , and are integers. Consequently, the numerator is an integer, and the denominator is a non-zero integer (since and ).
- Conclusion: Since can be expressed as a ratio of two integers with a non-zero denominator, is rational.
Q.E.D.
That's unit 1
Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.
Nearly through. Did unit 1 of MTH401 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 1 of MTH401 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill; the rest comes out of a student's own pocket: the domain, the storage, and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason. to try again.
Nothing here is ever locked, and nothing unlocks.