06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

“mcs” — 2017/3/3 — 11:21 — page 61 — #69<br />

3.6. Predicate Formulas 61<br />

“P vs. NP” problem. 2 It is the outstanding unanswered question in theoretical<br />

computer science. It is also one of the seven Millenium Problems: the Clay Institute<br />

will award you $1,000,000 if you solve the P vs. NP problem.<br />

3.6 Predicate Formulas<br />

3.6.1 Quantifiers<br />

The “<strong>for</strong> all” notation 8 has already made an early appearance in Section 1.1. For<br />

example, the predicate<br />

“x 2 0”<br />

is always true when x is a real number. That is,<br />

8x 2 R: x 2 0<br />

is a true statement. On the other hand, the predicate<br />

“5x 2 7 D 0”<br />

is only sometimes true; specifically, when x D ˙p7=5.<br />

There is a “there exists”<br />

notation 9 to indicate that a predicate is true <strong>for</strong> at least one, but not necessarily all<br />

objects. So<br />

9x 2 R: 5x 2 7 D 0<br />

is true, while<br />

8x 2 R: 5x 2 7 D 0<br />

is not true.<br />

There are several ways to express the notions of “always true” and “sometimes<br />

true” in English. The table below gives some general <strong>for</strong>mats on the left and specific<br />

examples using those <strong>for</strong>mats on the right. You can expect to see such phrases<br />

hundreds of times in mathematical writing!<br />

2 P stands <strong>for</strong> problems whose instances can be solved in time that grows polynomially with the<br />

size of the instance. NP stands <strong>for</strong> nondeterministtic polynomial time, but we’ll leave an explanation<br />

of what that is to texts on the theory of computational complexity.

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

Saved successfully!

Ooh no, something went wrong!