In Discrete Mathematics, the use of propositions alone is too limiting to describe complex and dynamic logical scenarios. Operators make it possible to combine multiple propositions:
Negation operator
Taking for example the propositions , we can negate all of them using the negation operator, noted as , , or . It’s possible to use it with any proposition to declare the opposite of it. If the is true, then is false. One could consider as ‘not ‘.
For already false propositions, when negating it, they are declared as true propositions, e.g. :
Conjunction operator
Conjunctions evaluates the truth value of both propositions, similar to the AND logical operator. In this case, the used notation is . Let and as propositions, will be the conjunction of both propositions, interpreted as and .
A conjunction will be true only if both propositions are true, otherwise the proposition can be considered as false.
- and .
- and .
- and .
Disjunction operator
Disjunction also evaluates two propositions, but it’s similar to the OR logical operator. It declared as true if at least one of the propositions are true. In this case, the used notation is . e.g. :
- and .
- and .
- and .
Exclusive Disjunction
There’s also the exclusive disjunction, which will evaluate the statement as false if both propositions are true, similar to the XOR logical operator. In this case, the used notation is . e.g. :
- and .
- and .
- and .
Conditional Operator
Conditional operators can also be used to connect propositions and create complex logic and relationships between different propositions. Also known as implications.
Given two propositions and , the conditional proposition declares “if , then “. In other words: implies , where is a premise and is the conclusion. is only false when is true and is false, and is true otherwise.
- and .
- and .
- and .
- and .
Biconditional Operator
The biconditional statement ” if and only if ”, denoted as , is only true when and carry the same truth value, and is false otherwise. Also abbreviated as ” iff “.
In other words, the biconditional operator evaluates if both and share the same value.
- and .
- and .
- and .
- and .