Discrete Mathematics: Logic and Proofs
- 47Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
47 questions
- 1Logic provides a mathematical way to represent_____statements encountered in everyday life.
Hint
Think of statements that assert something and can be judged true or false.
Answer
declarative
Explanation
Logic translates declarative statements into a precise mathematical form so their truth and relationships can be analyzed.
- 2One application of logic in computer design is helping describe digital electronics and_____circuits.
Hint
Think of the physical components that carry out operations inside a computer.
Answer
electronic
Explanation
Mathematical representations of logical statements help designers reason about digital electronics and circuits.
- 3In programming, logic can help reason about a program's_____—what its statements mean and whether they behave as intended.
Hint
Contrast the meaning of a program with the rules for writing its syntax.
Answer
semantics
Explanation
The lecture connects logic with understanding program meaning, such as decisions about loops and iteration.
- 4Mathematical logic can be used to show that an_____is correct.
Hint
This is a step-by-step procedure for solving a problem.
Answer
algorithm
Explanation
A proof can establish that an algorithm produces the intended result.
- 5The two types of logic introduced are propositional logic and_____logic.
Hint
This type of logic uses variables and quantifiers.
Answer
predicate
Explanation
The lecture distinguishes propositional logic from predicate logic.
- 6Propositional logic represents declarative statements using symbols such as_____and q.
Hint
This is the first of the two lowercase letters used in the lecture's example.
Answer
p
Explanation
A propositional variable such as p stands for a complete declarative statement.
- 7A predicate such as P(x) includes a variable, while substituting a particular value for that variable produces a_____statement.
Hint
After substitution, the statement no longer has an unfilled variable.
Answer
propositional
Explanation
For example, substituting a name for x in a predicate can produce a declarative proposition.
- 8The logical connective that combines two statements with the meaning “both” is_____.
Hint
It requires both component statements to hold.
Answer
and
Explanation
A conjunction joins two statements and is true only when both component statements are true.
- 9The logical connective “or” in the lecture is inclusive: the combined statement is true if either part is true or_____parts are true.
Hint
Unlike exclusive-or, this connective allows the two statements to hold together.
Answer
both
Explanation
Inclusive disjunction is true when at least one component is true, including when both are true.
- 10The operator that reverses a proposition's truth value is called_____or negation.
Hint
It asserts that the original statement does not hold.
Answer
not
Explanation
Negation changes a true proposition to false and a false proposition to true.
- 11Truth-table rows list the possible assignments of_____and false to the component propositions.
Hint
These are the two possible truth values used in classical propositional logic.
Answer
true
Explanation
Each proposition is assigned one of the two truth values, true or false.
- 12A truth table for two independent propositions has_____possible rows.
Hint
Each proposition has two possible truth values, and the combinations are listed.
Answer
four
Explanation
Two propositions yield four combinations: true/true, true/false, false/true, and false/false.
- 13For n independent propositions, a complete truth table has 2n rows; for three propositions, it has_____.
Hint
Each added proposition doubles the number of combinations.
Answer
eight
Explanation
Each of the n propositions can be true or false, giving 2n combinations. With three propositions, there are eight rows.
- 14A conjunction p and q is true only when_____component propositions are true.
Hint
The connective means that the two statements hold together.
Answer
both
Explanation
A conjunction is false in every row except the row where both propositions are true.
- 15A disjunction p or q is false only when_____component propositions are false.
Hint
If either proposition is true, the inclusive disjunction is true.
Answer
both
Explanation
Inclusive disjunction is true in the other three combinations and false when both components are false.
- 16For a negated proposition, if p is true, then not p is_____.
Hint
Negation reverses the original truth value.
Answer
false
Explanation
Negation is false whenever the proposition being negated is true.
- 17An implication from p to q is false precisely when p is true and q is_____.
Hint
This is the one case in which the stated condition occurs but its required result does not.
Answer
false
Explanation
The implication p implies q is false only when its antecedent is true and its consequent is false.
- 18If the antecedent p of an implication is false, the truth value of q does not affect whether the implication is_____.
Hint
In the two rows where p is false, the implication has the same truth value.
Answer
true
Explanation
An implication with a false antecedent is true whether its consequent is true or false.
- 19The biconditional p if and only if q is true when the two propositions have the_____truth value.
Hint
Compare the two values in each row of its truth table.
Answer
same
Explanation
A biconditional is true when both propositions are true or both are false.
- 20A compound statement that is true for every possible truth-value assignment is a_____.
Hint
Its truth-table column contains no false values.
Answer
tautology
Explanation
A tautology is true under every possible assignment of truth values.
- 21A compound statement that is false for every possible truth-value assignment is a_____.
Hint
Its truth-table column contains no true values.
Answer
contradiction
Explanation
A contradiction is false under every possible assignment of truth values.
- 22The property illustrated by the equivalence of p or q and q or p is the_____property.
Hint
This property concerns changing the order of the operands.
Answer
commutative
Explanation
The commutative property says that exchanging the order of the propositions does not change the result of these operations.
- 23A predicate P(x) can express a property of an object, such as “x is a_____.”
Hint
This is the example property used in the lecture.
Answer
student
Explanation
A predicate contains a variable and describes a condition that may hold for an object assigned to that variable.
- 24In the predicate Q(x,y) stating that x+y=3, substituting values for both variables determines whether the predicate is_____.
Hint
Try values such as x=1 and y=2.
Answer
true
Explanation
A predicate with all variables assigned can be evaluated as true or false; for example, 1+2=3 is true.
- 25The set of values from which a quantified variable may be chosen is its universe, also called its_____.
Hint
It specifies which objects are under consideration.
Answer
domain
Explanation
A universe or domain identifies the permissible values for a variable in a predicate statement.
- 26The universe for a predicate saying “x is a student” should contain suitable objects, such as people, rather than only_____.
Hint
Choose a set whose members could meaningfully satisfy the predicate.
Answer
integers
Explanation
The domain must fit the predicate. Integer values would not be an appropriate universe for a statement about being a student.
- 27The universal quantifier means that a predicate holds for_____value in the specified universe.
Hint
It is read as “for all.”
Answer
every
Explanation
A universally quantified statement is true only if the predicate holds for every member of its domain.
- 28The existential quantifier asserts that the predicate holds for at least_____value in the specified universe.
Hint
It is read as “there exists.”
Answer
one
Explanation
An existentially quantified statement is true when at least one member of the domain satisfies the predicate.
- 29In programming-language terms, the universal quantifier is associated with a_____statement.
Hint
This loop form applies an operation across all values in a collection.
Answer
for
Explanation
The lecture relates a universal quantifier to a “for” statement because it concerns every value in a domain.
- 30In the lecture's programming analogy, the existential quantifier is associated with searching for a value using a combination of_____statements.
Hint
This statement tests whether a condition holds.
Answer
if
Explanation
An existential claim asks whether at least one value satisfies a condition, which can be checked by testing values with “if” statements.
- 31In a nested quantified expression, the scope or domain of a variable is the portion of the predicate governed by that variable's_____.
Hint
It identifies how far the variable's “for all” or “there exists” applies.
Answer
quantifier
Explanation
A variable's scope is the part of the predicate to which its quantifier applies; another variable may have a different scope.
- 32Logical connectives applied to predicates determine the compound statement after values are_____for the variables.
Hint
The predicates must first be evaluated for particular objects.
Answer
substituted
Explanation
A connective combines the truth values of predicates once values have been assigned to their variables.
- 33Negating “for all x, P(x)” is equivalent to saying that there_____an x for which P(x) is false.
Hint
A single counterexample is enough to show that a universal claim fails.
Answer
exists
Explanation
The negation of a universal statement is existential: not every object satisfies P, so at least one object does not.
- 34Negating “there exists an x such that P(x)” is equivalent to saying that for all x, P(x) is_____.
Hint
If no object satisfies the predicate, it fails for every object.
Answer
false
Explanation
The negation of an existential statement says that no object in the domain satisfies the predicate.
- 35When a negation is pushed through a conjunction, De Morgan's law changes the conjunction into a_____.
Hint
The two component predicates are negated, and the connective switches from “and” to “or.”
Answer
disjunction
Explanation
De Morgan's law states that not of P and Q is equivalent to not P or not Q.
- 36When a negation is pushed through a disjunction, De Morgan's law changes the disjunction into a_____.
Hint
The two component predicates are negated, and the connective switches from “or” to “and.”
Answer
conjunction
Explanation
De Morgan's law states that not of P or Q is equivalent to not P and not Q.
- 37To negate a nested quantified statement, move the negation inward one step at a time, changing each quantifier to its_____.
Hint
A universal quantifier and an existential quantifier exchange roles under negation.
Answer
opposite
Explanation
Negating a universal quantifier produces an existential quantifier, and negating an existential quantifier produces a universal quantifier; the predicates are negated as well.
- 38The negation of a negated proposition returns the original proposition, a rule called double_____.
Hint
Applying “not” twice cancels the first application.
Answer
negation
Explanation
Double negation states that not of not P is equivalent to P.
- 39A rule of inference uses accepted premises to justify a further statement called the_____.
Hint
It is the claim written below the inference line.
Answer
conclusion
Explanation
Rules of inference specify when a conclusion follows from one or more given premises.
- 40From p, it is valid to infer “p or q,” because a true disjunction needs at least one true_____.
Hint
The premise already establishes that one side of the disjunction holds.
Answer
proposition
Explanation
If p is true, then the inclusive disjunction p or q is true regardless of q.
- 41From “p and q,” it is valid to infer p alone; this uses the fact that a true conjunction makes each component_____.
Hint
A conjunction can be true only if both of its parts are true.
Answer
true
Explanation
Since p and q is true only when both components are true, either component may be inferred.
- 42From the premises p and q, one may validly infer “p and $q”; this is conjunction_____.
Hint
The rule combines two established statements into one conjunction.
Answer
introduction
Explanation
Conjunction introduction allows separate true premises to be combined into a conjunction.
- 43From “p or q,” one cannot conclude p alone, because the case where p is false and q is true still makes the premise_____.
Hint
Inclusive “or” does not identify which disjunct holds.
Answer
true
Explanation
The disjunction is true when either component is true, so it does not guarantee that p is true.
- 44From p implies q and p, the valid conclusion q follows by modus_____.
Hint
This rule affirms the antecedent of an implication.
Answer
ponens
Explanation
Modus ponens applies the implication and its true antecedent to infer its consequent.
- 45From p implies q and not q, one may infer not p by modus_____.
Hint
This rule uses the failure of the consequent to reject the antecedent.
Answer
tollens
Explanation
Modus tollens states that if an implication holds and its consequent is false, then its antecedent must be false.
- 46If the universal statement “for all x, P(x)” is true, then P(a) is true for a particular value a in the domain; this is universal_____.
Hint
This rule applies a universal claim to one selected object.
Answer
instantiation
Explanation
Universal instantiation allows a universally quantified predicate to be applied to any particular member of its domain.
- 47If P(c) is true for a particular member c of the domain, one may infer that there exists an x such that P(x); this is existential_____.
Hint
A witnessed example supports a claim that at least one suitable value exists.
Answer
generalization
Explanation
Existential generalization moves from a predicate true of one particular object to the claim that some object satisfies it.

Ask anything
We've read this whole study set, so questions about it get the best answers.