








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









CS-210 Discrete Mathematics
p(x) : x is even q(x) : x is (exactly) divisible by 4 r(x) : x is (exactly) divisible by 5 s(x) : x > 0 t(x) : x is a perfect square
Write the following statements in symbolic form:
(a) At lease one integer is even.
(b) There exists a positive integer that is even.
(c) If x is even, then x is not divisible by 5.
(d) No even integer is divisible by 5.
(e) There exists an even integer divisible by 5.
(f) if x is even and x is a perfect square, then x is divisible by 4.
a(x) : all interior angles of x are equal e(x) : x is an equilateral triangle h(x) : all sides of x are equal i(x) : x is an isosceles triangle p(x) : x has an interior angle that exceeds 180 q(x) : x is a quadrilateral r(x) : x is a rectangle s(x) : x is a square t(x) : x is a triangle
Translate each of the following statements into an English sentence, and determine whether the statement is true or false.
a) ∀x [q(x) ⊕ t(x)] b) ∀x [i(x) → e(x)] c) ∃x [t(x) ∧ p(x)] d) ∀x [(a(x) ∧ t(x)) ↔ e(x)] e) ∃x [q(x) ∧ ¬r(x)] f ) ∃x [r(x) ∧ ¬s(x)] g) ∀x [h(x) → e(x)] h) ∀x [t(x) → ¬p(x)] i)∀x [s(x) ↔ (a(x) ∧ h(x))] j) ∀x [t(x) → (a(x) ↔ h(x))]
(a) if 1 + 1 = 2 then 2 + 2 = 5
(b) if 1 + 1 = 3 then 2 + 2 = 4
(c) if monkeys can fly then 1 + 1 = 3
(d) if 1 + 1 = 2 then dogs can fly
(a) Show that (P → R) ∨ (Q → R) ≡ (P ∧ Q) → R (b) Show that P ∧ (Q ∨ R) ≡ (P ∧ Q) ∨ (P ∧ R). (c) Show that ¬[¬[(P ∨ Q) ∧ R] ∨ ¬Q] ≡ Q ∧ R (d) Show that (P ∨ Q ∨ R) ∧ (P ∨ T ∨ ¬Q) ∧ (P ∨ ¬T ∨ R) ≡ P ∨ [R ∧ (T ∨ ¬Q)]
(a) There are atleast two students in class such that one student has sent other an email and the second student has called the first student.
(b) There are some students in class who have emailed everyone.
(a) ∃x∀y(y 6 = 0xy = 1)
(a) Let P (x) be the predicate that component x has Bug 1, let Q(x) be the predicate that component x has Bug 2 and let R(x) be the predicate that component x is clean. Translate each of the below findings in terms of the predicates P (x), Q(x) and R(x). i. E and H do not have the same bug.
ii. If G has Bug 1 then all components have Bug 1.
iii. If E has Bug 1 then H has Bug 1 too.
iv. if C has Bug 1 then D and F do not have Bug 1.
v. if either E or H has Bug 1 then I does not have Bug 2.
vi. At least 4 components have Bug 1.
vii. If A has either bug then all components have Bug 2.
viii. A and F are not in the same category.
ix. B has Bug 2.
x. At least one of C and G have the same bug as B.
xi. Exactly 2 components have Bug 2.
xii. If I has bug 2 then at least one D, F and A have Bug 2 too.
xiii. If E or G have bug 2 then all components have either Bug 1 or Bug 2. (b) Determine, using the above findings, which components have Bug 1, which ones have Bug 2 and which are clean.
Hint: First determine which components have Bug 1 then determine which ones have Bug 2 and then list the clean ones.
(a) “Anyone who completes all homework assignments will pass this course.”
(b) “Not everyone likes to do the homework.”
(c) “There is one class that all of my friends have taken.”
(d) “No student failed Logic, but at least one student failed History.”
Determine the truth values of the following propositions. Just list the truth values. black
(a) The student has passed Programming and he is registered for Discrete Math. (b) The student has passed Calculus and he has passed Programming.
(c) The student is not registered for Discrete Math or he has passed Programming. (d) If the student is not registered for Discrete Math then the student has not passed Calculus.
(e) If the student is registered for Discrete Math then he has passed Programming. (f) If the student has not passed Calculus the he is not registered for Discrete Math.
(g) If the student is registered for Discrete Math then he has passed Calculus. (h) The student has passed Programming if and only if he has passed Calculus.
(i) The student has passed Programming or he has passed Calculus but not both. (j) The student has passed Programming or he has passed Calculus or he is registered for Discrete Math.
(¬A ∨ B) ∧ (¬B ∨ C) ∧ (¬C ∨ A) ∧ (¬A ∨ ¬B ∨ ¬C) ≡ (¬A ∧ ¬B ∧ ¬C).
(a) P → (Q ∧ R) ≡ (Q → P ) ∧ (P → R)
(b) (P ∨ Q) → R ≡ [(P → R) ∧ (Q → R)]
(c) [P → (Q ∨ R)] ≡ [¬R → (P → Q)]
p q r ︷ ︸︸s ︷ p → (q → r)
︷ ︸︸^ t ︷ (p → q) → (p → r) s → t
∀x∃y [(p(x, y) ∧ q(x, y)) → r(x, y)] Show all the steps.
(a) Sun rounds about the Earth.
(b) Does Sun round about Earth?
(c) 81 > 78
(d) 7 is less than − 11
(e) x < 17
(f) if z = 3 then z + 5 = 8
Write the following compound propositions as English sentences.
(a) P Q
(b) R ⇐⇒ ¬Q
(c) Q¬R
(d) P ∨ Q ∨ R
(e) (P ¬R) ∨ (Q¬R)
(f) (P ∧ Q) ∨ (¬Q ∧ R)
Write each sentence in symbols:
(a) I shall not finish my coursework assignment
(b) I don’t like Discrete Maths but I shall finish my coursework assignment.
(c) If I finish my coursework assignment,I shall pass Discrete Maths.
(d) I shall pass maths only if i work for forty hours this week and finish my coursework assignment.
(a) (Q ∨ R)P ≡ (QP ) ∧ (RP )
(b) (P ∧ (¬(¬P ∨ Q))) ∨ (P ∧ Q) ≡ P
(c) (P ∨ Q ∨ R) ∧ (P ∨ T ∨ ¬Q) ∧ (P ∨ ¬T ∨ R) ≡ P ∨ [R ∧ (T ∨ ¬Q)] (P ∨ Q ∨ R) ∧ (P ∨ T ∨ ¬Q) ∧ (P ∨ ¬T ∨ R)
(a) the positive real numbers
(b) the integers
(c) the nonzero real numbers
Express each of these compound propositions as English sentences.
(a) ¬p (b) p ∨ q (c) ¬p ∧ q (d) q → p (e) ¬q → ¬p
(b) Translate the statement ∀x∃y(x < y)
(c) Translate the statement ∀x∀y∃z(xy = z)
(d) Translate the statement
∀x∀y(((x ≥ 0) ∧ (y < 0)) → (x − y > 0))
(a) “Something is not in the right place“
(b) “All tools are in the correct place and are in excellent condition“
(c) “Everything is in the correct place and in excellent condition“
(d) “Nothing is in the correct place and is in excellent condition.“
(a) The product of two negative integers is positive. (b) The average of two positive integers is positive. (c) The difference of two negative integers is not necessarily negative. (d) The absolute value of the sum of two integers does not exceed the sum of the absolute values of these integers.
(a) ∃x∀y(xy = y) (b) ∀x∀y((x < 0) ∧ (y < 0)) → (xy > 0) (c) ∃x∃y((x^2 > y) ∧ (x < y))
b) If k, m, n are integers where k-m and m-n are odd, then k-n is even. c) If x is real number where x^2 > 16, then x < −4 or x > 4. d) For all real numbers, if |x − 3 | < 7, then − 4 < x < 10.
a) There exists an integer n such that n is not divisible by 2 but n is even(that is, not odd). b) There exist integers k, m, n such that k − m and m − n are odd, and k − n is odd. c) For some real number x, x^2 > 16 but − 4 ≤ x ≤ 4 (that is, − 4 ≤ x and x ≤ 4) d) There exists a real number x such that |x − 3 | < 7 and either x ≤ −4 or x ≥ 10.