Disjunction

Learn to join two or more propositions using disjunction operation.

What is a disjunction?

Disjunction is also a binary operation (requiring two operands). When two propositions are connected using the disjunction operation, it becomes a new proposition whose truth value depends on the truth values of the operands. Disjunction is also known as the OR operator.

Example


Consider the following propositions:

  • SAS_A: Sara is taking an algebra course.
  • SCS_C: Sara is taking a calculus course.

Let’s make a new proposition SS by taking the disjunction of SAS_A and ScS_c.

  • SS: “Sara is taking an algebra course” or “Sara is taking a calculus course.”

We can simplify SS without changing the meaning.

  • SS: Sara is taking an algebra or a calculus course.

We use the \lor symbol to represent the disjunction operation. Therefore,

SSASC.S \equiv S_A \lor S_C.

The truth value of SS is false only when SAS_A and SCS_C both are false and it is true otherwise.

Truth table

We can represent this relationship of truth values in the form of a truth table. Let pp and qq be two propositions. The definition of their disjunction, pq,p \lor q, is given by the following truth table.

pp qq pqp \lor q
T T T
T F T
F T T
F F F

Note: pqp \lor q is true when at least one of the pp or qq is true.

In 0/10/1-notation, pqp \lor q is defined by the following table:

pp qq pqp \lor q
11 11 11
11 00 11
00 11 11
00 00 00

A keen observer must have realized that each entry in the last column can be obtained by taking the maximum of corresponding entries in the first two columns; that is,

pq=max(p,q).p\lor q = \mathrm{max}(p,q).

Circuit diagram

Let’s illustrate the concept of disjunction through circuit diagrams. Here is the key that will aid you in understanding diagrams.

Press + to interact
Description of truth values of the elements used in the diagrams
Description of truth values of the elements used in the diagrams

When both pp and qq are false both switches are off. Therefore, the circuit is not complete, and the bulb is off. This indicates that pqp \lor q is false.

Press + to interact
Disjunction of the truth values of both switches returns false
Disjunction of the truth values of both switches returns false

When pp is true and qq is false, one of the switch is on and the other switch is off. Since the bulb is connected to both ++ and - terminals of the battery, therefore it is on. This indicates that the truth value of pqp \lor q is true.

Press + to interact
Disjunction of the truth values of both switches returns true
Disjunction of the truth values of both switches returns true

Similarly, when pp is false and qq is true, one of the switches is on and the other switch is off. Since the bulb is connected to both ++ and - terminals of the battery, therefore it is on. This indicates that the truth value of pqp \lor q is true.

Press + to interact
Disjunction of the truth values of both switches returns true
Disjunction of the truth values of both switches returns true

When both pp and qq are true, both switches are closed. Since the bulb is connected to both ++ and - terminals of the battery, therefore it is on. This indicates that the truth value of pqp \lor q is true.

Press + to interact
Disjunction of the truth values of both switches returns true
Disjunction of the truth values of both switches returns true

Inclusive versus exclusive disjunction

In mathematics, the convention is to always take disjunction operation as an inclusive disjunction. This is in contrast to the everyday use of the word “or.” In everyday language, “or” has two meanings: an inclusive one and an exclusive one. The exact meaning is extracted from the context.


Consider these propositions:

  • k1k_1: Kennedy is wearing sneakers.
  • k2k_2: Kennedy is wearing slippers.
  • kk1k2k \equiv k_1 \lor k_2: Kennedy is wearing sneakers or slippers.

When we use kk as a statement in everyday language, we never assume that Kennedy could be wearing both sneakers and slippers. The logical OR or disjunction does not prohibit the possibility that k1k_1 and k2k_2 are simultaneously true. In this case, the disjunction does not correspond to our intended meaning. We want to say that either k1k_1 is true or k2k_2 is true, but not both; we are demanding an exclusive disjunction.

In everyday language, the meaning of the word “or” is extracted from the context.

Mathematicians are meticulous and do not want to leave any ambiguity in expressing mathematical statements. Therefore, they have agreed that \lor would always represent an inclusive disjunction. This definition makes children very happy: for Timmy, when asked to eat a chocolate ice cream or a strawberry one, he can eat both!

When reading mathematical text always keep in mind that \vee is an inclusive disjunction.

In mathematics, we use the symbol \oplus to represent exclusive disjunction. It is called exclusive OR, and we also write it as XOR.

Let’s use exclusive disjunction to construct a new proposition kk'.

kk1k2.k' \equiv k_1 \oplus k_2.

kk' now properly expresses what we want. Translated in common language kk' states that,

“Kennedy is wearing sneakers or slippers but not both.”

Given two propositions pp and qq, their exclusive disjunction, pqp \oplus q, is defined by the truth table below. We have also included the definition of the inclusive disjunction for comparison.

pp qq pqp \lor q pqp \oplus q
T T T F
T F T T
F T T T
F F F F

Note: When both pp and qq are true then their XOR is false. This is sometimes the case in real life. In such cases, “or” is exclusive, and therefore it is actually an XOR.

We must be careful, in mathematics and everyday life while using disjunction and be clear if we mean inclusive or exclusive disjunction.

Quiz

Test your understanding of disjunction.

1

If rr and ss are two propositions, then the truth values of srs \lor r and srs \oplus r will be different when:

A)

ss is true and rr is false.

B)

Both ss and rr are false.

C)

Both ss and rr are true.

D)

ss is false and rr is true.

Question 1 of 30 attempted