We use the word *and* and *or* many times in every day language. Consider the following statements.

I will cook lunch *and* I will clean the room.

I will cook lunch *or* I will clean the room.

In the first statement, the speaker implies that he will do both things. He will cook lunch and clean the room. Of course, it doesn’t matter if he will do these things separately or which will he do first. The word *and* in this statement means that he will do both chores.

In the second sentence, the speaker implies that he is choosing between cooking lunch and cleaning the room. Although he may do the other thing later, but at that particular moment, the word *or* in this statement means that he is trying to choose to do one of the two chores.

The phrases above can be represented by* p* and *q *as follows*.*

*p*: I will cook lunch.

*q*: I will clean the room.

Using *p* and *q*, the first sentence can be represented by ** p and q**, and the second sentence can be represented by

**.**

*p*or*q*The sentence ** p and q **is true when and only when both

*p*and

*q*are true. The sentence

**is true in all cases except when both p and q are false.**

*p*or*q*The truth table of *and* and *or* is shown below. As we can see, *p* and *q* is only true if both of them are true, otherwise false.

The most familiar use of *and* and *or* in mathematics is probably inequality. In one variable inequality, when we say , we mean that or . Suppose we let

p: x = 4

q: x < 4.

If , then it makes p FALSE and q TRUE. Still, this makes the statement TRUE as shown in the second row of the *or* truth table.

Another example is the statement . This statement can be stated as and . Again, if we let

p: x > 1

q: x < 9,

then, makes the p FALSE and q TRUE. This makes the whole statement false as shown in the third row of the *and* truth table. On the other hand, makes both *p* and *q* TRUE (Can you see why?) and therefore, makes the statement true.

There are are two types of *or* statements. When a restaurant gives a free juice or shake, we usually assume that we can choose only one and will have to pay for the other one if we want both. This is called **exclusive or**. However, when we are asked if we want to have cream or sugar in our coffee, then we can ask one or for both. This is called **inclusive or**. So, inclusive or means** p or q **or

**both**and exclusive or means

**but**

*p*or*q***not both**. In math, we usually use inclusive or.