Logic Flashcards
What is a predicate?
A predicate is a sentence that contains finitely many variables and becomes a statement if the variables are each assigned a value.
What word defines the list of all possible values that may be assigned to each variable (in a predicate)
Domain
True or false? The following is a predicate
“Is x and integer”
False.
When something is put into x, it will become a question, not a statement
What is the meaning of a truth set of a predicate
The truth set, P(x), is the set of all values in the domain, that when assigned to x, will make P(x) true.
What does ℤ mean?
It defines the list of all posible integers
It is a common domain
What does ℤ+ mean?
It defines the list of all posible positive integers
It is a common domain
What does ℤnonneg mean?
It defines the list of all posible integers that are not negative including zero
It is a common domain
What does ℕ mean?
The list of all natural numbers which means numbers that are greater or equal to 1
It is a common domain
What does ℚ mean?
The list of all rational numbers. Meaning numbers that divide into an integer
It is a common domain
What does ℝ mean?
The list of all real numbers
It is a common domain
True or false?
Predicates can be written as follows: P(x,y) = x is a student at y
True
What does the symbol ∀ mean and what is it called?
The universal quantifier and it means “for all”
When is the statement ∀ x
∈ D, Q(x) true?
If and only if, Q(x) is true for each individual x
in D
When is the statement ∀ x
∈D, Q(x) false?
If and only if, Q(x) is false for at least one x
in D
Let D = {1, 2, 3, 4, 5}, and consider the statement
∀ x
∈ D, x
2 ≥ x
Write one way to write this sentence in full english
(no symbols)
“For every x in the set D, x2 is greater than or equal to x.
This statement is true
Consider the statement
∀ x
∈ R, x2 ≥ x
Find a counterexample to show that this statement is false
x=1/2
What is the method of exhaustion?
It is when you try proving the truth of a predicate for each and every individual element of a domain
What the does symbol ∃ define and what is it called?
It denotes “there exists” and is called the existential quantifier
When is the statement ∃ x
∈D, Q(x) true?
If and only if, Q(x) is true for at least one x
in D
Rewrite the following formal statement in a variety of equivalent but more informal ways.
a. ∀ x ∈ ℝ, x2 ≥ 0
b. ∀ x ∈ ℝ, x2 -1 ≠ 0
c. ∃m ∈ ℤ+ such that m2 = m
(Do note use the the symbol ∃ or ∀)
What is meant by a quantifier ‘trailing’ a statement
Instead of writing with a quantifer at the start of the sentence (“For any real number x, x2 is nonnegative”), the quanitfer is changed to the end of the sentence (“x2 is nonnegtaive for any real number x“)