27.12.2013 Views

Book of Proof - Amazon S3

Book of Proof - Amazon S3

Book of Proof - Amazon S3

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

36 Logic<br />

2.2 And, Or, Not<br />

The word “and” can be used to combine two statements to form a new<br />

statement. Consider for example the following sentence.<br />

R 1 : The number 2 is even and the number 3 is odd.<br />

We recognize this as a true statement, based on our common-sense understanding<br />

<strong>of</strong> the meaning <strong>of</strong> the word “and.” Notice that R 1 is made up <strong>of</strong><br />

two simpler statements:<br />

P : The number 2 is even.<br />

Q : The number 3 is odd.<br />

These are joined together by the word “and” to form the more complex<br />

statement R 1 . The statement R 1 asserts that P and Q are both true. Since<br />

both P and Q are in fact true, the statement R 1 is also true.<br />

Had one or both <strong>of</strong> P and Q been false, then R 1 would be false. For<br />

instance, each <strong>of</strong> the following statements is false.<br />

R 2 : The number 1 is even and the number 3 is odd.<br />

R 3 : The number 2 is even and the number 4 is odd.<br />

R 4 : The number 3 is even and the number 2 is odd.<br />

From these examples we see that any two statements P and Q can<br />

be combined to form a new statement “P and Q.” In the spirit <strong>of</strong> using<br />

letters to denote statements, we now introduce the special symbol ∧ to<br />

stand for the word “and.” Thus if P and Q are statements, P ∧Q stands<br />

for the statement “P and Q.” The statement P ∧Q is true if both P and Q<br />

are true; otherwise it is false. This is summarized in the following table,<br />

called a truth table.<br />

P Q P ∧Q<br />

T T T<br />

T F F<br />

F T F<br />

F F F<br />

In this table, T stands for “True,” and F stands for “False.” (T and F are<br />

called truth values.) Each line lists one <strong>of</strong> the four possible combinations<br />

or truth values for P and Q, and the column headed by P ∧Q tells whether<br />

the statement P ∧Q is true or false in each case.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!