



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An excerpt from a university course on Logic and Proofs, designed for mathematics majors. It introduces the fundamental concepts of statements, logical connectives, universal and existential quantifiers, and negation. Students will learn how to manipulate statements using logical connectives and quantifiers, and understand the concept of conditional statements and their contrapositives.
Typology: Exercises
1 / 5
This page cannot be seen from the preview
Don't miss anything!
The primary purpose of this course is to introduce you, most of whom are mathematics majors, to the most fundamental skills of a mathematician; the ability to read, write, and understand proofs. Indeed, this is a course where proofs matter more than results.
That said, Ishould also stress that this is not supposed to be a killer course. Yes, we are going to be rigorous and meticulous; but we will take our time to cover the material. And while we will be often dealing in abstractions; our purpose shall be to develop concrete ways of handling far reaching concepts.
In order to get our bearings, let us begin with a discussion of logic and proof. Much of this discussion will appear as common sense. However, not all common sense is logical, nor does every common sensical argument constitute a proof. For this reason, we must delineate from the start, exactly what constitutes a logical argument.
1.1. Statements.
Definition 1.1. A statement is a declarative sentence that is either true or false.
Each of the following sentences is a statement:
Every square has four sides. π is a rational number. Orange is the best color.
Note that the first statement is true, the second is false and the third is merely an opinion.
Let us now lay out the means by which we manipulate statements in a logical manner.
1.2. Compound Statements. Suppose P and Q are statements which are either true or false. Then there are several ways we can create new statements which are also either true or false.
1.2.1. Logical Connectives.
Definition 1.2. If P and Q are statements, then “P and Q” is a true statement only if P and Q are both true; otherwise “P and Q” is false.
Thus,
P is true and Q is false. Q is true and P is false. Q is false and P is false.
1
In standard English the conjunction “or” can be used in two distinct ways depending on the context: first of all it can be used to exclude one or the other of two possibilities:
The result of a coin toss is either head or tails.
We refer to this usage as the exclusive or. The word “or” can also be used to include two possibilities:
Ineed 6 or 7 dollars.
In mathematics, one always uses the logical connective “or” in the inclusive sense.
Definition 1.3. If P and Q are statements, then “P or Q” is a true statement only if P , Q is true, or P and Q are both true; otherwise “P or Q” is false.
So there are always three possibilities for “P or Q” to be a true mathematical statement and only one possibility for it to be false:
P is true and Q is true. P is true and Q is false. Q is true and P is false.
The statement P is called the hypothesis, or premise, and the statement Q is called the conclusion. Here are some examples:
If x and y are integers, then x + y is an integer. x = 0 ⇒ x^2 > 0.
There are several ways of phrasing a conditional statement, all of which mean the same thing:
If P , then Q. P implies Q. P is sufficient for Q. Q provided that P. Q whenever P.
1.4. The Contrapositive of a Conditional Statement. The contrapositive of a conditional state- ment
If P , then Q.
is the conditional statement
If not-Q , then not-P
For example, the contrapositive of
If x < 6, then x < 8
is
If x is not less than 8, then x is not less than 6
or, equivalently,
If x ≥ 8 , then x ≥ 6.
In this example, the truth of the original conditional statement seems to guarantee the truth of its contra- positive. In fact,
The conditional statement “P ⇒ Q” is equivalent to its contrapositive “not-Q ⇒ not-P ”.
Let’s prove
“ P ⇒ Q” implies “not-Q ⇒ not-P ”.
By hypothesis, if P is true, then Q is true. Suppose not-Q is true. Then Q is false. But then P can not be true, since that would contradict our hypothesis. So not-P must be true.