1. Logic and Mathematical Statements

Logical Equivalence

Logical Equivalence

Introduction

students, in discrete mathematics, logic is the language we use to decide whether statements are true or false. One of the most important ideas in this topic is logical equivalence. Two statements are logically equivalent when they always have the same truth value, no matter what the input is. đź§  This idea helps mathematicians simplify arguments, compare statements, and prove results more efficiently.

By the end of this lesson, you will be able to:

  • explain the meaning of logical equivalence,
  • use truth tables to test whether statements are equivalent,
  • recognize common equivalence laws,
  • rewrite statements into simpler forms,
  • and connect logical equivalence to the bigger picture of logic and mathematical statements.

Logical equivalence appears everywhere in mathematics, computer science, and everyday reasoning. For example, saying “It is not true that both the alarm is set and the door is open” means the same thing as “The alarm is not set or the door is not open.” Both statements describe the same situation in different words.

What Logical Equivalence Means

A proposition is a statement that is either true or false, but not both. Examples include “$7$ is prime” and “$2+2=5$.” Logical equivalence compares propositions or compound statements.

We say two statements $p$ and $q$ are logically equivalent if they have the same truth value in every possible case. This is written as $p \leftrightarrow q$ when using the biconditional symbol inside a formula, and as $p \equiv q$ or “$p$ is logically equivalent to $q$” when describing the relationship.

A useful way to think about it is this: if $p$ and $q$ are logically equivalent, then they are interchangeable in any logical argument without changing the meaning. That is a powerful tool because it lets us rewrite complicated statements into easier ones.

For example, the statements

  • $p$: “A number is even,”
  • $q$: “The number is divisible by $2$”

are logically equivalent, because every even number is divisible by $2$, and every number divisible by $2$ is even. These are different sentences, but they represent the same truth condition.

Using Truth Tables to Test Equivalence

The most direct method for checking logical equivalence is the truth table. A truth table lists all possible truth values for the variables and then shows the truth value of each compound statement.

If two statements always match in the final column of the truth table, then they are logically equivalent.

Let’s compare $p \rightarrow q$ and $\neg p \lor q$. Here is the truth table:

$$

$\begin{array}{c c|c|c}$

p & q & p \rightarrow q & \neg p \lor q \\

$\hline$

T & T & T & T \\

T & F & F & F \\

F & T & T & T \\

F & F & T & T

$\end{array}$

$$

The two last columns match exactly, so $p \rightarrow q \equiv \neg p \lor q$.

This equivalence is extremely important because it turns an implication into a statement using only negation and disjunction. That makes many logical problems easier to analyze.

Another classic equivalence is De Morgan’s law:

$$

\neg (p \land q) $\equiv$ \neg p \lor \neg q

$$

This says “not both $p$ and $q$” is equivalent to “not $p$ or not $q$.” A real-life example is: “It is not true that I studied and slept early” means the same as “I did not study or I did not sleep early.” 🎯

Common Logical Equivalence Laws

Discrete mathematics uses several standard equivalence laws. Learning them is like learning shortcuts in algebra.

1. Identity laws

$$

p \land T $\equiv$ p, \qquad p \lor F $\equiv$ p

$$

These show that $T$ and $F$ behave like neutral elements for conjunction and disjunction.

2. Domination laws

$$

p \lor T $\equiv$ T, \qquad p \land F $\equiv$ F

$$

If something is OR true, the result is always true. If something is AND false, the result is always false.

3. Idempotent laws

$$

p \lor p $\equiv$ p, \qquad p \land p $\equiv$ p

$$

Repeating the same statement does not change its meaning.

4. Double negation law

$$

$\neg (\neg p) \equiv p$

$$

If you deny a denial, you get back the original statement.

5. Commutative laws

$$

p \lor q $\equiv$ q \lor p, \qquad p \land q $\equiv$ q \land p

$$

The order does not matter for AND and OR.

6. Associative laws

$$

(p \lor q) \lor r $\equiv$ p \lor (q \lor r), \qquad (p \land q) \land r $\equiv$ p \land (q \land r)

$$

Grouping does not matter.

7. Distributive laws

$$

p \land (q \lor r) $\equiv$ (p \land q) \lor (p \land r)

$$

$$

p \lor (q \land r) $\equiv$ (p \lor q) \land (p \lor r)

$$

These work like distribution in algebra and help expand or factor logical expressions.

8. De Morgan’s laws

$$

\neg (p \land q) $\equiv$ \neg p \lor \neg q

$$

$$

\neg (p \lor q) $\equiv$ \neg p \land \neg q

$$

These are some of the most useful rules in logic.

How to Prove Two Statements Are Equivalent

There are several ways to show logical equivalence.

Method 1: Truth tables

Make a truth table and compare the final outputs. This is best for a small number of variables.

Method 2: Use known laws

Rewrite one side using equivalence laws until it looks exactly like the other side.

For example, prove that

$$

\neg (p \rightarrow q) $\equiv$ p \land \neg q

$$

Start with the left side:

$$

$\neg (p \rightarrow q)$

$$

Use the implication law $p \rightarrow q \equiv \neg p \lor q$:

$$

$\neg (\neg p \lor q)$

$$

Now apply De Morgan’s law:

$$

$\neg (\neg p) \land \neg q$

$$

Use double negation:

$$

$p \land \neg q$

$$

So the two statements are logically equivalent.

This result also makes sense in words. “It is not true that if $p$ then $q$” means “$p$ happens, but $q$ does not happen.”

Method 3: Show both imply each other

Sometimes we prove that $p \rightarrow q$ and $q \rightarrow p$. If both are true, then $p \leftrightarrow q$ is true, so the statements are equivalent.

This method is common in proofs involving definitions, such as proving that two different descriptions of a number or set actually match.

Why Logical Equivalence Matters

Logical equivalence is not just a technical idea. It is a major tool for clear thinking.

In mathematics, equivalent statements let us replace a difficult expression with an easier one. For example, if a condition contains a negation of an implication, rewriting it can make a proof much simpler. In computer science, logical equivalence helps design circuits and simplify Boolean expressions. In programming, it helps when deciding whether two conditions in an $if$ statement behave the same way.

Suppose a school rule says: “If a student submits the project, then the student gets a grade.” The logically equivalent form is “Either the student does not submit the project, or the student gets a grade.” The second version can be useful when checking a policy because it is easier to analyze in some situations.

Logical equivalence also supports the broader topic of logic and mathematical statements because it shows how propositions can be transformed without changing meaning. This is essential when building valid arguments, proving theorems, and checking whether a conclusion really follows from the premises.

Conclusion

Logical equivalence means that two statements always have the same truth value. It can be tested with truth tables, proven with equivalence laws, or shown using implication in both directions. The main benefit of logical equivalence is that it allows us to rewrite statements in simpler or more useful forms while keeping the meaning unchanged. students, this skill is central to discrete mathematics because it strengthens reasoning, improves proofs, and connects directly to propositions, truth tables, and other logical tools. âś…

Study Notes

  • A proposition is a statement that is either true or false.
  • Two statements are logically equivalent if they have the same truth values in every possible case.
  • Logical equivalence is often written as $p \equiv q$.
  • A truth table can test equivalence by comparing the final columns of two statements.
  • Important equivalences include $p \rightarrow q \equiv \neg p \lor q$ and $\neg (p \land q) \equiv \neg p \lor \neg q$.
  • Double negation gives $\neg (\neg p) \equiv p$.
  • AND and OR are commutative, associative, and distributive.
  • Logical equivalence lets us simplify statements without changing their meaning.
  • It is useful in proofs, digital logic, computer science, and clear reasoning.
  • Learning equivalence laws is a key part of mastering logic and mathematical statements.

Practice Quiz

5 questions to test your understanding

Logical Equivalence — Discrete Mathematics | A-Warded