Unit1 - Subjective Questions
MTH401 • Practice Questions with Detailed Answers
Construct the truth table for the compound proposition and determine if it is a tautology.
Truth Table Construction:
| $ eg p eg qp \to q eg q \to eg p(p \to q) \leftrightarrow ( eg q \to eg p)$ |
||||||
|---|---|---|---|---|---|---|
| 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.
Define Tautology, Contradiction, and Contingency with a mathematical example for each.
1. Tautology:
A compound proposition that is always true, no matter what the truth values of the propositional variables that occur in it.
- Example: $p \lor
eg p$ (Law of Excluded Middle).
2. Contradiction:
A compound proposition that is always false.
- Example: $p \land
eg p$.
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 ).
State and prove De Morgan's Laws for propositional logic using truth tables.
Statement of De Morgan's Laws:
- $
eg (p \land q) \equiv
eg p \lor
eg q$ - $
eg (p \lor q) \equiv
eg p \land
eg q$
Proof for First Law ($
eg (p \land q) \equiv
eg p \lor
eg q$):
| $ eg (p \land q) eg p eg q eg p \lor eg q$ |
||||||
|---|---|---|---|---|---|---|
| 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.
Using logical equivalences (without truth tables), show that .
Derivation:
Conclusion: The statement is proven.
Explain the difference between Universal Quantifier () and Existential Quantifier (). Translate the statement: "Every student in this class has studied Calculus" into logical notation.
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: .
Provide the negation of the following nested quantifier statement: . Simplify the negation so that no negation symbol appears outside a quantifier or parentheses.
Step-by-Step Negation:
- Original: $
eg [\forall x \exists y (P(x, y) \to Q(x, y))]$ - Apply De Morgan's Law for quantifiers (change to ):
$\exists x
eg [\exists y (P(x, y) \to Q(x, y))]$ - Apply De Morgan's Law for quantifiers again (change to ):
$\exists x \forall y
eg (P(x, y) \to Q(x, y))$ - Negate the implication (Recall $
eg(A \to B) \equiv A \land
eg B$):
$\exists x \forall y (P(x, y) \land
eg Q(x, y))$
Final Answer:
Prove the following statement using a Direct Proof: "If is an odd integer, then is an odd integer."
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.
Prove the following statement using Proof by Contraposition: "For an integer , if is odd, then is odd."
Structure of Contraposition:
To prove , we prove $
eg q \to
eg p$.
- : is odd.
- : is odd.
- $
eg qn$ is even. - $
eg p3n + 2$ is even.
Proof:
- **Assume $
eg qn$ 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.
Distinguish between Vacuous Proof and Trivial Proof with examples.
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.
Prove that is irrational using Proof by Contradiction.
Proof:
- Assumption (Negation): Assume is rational.
- Definition: There exist integers and ($b
eq 0\sqrt{2} = \frac{a}{b}\gcd(a, b) = 1$). - 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.
Prove the logical equivalence using a Double Negation and implication laws, or a Truth Table.
Proof using Truth Table:
| $ eg p eg p \lor q$ |
||||
|---|---|---|---|---|
| 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 $
eg p \lor q$, the truth values are identical in every row. Therefore, the statements are logically equivalent.
$p \to q \equiv
eg p \lor q$
What is a Counterexample? Use a counterexample to show that the statement "For every positive integer , is a prime number" is false.
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.
Describe the method of Proof by Cases (Exhaustive Proof). Use it to prove that for every real number , .
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.
Explain the strategy for Proofs of Equivalence (Biconditional Statements). Prove that: For an integer , is odd if and only if is odd.
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.
Discuss common Mistakes in Proofs. Explain the fallacy of Affirming the Consequent and Denying the Antecedent with examples.
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: $((p \to q) \land
eg p) \to
eg q$. - 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 ($
eg p
eg q$)." (Incorrect, some dogs don't bark/basenji).
Prove that there is no rational number such that . (Hint: Use Proof by Contradiction and cases).
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 ($a^3+ab^2+b^3
eq 0$). 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 .
- Case 1: and are both odd. Sum of three odd numbers is odd ($a^3+ab^2+b^3
- Conclusion: In all cases, cannot equal 0. Therefore, no such rational number exists.
What are Constructive and Non-constructive Existence Proofs? Give an example of a Constructive Existence Proof.
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.
Define Uniqueness Proof. Prove that if is a real number, such that , there is a unique real number such that .
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 $x
eq 0$, $\frac{1}{x}x(\frac{1}{x}) = 1$. So, a solution exists. - Uniqueness: Suppose there are two numbers and such that and .
We have .
Since $x
eq 0x\frac{1}{x}$).
- Conclusion: Since any other solution must equal , the solution is unique.
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."
Translation:
Let:
- : It rains.
- : I go to the park.
- : I study.
Premises:
- If it rains, I will not go to the park: $p \to
eg q$ - If I do not go to the park, I will study: $
eg q \to r$
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.
Prove that the sum of two rational numbers is rational.
Proof:
- Assumptions: Let and be two rational numbers.
- Definition: By definition of rational numbers:
for integers with $q
eq 0$.
for integers with $s
eq 0$. - 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 $q
eq 0s
eq 0$). - Conclusion: Since can be expressed as a ratio of two integers with a non-zero denominator, is rational.
Q.E.D.