11 KiB
Test Yourself
Page 194
- An integer is even if, and only if, ______.
it equals twice some integer.
- An integer is odd if, and only if, ______.
it equals twice some integer plus 1.
- An integer
nis prime if, and only if, ______.
n is greater than 1 and if n equals the product of any two positive
integers, then one of the integers equals 1 and the other equals n.
- The most common way to disprove a universal statement is to find ______.
a counterexample.
- According to the method of generalizing from the generic particular, to show
that every element of a set satisfies a certain property, suppose
xis a ______, and show that ______.
particular but arbitrarily chosen element of the set; x satisfies the given
property.
- To use the method of direct proof to prove a statement of the form, "For
every
xin a setD, ifP(x)thenQ(x)," one supposes that ______ and one shows that ______.
x is a particular but arbitrarily chosen element of the set D that makes the
hypothesis P(x) true; x makes the conclusion Q(x) true.
Test Yourself
Page 204
- The meaning of every variable used in a proof should be explained with ______.
The body of the proof.
- Proofs should be written in sentences that are ______ and ______.
complete; grammatically correct
- Every assertion in a proof should be supported by a ______.
reason
-
The following are some useful "little words and phrases" that clarify the reasoning in a proof:
______, ______, ______, ______, and ______.
because; since; then; thus; so; hence; therefore; consequently; it follows that; by substitution
- A new thought or fact that does not follow as an immediate consequence of the preceding statement can be introduced by writing ______, ______, ______, ______, or ______.
observe that; note that; recall that; but; now
- To introduce a new variable that is defined in terms of previous variables, use the word ______.
let
- Displaying equations and inequalities increases the ______ of a proof.
readability
- Some proof-writing mistakes are ______, ______, ______, ______, ______, ______, and ______.
arguing from examples; using the same letter to mean two different things; jumping to a conclusion; assuming what is to be proved; confusion between what is known and what is still to be shown; use of any when the correct word is some; misuse of the word if
Test Yourself
Page 210
- To show that a real number is rational, we must show that we can write it as ______.
The ratio of integers, where the denominator is not 0.
- An irrational number is a ______ that is ______.
real number; not rational
- Zero is a rational number because ______.
zero is an integer that is a ratio of integers where the denominator is not
zero, 0 = \dfrac{0}{1}.
Test Yourself
Page 220
- To show that a nonzero integer
ddivides an integern, we must show that ______.
n equals d divided by some integer and d \neq 0.
- To say that
ddividesnmeans the same as saying that ______ is divisible by ______.
n; d
- If
aandbare positive integers anda \mid b, then ______ is less than or equal to ______.
a; b
- For all integers
nandd,d \nmid nif, and only if, ______.
\dfrac{n}{d} is not an integer.
- If
aandbare integers, the notationa \mid bdenotes ______ and the notationa/bdenotes ______.
the sentence "a divides $b$"; the number obtained when a is divided by b
- The transitivity of divisibility theorem says that for all integers
a,b, andc, if ______ then ______.
a \mid b and b \mid c; a \mid c
- The divisibility by a prime theorem says that every integer greater than
1is ______.
divisible by some prime number.
- The unique factorization of integers theorem says that any integer greater
than
1is either ______ or can be written as ______ in a way that is unique except possibly for the ______ in which the numbers are written.
prime; a product of prime numbers; order
Test Yourself
Page 232
- The quotient-remainder theorem says that for all integers
nanddwithd \geq 0, there exists ______qandrsuch that ______ and ______.
integers; n = dq + r; 0 \leq r < d
- If
nanddare integers withd > 0,n\ div\ dis ______ andn \mod dis ______.
the quotient obtained when n is divided by d; the nonnegative remainder
obtained when n is divided by d
- The parity of an integer indicates whether the integer is ______.
even or odd
- According to the quotient-remainder theorem, if an integer
nis divided by a positive integerd, the possible remainders are ______. This implies thatncan be written in one of the forms ______ for some integerq.
0, 1, 2, \dots d - 1; dq + 1, dq + 2, \dots dq + (d - 1)
- To prove a statement of the form "If
A_1orA_2orA_3, thenC," prove ______ and ______ and ______.
If A_1 then C; If A_2 then C; If A_3 then C
- The triangle inequality says that for all real numbers
xandy, ______.
|x + 6| \leq |x| + |y|
Test Yourself
Page 239
- Given any real number
x, the floor ofxis the unique integernsuch that ______.
n \leq x < n + 1
- Given any real number
x, the ceiling ofxis the unique integernsuch that ______.
n - 1 < x \leq n
Test Yourself
Page 248
- To prove a statement by contradiction, you suppose that ______ and you show that ______.
the statement is false; this supposition leads to a contradiction
- A proof by contraposition of a statement of the form "$\forall x \in D, \text{ if } P(x) \text{ then } Q(x)$" is a direct proof of ______.
\forall x \in D, \text{ if } \neg Q(x) \text{ then } \neg P(x)
- To prove a statement of the form "$\forall x \in D, \text{ if } P(x) \text{ then } Q(x)$" by contraposition, you suppose that ______ and you show that ______.
Q(x) is false; P(x) is false.
Test Yourself
Page 256
- The ancient Greeks discovered that in a right triangle where both legs have
length
1, the ratio of the length of the hypotenuse to the length of one of the legs is not equal to a ratio of ______.
two integers.
- One way to prove that
\sqrt{2}is an irrational number is to assume that\sqrt{2} = \dfrac{m}{n}for some integersmandnthat have no common factor greater than1, use the lemma that says that if the square of an integer is even then ______, and eventually show thatmandn______.
that integer is even; have a common factor greater than 1.
- One way to prove that there are infinitely many prime numbers is to assume
that there is a largest prime number
p, construct the number ______, and then show that this number has to be divisible by a prime number that is greater than ______.
N = (2 \cdot 3 \cdot 5 \cdot 7 \cdot 11 \cdot \dots \cdot p) + 1; p
Test Yourself
Page 265
- The total degree of a graph is defined as ______.
The sum of the degrees of all the vertices of the graph
- The handshake theorem says that the total degree of a graph is ______.
equal to the number of edges of the graph
- In any graph the number of vertices of odd degree is ______.
an even number
- A simple graph is ______.
a graph with no loops or parallel edges
- A complete graph on
nvertices is a ______.
a simple graph with n vertices whose set of edges contains exactly one edge
for each pair of vertices
- A complete bipartite graph on
(m, n)vertices is a simple graph whose vertices can be divided into two distinct, non-overlapping sets, sayVwithmvertices andWwithmvertices, in such a way that (1) there is ______ from each vertex ofVto each vertex ofW, (2) there is ______ from any one vertex ofVto any other ofV, and (3) there is ______ from any one vertex ofWto any other vertex ofW.
one edge; no edge; no edge
Test Yourself
Page 277
- When an algorithm statement of the form
x := eis executed, ______.
The expression e is evaluated (using the current values of all the variables
in the expression), and this value is placed in the memory location
corresponding to x (replacing any previous contents of the location)
- Consider an algorithm statement of the following form.
\text{\textbf{if }(condition)}\\ \text{\textbf{then }} s_1\\ \text{\textbf{else }} s_2
then the algorithm at s_1 is executed; then the algorithm at s_2 is executed
When such a statement is executed, the truth or falsity of the condition is evaluated. If condition is true, ______. If condition is false, ______.
- Consider an algorithm statement of the following form.
\text{\textbf{while }(condition)}
[statements that make up the body of the loop]
\text{\textbf{end while}}
When such a statement is executed, the truth or falsity of the condition is evaluated. If condition is true, ______. If condition is false, ______.
the statements that make up the body of the loop are executed in order and then execution moves back to the beginning of the loop and the process repeats; the loop ends and execution passes to the next algorithm statement following the loop
- Consider an algorithm statement of the following form.
the statements that make up the body of the loop are executed in order, the variable's value is assigned to the next (iterated), and then execution moves back to the beginning of the loop and the process repeats; the loop ends and execution passes to the next algorithm statement following the loop
\text{\textbf{for } variable } := \text{initial expression \textbf{to} final expression.}
[statements that make up the body of the loop]
\text{\textbf{next } (same) variable}
When such a statement is executed, variable is set equal to the value of the initial expression, and a check is made to determine whether the value of variable is less than or equal to the value of final expression. If so, ______. If not, ______.
- Given a nonnegative integer
aand a positive integerdthe division algorithm computes ______.
Integers q and r with the property that n = dq + r and 0 \leq r < d.
- Given integers
aandb, not both zero,\text{gcd}(a, b)is the integerdthat satisfies the following two conditions: ______ and ______.
d \mid a and d \mid b; if c is a common divisor of both a and b, then
c \leq d.
- If
ris a positive integer, thengcd(r, 0) =______.
r
- If
aandbare integers not both zero and ifqandrare nonnegative integers such thata = bq + rthen\text{gcd}(a, b) =______.
gcd(b, r)
- Given positive integers
AandBwithA > B, the Euclidean algorithm computes ______.
the greatest common divisor of A and B, \text{gcd}(A, B).