Chapter 5: Logic Flashcards

1
Q

What is a statement?

A

A statement is a sentence or mathematical expression that is either true or false

  • Note that:
    • Every theorem/proposition/lemma/corollary is a true statement
    • Every conjecture is a statement (of unknown truth value)
    • Every incorrect calculation is a (false) statement)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an open sentence?

A

A related notion is that of an open sentence, which are sentence or mathematical expressions which (1) do not have a truth value, (2) depend on some unknown, like a variable x or an arbitrary function f, and (3) when the unknown is specified, then the open sentence becomes a statement (and so has a truth value). Their truth value
depends on which value of x or f one chooses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What notation do we typically use for statements or open sentences?

A
  • Remember or in maths in “inclusive” (A or B or both).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Examples of Statements using the usual notation?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the notation for implication?

A
  • The first is defined as a conditional statement whereas the second is a biconditional.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are some subtly different ways to say “P implies Q”?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are some subtly different ways to say “P if and only Q”?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the converse of P –> Q?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How can the logic statements be applied to set unions and intercept notation?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can the logic statements be applied to set complement notation?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How can the “imply” logic statements be represented in set notation?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can we represent P ∧ Q on a Truth table?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How else can the “not” logic symbol be written?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How can we represent P v Q on a Truth table?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How can “not P” be represented on the truth table?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the truth values of ( P v Q) ∧ (~P ∧ Q) and how are they represented in a truth table?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are De Morgan’s Logic Laws?

A

Since the final columns are the same, if one is true, the other is true; if one is false, the
other is false; that is, there is no way to select P and Q without these two agreeing.
When two statements have the same final column in their truth tables, like in the
the example above, they are said to be logically equivalent (one is true if and only if
the other is true), which we denote with an “⇔” symbol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

How else can De Morgan’s logic law be written?

A
18
Q

How are implications added to Truth Tables?

A
  • For if n =2, n is even
  • So WHY is the implication true if the assumption, P, is false?
    • Because it is vacuously true: Is kind of like we said that “If x ∈ ∅, then x is a purple elephant that speaks German –> if there is nothing in the set then you can claim what you want about x as there is nothing in the set you can use to prove it wrong.
    • So in a universe where P is not true, it claims nothing and hence P –> ! it vacuously true
  • Another way to think about it is if P –> Q is false if P –> Q is a lie
    • IF a said get A (final) –> A (class), if you get a B in the final and a B in class you can say my implication is wrong, equal if you got a B on the final but a A(class) you also wouldn’t say I lied to you either.

Hence the last two cases in the implication table are true

19
Q

What does the truth table look like for “P if and only if Q”?

A
20
Q

What is a quantifier?

A
  • A quantifier is an expression which indicates the number (or quantity) of our objects
  • These are used to turn a sentence like “n is even” into a statement (e.g. “by saying If n=5, then n is even”) which turns the sentences into something that is either true or false
21
Q

What are two of the most important quantifiers in maths and what are their symbols?

A
  • The symbol ∀ means “for all” or “for every” or “for each”, and is called the
    universal quantifier
  • The symbol ∃ means “there exists” or “for some”, and is called the existential
    quantifier
22
Q

Example of negations?

A
23
Q

What are the rules of thumb for negating statements?

A
  • neggation would be “someone in the NBA is unable to dunk.” Indeed, in order to show
    “Every NBA player can dunk” is false, you would have to show that “someone in the
    NBA is unable to dunk” is true. Using quantifiers more explicitly, the negation of
    “For all players p in the NBA, player p can dunk” would be “There exists an NBA
    player p such that p can not dunk.”

…. If the universe of people I’m talking about are NBA players, then the negation remains in that universe. Getting back to our original example withR, if the universe of x-values that I am referring to is R, then the negation remains n that universe. That’s why the negation is “∃ x ∈ R,” rather than “∃ x 6∈ R.”

24
Q

How does negation apply to implications?

A
25
Q

How is the Contrapositive defined and what does its truth table look like?

A
26
Q

What does the contrapositive truth table look similar to?

A

The final column of the truth table of P –> Q

27
Q

THEOREM: What is logical equivalence to an implication?

A
28
Q

How do you prove an existense statement?

A
  • To prove an existence statement, it suffices to exhibit an example satisfying the criteria.
  • For example, in the opening pages of this book we proved that “there exists a perfect covering of a chessboard,” and we did so by drawing one out.
  • Likewise, if you were asked to prove that “there exists an integer with exactly three positive divisors,” you could just find an integer which satisfies this; 4 is such an integer
28
Q

What are constructive and non-constructive proofs?

A
  • The above strategy is called constructive proof — you literally construct an example. There are also non-constructive ways to prove something exists. Often (but not always!) non-constructive proofs make use of some other theorem.
28
Q

What is an example of a non-constructive proof?

A
29
Q
A
30
Q
A
31
Q

What is a Universal Proof?

A
  • To prove a universal statement, it suffices to choose an arbitrary case and prove it works there
  • For example, if you were asked to
    prove that “For every odd number n, it follows that n+ 1 is even,” your proof wouldn’t explicitly check 1 and 3 and 5 and so on
  • Proving something holds for an arbitrary element of a set, proves that it in turn holds for every element in that set.
    The field of real analysis has a lot of definitions which make good use of quantifiers.
32
Q

Example of a universal proof used in real analysis?

A
32
Q

What is a paradox?

A
  • The term is used in several distinct ways
    • One being that it is used to mean something is “counterintuitive” but the logic is being bent or broken
      *Some are like the magic trick sort of variety Like the picture attached.
  • Others are where logic doesn’t break but due to faulty definitions we can get into loops where something is defined by itself but it says not to contain or be defined by itself.
    • e.g. the set R = {x : x ∉ x}
  • The remaining “paradoxes” in math are of the false-at-their-core type.39 There is
    some fundamental flaw which is causing the inconsistency, like the basic misuse of an idea or object
33
Q

What are autological words?

A

a word that is an example of itself:
* For instance, a word is a word, and unhyphenated has no hyphens. Here are some more:
* A pentasyllabic word is one having five syllables, and the word itself has five
syllables.
**The word oxymoron refers to a term that is self-contradicting. The word has
two parts to it:
* The ‘oxy’ part comes from a Greek word meaning ‘sharp’, and the ‘moron’ part means ‘dull’. The word itself is self-contradicting, so it is an oxymoron!

34
Q

What is the paridoxical set R = {x : x ∉ x}
?

A
  • Symbolically, there was no reason to disallow such a set definition, but yet you can work out the strange contradiction that R ∈ R if and only if R ∉ R; indeed, if R is not a member of itself, then according to its definition it must be a member of itself, and if it does contain itself, then it contradicts its own definition. How unsettling!
  • Russell’s paradox demonstrated a hole in our theory, but that hole is now patched.

*In the above example, it was natural to assume that since the set R was able to
be succinctly defined, that it must exist. But this was false, and no such R exists.
* The issue comes down to the fact that the set’s definition, in some way, referred back to itself.
No word in the dictionary uses itself in its definition but in a less direct way
language can also fall into this trap

35
Q

What is the definition of converges concerning sequences?

A
36
Q

What is the outline to prove a sequence converges?

A
37
Q

PROOF: Let (an) be the sequence where a = 1/n. Then, an → 0

A
38
Q

PROOF:Let (an) be the sequence where an = 2 −(1/n2). Then, an → 2.

A
39
Q

PROOF:Let (an) be the sequence where an = (3n+1)/(n+2). Then, an → 3.

A