For example, “One of my cats is grey and white in color” or “My brother is 22 years old” are statements (albeit not very mathematically precise). A sentence such as “\(x+y=0\)” is not a statement because it is possible for the sentence to be true for certain values of \(x\) and \(y\) (such as if \(x=2\) and \(y=-2\)) and false for others (such as if \(x=10\) and \(y=3\)). So, in short, a sentence is a statement, essentially if it is unconditionally true or unconditionally false (i.e. either true or false “no matter what”).
Mathematics, as a whole, is a collection of true statements logically derived from a set of core assumptions (called axioms) and definitions. New compound statements can be formed by combining statements in a few different ways using what are called logical connectives.
That is, \(\neg p\) is true when \(p\) is a false statement, and \(\neg p\) is false if \(p\) is a true statement. This is represented in the truth table for \(\neg p\) below.
\(p\) | \(\neg p\) |
False | True |
True | False |
\(p\) | \(\neg p\) |
“Emily is a friendly person.” | “Emily is NOT a friendly person |
“It will not rain today” | “It will rain today” |
“\(2<6\)” | “\(2\geq 6\)” |
For the conjunction \(p\wedge q\) of \(p\) and \(q\) to be true, it is required that both \(p\) and \(q\) are true. This is the only way that \(p\wedge q\) is true. This can be seen in the truth table below.
\(p\) | \(q\) | \(p\wedge q\) |
F | F | F |
F | T | F |
T | F | F |
T | T | T |
\(p\) | \(q\) | \(p\wedge q\) |
“It is raining” | “I am dry” | “It is raining and I am dry” |
“I hate working” | “I like money” | “I hate working but (and) I like money” |
“\(1\leq 5\)” | “\(5\leq 10\)” | “\(1\leq 5\) and \(5\leq 10\)” or rather “\(1\leq 5\leq 10\)” |
Note that the word “but” has the same meaning as the word “and” from a logical standpoint. So, statements like “It is cold but it is not snowing” is logically equivalent to “It is cold and it is not snowing.” The word “but” is used when two statements are true, but it seems that the statements oppose one another in content (such as this sentence, for example!). There is no rule for when to use “but” versus “and.” Just use whichever sounds right intuitively; either one is correct because “and” and “but” are logically treated as the same. Similar remarks can be made for the word “while” such as in the statement “My cats eat steak while I eat cereal.”
Let \(p\) and \(q\) be statements. The statement “Neither \(p\) nor \(q\)” is logically equivalent to “\(\neg p\) and \(\neg q\).” For example, the statement “The glass is neither full nor empty” is logically the same as saying “The glass is not full and the glass is not empty.”
Logical “OR” is slightly different from our intuitive idea of “OR.” In common parlance, “OR” implies exclusivity; as in “either \(p\) or \(q\) (but not both).” Logical “OR” allows for both \(p\) and \(q\) to be true. All this is expressed in the truth table below.
\(p\) | \(q\) | \(p\vee q\) |
F | F | F |
F | T | T |
T | F | T |
T | T | T |
\(p\) | \(q\) | \(p\vee q\) |
“I’ll eat cake” | “I’ll eat ice cream” | “I’ll eat cake or I’ll eat ice cream” |
“I prefer blue” | “I prefer red” | “I prefer blue or I prefer red” |
“\(1<0\)” | “\(5=4\)” | “\(1<0\) or \(5=4\)” |
“\(x=2\)” | “\(x=-2\)” | “\(x=\pm 2\)” |
The symbols \(\vee\), \(\wedge\), and \(\neg\) above, for OR, AND, and NOT, respectively, are examples of what are called logical connectives.
A tautology is a statement that is true no matter what. A contradiction is a statement that is false no matter what. For example, the statement “The fish is green OR the fish is not green” is a tautology; the statement is true no matter what color the fish is. Contrarily, the statement “x>1 AND x<-5” is a contradiction; no matter what value \(x\) takes (no number is both greater than 1 and less than -5).
Remember: \(\neg\) means “not,” \(\vee\) means “OR” and \(\wedge\) means “AND.”
Recall \(A=\{0,1,…,10\}\) and \(B=\{3,4,5,6\}\).