All articles
Discrete MathematicsOpen to everyone

Propositional Logic: Statements, Connectives, Truth Tables

Learn the fundamentals of propositional logic, including statements, logical connectives, truth tables and compound propositions.

Gulshan Kumar

· 15 min read

Proposition (Statement)

A proposition (or statement) is a declarative sentence that has exactly one truth value: it is either True (T) or False (F), but not both.

In simple terms:

If a sentence makes a definite claim that can be classified as true or false, then it is a proposition.


Examples of Propositions

Consider the following sentences:

  1. New Delhi is the capital of India.
    This is a proposition because it makes a definite claim. Its truth value is True (T).

  2. 7+5=157 + 5 = 15
    This is also a proposition. The claim is incorrect, so its truth value is False (F).

Notice that a proposition does not have to be true. A false statement is still a proposition as long as it has a definite truth value.

Therefore, both

2+3=52 + 3 = 5

and

2+3=82 + 3 = 8

are propositions.

The first is true, while the second is false.


What Is Not a Proposition?

Not every sentence is a proposition.

Consider:

x+4>10x + 4 > 10

We cannot determine whether this expression is true or false until we know the value of xx.

For example:

  • If x=8x = 8, then
8+4>108 + 4 > 10

which is True.

  • If x=2x = 2, then
2+4>102 + 4 > 10

which is False.

Therefore,

x+4>10x + 4 > 10

is not a proposition because its truth value depends on the value assigned to xx.


Truth Value

The truth value of a proposition tells us whether the proposition is true or false.

There are only two possible truth values:

Truth ValueSymbolNumerical Representation
TrueT11
FalseF00

Since every proposition has one of these two truth values, this system is also known as two-valued logic.


Identifying Propositions

Consider the following sentences:

SentenceProposition?Reason
The Earth revolves around the Sun.✅ YesIt is a true declarative statement.
10<410 < 4✅ YesIt is a false declarative statement.
6+3=96 + 3 = 9✅ YesIt has a definite truth value.
Do you like mathematics?❌ NoIt is a question.
x−3=7x - 3 = 7❌ NoIts truth value depends on xx.
Please open the window.❌ NoIt is a command.
What a beautiful evening!❌ NoIt is an exclamation.
It will rain here tomorrow.✅ YesIt will ultimately be either true or false.

Key Point

Questions, commands, and exclamations are not propositions because they do not make claims that can be assigned a truth value.

A statement about an unknown or future event can still be a proposition if the statement itself must ultimately be either true or false.


Propositional Variables

Instead of repeatedly writing complete propositions, we usually represent them using lowercase letters such as

p, q, r, s,…p,\ q,\ r,\ s,\ldots

These are called propositional variables.

For example, let

p=“The Earth has two moons.”p = \text{``The Earth has two moons.''}

Since this statement is false, we can write

p=Fp = F

Similarly, if

q=“The Earth revolves around the Sun.”q = \text{``The Earth revolves around the Sun.''}

then

q=Tq = T

A propositional variable such as pp or qq acts as a symbol representing a proposition. Its value can only be one of:

TorFT \quad \text{or} \quad F

Remember

Proposition = Declarative sentence + Definite truth value

A sentence is a proposition only when it can be classified as True (T) or False (F), but not both.

Atomic and Compound Propositions

Propositions can be classified as atomic propositions or compound propositions depending on how they are formed.

Atomic Proposition

An atomic proposition is a proposition that represents a single statement and cannot be broken down into simpler propositions.

Atomic propositions are also called simple, primary, or primitive propositions.

For example, consider:

The number 8 is even.

This is an atomic proposition because it expresses a single idea.

We can represent it using a propositional variable:

p=“The number 8 is even.”p = \text{``The number 8 is even.''}

Similarly,

q=“15 is divisible by 3.”q = \text{``15 is divisible by 3.''}

is another atomic proposition.


Compound Proposition

A compound proposition is formed by combining one or more propositions using logical connectives.

For example, suppose

p=“8 is even”p = \text{``8 is even''}

and

q=“8 is greater than 5”q = \text{``8 is greater than 5''}

We can combine them to form:

8 is even and 8 is greater than 5.

Symbolically, this can be written as:

p∧qp \land q

This is a compound proposition because two propositions have been joined using the logical connective AND.

A compound proposition can also be created from a single proposition by negating it.

For example, if

p=“8 is even”p = \text{``8 is even''}

then

¬p\neg p

means:

8 is not even.

Therefore, compound propositions can be formed either by combining propositions or by negating a proposition.


Logical Connectives

Logical connectives are words or symbols used to connect or modify propositions to create compound propositions.

There are five basic logical connectives:

ConnectiveSymbolRead asSymbolic Form
Negation¬\negNOT¬p\neg p
Conjunction∧\landANDp∧qp \land q
Disjunction∨\lorORp∨qp \lor q
Conditional→\rightarrowIF...THENp→qp \rightarrow q
Biconditional↔\leftrightarrowIF AND ONLY IFp↔qp \leftrightarrow q

For example, let

p=“I study”p = \text{``I study''}

and

q=“I pass the examination.”q = \text{``I pass the examination.''}

Using different logical connectives, we can construct statements such as:

p∧qp \land q

I study and I pass the examination.

p∨qp \lor q

I study or I pass the examination.

¬p\neg p

I do not study.

p→qp \rightarrow q

If I study, then I pass the examination.

p↔qp \leftrightarrow q

I study if and only if I pass the examination.

Truth Tables

A truth table shows the truth value of a compound proposition for all possible combinations of the truth values of its propositions.

For example, consider the conjunction:

p∧qp \land q

The proposition p∧qp \land q is true only when both pp and qq are true. Otherwise, it is false.

For two propositions pp and qq, there are four possible cases:

  1. pp is True and qq is True
  2. pp is True and qq is False
  3. pp is False and qq is True
  4. pp is False and qq is False
ppqqp∧qp \land q
TTT
TFF
FTF
FFF

Example

Construct the truth table for each of the following compound propositions:

  1. p∧(¬q∨q)p \land (\neg q \lor q)
  2. ¬(p∨q)∨(¬p∧¬q)\neg(p \lor q) \lor (\neg p \land \neg q)

(i) p∧(¬q∨q)p \land (\neg q \lor q)

First, find ¬q\neg q, then evaluate ¬q∨q\neg q \lor q, and finally evaluate the complete expression p∧(¬q∨q)p \land (\neg q \lor q).

ppqq¬q\neg q¬q∨q\neg q \lor qp∧(¬q∨q)p \land (\neg q \lor q)
TTFTT
TFTTT
FTFTF
FFTTF

(ii) ¬(p∨q)∨(¬p∧¬q)\neg(p \lor q) \lor (\neg p \land \neg q)

First, calculate ¬p\neg p and ¬q\neg q. Then evaluate p∨qp \lor q, ¬(p∨q)\neg(p \lor q), and ¬p∧¬q\neg p \land \neg q. Finally, evaluate the complete expression.

ppqq¬p\neg p¬q\neg qp∨qp \lor q¬(p∨q)\neg(p \lor q)¬p∧¬q\neg p \land \neg q¬(p∨q)∨(¬p∧¬q)\neg(p \lor q) \lor (\neg p \land \neg q)
TTFFTFFF
TFFTTFFF
FTTFTFFF
FFTTFTTT

What did you think?

Discrete MathematicsLogical EquivalenceMathematical LogicPropositional LogicPropositionsTruth Tables

Continue the conversation

Share a question, an insight, or a different perspective.

Discussion loads when you reach this section.

Follow the idea

Keep reading