12 KiB
Exercise Set 3.1
Page 142
- A menagerie consists of seven brown dogs, two black dogs, six gray cats, ten black cats, five blue birds, six yellow birds, and one black bird. Determine which of the following statements are true and which are false.
a. There is an animal in the menagerie that is red.
b. Every animal in the menagerie is a bird or a mammal.
c. Every animal in the menagerie is brown or gray or black.
d. There is an animal in the menagerie that is neither a cat nor a dog.
e. No animal in the menagerie is blue.
f. There are in the menagerie a dog, a cat, and a bird that all have the same color.
- Indicate which of the following statements are true and which are false. Justify your answers as best you can.
a. Every integer is a real number.
b. 0 is a positive real number.
c. For every real number r, -r is a negative real number.
d. Every real number is an integer.
- Let
R(m, n)be the predicate "Ifmis a factor ofn^2thenmis a factor ofn," with domain for bothmandnbeing\mathbb{Z}the set of integers.
a. Explain why R(m, n) is false if m = 25 and n = 10.
b. Give values different from those in part (a) for which R(m, n) is false.
c. Explain why R(m, n) is true if m = 5 and n = 10.
d. Give values different from those in part c for which R(m, n) is true.
- Let
Q(x, y)be the predicate "Ifx < ythen $x^2 < y^2$" with the domain for bothxandybeing\mathbb{R}the set of real numbers.
a. Explain why Q(x, y) is false if x = -2 and y = 1.
b. Give values different from those in part (a) for which Q(x, y) is false.
c. Explain why Q(x, y) is true if x = 3 and y = 8.
d. Give values different from those in part c for which Q(x, y) is true.
- Find the truth set of each predicate.
a. Predicate: \dfrac{6}{d} is an integer, domain: \mathbb{Z}
b. Predicate: \dfrac{6}{d} is an integer, domain: \mathbb{Z}^+
c. Predicate: 1 \leq x^2 \leq 4, domain: \mathbb{R}
d. Predicate: 1 \leq x^2 \leq 4, domain: \mathbb{Z}
- Let
B(x)be "-10 < x < 10." Find the truth set ofB(x)for each of the following domains.
a. \mathbb{Z}
b. \mathbb{Z}^+
c. The set of all even integers
-
Let
Sbe the set of all strings of length 3 consisting of a's, b's, and c's. List all the strings inSthat satisfy the following conditions:-
Every string in
Sbegins with b. -
No string in
Shas more than one c.
-
-
Let
Tbe the set of all strings of length 3 consisting of 0's and 1's. List all the strings inTthat satisfy the following conditions:-
For every string
sinT, the second character ofsis 1 or the first two characters ofsare the same. -
No string in
Thas all three characters the same.
-
Find counterexamples to show that the statements in 9-12 are false.
-
\forall x \in \mathbb{R}, x \geq \dfrac{1}{x}. -
\forall x \in \mathbb{Z}, \dfrac{(a - 1)}{a}is not an integer. -
\forallpositive integersmandn,m \cdot n \geq m + n. -
\forallreal numbersxandy,\sqrt{x + y} = \sqrt{x} + \sqrt{y}. -
Consider the following statement:
\forall basketball player x, x is tall.
Which of the following are equivalent ways of expressing the statement?
a. Every basketball player is tall.
b. Among all the basketball players, some are tall.
c. Some of all the tall people are basketball players.
d. Anyone who is tall is a basketball player.
e. All people who are basketball players are tall.
f. Anyone who is a basketball player is a tall person.
- Consider the following statement:
\exists x \in \mathbb{R} such that x^2 = 2.
Which of the following are equivalent ways of expressing this statement
a. The square of each real number is 2.
b. Some real numbers have square 2.
c. The number x has square 2, for some real number x.
d. If x is a real number, then x^2 = 2.
e. Some real number has square 2.
f. There is at least one real number whose square is 2.
- Rewrite the following statements informally in at least two different ways without using variables or quantifiers.
a. \forall rectangle x, x is a quadrilateral.
b. \exists a set A such that A has 16 subsets.
- Rewrite each of the following statements in the form "
\forall______x, ______."
a. All dinosaurs are extinct.
b. Every real number is positive, negative, or zero.
c. No irrational numbers are integers.
d. No logicians are lazy.
e. The number 2,147,581,953 is not equal to the square of any integer.
f. The number -1 is not equal to the square of any real number.
- Rewrite each of the following in the form "
\exists______xsuch that ______."
a. Some exercises have answers.
b. Some real numbers are rational.
- Let
Dbe the set of all students at your school, and letM(s)be "sis a math major," letC(s)be "sis a computer science student," and letE(s)be "sis an engineering student." Express each of the following statements using quantifiers, variables, and the predicatesM(s),C(s), andE(s).
a. There is an engineering student who is a math major.
b. Every computer science student is an engineering student.
c. No computer science students are engineering students.
d. Some computer science students are also math majors.
e. Some computer science students are engineering students and some are not.
- Consider the following statement:
\forall integer n, if n^2 is even then n is even.
Which of the following are equivalent ways of expressing this statement?
a. All integers have even squares and are even.
b. Given any integer whose square is even, that integer is itself even.
c. For all integers, there are some whose square is even.
d. Any integer with an even square is even.
e. If the square of an integer is even, then that integer is even.
f. All even integers have even squares.
- Rewrite the following statement informally in at least two different ways
without using variables of the symbol
\forallor the words "for all."
\forall real numbers x, if x is positive then the square root of x is
positive.
- Rewrite the following statements so that the quantifier trails the rest of the sentence.
a. For any graph G, the total degree of G is even.
b. For any isosceles triangle T, the base angles of T are equal.
c. There exists a prime number p such that p is even.
d. There exists a continuous function f such that f is not differentiable.
- Rewrite each of the following statements in the form "
\forall______x, if ______ then ______."
a. All Java programs have at least 5 lines.
b. Any valid argument with true premises has a true conclusion.
- Rewrite each of the following statements in the two forms "
\forall x, if ______ then ______" and "\forall x, ______" (without an if-then).
a. All equilateral triangles are isosceles.
b. Every computer science student needs to take data structures.
- Rewrite the following statements in the two forms "
\exists______xsuch that ______" and "\exists xsuch that ______ and ______."
a. Some hatters are mad.
b. Some questions are easy.
- The statement "The square of any rational number is rational" can be
rewritten formally as "For all rational numbers
x,x^2is rational" or as "For allx, ifxis rational thenx^2is rational." Rewrite each of the following statements in the two forms "\forall______x, ______" and "\forall x, if ______, then ______" or in the two forms "\forall______xandy, ______" and "\forall xandy, if ______, then ______."
a. The reciprocal of any nonzero function is a fraction.
b. The derivative of any polynomial function is a polynomial function.
c. The sum of the angles of any triangle is 180\degree.
d. The negative of any irrational number is irrational.
e. The sum of any two even integers is even.
f. The product of any two fractions is a fraction.
- Consider the statement "All integers are rational numbers but some rational numbers are not integers."
a. Write this statement in the form "\forall x, if ______ then ______, but
\exists ______ x, such that ______."
b. Let \text{Ratl}(x) be "x is a rational number" and \text{Int}(x) be
"x is an integer." Write the given statement formally using only the symbols
\text{Ratl}(x), \text{Int}(x), \forall, \exists, \wedge, \vee,
\neg, and \to.
- Refer to the picture of Tarski's world given in Example 3.1.1.3. Let
\text{Above}(x, y)mean thatxis abovey(but possibly in a different column). Determine the truth or falsity of each of the following statements. Give reasons for your answers.
a. \forall u, \text{Circle}(u) \to \text{Gray(u)}.
b. \forall u, \text{Gray}(u) \to \text{Circle}(u).
c. \exists y such that \text{Square}(y) \wedge \text{Above}(y, d).
d. \exists z such that \text{Triangle}(z) \wedge \text{Above}(f, z).
In 28-30, rewrite each statement without using quantifiers or variables. Indicate which are true and which are false, and justify your answers as best as you can.
- Let the domain of
xbe the setDof objects discussed in mathematics courses, and let\text{Real}(x)be "xis a real number,"\text{Pos}(x)be "xis a positive real number,"\text{Neg}(x)be "xis a negative real number," and\text{Int}(x)be "xis an integer."
a. \text{Pos}(0)
b. \forall x, \text{Real}(x) \wedge \text{Neg}(x) \to \text{Pos}(-x)
c. \forall x, \text{Int}(x) \to \text{Real}(x)
d. \exists x such that \text{Real}(x) \wedge \neg \text{Int}(x)
- Let the domain of
xbe the set of geometric figures in the plane, and let\text{Square}(x)be "xis a square" and\text{Rect}(x)be "xis a rectangle."
a. \exists x such that \text{Rect}(x) \wedge \text{Square}(x)
b. \exists x such that \text{Rect}(x) \wedge \neg \text{Square}(x)
c. \forall x, \text{Square}(x) \to \text{Rect}(x)
- Let the domain of
xbe\mathbb{Z}, the set of integers, and let\text{Odd}(x)be "xis odd,"\text{Prime}(x)be "xis prime," and\text{Square}(x)be "xis a perfect square." (An integernis said to be a perfect square if, and only if, it equals the square of some integer. For example,25is a perfect square because25 = 5^2.)
a. \exists x such that \text{Prime}(x) \wedge \neg \text{Odd}(x)
b. \forall x, \text{Prime}(x) \to \neg \text{Square}(x)
c. \exists x such that \text{Odd}(x) \wedge \text{Square}(x)
-
In any mathematics or computer science text other than this book, find an example of a statement that is universal but is implicitly quantified. Copy the statement as it appears and rewrite it making the quantification explicit. Give a complete citation for your example, including title, author, publisher, year, and page number.
-
Let
\mathbb{R}be the domain of the predicate variablex. Which of the following are true and which are false? Give counter examples for the statements that are false.
a. x > 2 \Rightarrow x > 1
b. x > 2 \Rightarrow x^2 > 4
c. x^2 > 4 \Rightarrow x > 2
d. x^2 > 4 \Leftrightarrow |x| > 2
- Let
\mathbb{R}be the domain of the predicate variablesa,b,c, andd. Which of the following are true and which are false? Give counterexamples for the statements that are false.
a. a > 0 \text{ and } b > 0 \Rightarrow ab > 0
b. a < 0 \text{ and } b < 0 \Rightarrow ab < 0
c. ab = 0 \Rightarrow a = 0 \text{ or } b = 0
d. a < b \text{ and } c < d \Rightarrow ac < bd