Proof by contrapositive - Discrete Math
- A student attempts to prove by contrapositive that "If , then is one-to-one." The student writes: "Assume is not one-to-one. Then there exist such that . This means , so ." What should the student do next to complete the proof? Answer: Factor as and show this leads to , which is impossible for real numbers. In a proof by contrapositive, we assume the negation of the conclusion and derive the negation of the hypothesis. The student correctly assumed is not one-to-one and derived . Factoring the left side gives . Since , we can divide by to get . But for real numbers, so it cannot equal . This contradiction shows our assumption was false. Choice B misunderstands the proof structure. Choice C attempts proof by contradiction rather than contrapositive. Choice D is not a valid proof technique for this general statement.
- Consider proving "If , then and " by contrapositive. Which assumption leads to the most direct proof path? Answer: Assume or , then show that shares a common factor with either 8 or 3, both of which divide 12. When proving an implication by contrapositive, you need to prove the logically equivalent statement: "not Q implies not P." Here, the contrapositive of "If , then and " is "If or , then ." Option C correctly identifies this contrapositive assumption and provides the most direct proof path. When , then and 8 share a common factor greater than 1. Since divides , any common factor of and 8 is also a common factor of and 12, making . Similarly, if , then and 3 share a common factor, and since 3 divides 12, we get . Option A proves the original statement directly, not by contrapositive. Option B uses the wrong logical structure—it assumes both conditions are false (AND) rather than at least one is false (OR). This misrepresents the negation of " and ." Option D also incorrectly assumes both conditions are false and unnecessarily invokes the Chinese Remainder Theorem with 24 instead of 12. Remember: when negating "P and Q," you get "not P or not Q," not "not P and not Q." This logical principle is crucial for setting up contrapositive proofs correctly.
- A student attempts to prove "If is odd, then is odd" using contrapositive. They write: "Assume is even. Then for some integer . So , which is even." What is the most significant issue with this proof? Answer: The proof is actually correct and complete; no significant issues exist with the logical structure or mathematical content presented. When evaluating proofs by contrapositive, you need to check three key elements: correct logical structure, valid mathematical reasoning, and complete argumentation. The student's proof is actually mathematically sound and logically complete. They correctly identify that the contrapositive of "If is odd, then is odd" is "If is even, then is even." They assume is even, express it as , and correctly calculate , showing is even. This proves the contrapositive, which establishes the original statement. Option A incorrectly claims an algebraic error. The calculation is perfectly valid—factoring out 2 from gives , not . Both expressions show is even, which is what matters. Option B suggests the proof lacks clarity by not stating the contrapositive explicitly. While stating it would improve readability, this omission doesn't constitute a "significant issue" since the logical flow is still correct and followable. Option D fundamentally misunderstands contrapositive logic. The contrapositive of "If P, then Q" is "If not Q, then not P." Here, that means "If is even, then is even"—exactly what the student proved. Remember: when checking contrapositive proofs, verify they assume the negation of the conclusion and prove the negation of the hypothesis. Don't be distracted by minor presentation issues if the core logic is solid.
- A student claims: "To prove 'If is prime and , then is odd' by contrapositive, I assume is even and show is not prime or ." What is the most significant error in this reasoning? Answer: The reasoning is actually correct and complete; assuming is even and deriving that is either composite or equals 2 properly proves the contrapositive. The student's reasoning is actually correct. The original statement "If is prime and , then is odd" has contrapositive "If is even, then is not prime or ." The student correctly identifies this. When is even, either (so ) or (making composite since it's even). Choice A suggests an incomplete approach. Choice B incorrectly dismisses contrapositive proof. Choice C misunderstands the contrapositive formation for compound hypotheses.
- A theorem states: "If a graph is connected and has exactly two vertices of odd degree, then has an Eulerian path but not an Eulerian cycle." What would be the most challenging part of proving this by contrapositive? Answer: Correctly negating the compound conclusion to get " has no Eulerian path or has an Eulerian cycle" and handling both cases systematically. The contrapositive requires negating " has an Eulerian path but not an Eulerian cycle," which becomes " has no Eulerian path OR has an Eulerian cycle." This creates two separate cases to consider, making the proof structure more complex. Choice B is incorrect - disconnected graphs can still have Eulerian paths in components. Choice C describes just one part of the proof. Choice D states a true fact but it's not directly relevant to this contrapositive proof.
- Consider the statement "If has no real roots, then ." To prove this by contrapositive, which approach correctly handles the inequality direction? Answer: Assume , then the discriminant is non-negative, so has at least one real root by the quadratic formula. When you encounter proof by contrapositive problems, remember that you're proving "not Q implies not P" instead of the original "P implies Q." This requires careful attention to logical negations, especially with inequalities. The original statement is: "If has no real roots, then ." To prove by contrapositive, you assume the negation of the conclusion and prove the negation of the hypothesis. The negation of "" is "," and the negation of "has no real roots" is "has at least one real root." Choice C correctly identifies this approach. When , the discriminant is non-negative, which means the quadratic formula yields real solutions. Specifically, if the discriminant equals zero, there's one repeated real root; if positive, there are two distinct real roots. Either way, the quadratic has at least one real root. Choice A incorrectly assumes , which is not the proper negation of the strict inequality. Choice B uses , missing the boundary case where the discriminant equals zero. Choice D assumes , which excludes the critical case where the discriminant is zero and there's exactly one real root. Study tip: When negating inequalities in contrapositive proofs, remember that "< becomes ≥" and "> becomes ≤." The boundary cases often matter in mathematical arguments.
- To prove "If and are rational numbers and is rational, then " by contrapositive, a student assumes and writes where are integers with and . If were rational, what contradiction would arise? Answer: We could solve for where is rational, making rational, which contradicts the irrationality of . When you encounter a proof by contrapositive, you're proving "if P then Q" by instead proving "if not Q then not P." Here, we assume (not Q) to show that cannot be rational (not P). The key insight is algebraic manipulation. If we assume is rational (call it ), then we can rearrange: , so . Since and are both rational, their difference is rational. Now, since and is rational, we can divide both sides by : . This expresses as a quotient of two rational numbers, making it rational—but we know is irrational. This contradiction proves our assumption was wrong. Answer choice A incorrectly focuses on being simultaneously rational and irrational, but is simply irrational when . Choice B correctly notes that should be irrational, but this doesn't create the contradiction we need—we assumed it was rational to derive our contradiction. Choice C vaguely mentions inability to simplify without showing the specific algebraic contradiction. Answer D correctly identifies the contradiction: we derive that must be rational, contradicting its known irrationality. Study tip: In contrapositive proofs involving irrationals, look for ways to isolate the irrational term and show it must equal something rational—that's usually where your contradiction lies.
- A theorem states: "If a graph is connected and has exactly two vertices of odd degree, then has an Eulerian path." Which statement would be proven in a contrapositive proof of this theorem? Answer: If does not have an Eulerian path, then is disconnected or does not have exactly two vertices of odd degree. When you encounter questions about contrapositive proofs, remember that the contrapositive of "If P, then Q" is "If not Q, then not P." These statements are logically equivalent, so proving the contrapositive proves the original theorem. The original theorem states: "If [ is connected AND has exactly two vertices of odd degree], then [ has an Eulerian path]." To form the contrapositive, you negate both parts and reverse their order: "If [ does NOT have an Eulerian path], then [ is NOT (connected AND has exactly two vertices of odd degree)]." Using De Morgan's law, "NOT (connected AND exactly two odd vertices)" becomes "disconnected OR does not have exactly two odd vertices." This matches option D perfectly. Option A describes a different theorem about Eulerian cycles, not the contrapositive of our given statement. Option B is the converse of the original theorem (switching P and Q), which is not logically equivalent to the original. Option C attempts the contrapositive but gets the direction wrong—it negates the hypothesis instead of the conclusion first, making it an invalid contrapositive. The key insight is that D correctly negates the conclusion ("does not have an Eulerian path") and then negates the entire compound hypothesis using De Morgan's law. Study tip: For contrapositive questions, always follow this formula: "If not Q, then not P." When the hypothesis has multiple parts connected by "and," remember that negating it requires "or" between the negated parts. Practice identifying contrapositives versus converses, as these are commonly confused on discrete math exams.
- Which statement best explains why contrapositive proof is sometimes preferred over direct proof for implications of the form "If , then "? Answer: The contrapositive often provides more concrete or constructive assumptions to work with, especially when involves existence statements or complex conditions. When you encounter questions about proof strategies, focus on the practical advantages each method offers rather than their logical equivalence. Contrapositive proof works by proving instead of . The key insight is that negating the conclusion often gives you something concrete to work with. For example, if states "there exists an element with property X," then means "no element has property X" — a much clearer assumption for building a proof. Similarly, when involves complex conditions, frequently simplifies to more manageable statements that naturally lead to contradicting . Choice A is incorrect because contrapositive proof doesn't establish the converse (). Both direct and contrapositive proofs are logically equivalent in strength — they prove exactly the same statement. Choice C misunderstands circular reasoning. The conceptual relationship between hypothesis and conclusion doesn't create circularity in either proof method. Circular reasoning occurs when you assume what you're trying to prove, not when concepts are related. Choice D is wrong because contrapositive proofs aren't inherently shorter or more computationally efficient. The number of steps depends on the specific problem, and both methods involve the same logical complexity. Study tip: When deciding between direct and contrapositive proof, examine the conclusion carefully. If it's an existence statement, contains multiple conditions, or seems difficult to construct directly, try working backwards from its negation — you'll often find a clearer path to the contradiction you need.
- Consider the statement: "If is even, then is even." Which of the following correctly represents a proof by contrapositive of this statement? Answer: Assume is odd. Then for some integer , so , which is odd. Therefore, if is odd, then is odd. A proof by contrapositive of "If P, then Q" proves "If not Q, then not P." For the statement "If is even, then is even," the contrapositive is "If is odd, then is odd." Choice A correctly proves this contrapositive by assuming is odd and showing must be odd. Choice B incorrectly attempts to work backwards from being odd but makes an invalid inference about square roots. Choice C proves the converse, not the contrapositive. Choice D attempts proof by contradiction, not contrapositive.
- A student wants to prove by contrapositive that "If is differentiable at , then is continuous at ." The student begins: "Assume is not continuous at . Then..." What should follow to complete this proof correctly? Answer: There exists such that for all , there exists with but , which prevents the derivative limit from existing. When approaching proof by contrapositive, you need to precisely negate both the hypothesis and conclusion, then show the contrapositive statement is true. The original statement is "differentiable at implies continuous at ," so the contrapositive is "not continuous at implies not differentiable at ." The correct approach uses the formal definition of continuity. If is not continuous at , then there exists some such that no matter how small you make , you can always find points within of where . This persistent "jump" of at least prevents the difference quotient from having a limit as , since the numerator can't get arbitrarily small. Answer C correctly captures this rigorous argument. Answer A is wrong because discontinuity doesn't require unboundedness—functions can be discontinuous while remaining bounded. Answer B incorrectly assumes all discontinuities are jump discontinuities and wrongly claims the difference quotient is "undefined" rather than showing its limit doesn't exist. Answer D makes a vague connection between continuity and differentiability without establishing the crucial logical link—it doesn't explain why the failure of prevents the derivative limit from existing. Remember: contrapositive proofs require precise logical reasoning using formal definitions. Avoid intuitive but imprecise arguments—stick to the mathematical definitions of continuity and differentiability.
- To prove "If , then or " by contrapositive, which statement must be proven? Answer: If and , then The contrapositive of "If P, then Q" is "If not Q, then not P." Here, P is "" and Q is " or ". The negation of Q is "not( or )" which by De Morgan's law becomes " and ". The negation of P is "". Therefore, the contrapositive is "If and , then ". Choice B incorrectly negates the disjunction as a disjunction instead of a conjunction. Choice C states the converse. Choice D creates an unrelated statement.
- When proving "If is prime, then is even" by contrapositive, what is the key insight needed to complete the proof? Answer: Recognizing that when is odd, providing a non-trivial factorization. When approaching a proof by contrapositive, you need to prove the negation of the conclusion implies the negation of the hypothesis. Here, instead of proving "If is prime, then is even," you prove "If is odd, then is composite." The key insight is recognizing that when is odd, the expression factors as . You can verify this by expanding: . When is odd, both factors are integers greater than 1, proving the expression is composite. Option A discusses modular arithmetic properties but doesn't directly prove compositeness—showing an expression can't equal 2 doesn't prove it's composite for all values. Option C makes an irrelevant comparison; being greater than doesn't imply compositeness. Option D correctly notes the expression is always odd, but this observation alone doesn't complete the proof of compositeness. The correct answer is B because it provides the factorization that directly proves compositeness when is odd. Study tip: In contrapositive proofs involving primality, look for algebraic factorizations. When you can factor an expression into two non-trivial factors, you've immediately proven it's composite, which is often the goal in these problems.
- Consider the statement: "If is even, then is even." Which of the following correctly represents the contrapositive and provides the most appropriate proof strategy? Answer: If is odd, then is odd. Prove by assuming and showing for some integer . The contrapositive of "If P, then Q" is "If not Q, then not P." Here, P is " is even" and Q is " is even." So the contrapositive is "If is not even (odd), then is not even (odd)." Choice A correctly states this and gives the right proof approach. Choice B has the wrong conclusion in the contrapositive. Choice C reverses the logic incorrectly. Choice D describes proof by contradiction, not contrapositive.
- Which statement about proof by contrapositive is most accurate when comparing it to direct proof and proof by contradiction? Answer: Contrapositive proof and proof by contradiction both assume negations, but contrapositive derives a specific conclusion while contradiction seeks any logical inconsistency. Choice D correctly identifies the key distinction: both contrapositive and contradiction involve assuming negations, but contrapositive specifically assumes ¬Q to prove ¬P (deriving a targeted conclusion), while contradiction assumes ¬(P→Q) to derive any contradiction. Choice A is wrong because contrapositive and direct proof are logically equivalent but procedurally different. Choice B incorrectly claims they're logically distinct. Choice C incorrectly describes contrapositive as a special case of contradiction.
- Consider the statement: "If is a positive integer and is prime, then is prime." In a proof by contrapositive, we assume is composite. If where , which factorization property allows us to conclude that is composite? Answer: , and since , we get a non-trivial factorization. When proving statements about prime numbers using contrapositive, you're leveraging powerful algebraic identities to show that composite exponents lead to composite results. The key insight here involves the factorization formula for expressions of the form . When with both and greater than 1, we can write . Now applying the standard factorization with , we get . Since , both factors are greater than 1, proving is composite. This makes B correct. Option A presents an incorrect algebraic manipulation that doesn't follow from any standard factorization identity. Option C attempts a factorization but the expression doesn't actually factor into a product of two integers. Option D makes the fundamental error of assuming compositeness transfers directly through exponentiation, which isn't mathematically justified. Remember this pattern: when you see "if has property P, then has property Q" in number theory, look for algebraic identities that connect the structure of to the factorization of . The contrapositive approach often reveals these connections most clearly.
- Consider the statement "If is bounded above and exists, then for every , there exists such that ." Which contrapositive formulation captures the logical structure most precisely? Answer: If there exists such that for all , , then is not bounded above or does not exist. When you encounter contrapositive problems in discrete math, remember that the contrapositive of "If P, then Q" is "If not Q, then not P." Both statements are logically equivalent, so finding the correct contrapositive requires careful negation of both the hypothesis and conclusion. The original statement has the structure: "If [S is bounded above AND sup(S) exists], then [for every ε > 0, there exists s ∈ S such that s > sup(S) - ε]." To form the contrapositive, you need to negate both parts. The negation of "for every ε > 0, there exists s ∈ S such that s > sup(S) - ε" is "there exists ε > 0 such that for all s ∈ S, s ≤ sup(S) - ε." The negation of "S is bounded above AND sup(S) exists" is "S is not bounded above OR sup(S) does not exist." Answer B correctly captures this logical structure with precise quantifier placement and proper negation. Answer A uses "no element satisfies" instead of the more precise "for all s ∈ S, s ≤ sup(S) - ε," making it less mathematically rigorous. Answer C incorrectly negates the quantifiers—it should be "there exists ε" not "for all ε." Answer D uses vague language like "bounded nature fails" rather than the precise logical negation, and uses s < instead of s ≤. Study tip: When forming contrapositives, write out the logical structure with quantifiers first (∀, ∃), then carefully apply negation rules: ¬(∀x P(x)) = ∃x ¬P(x) and ¬(∃x P(x)) = ∀x ¬P(x).
- Consider proving by contrapositive: "If , , and are positive integers with , then at least one of or is even." The contrapositive assumes both and are odd. If and , what can be concluded about ? Answer: , but any perfect square is congruent to 0 or 1 modulo 4, so cannot equal . When you encounter a proof by contrapositive, you're proving "If P, then Q" by showing "If not Q, then not P." Here, we assume both and are odd and seek a contradiction with . Let's work with odd integers. If and , then: Therefore: This shows . However, any perfect square can only be congruent to 0 or 1 modulo 4. You can verify this: if is even, ; if is odd, . Since cannot be congruent to 2 modulo 4, we have our contradiction. Answer C captures this reasoning perfectly. Answer A contains the correct algebraic manipulation but incorrectly states the sum is "never divisible by 4" when it actually leaves remainder 2 when divided by 4. Answer B stops too early—being even doesn't create a contradiction by itself. Answer D is nonsensical since the sum of integers is always rational. Study tip: When proving statements about even/odd integers, modular arithmetic (especially mod 4) often reveals contradictions that basic even/odd analysis misses. Perfect squares have very specific patterns modulo 4.
- Consider proving "If and are integers such that is not divisible by 3, then neither nor is divisible by 3." The contrapositive approach requires assuming which condition and proving what conclusion? Answer: Assume at least one of or is divisible by 3, then prove is divisible by 3 using the fundamental theorem of arithmetic. The original statement is "If is not divisible by 3, then neither nor is divisible by 3." The contrapositive is "If at least one of or is divisible by 3, then is divisible by 3." Choice A correctly identifies this. Choice B proves the original statement directly. Choice C reverses the logic. Choice D assumes too strong a condition (both divisible by 3) rather than the correct assumption (at least one divisible by 3).
- Consider the statement: "If is a positive integer and is divisible by 3, then is divisible by 3." To prove this by contrapositive, we assume is not divisible by 3. What are the possible remainders when is divided by 3? Answer: Only remainder 1, proving the contrapositive since is never divisible by 3 when is not divisible by 3. If is not divisible by 3, then or . Case 1: If , then and . Case 2: If , then and . In both cases, has remainder 1 when divided by 3, so it's never divisible by 3. This proves the contrapositive. Choice B is incorrect about the remainder. Choice C incorrectly claims both remainders 1 and 2 are possible. Choice D misunderstands that finding only remainder 1 actually strengthens the proof.