Mathematical Logic and Set Theory: Problems with Solutions

Implications and logical equivalences, Boolean simplification and Zhegalkin polynomials, quantifiers, operations on sets, relations and their properties, functions and bijections, and cardinality of sets, with step-by-step solutions.

Problem 1
Consider the statements [tex]p[/tex]: “It is raining” and [tex]q[/tex]: “The streets are wet”. It is known that the statement “If it is raining, then the streets are wet”, i.e. [tex]p\Rightarrow q[/tex], is true. Which of the following statements is certainly true as well?
Problem 2
To the question “Is Petar at school?” the teacher answered “Yes”, and to the question “Is Kiril at school?” he answered “No”. About this conversation their classmates made the following comments: [tex](1)[/tex] Both of them are at school. [tex](2)[/tex] At least one of the two is at school. [tex](3)[/tex] If Petar is at school, then Kiril is at school. [tex](4)[/tex] Petar is at school if and only if Kiril is at school. [tex](5)[/tex] It is not true that Petar is not at school. [tex](6)[/tex] If Petar is not at school, then Kiril is not at school. [tex](7)[/tex] Petar is not at school if and only if Kiril is not at school. [tex](8)[/tex] It is not true that neither of them is at school. [tex](9)[/tex] It is not true that at least one of the two is not at school. [tex](10)[/tex] It is not true that if Petar is at school, then Kiril is not at school. [tex](11)[/tex] It is not true that Petar is at school if and only if Kiril is not at school. How many of these [tex]11[/tex] statements are true?
Problem 3
For real numbers [tex]a\lt b[/tex], [tex]\left(a , b\right)[/tex] denotes the open interval [tex]\{x\in\mathbb{R}\mid a\lt x\lt b\}[/tex] (not an ordered pair). Let [tex]\mathcal{A}=\left\{\left(-a , a\right)\mid a\in\mathbb{R},\ a\gt 0\right\}[/tex] be the family of all open intervals symmetric about zero. Find the intersection [tex]\bigcap\mathcal{A}[/tex] of all intervals in this family.
Problem 4
How many elements does the set [tex]B=\{(x, y)\in\mathbb{Z}^2 : x^2+y^2\le 1\}\cup\{(x, y)\in\mathbb{Z}^2 : x^2-y^2=1\}[/tex] have?
Problem 5
Let [tex]A=\{9, 10, 11, 12, 13, 14, 15, 16\}[/tex], and let the function [tex]f\colon A\to\mathbb{N}[/tex] assign to every number [tex]n\in A[/tex] the product of the distinct prime divisors of [tex]n[/tex] (for example, for the number [tex]72=2^3\times 3^2[/tex] this product is [tex]2\times 3=6[/tex]). What kind of function is [tex]f[/tex] with respect to injectivity and surjectivity?
Problem 6
Simplify as much as possible the Boolean expression [tex]Y=(\neg B\land(\neg C\lor A)\land(\neg C\lor B))\lor C[/tex].
Correct:
Wrong:
Unsolved problems:
Suggest a problem on this page

Feedback   Contact email:
Follow us on   X   Facebook

Copyright © 2005 - 2026.