Skip to Content

Exercise before.3.a ​

Exercise

What is the truth value of the following propositions?

  • ∃x∈R,x2=2\exists x \in \mathbb{R}, x^2 = 2
  • ∃x∈R,x2=−1\exists x \in \mathbb{R}, x^2 = -1
  • ∀x∈R,x2+2≥1\forall x \in \mathbb{R}, x^2+2 \ge 1
  • ∀x∈R,x2≠x\forall x \in \mathbb{R}, x^2 \neq x

Answer

  • true{\color{green}\textbf{true}​}: since x=2x = \sqrt{2} satisfies the equation (also x=−2x = -\sqrt{2})
  • false{\color{red}\textbf{false}​}: since we know that x2≥0>−1,∀x∈Rx^2 \ge 0 > -1, \forall x \in \mathbb{R}
  • true{\color{green}\textbf{true}​}: since we know that x2≥0,∀x∈Rx^2 \ge 0, \forall x \in \mathbb{R} and then x2+2≥2≥1,∀x∈Rx^2+2 \ge 2 \ge 1, \forall x \in \mathbb{R}
  • false{\color{red}\textbf{false}​}: since x=0x=0 is a counterexample for which 02=00^2 = 0

Exercise before.3.b ​

Exercise

What is the truth value of the following propositions?

  • ∃!n∈Z,n>1\exists! n \in \mathbb{Z}, n > 1
  • ∃!n∈Z,n2=1\exists! n \in \mathbb{Z}, n^2 = 1
  • ∃!n∈Z,n+3=2n\exists! n \in \mathbb{Z}, n+3 = 2n
  • ∃!n∈Z,n=n+1\exists! n \in \mathbb{Z}, n = n+1

Answer

  • false{\color{red}\textbf{false}​}: while it is true{\color{green}\textbf{true}​} that there exists at least one, this is not unique; for example n=2n= 2 and n=3n =3 both satisfy the inequality
  • false{\color{red}\textbf{false}​}: while it is true{\color{green}\textbf{true}​} that there exists at least one, this is not unique; for example n=1n= 1 and n=−1n =-1 both satisfy the equation
  • true{\color{green}\textbf{true}​}: first note that n=3n = 3 satisfies the equation 3+3=6=2⋅33+3 = 6 = 2 \cdot 3. To prove that this is unique we proceed as follows, suppose by contradiction there is an m≠3m \neq 3 such that m+3=2mm+3 = 2m, however by subtracting mm from both sides of the equation we get m=3m = 3, which is a contradiction
  • false{\color{red}\textbf{false}​}: note that the predicate is equivalent to 0=10 = 1, which is false{\color{red}\textbf{false}​}. By definition, the existential quantifier over a false{\color{red}\textbf{false}​} proposition is always false{\color{red}\textbf{false}​}

Exercise before.4.a ​

Exercise

Let P(x,y)P(x,y) be the predicate "xx loves yy" and assume UU is a set containing all people. Use quantifiers to write the following propositions

  • Everyone loves Batman
  • Everyone loves someone

Answer

  • ∀x∈U,P(x,Batman)\forall x \in U, P(x, \text{Batman})
  • ∀x∈U,∃y∈U,P(x,y)\forall x \in U, \exists y \in U, P(x,y)

Exercise before.4.b ​

Exercise

Write the following propositions using mathematical and logical operators, predicates, and quantifiers. Consider the domain to be all integers

  • The sum of two negative integers is negative
  • The difference of two positive integers is not necessarily positive

Answer

  • ∀n,m∈Z,n<0∧m<0,n+m<0\forall n, m \in \mathbb{Z}, n<0 \land m<0, n+m < 0
  • ¬∀n,m∈Z,n>0∧m>0,n−m>0\neg \forall n, m \in \mathbb{Z}, n>0 \land m>0, n-m > 0, equivalently

¬∀n,m∈Z,n>0∧m>0,n−m>0≡¬∀n,m∈Z,(n>0∧m>0)⇒n−m>0≡∃n,m∈Z,¬((n>0∧m>0)⇒n−m>0)≡∃n,m∈Z,(n>0∧m>0)∧¬(n−m>0)≡∃n,m∈Z,(n>0∧m>0)∧n−m≤0\begin{align*} & &\neg \forall n, m \in \mathbb{Z}, n>0 \land m>0, n-m > 0 &\\ \equiv & &\neg \forall n, m \in \mathbb{Z}, (n>0 \land m>0) \Rightarrow n-m > 0 &\\ \equiv & &\exists n, m \in \mathbb{Z}, \neg ( (n>0 \land m>0) \Rightarrow n-m > 0) & \\ \equiv & & \exists n, m \in \mathbb{Z}, (n>0 \land m>0) \land \neg (n-m > 0) & \\ \equiv & &\exists n, m \in \mathbb{Z}, (n>0 \land m>0) \land n-m \le 0 & \\ \end{align*}

Exercise during.3.a ​

Exercise

What is the truth value of the following propositions? (∀\forall and ∃\exists quantify over Z\mathbb{Z})

  • ∀n,∃m,n2<m\forall n, \exists m, n^2 < m
  • ∃n,∀m,n<m2\exists n, \forall m, n<m^2
  • ∀n,∃m,n+m=0\forall n, \exists m, n+m = 0

Answer

  • true{\color{green}\textbf{true}​}: let nn be an integer, then there exists m=n2+1m = n^2+1 such that n2<n2+1=mn^2 < n^2 + 1 = m
  • true{\color{green}\textbf{true}​}: there exists n=−1n = -1 such that −1=n<0≤m2,∀m-1 = n < 0 \le m^2, \forall m
  • true{\color{green}\textbf{true}​}: let nn be an integer, then there exists m=−nm = -n such that n+m=n−n=0n + m = n - n = 0

Exercise during.3.b ​

Exercise

Rewrite the proposition ¬∀x,∃y,P(x,y)\neg \forall x, \exists y, P(x, y) so that the negation is not preceding a quantifier

Answer

¬∀x,∃y,P(x,y)≡∃x,¬∃y,P(x,y)≡∃x,∀y,¬P(x,y)\begin{align*} & &\neg \forall x, \exists y, P(x, y)\\ \equiv & &\exists x, \neg \exists y, P(x,y)\\ \equiv & &\exists x, \forall y, \neg P(x, y) \end{align*}

Exercise during.3.c ​

Exercise

Find a counterexample to the following proposition ∀x,y∈Z,x2=y2⇒x=y\forall x,y \in \mathbb{Z}, x^2 = y^2 \Rightarrow x = y

Answer

Note that a counterexample for this proposition requires two integers whose squares are equal, but the numbers themselves are not. A simple (counter)example is x=1,y=−1x = 1, y= -1.

discrete math by ZULI NUR KHASANAH from the Noun Project. © 2026 Me. Built with VitePress.