Algebra of Statements: Mathematical Reasoning

Algebra of Statements: Mathematical Reasoning

Edited By Komal Miglani | Updated on Jul 02, 2025 08:08 PM IST

In mathematical logic, the algebra of statements (or propositional calculus) is a branch of algebra that deals with the manipulation and transformation of logical statements. This system is based on various logical operators and rules, which help in the formation and simplification of complex logical expressions. This concept in used in various fields like engineering, physics etc.

This Story also Contains
  1. Mathematical Statement
  2. Logical Connectives
  3. Solved Examples Based on Algebra of Statements:
Algebra of Statements: Mathematical Reasoning
Algebra of Statements: Mathematical Reasoning

This article is about the algebra of statements which falls under the category of Discrete Mathematics. This concept is not only important for board exams but also for competitive exams.

Mathematical Statement

A mathematical statement is the basic unit of any mathematical reasoning. A sentence is called a mathematical statement if it is either true or false but not both.

Logical Connectives

The words which combine or change simple statements to form new statements or compound statements are called Connectives. The basic connectives (logical) conjunction corresponds to the English word ‘and’, disjunction corresponds to the word ‘or’, and negation corresponds to the word ‘not’.

Name of Connective

Connective Word

Symbol

Conjunction

And

Disjunction

Or

Negation

Not

Conditional

‘if-then' or 'implication'

➝ or ⇒

Biconditional

‘If and only if' or 'double implication'

↔️ or ⇔



Algebra of Statements

Idempotent Law

  1. $p ∨ p ≡ p$

  2. $p ∧ p ≡ p$

$$
\begin{array}{|c|c|c|}
\hline
\;\;\; p \;\;\; & \;\;\; p \vee p \;\;\; & \;\;\; p \wedge p \;\;\; \\
\hline \hline
\mathrm{T} & \mathrm{T} & \mathrm{T} \\
\hline
\mathrm{F} & \mathrm{F} & \mathrm{F} \\
\hline
\end{array}
$$

Associative Law

  1. $( p ∨ q ) ∨ r ≡ p ∨ (q ∨ r )$

  2. $( p ∧ q ) ∧ r ≡ p ∧ (q ∧ r )$

NEET Highest Scoring Chapters & Topics
This ebook serves as a valuable study guide for NEET exams, specifically designed to assist students in light of recent changes and the removal of certain topics from the NEET exam.
Download E-book

$$
\begin{array}{|c|c|c|c|c|c|c|}
\hline
{p} & {q} & {r} & {p} \vee {q} & {q} \vee {r} & ({p} \vee {q}) \vee {r} & {p} \vee({q} \vee {r}) \\
\hline
T & T & T & T & T & T & T \\
\hline
T & T & F & T & T & T & T \\
\hline
T & F & T & T & T & T & T \\
\hline
T & F & F & T & F & T & T \\
\hline
F & T & T & T & T & T & T \\
\hline
F & T & F & T & T & T & T \\
\hline
F & F & T & F & T & T & T \\
\hline
F & F & F & F & F & F & F \\
\hline
\end{array}
$$

Distributive Law

  1. $p ∧ (q ∨ r ) ≡ ( p ∧ q ) ∨ ( p ∧ r ) $

  2. $p ∨ (q ∧ r ) ≡ ( p ∨ q ) ∧ ( p ∨ r ) $

$$
\begin{array}{|c|c|c|c|c|c|c|c|}
\hline
{p} & {q} & {r} & {q} \wedge {r} & {p} \vee({q} \wedge {r}) & {p} \vee {q} & {p} \vee {r} & ({p} \vee {q}) \wedge({p} \vee {r}) \\
\hline
T & T & T & T & T & T & T & T \\
\hline
T & T & F & F & T & T & T & T \\
\hline
T & F & T & F & T & T & T & T \\
\hline
T & F & F & F & T & T & T & T \\
\hline
F & T & T & T & T & T & T & T \\
\hline
F & T & F & F & F & T & F & F \\
\hline
F & F & T & F & F & F & T & F \\
\hline
F & F & F & F & F & F & F & F \\
\hline
\end{array}
$$

Commutative Law

  1. $p ∨ q ≡ q ∨ p$

  2. $p ∧ q ≡ q ∧ p$

$$
\begin{array}{|c|c|c|c|}
\hline
{p} & {q} & {p} \vee {q} & {q} \vee {p} \\
\hline
T & T & T & T \\
\hline
T & F & T & T \\
\hline
F & T & T & T \\
\hline
F & F & F & F \\
\hline
\end{array}
$$

Identity Law

  1. $p ∧ T ≡ p$

  2. $p ∧ F ≡ F$

  3. $p ∨ T ≡ T$

  4. $p ∨ F ≡ p$

$$
\begin{array}{|c|c|c|c|c|}
\hline
{p} & \mathbb{T} & \mathbb{F} & {p} \vee \mathbb{T} & {p} \vee \mathbb{F} \\
\hline
T & T & F & T & T \\
\hline
F & T & F & T & F \\
\hline
\end{array}
$$

Complement Law

  1. $p ∨ ~p ≡ T$

  2. $p ∧ ~p ≡ F$

  3. $\sim (\sim p) ≡ p$

  4. $~T ≡ F$

  5. $~F ≡ T$

$$
\begin{array}{|c|c|c|c|c|c|c|c|}
\hline
{p} & \neg {p} & \mathbb{T} & \neg \mathbb{T} & \mathbb{F} & \neg \mathbb{F} & {p} \vee \neg {p} & {p} \wedge \neg {p} \\
\hline
T & F & T & F & F & T & T & F \\
\hline
F & T & T & F & F & T & T & F \\
\hline
\end{array}
$$

De-Morgan’s Law

  1. $~ ( p ∨ q ) ≡ ~p ∧ ~q$

  2. $~ ( p ∧ q ) ≡ ~p ∨ ~q$

Truth table for $~ ( p ∨ q ) and ~p ∧ ~q$

$$
\begin{array}{|c|c|c|c|c|c|c|}
\hline
p & q & \sim p & \sim q & p \vee q & \sim (p \vee q) & \sim p \wedge \sim q \\
\hline \hline
\mathrm{T} & \mathrm{T} & \mathrm{F} & \mathrm{F} & \mathrm{T} & \mathrm{F} & \mathrm{F} \\
\hline
\mathrm{T} & \mathrm{F} & \mathrm{F} & \mathrm{T} & \mathrm{T} & \mathrm{F} & \mathrm{F} \\
\hline
\mathrm{F} & \mathrm{T} & \mathrm{T} & \mathrm{F} & \mathrm{T} & \mathrm{F} & \mathrm{F} \\
\hline
\mathrm{F} & \mathrm{F} & \mathrm{T} & \mathrm{T} & \mathrm{F} & \mathrm{T} & \mathrm{T} \\
\hline
\end{array}
$$

Truth table for $~(p∧q)$ and $~p∨~q$

$$
\begin{array}{|c|c|c|c|c|c|}
\hline p & q & p \wedge q & \sim(p \wedge q) & \sim p \vee \sim q & \sim(p \wedge q) \equiv \sim p \vee \sim q \\
\hline T & T & T & F & F & T \\
T & F & F & T & T & T \\
F & T & F & T & T & T \\
F & F & F & T & T & T \\
\hline
\end{array}
$$

Solved Examples Based on Algebra of Statements:

Example 1: In each question below, a passage followed by several inferences. you have to example each inference separately in the context of the passage and decide upon its degree of truth or falsity.

Corel Draw and Photoshop are the old software used for designing purposes in industries, Adobe illustrator and InDesign are the new ones, but even today Corel and Photoshop are mostly used in industries. These are designing software that are mostly used in Digital Marketing. Digital Marketing is a technique used for advertising on the web, like Facebook marketing, Instagram and E-mail marketing etc. Now these techniques are used by approximately $70 %$ of companies to generate leads for their business. By $2022$ there may be the end of traditional marketing strategies. With the coming of the Internet in India in $1991$ the scene of marketing is dramatically changed. In India, only $35 %$ population is active on the internet.

The government is not doing anything for developing industries in India.

1) if the inference is "" probably true"" though not definitely true in the light of the facts given

2) if the inference is "" definitely true "" it directly follows from the facts given in the passage

3) if you think the data is inadequate, from the facts given you cannot say whether the inference is likely to be true or false

4) if you think the inference is "" probably false "" though not definitely false in the light of the facts given

Solution

Government role is not defined in the passage.

Example 2: Which one is NOT an example of an AND conjunction?

1) $p: x+y=3$ and $x-y=1$
2) $q$: $x^2-4>0$ and $y^2-3<0$
3) $r$: Sam opened the closet and took out clothes
4) $s$ : Delhi in India and Mumbai is in Europe

Solution

'And' Conjunction -

Normally the conjunction 'and' is used between two statements which have some kind of relation but in logic, it can be used even if there is no relation between the statements.

Here , "and " is used in a different sense

Example 3: Which of the following statement is true?

1) $x^2+x+1<0 \forall x \in R$ and $2 x^2+3 x+4>0 \forall x \in R$
2) $x^2-x+3<0 \forall x \in R$ and $x^2+x+1>0 \forall x \in R$
3) $x^2+x+1<0 \forall x \in R$ and $x^2-x+3<0 \forall x \in R$
4) None of these

Solution
Truth value of "And" Conjunction -
The statement $p \wedge q$ has the truth value $T$ whenever both $p$ and $q$ have the truth value $T$.

A compound statement $\mathrm{p} {\wedge} \mathrm{q}$ is the when both p and q are true .

Example 4: The logical statement $[\sim(\sim p \vee q) \vee(p \wedge r)] \wedge(\sim q \wedge r)$ is equivalent to :
1) $(\sim p \wedge \sim q) \wedge r$
2) $(p \wedge \sim q) \vee r$
3) $\sim p \vee r$
4) $(p \wedge r) \wedge \sim q$

Solution

$
\begin{aligned}
& p=\{1,2,5,6\} \quad q=\{2,3,4,5\} \quad r=\{4,5,6,7\} \\
& \sim p=\{3,4,7,8\} \quad \sim q=\{1,6,7,8\} \quad \sim r=\{1,2,3,8\} \\
& {[\sim(\sim p \vee q) \vee(p \wedge r)] \wedge(\sim q \wedge r)} \\
& {[\sim(\{3,4,7,8\} \vee\{2,3,4,5\}) \vee(\{1,2,5,6\} \wedge\{4,5,6,7\})] \wedge(\{1,6,7,8\}} \\
& {[\sim(\{2,3,4,5,7,8\}) \vee\{5,6\}] \wedge\{6,7\}} \\
& {[\{1,6\} \vee\{5,6\}] \wedge\{6,7\}} \\
& \{1,5,6\} \wedge\{6,7\} \\
& \{6\}
\end{aligned}
$

Now check which option gives the same region
Option A

$
\begin{aligned}
& (\sim p \wedge \sim q) \wedge r \\
& \{7,8\} \wedge\{4,5,6,7\}=\{7\}
\end{aligned}
$

Incorrect

Option B

$
\begin{aligned}
& (p \wedge \sim q) \vee r \\
& \{1,6\} \vee\{4,5,6,7\}=\{1,4,5,6,7\}
\end{aligned}
$

Incorrect

Option C

$\begin{aligned}
& \sim p \vee r \\
& \{3,4,7,8\} \vee\{4,5,6,7\}=\{3,4,5,6,7,8\}
\end{aligned}
$

Incorrect

Option D

$
\begin{aligned}
& (p \wedge r) \wedge \sim q \\
& \{5,6\} \wedge\{1,6,7,8\}=\{6\}
\end{aligned}
$

Correct

Example 5: Which of the following is not a disjunction?
1) $3 \times 3=10$ or $7 \times 5=28$
2) $\sin x>1$ and $\cos x<1$
3) $1+2=3$ or $3+5=8$
4) All are disjunctions

Solution

Disjunction 'OR' -

Two statements can be connected by the word "OR" to form a compound statement called the disjunction of original statements.

We use AND is conjunction and OR is a disjunction

Frequently Asked Questions (FAQs)

1. What is Algebra of statements?

The algebra of statements (or propositional calculus) is a branch of algebra that deals with the manipulation and transformation of logical statements.

2. State the associative law.
  1. $( p ∨ q ) ∨ r  ≡ p ∨ (q ∨ r )$

  2. $( p ∧ q ) ∧ r  ≡ p ∧ (q ∧ r )$

3. Give the distributive law.
  1. $p ∧ (q  ∨ r ) ≡ ( p ∧ q ) ∨ ( p ∧ r ) $

  2. $p ∨ (q  ∧ r ) ≡ ( p ∨ q ) ∧ ( p ∨ r ) $

4. Give the commutative law.
  1. $p ∨ q ≡ q ∨ p$

  2. $p ∧ q ≡ q ∧ p$

5. State De'Morgans law.
  1. $~ ( p ∨ q ) ≡ ~p ∧ ~q$

  2. $~ ( p ∧ q ) ≡ ~p ∨ ~q$

6. How does the algebra of statements differ from regular algebra?
The algebra of statements deals with logical operations on true/false statements, while regular algebra deals with numerical operations. In statement algebra, we use logical operators like AND, OR, NOT instead of +, -, ×, ÷. The "variables" in statement algebra are propositions with truth values, not numerical quantities.
7. What are the basic logical connectives used in the algebra of statements?
The basic logical connectives are:
8. How does the NOT operator work in statement algebra?
The NOT operator (¬) negates the truth value of a statement. If a statement p is true, then ¬p is false, and vice versa. For example, if p is "It is raining," then ¬p is "It is not raining." NOT flips the truth value of the statement it's applied to.
9. What is a tautology in statement algebra?
A tautology is a compound statement that is always true, regardless of the truth values of its component statements. For example, "p OR NOT p" is a tautology because it's true whether p is true or false. Tautologies are important in logic as they represent universally valid principles.
10. What is a contradiction in statement algebra?
A contradiction is a compound statement that is always false, regardless of the truth values of its component statements. For example, "p AND NOT p" is a contradiction because it's false whether p is true or false. Contradictions are the logical opposite of tautologies.
11. How does the truth table for AND differ from the truth table for OR?
The AND (∧) operation is true only when both inputs are true, while the OR (∨) operation is true if at least one input is true. Their truth tables are:
12. How does the IMPLIES (→) operator work?
The IMPLIES operator (→) represents a conditional relationship. In "p → q", p is the antecedent and q is the consequent. The statement is false only when p is true and q is false. It's important to note that "p → q" doesn't necessarily mean p causes q, just that q is true whenever p is true.
13. What is the difference between inclusive OR and exclusive OR?
Inclusive OR (∨) is true if at least one of the statements is true, including when both are true. Exclusive OR (XOR, ⊕) is true only when exactly one statement is true, but false when both are true or both are false. In everyday language, "or" often implies exclusive OR, but in logic, OR is typically inclusive unless specified otherwise.
14. Why is "p → q" true when p is false, regardless of q?
This aspect of the IMPLIES operator often confuses students. It's defined this way because the statement only promises something about q when p is true. If p is false, the implication makes no claim about q, so it's considered vacuously true. This definition ensures that implications work consistently in logical reasoning.
15. What is the difference between "p → q" and "q → p"?
"p → q" and "q → p" are different statements and are not logically equivalent. "p → q" means if p is true, then q must be true, while "q → p" means if q is true, then p must be true. For example, "If it's raining, the ground is wet" doesn't mean the same as "If the ground is wet, it's raining."
16. What is a statement in mathematical reasoning?
A statement in mathematical reasoning is a declarative sentence that is either true or false, but not both. It's a precise claim that can be evaluated as having a definite truth value. For example, "2 + 2 = 4" is a statement, while "What time is it?" is not.
17. What is the difference between necessary and sufficient conditions in logical implications?
In p → q, p is a sufficient condition for q, and q is a necessary condition for p. A sufficient condition guarantees the result, while a necessary condition must be true for the result to occur. For example, in "If it's raining, the ground is wet," rain is sufficient to make the ground wet, and wet ground is necessary for it to have rained.
18. What is the difference between inductive and deductive reasoning in statement algebra?
Deductive reasoning uses the rules of logic to draw conclusions that are certain if the premises are true. It moves from general principles to specific conclusions. Inductive reasoning, on the other hand, draws probable conclusions based on patterns and observations. Statement algebra primarily deals with deductive reasoning, where conclusions follow necessarily from premises.
19. How does the concept of logical independence relate to statement algebra?
Two statements are logically independent if the truth value of one does not affect or determine the truth value of the other. For example, "It's raining" and "The sun is shining" are logically independent. Understanding logical independence is important for identifying which statements provide new information in a logical argument.
20. How does the contrapositive relate to an implication?
The contrapositive of p → q is ¬q → ¬p. It's logically equivalent to the original implication. For example, "If it's raining, the ground is wet" is equivalent to "If the ground is not wet, it's not raining." Understanding contrapositives helps in proving statements indirectly and in understanding the full meaning of implications.
21. What is the principle of explosion in logic?
The principle of explosion, also known as ex falso quodlibet (from falsehood, anything follows), states that from a contradiction, any statement can be inferred. Symbolically, if p ∧ ¬p is true, then q is true for any q. This principle highlights why avoiding contradictions is crucial in logical reasoning.
22. How does the concept of logical strength relate to implications in statement algebra?
In statement algebra, a statement p is logically stronger than q if p → q is true, but q → p is not necessarily true. This means p provides more information or has stricter conditions than q. Understanding logical strength helps in comparing the relative power of different statements and in constructing more precise logical arguments.
23. How does the biconditional (↔) operator relate to implication?
The biconditional operator (↔), also known as "if and only if," is true when both statements have the same truth value. It's equivalent to (p → q) AND (q → p). This means p ↔ q is true when either both p and q are true, or both are false. It represents a stronger relationship than simple implication.
24. What is the law of double negation?
The law of double negation states that negating a statement twice is equivalent to the original statement. In symbolic form, ¬(¬p) ≡ p. For example, "It is not true that it is not raining" means the same as "It is raining." This law is fundamental in simplifying logical expressions.
25. How do De Morgan's laws work in statement algebra?
De Morgan's laws are:
26. What is the difference between logical equivalence and material equivalence?
Logical equivalence (≡) means two statements always have the same truth value for all possible inputs. Material equivalence (↔) is an operator that results in true when both inputs have the same truth value. While p ↔ q is a single statement that can be true or false, p ≡ q is a meta-statement about the relationship between p and q across all possible scenarios.
27. How can the exclusive OR (XOR) be expressed using basic logical connectives?
Exclusive OR (XOR, ⊕) can be expressed using AND, OR, and NOT as follows:
28. How does the distributive property work in statement algebra?
The distributive property in statement algebra is similar to its counterpart in regular algebra. It states:
29. What is the difference between inclusive and exclusive definitions of implication?
The inclusive definition of implication (p → q) is false only when p is true and q is false. The exclusive definition adds the condition that p must be true for the implication to be meaningful. While the inclusive definition is more commonly used in formal logic, the exclusive definition sometimes aligns better with everyday reasoning.
30. How does the concept of vacuous truth relate to implications?
Vacuous truth refers to the truth of statements like "All unicorns are purple" when there are no unicorns. In implications, p → q is vacuously true when p is false, because the implication makes no claim in this case. This concept, while sometimes counterintuitive, ensures logical consistency in reasoning about hypothetical scenarios.
31. How do truth tables help in analyzing complex logical statements?
Truth tables list all possible combinations of truth values for the component statements and show the resulting truth value of the complex statement for each combination. They provide a systematic way to evaluate the behavior of logical expressions, identify tautologies and contradictions, and compare different statements for logical equivalence.
32. What is the role of parentheses in statement algebra?
Parentheses in statement algebra, like in regular algebra, indicate the order of operations. They group sub-expressions and clarify which operations should be performed first. For example, p ∨ (q ∧ r) is different from (p ∨ q) ∧ r. Proper use of parentheses is crucial for expressing and interpreting complex logical statements correctly.
33. What is the difference between a proposition and an open sentence in statement algebra?
A proposition is a statement that is either true or false. An open sentence contains variables and becomes a proposition when specific values are assigned to these variables. For example, "x > 5" is an open sentence, while "7 > 5" is a proposition. Open sentences are crucial in mathematical logic for expressing general relationships.
34. How does the concept of logical consistency apply to a set of statements?
A set of statements is logically consistent if it's possible for all the statements to be true simultaneously. If a set of statements leads to a contradiction when assumed to be true, it's inconsistent. Checking for consistency is important in constructing valid arguments and in identifying contradictions in complex logical systems.
35. What is the role of truth values in statement algebra?
Truth values (typically denoted as T for true and F for false) are the fundamental units in statement algebra. They represent the possible outcomes of evaluating a logical statement. All operations in statement algebra are defined in terms of how they manipulate these truth values, forming the basis for logical reasoning and computation.
36. How does the concept of logical equivalence differ from material equivalence?
Logical equivalence (≡) means two statements always have the same truth value for all possible inputs. Material equivalence (↔) is an operator that results in true when both inputs have the same truth value. While p ↔ q is a single statement that can be true or false, p ≡ q is a meta-statement about the relationship between p and q across all possible scenarios.
37. What is the significance of the law of excluded middle in statement algebra?
The law of excluded middle states that for any proposition p, either p is true, or its negation ¬p is true. There is no middle ground. Symbolically, p ∨ ¬p is always true. This principle is fundamental in classical logic and forms the basis for proof by contradiction and other logical techniques.
38. How does the concept of logical implication differ from causation?
Logical implication (p → q) only asserts that if p is true, q must also be true. It doesn't necessarily imply that p causes q. Causation involves a real-world relationship where one event leads to another. For example, "If it's raining, the ground is wet" is a logical implication, but rain causes the ground to be wet. This distinction is crucial for avoiding logical fallacies in reasoning.
39. What is the role of truth-functional connectives in statement algebra?
Truth-functional connectives are logical operators whose output truth value depends solely on the truth values of their inputs, not on the meaning of the statements. AND, OR, NOT, IMPLIES, and IF AND ONLY IF are all truth-functional. These connectives allow us to build complex statements from simpler ones in a way that preserves logical structure.
40. How does the concept of logical validity relate to tautologies in statement algebra?
A logical argument is valid if its conclusion necessarily follows from its premises. In statement algebra, this corresponds to a tautology. If we represent an argument as (p₁ ∧ p₂ ∧ ... ∧ pₙ) → q, where p₁ to pₙ are premises and q is the conclusion, the argument is valid if and only if this implication is a tautology.
41. What is the significance of the empty truth table in statement algebra?
An empty truth table, where no combination of truth values makes a statement true, represents a contradiction. Contradictions are always false, regardless of the truth values of their components. Recognizing contradictions is crucial for identifying logical inconsistencies and invalid arguments.
42. What is the role of truth-preserving transformations in statement algebra?
Truth-preserving transformations are operations that maintain the truth value of a logical expression while changing its form. These include applying laws like De Morgan's laws, distribution, or substituting logically equivalent sub-expressions. Such transformations are crucial for simplifying complex logical statements and for proving logical equivalences.
43. How does the concept of logical independence relate to the completeness of a set of connectives?
A set of logical connectives is complete if every possible truth function can be expressed using only those connectives. For example, {AND, NOT} and {OR, NOT} are complete sets, while {AND, OR} is not. Understanding completeness helps in determining whether a given set of connectives is sufficient for expressing all possible logical relationships.
44. What is the significance of the material conditional paradox in statement algebra?
The material conditional paradox refers to the counterintuitive nature of the → operator, where p → q is true whenever p is false, regardless of q. This leads to true statements like "If the moon is made of cheese, then 2+2=4." Understanding this paradox is crucial for correctly interpreting and applying implications in formal logic.
45. How does the concept of logical consequence relate to implication in statement algebra?
Logical consequence is a relationship between statements where one statement (the conclusion) must be true if certain other statements (the premises) are true. In statement algebra, if p₁, p₂, ..., pₙ are premises and q is a conclusion, q is a logical consequence of the premises if (p₁ ∧ p₂ ∧ ... ∧ pₙ) → q is a tautology.
46. What is the role of truth-functional completeness in statement algebra?
Truth-functional completeness refers to the ability of a set of logical connectives to express all possible truth functions. A set of connectives is truth-functionally complete if any truth function can be expressed using only those connectives. For example, {AND, NOT} is complete, as is {OR, NOT}. Understanding completeness is crucial for determining the expressive power of a logical system.
47. How does the concept of logical atomism relate to statement algebra?
Logical atomism is the view that the world consists of independent atomic facts that can be represente

Articles

Back to top