Disjunction
Learn to join two or more propositions using disjunction operation.
We'll cover the following
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:
- : Sara is taking an algebra course.
- : Sara is taking a calculus course.
Let’s make a new proposition by taking the disjunction of and .
- : “Sara is taking an algebra course” or “Sara is taking a calculus course.”
We can simplify without changing the meaning.
- : Sara is taking an algebra or a calculus course.
We use the symbol to represent the disjunction operation. Therefore,
The truth value of is false only when and 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 and be two propositions. The definition of their disjunction, is given by the following truth table.
T | T | T |
T | F | T |
F | T | T |
F | F | F |
Note: is true when at least one of the or is true.
In -notation, is defined by the following table:
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,
Circuit diagram
Let’s illustrate the concept of disjunction through circuit diagrams. Here is the key that will aid you in understanding diagrams.
When both and are false both switches are off. Therefore, the circuit is not complete, and the bulb is off. This indicates that is false.
When is true and 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 is true.
Similarly, when is false and 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 is true.
When both and 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 is 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:
- : Kennedy is wearing sneakers.
- : Kennedy is wearing slippers.
- : Kennedy is wearing sneakers or slippers.
When we use 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 and are simultaneously true. In this case, the disjunction does not correspond to our intended meaning. We want to say that either is true or 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 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 is an inclusive disjunction.
In mathematics, we use the symbol 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 .
now properly expresses what we want. Translated in common language states that,
“Kennedy is wearing sneakers or slippers but not both.”
Given two propositions and , their exclusive disjunction, , is defined by the truth table below. We have also included the definition of the inclusive disjunction for comparison.
T | T | T | F |
T | F | T | T |
F | T | T | T |
F | F | F | F |
Note: When both and 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.
If and are two propositions, then the truth values of and will be different when:
is true and is false.
Both and are false.
Both and are true.
is false and is true.