0% found this document useful (0 votes)
34 views2 pages

Proofs in Discrete Mathematics

The document contains 5 questions regarding logic and proofs: 1. It analyzes the logical relationships between statements involving variables x, y, and xy=0. 2. It proves the logical equivalence of two conditional statements using a truth table. 3. It provides direct and indirect proofs of statements involving odd and even numbers. 4. It evaluates quantified statements for truth value and provides examples or counterexamples. 5. It presents several conditional statements and their converse, contrapositive, and inverse forms to determine logical validity.

Uploaded by

wafi al
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views2 pages

Proofs in Discrete Mathematics

The document contains 5 questions regarding logic and proofs: 1. It analyzes the logical relationships between statements involving variables x, y, and xy=0. 2. It proves the logical equivalence of two conditional statements using a truth table. 3. It provides direct and indirect proofs of statements involving odd and even numbers. 4. It evaluates quantified statements for truth value and provides examples or counterexamples. 5. It presents several conditional statements and their converse, contrapositive, and inverse forms to determine logical validity.

Uploaded by

wafi al
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1

Discrete Math

Q1. Let A: “xy = 0”, B: “x = 0”, and C: “y = 0”. Then, the original statement can be written as

A ⇒ (B & C). This statement is false, since xy = 0 is true even if only x or y equals 0.

Statement Description Formula Truth value


Original If xy = 0 then x = 0 and y = 0 A ⇒ (B & C) F
Converse If x = 0 and y = 0 then xy = 0 (B & C) ⇒ A T
Inverse If not xy = 0 then not (x = 0 and y = 0) ¬A ⇒ ¬(B & C) T
Contrapositive If not (x = 0 and y = 0) then not xy = 0 ¬(B & C) ⇒ ¬A F

Q2. a) In the truth table below, the columns for (p ∧ ¬r) → ¬q and p → (q → r) are

equivalent, therefore (p ∧ ¬r) → ¬q ≡ p → (q → r).

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

b) (p ∧ ¬r) → ¬q ≡ ¬(p ∧ ¬r) ∨ ¬q ≡ ¬p ∨ r ∨ ¬q ≡ p → (r ∨ ¬q) ≡ p → (q → r).

Q3. a) Direct proof. If x is odd and y is even, then x = 2m + 1 and y = 2n for some integers m

and n. Now x + y = 2m + 1 + 2n = 2(m + n) + 1. Therefore, x + y is odd.

b) Disproof by example. Let x = –2 and y = –1. Then x < y, but x2 = 4 > 1 = y2. So, the

statement “If x < y then x2 < y2” is not true.

c) Proof by contrapositive. Suppose n is even, then 3n is also even and 3n + 11 is odd. Since

the statement “If n is even then 3n + 11 is odd” is true, then its contrapositive “If 3n + 11 is

even then n is odd” must also be true.


2

Q4.

Statement Truth value Proof


∃x∃y p(x, y) T Example: x = 1, y = 2.
∃y∀x p(x, y) T Example: y = 1.
∀x∀y p(x, y) F Counterexample: x = 2, y = 3.
∀x∃y p(x, y) T Equivalent to ∃y∀x p(x, y).
∀y∃x p(x, y) T Example: x = 1.

∀p (t(p) ∨ c(p)). For any proposition p, it is either a tautology or a contradiction.

(∀p t(p)) ∨ (∀p c(p)). Either all propositions are tautologies or all propositions are

contradictions.

∃p (t(p) ∨ c(p)). There is a proposition p, such that it is either a tautology or a contradiction.

Q5. (p ∧ q) → p, p ∧ (p → r) → r.

w → ¬q ≡ q → ¬w, (w ∨ s) → (¬w → s).

(q → ¬w) ∧ (¬w → s) → (q → s), q ∧ (q → s) → s.

((p ∧ q) ∧ (p → r) ∧ (q → s)) → (r → s).

If n > 1, then n2 > 1. Suppose that n2 > 1. Then n > 1. Converse. False.

If n > 2, then n2 > 4. Suppose that n2 ≤ 4. Then n ≤ 2. Contrapositive. True.

If n > 3, then n2 > 9. Suppose that n ≤ 3. Then n2 ≤ 9. Inverse. False.

Common questions

Powered by AI

The statement ∀x∃y p(x, y) is logically equivalent to ∃y∀x p(x, y). This equivalence is determined by their truth values being consistent with certain conditions. The examples or counterexamples typically illustrate how the quantifiers define the domain assumptions .

Employing the contrapositive involves flipping and negating a statement, such as proving 'If n > 2, then n² > 4' by showing 'If n² ≤ 4, then n ≤ 2'. This validates logical statements through proving equivalence and dependence on the negated conditions, aiding in understanding relationships in mathematical logic .

An example is the statement 'If x < y, then x² < y²', which can be invalidated by x = -2, y = -1, leading to x² = 4 > y² = 1. This shows the fallacy in assuming linear inequality directly implies inequality in power, emphasizing the importance of verifying logical forms .

The original statement A, 'xy = 0' implies 'x = 0 and y = 0' (A ⇒ (B & C)), is false, as either x or y can be zero for the product to be zero. Its converse, '(x = 0 and y = 0) implies xy = 0' ((B & C) ⇒ A), is true because if both x and y are zero, their product is zero. The contrapositive, 'if not (x = 0 and y = 0) then not xy = 0' (¬(B & C) ⇒ ¬A), is false because one of the factors being zero suffices for xy to be zero .

The equivalence is shown through the truth table. For both expressions: (p ∧ ¬r) → ¬q and p → (q → r), they have the same truth values under all possible truth assignments for p, q, and r. Thus, (p ∧ ¬r) → ¬q ≡ p → (q → r) is confirmed by the equivalence of their truth tables .

The statement ∀p (t(p) ∨ c(p)) means that for any proposition p, it is either a tautology or a contradiction, thus exploring the definitive nature of logical propositions. However, the assertion (∀p t(p)) ∨ (∀p c(p)), which suggests all propositions are either tautologies or contradictions, isn't necessarily true in all contexts, highlighting logical distinctions .

The statement ∃p (t(p) ∨ c(p)) implies that there exists a proposition p such that it stands as either a tautology or a contradiction. This reflects on the nature of a logical environment where distinguishing characteristics exist for particular statements, unlike the universal quantification of propositions .

Proof by contrapositive negates both the hypothesis and conclusion and proves that if the conclusion is false, the hypothesis is false as well, like proving 'If n is even then 3n + 11 is odd' with its contrapositive 'If 3n + 11 is even then n is odd.' In contrast, a direct proof would establish forward conditions directly, such as 'If x is odd and y is even, x + y is odd', demonstrating techniques in integer analysis .

The direct proof shows that the sum of an odd integer (x = 2m + 1) and an even integer (y = 2n) is always odd. However, the disproof by example (using x = -2, y = -1) illustrates that the statement 'If x < y then x² < y²' is false, showing that such statements aren't universally applicable and require rigorous verification .

Statements like (p ∧ q) → p and p ∧ (p → r) → r are always true by their implication structure. However, (w → ¬q) is equivalent to (q → ¬w), demonstrating that swapping the components while maintaining equivalency involves careful formula transformations, highlighting logical interdependencies .

You might also like