Skip to content

Basic Logic Connectives ​

For basic and important logic connectives are introduce here.

Conjunction ​

When we have p∧q, we have the conjunction of p and q.

The value of p∧q is true only when both p and q are TRUE.

Disjunction ​

When we have p∨q, we have the disjunction of p and q. It is actually the proposition "p or q".

Then value of p∨q is false only when both p and q are FALSE.
It means that if there is at least one proposition of the disjunction is True, then the value of disjunction is TRUE.

Inclusive OR and Exclusive OR ​

These are two kinds of OR in practical cases. The inclusive OR is actually the disjunction.

The exclusive or, namely XOR, is the proposition which is true only when one of p or q is true. When both p and q are true, the XOR is false.

Noted by p⊕q, we sometimes need the XOR in discrete math.

Conditional Statement ​

The conditional statement p→q is the proposition "if p, then q".

The conditional statement is false only when p is TRUE but q is FALSE.
Otherwise:

  • When p is true(false) and q is also true(false), the proposition is obviously true.
  • When p is false and q is true, it means that no mater what p is, the proposition q is always true.

Biconditional Statement ​

The biconditional statement p↔q is the proposition "p of and only if q".

When p is true(false) and q is also true(false), the proposition is obviously true.

But when the truth value of p and q are not the same, the proposition is always FALSE.