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?
Solution: In the first set, for integers [tex]x^2+y^2\le 1[/tex] forces [tex]|x|\le 1[/tex] and [tex]|y|\le 1[/tex], and [tex]x[/tex], [tex]y[/tex] cannot both be non-zero (then [tex]x^2+y^2=2\gt 1[/tex]). Hence
[tex]\{(x, y)\in\mathbb{Z}^2 : x^2+y^2\le 1\}=\{(0, 0),\ (1, 0),\ (-1, 0),\ (0, 1),\ (0, -1)\}[/tex]
In the second set [tex]x^2-y^2=(x-y)(x+y)=1[/tex]. Both factors are integers, so they are both equal to [tex]1[/tex] or both equal to [tex]-1[/tex]:
[tex]x-y=x+y=\pm 1\ \Rightarrow\ y=0,\ x=\pm 1[/tex]
These are the points [tex](1, 0)[/tex] and [tex](-1, 0)[/tex], which already belong to the first set. Therefore [tex]B[/tex] consists of the [tex]5[/tex] points listed above:
[tex]|B|=5[/tex]
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?
Solution: Factor the elements of [tex]A[/tex]:
[tex]9=3^2, \ 10=2\times 5, \ 11, \ 12=2^2\times 3, \ 13, \ 14=2\times 7, \ 15=3\times 5, \ 16=2^4[/tex]
Hence
[tex]f(9)=3, \ f(10)=10, \ f(11)=11, \ f(12)=6, \ f(13)=13, \ f(14)=14, \ f(15)=15, \ f(16)=2[/tex]
These [tex]8[/tex] values are pairwise different, so different arguments have different images and [tex]f[/tex] is injective.
The image [tex]f(A)=\{2, 3, 6, 10, 11, 13, 14, 15\}[/tex] is finite, while [tex]\mathbb{N}[/tex] is infinite; for example, [tex]1[/tex] and [tex]4[/tex] have no preimage. So [tex]f[/tex] is not surjective (and therefore not bijective).
The function is injective, but not surjective.
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].