Propositional Logic Worksheet 1011

0% found this document useful (0 votes)
291 views2 pages
This document contains a mathematics worksheet covering propositional logic and set theory problems. In part 1, students are asked to determine truth values of various logical propositions, …

Uploaded by

James Demisse
  • Part I: Propositional Logic
  • Part II: Set Theory

ADDIS ABABA UNIVERSITY

DEPARTMENT OF MATHEMATICS
Mathematics for Natural Sciences (Math 1011)
worksheet I - November 2019

Part I: Propositional Logic.

(1) Which of the following sentences are propositions? What are the truth values of those
that are propositions?
(a) 5 < 9 and there are infinitely many prime numbers.
(b) x2 = y 2 provided that x = y.
(c) How many courses are you taking this semester?
(d) The first human kind lived in Ethiopia.
(2) Consider the following propositions
r : Rabbits have been seen in the area.
b : Berries are ripe along the path w: Walking on the path is safe.
Write the following propositions using r, b and w and logical connectives.
a) It is not safe to walk along the path, but rabbits have not been seen in the area
and the berries along the path are ripe.
b) For walking on the path to be safe, it is necessary but not sufficient that berries
not be ripe along the path and for rabbits not to have been seen in the area.
c) Walking is not safe on the path whenever rabbits have been seen in the area and
berries are ripe along the path.
(3) Given the following propositions
p : You have the flu. r: You pass the course.
q : You miss the final examination.
Express each of the following propositions as an ordinary English sentence.
a) ¬q ⇔ r b) ¬(p ∧ q) c) (p ⇒ ¬r) ∨ (q ⇒ ¬r).
(4) Determine the truth value of p if
a) (q ⇒ ¬p) ∨ r is False b) ¬q and p ⇒ q are True
c) (p ∨ ¬q) ⇒ (¬r ∨ p) is False.
(5) If ¬[¬r ⇒ ¬(p ∧ q)] is true, then find the truth value of [(p ⇔ r) ∨ q] ⇔ (¬p ∧ r).
(6) Prove that
a) (p ∧ q) ⇒ r ≡ p ⇒ (q ⇒ r) b) (q ∨ r) ⇒ p ≡ (q ⇒ p) ∧ (r ⇒ p).
(7) For the following propositions, indicate whether it is a tautology, a contradiction, or
neither. Use a truth table to decide.
a) [p ∧ (p ⇒ q)] ⇒ q b) (p ⇒ q) ∧ ¬(¬q ⇒ ¬p).
c) (¬q ⇒ ¬p) ⇒ ((¬q ⇒ p) ⇒ q).
(8) Determine whether the following statements are valid or invalid.
a) If I do not wake up, then I cannot go to work.
If I cannot go to work, then I will not get paid.
Therefore, if I do not wake up, then I will not get paid.
b) If I study, then I will not fail Math 1011.
If I do not play cards to often, then I will study.
I failed Math 1011.
Therefore, I played cards too often.
1
(9) Let P (x) : x is an integer greater than 5 Q(x) : x is a natural number.
Determine the truth value of the following propositions.
a) P (3) ∧ Q(−2) b) P (2) ⇒ Q(2) c) [P (3) ⇒ Q(4)] ∨ Q(9).
(10) Let P (x) : x is a prime number Q(x) : x is an even number
R(x) : x is an odd number. S(x) : x is an integer.
Write a sentence, which corresponds to each of the following:
a) R(x) ∨ Q(x) ⇒ P (x) b) P (x) ⇔√Q(x) ∨ R(x).
(11) If U = R, then find the truth value of (∀x)(∃y)( x2 = 16 ⇒ y + x = 10).
(12) Let P (x) : x is a composite number Q(x) : x is a prime number.
Find the truth values of (i) (∃x)[P (x) ⇔ Q(x)] (ii) (∀x)[P (x) ⇔ Q(x)].
(13) Find the truth values of the following where U = R
a) (∃x)(∀y)(x2 < y 2 ) b) (∀x)[x 6= 0 ⇒ (∃y)(xy = 4)].

Part II: Set Theory.

(1) Write the following sets in complete listing or partial listing method.
a) A = {x|x is an integer and 3 < x ≤ 10} ∩ {x|x is even integer}.
b) B = {x ∈ N|(x − 1)(x − 3) 6= 0 ⇔ x + 1 = x}.
c) C = {x ∈ N|x ≥ 3 ⇔ x < 0}.
d) D = {x|x ∈ N ∧ (x − 1)(x − 3) 6= 0 ⇔ x + 1 = x}.
(2) If n(A\B) = 18, n(A ∪ B) = 70 and n(A ∩ B) = 25, then find n(B).
(3) For all subsets A, B and C of some Universal set U , prove or disprove the following
statements.
a) (A ⊆ B ∧ A ⊆ C) ⇒ A ⊆ B ∩ C b) A ⊆ B ⇔ A ∩ B = A
c) Ac \B c = B\A d) A ⊆ B ⇒ A ∪ (B\A) = B.
(4) Let U = {x ∈ Z| − 12 ≤ x ≤ 6}.
A = {x ∈ Z|x = 2n ∧ x = 3m, for − 4 ≤ n ≤ 8 and − 2 ≤ m ≤ 3}.
B = {0, 1, 3} C = {x ∈ Z|x = n3 , n ∈ A}.
Then find
a) A\[B ∪ C]c b) (A\B)\(A ∪ C)c c) (A ∩ B)\C.
(5) (a) For every natural number n, define An = {x ∈ Z| −24 n
≤ 2x + 1 ≤ 24
n
}.
Then find
i) ∪6n=1 An ii) [ ( ∪4n=1 An ) \( ∩3n=1 An ) ] c iii) ∩An , n ∈ N.
(b) For every natural number n, define
An = {x ∈ N|x = n ⇒ x < n}.
Then find
i) ∪10
n=1 An ii) ∪An , n ∈ N.

Common questions

Powered by AI

Proving such an expression false illustrates the limitation of universal logic when particular solutions (such as x making √x^2 = 16 true) lead to no satisfying y that upholds y + x = 10 across all x in the universal set. It highlights how constraints in one part of the expression can lead to inconsistency across the domain, thus showing definitively when universal propositions cannot always hold .

The argument can be structured as a series of logical implications: If studying leads to not failing, and avoiding frequent card games leads to studying, the failure suggests a lack of studying, implying frequent card games. This chain of logical reasoning uses contrapositives: failing implies no studying; no studying implies frequent cards, therefore confirming the causative link between these habits and academic outcomes .

The situation can be described using the propositions: 'r' for rabbits have been seen, 'b' for berries are ripe, and 'w' for walking is safe. The expression is ¬w ∧ r ∧ b, meaning walking is not safe if rabbits have been seen and berries are ripe .

The statement P(x) ⇒ Q(x) is neither a tautology nor a contradiction if its truth value depends on specific values of x. A tautology is true for any interpretation, and a contradiction is false for any interpretation. If P(x) is sometimes true and sometimes false, and the same for Q(x), then P(x) ⇒ Q(x) isn't true for all assignments, making it neither a tautology nor a contradiction .

The proposition ¬(q ⇒ p) is false when q ⇒ p is true, which happens when either q is false (making q ⇒ p true by default) or both q and p are true. Thus, ¬(q ⇒ p) will be false if q is false or both q and p are true .

A statement like P(x) ∧ Q(x), where P(x) is 'x is an integer greater than 5' and Q(x) is 'x is a natural number', would not hold true if Q(x) is altered to include negative integers because natural numbers do not include negatives. Hence, any instance of x being negative immediately falsifies Q(x) and thus invalidates the conjunction as a whole .

Determining the truth involves breaking down the proposition into simpler parts: (p ⇔ r), (¬p ∧ r), and evaluating them separately. The expression uses equivalence, disjunction, and conjunction, requiring all these sub-expressions to be evaluated in various truth conditions for p, q, and r. The complexity arises from ensuring equivalence holds across differing truth scenarios, which demands a detailed truth table analysis .

This demonstrates the property of the transitive rule in logic where nested implications and conjunctions can be reordered while retaining logical equivalence. Essentially, by breaking down (p ∧ q) ⇒ r, you logically extend p, assuming the condition q, to achieve r, illustrating that adding constraints sequentially in this manner preserves logical truth across equivalent forms .

The principle of intersection in relation to subset indicates that if A is a subset of both B and C, then A must also intersect with B and C at A itself, thus proving A ⊆ B ∩ C. This shows that common elements across sets, by subsets, are themselves part of the intersection, ensuring cohesion and clearly delineating subset elements .

The logical necessity is expressed by saying that for walking on the path to be safe, it is necessary that berries are not ripe and rabbits are not seen. This is expressed as w ⇒ (¬b ∧ ¬r), where w: walking is safe, b: berries are ripe, and r: rabbits are seen. This means that if walking is safe, then necessarily berries are not ripe and rabbits are not seen .

ADDIS ABABA UNIVERSITY
DEPARTMENT OF MATHEMATICS
Mathematics for Natural Sciences (Math 1011)
worksheet I - November 2019
Par
(9) Let P(x) : x is an integer greater than 5
Q(x) : x is a natural number.
Determine the truth value of the following propos

You might also like