Logic language
This chapter establishes the fundamental elements of propositional logic, defining key concepts such as statements, negation, implication, and biconditional relationships. A mastery of these principles is critical for developing rigorous mathematical arguments and forms the bedrock for all subsequent proof techniques and logical reasoning assessed in the CMI curriculum.
---
Chapter Contents
|
| Topic |
|---|-------| | 1 | Statements | | 2 | Negation | | 3 | Implication | | 4 | Biconditional | | 5 | Converse | | 6 | Contrapositive |---
We begin with Statements.
Part 1: Statements
Statements
Overview
A statement is the basic unit of logic. Before handling implication, proof, negation, or quantifiers, one must first know what counts as a statement. In mathematical reasoning, a statement is a sentence that has a definite truth value. CMI-style logic questions often test whether a sentence is a statement, whether it is open or closed, and how statements combine through logical connectives. ---Learning Objectives
After studying this topic, you will be able to:
- identify whether a sentence is a statement,
- distinguish statements from questions, commands, and open sentences,
- understand truth values,
- build compound statements using connectives,
- interpret mathematical statements precisely.
Core Definition
A statement is a declarative sentence that is either true or false, but not both.
Examples:
- "" is a statement.
- "All primes greater than are odd" is a statement.
- "" is not a statement by itself if is not specified.
What Is Not a Statement
The following are usually not statements:
- questions,
- commands,
- exclamations,
- open sentences depending on unspecified variables.
Examples:
- "What time is it?" is not a statement.
- "Close the door." is not a statement.
- "" is not a statement unless the value of is fixed or quantified.
Truth Values
Every statement has exactly one of two truth values:
- true,
- false.
A sentence counts as a statement only if it has a definite truth value, even if we do not know it immediately.
- "There are infinitely many prime numbers" is a statement, and it is true.
- "The number is prime" is a statement, and it is false.
Open Sentences and Variables
An open sentence contains variables and does not have a fixed truth value until the variables are specified or quantified.
Example:
This is not a statement until:
- we assign a value to , or
- we write something like or .
Compound Statements
If and are statements, then we can form new statements:
- negation:
- conjunction:
- disjunction:
- implication:
- biconditional:
Simple Truth Intuition
- means both and are true.
- means at least one of is true.
- means whenever holds, also holds.
- means and have the same truth value.
Mathematical Statements
These are all statements:
- " is a prime number"
- "Every square matrix has a determinant"
- "There exists a rational number whose square is "
They may be true or false, but they are still statements because truth value is definite.
Minimal Worked Examples
Example 1 Is the sentence a statement? No, not by itself. The truth depends on the value of . It is an open sentence, not a statement. --- Example 2 Is the sentence a statement? Yes. It has a definite truth value, and in fact it is true. ---Common Patterns
- declarative mathematical claims,
- variable-containing open sentences,
- compound statements formed from simpler ones,
- quantified versions of open sentences,
- classification of sentences as statement or not.
Common Mistakes
- β thinking that an unknown truth value means not a statement,
- β treating "" as a statement without specifying ,
- β forgetting that quantified sentences are statements,
- β confusing command sentences with statements,
CMI Strategy
- Ask whether the sentence is declarative.
- Ask whether it has a definite truth value.
- Check whether any variable is unspecified.
- If quantifiers are present, the sentence is usually closed and hence a statement.
- Separate grammatical form from mathematical content.
Practice Questions
:::question type="MCQ" question="Which of the following is a statement?" options=["","Close the door.","","What is your name?"] answer="C" hint="Look for a declarative sentence with fixed truth value." solution="The sentence is declarative and has a definite truth value, namely true. The others are either open, imperative, or interrogative. Hence the correct option is ." ::: :::question type="NAT" question="How many truth values can a statement have?" answer="2" hint="Use the standard logical setup." solution="A statement has exactly one truth value, and the possible truth values are true and false. So the number of possible truth values is ." ::: :::question type="MSQ" question="Which of the following are statements?" options=[" is prime","","There exists a real number such that ","Stop talking."] answer="A,C" hint="Check whether the sentence is closed and truth-valued." solution="1. True, this is a statement.Summary
- A statement is a declarative sentence with a definite truth value.
- Questions, commands, and open sentences are not statements.
- Mathematical difficulty does not affect whether something is a statement.
- Variables must be specified or quantified to create a statement.
- Compound logic starts only after the basic units are genuine statements.
---
Proceeding to Negation.
---
Part 2: Negation
Negation
Overview
Negation is one of the most basic but most frequently mishandled ideas in logic. In proof-based mathematics, negation is not just the act of inserting the word "not". It means forming a new statement whose truth value is exactly opposite to the original statement. In CMI-style questions, the main difficulty is usually with compound statements and quantified statements, where careless wording leads to logically incorrect negations. ---Learning Objectives
After studying this topic, you will be able to:
- negate simple and compound statements correctly,
- distinguish between negation and informal contradiction,
- use De Morgan's laws for logical connectives,
- negate universal and existential statements correctly,
- avoid common wording mistakes in mathematical negation.
Core Idea
If is a statement, then its negation is written as
The negation is true exactly when is false, and false exactly when is true.
- if is true, then is false,
- if is false, then is true.
Negation of Simple Statements
- Negation of "It is raining" is "It is not raining".
- Negation of "" is "".
- Negation of "" is "".
- Negation of "" is "".
- Negation of "" is "".
The negation of "" is not "".
It is
because the value must also be included.
Negation of Compound Statements
For statements and :
Negation of Implication and Biconditional
The negation of
is
This is because an implication fails only when is true and is false.
Since
means that and have the same truth value, its negation means that they have different truth values:
Negation of Quantified Statements
- "For every , " negates to "There exists an such that is false".
- "There exists an such that " negates to "For every , is false".
Minimal Worked Examples
Example 1 Negate the statement Using De Morgan's law, So the negation is --- Example 2 Negate Its negation is ---Common Patterns
- negating inequalities,
- negating conjunctions and disjunctions,
- negating implications,
- negating quantified statements,
- translating symbolic negations into correct English.
Common Mistakes
- β negating "" as "",
- β negating "" as "",
- β negating "" as "",
- β negating "" as "",
CMI Strategy
- First identify the outermost logical structure.
- If there is a quantifier, switch and first.
- If there is a connective, apply the right law.
- If there is an inequality, reverse it carefully.
- Check whether the new statement is exactly opposite in truth value.
Practice Questions
:::question type="MCQ" question="The negation of the statement is" options=["","","",""] answer="B" hint="Include the boundary value." solution="The negation of is every case where is not greater than , namely . Hence the correct option is ." ::: :::question type="NAT" question="If is false, what is the truth value of ? Write for true and for false." answer="1" hint="Negation reverses truth value." solution="If is false, then is true. Therefore the required code is ." ::: :::question type="MSQ" question="Which of the following are correct negations?" options=["The negation of is ","The negation of is ","The negation of is ","The negation of is "] answer="A,B,C,D" hint="Use the standard negation laws." solution="1. True. Negating gives .Summary
- Negation must reverse the truth value exactly.
- Inequality negation must include the boundary correctly.
- De Morgan's laws are essential for compound statements.
- is .
- Quantifier negation switches and .
- Correct negation is a structural skill, not a wording trick.
---
Proceeding to Implication.
---
Part 3: Implication
Implication
Overview
Implication is one of the central ideas of mathematical logic. Almost every theorem in mathematics has the form "if , then ". To use implications correctly, you must understand their meaning, their truth conditions, and the related ideas of necessary conditions, sufficient conditions, converse, and contrapositive. ---Learning Objectives
After studying this topic, you will be able to:
- interpret a statement of the form correctly,
- use the truth conditions of implication,
- identify necessary and sufficient conditions,
- distinguish implication from equivalence,
- work carefully with converse, inverse, and contrapositive.
Core Idea
An implication is a statement of the form
read as:
- "if , then "
- " implies "
- " only if "
- is called the hypothesis or antecedent,
- is called the conclusion or consequent.
Truth of an Implication
The implication is false only in one case:
In all other cases, is true.
Why the False Case Is Unique
The statement promises that whenever happens, must happen.
So the only way to violate that promise is:
- happens,
- but does not.
Vacuous Truth
If is false, then is true regardless of .
This is called vacuous truth.
Vacuous truth feels strange at first, but it is standard and essential in logic and proofs.
Necessary and Sufficient Conditions
For
we say:
- is a sufficient condition for
- is a necessary condition for
- divisibility by is sufficient for being even,
- being even is necessary for divisibility by .
Equivalent Ways to Read an Implication
The statement
can be read as:
- if , then
- implies
- whenever
- only if
- is necessary for
- is sufficient for
Related Statements
Starting from
we get:
- converse:
- inverse:
- contrapositive:
The original implication is logically equivalent to its contrapositive, but not generally to its converse or inverse.
Minimal Worked Examples
Example 1 Statement: This is true because divisibility by guarantees divisibility by . Here:- " divisible by " is sufficient for " divisible by "
- " divisible by " is necessary for " divisible by "
Implication Versus Equivalence
An implication
is one-way.
An equivalence
means both directions hold:
Common Mistakes
- β assuming means ,
- β forgetting vacuous truth,
- β mixing necessary and sufficient conditions,
- β confusing implication with equivalence,
CMI Strategy
- Identify hypothesis and conclusion.
- Ask: in which case would the statement fail?
- Translate into necessary/sufficient language.
- Check whether the question is about implication or equivalence.
- Use contrapositive when direct reasoning is messy.
Practice Questions
:::question type="MCQ" question="The implication is false exactly when" options=[" is false and is true"," is true and is false"," is false and is false"," is true and is true"] answer="B" hint="Think about the unique failure case." solution="An implication fails only when the hypothesis is true but the conclusion is false. Hence the correct option is ." ::: :::question type="NAT" question="How many rows of the truth table of have the value true?" answer="3" hint="There are four possible truth assignments for and ." solution="For two statements and , there are four possible truth assignments. The implication is false only in the case and . Therefore it is true in the remaining three cases. Hence the answer is ." ::: :::question type="MSQ" question="Which of the following are correct interpretations of ?" options=[" is sufficient for "," is necessary for "," is necessary for "," whenever "] answer="A,B,D" hint="Translate the statement carefully." solution="If , then is sufficient for , is necessary for , and the phrase ' whenever ' has the same meaning. The statement ' is necessary for ' reverses the direction and is not generally correct. Hence the correct answer is ." ::: :::question type="SUB" question="Explain why the statement 'If is divisible by , then is even' shows that divisibility by is sufficient for evenness, and evenness is necessary for divisibility by ." answer="Because the statement has the form , where is sufficient for and is necessary for " hint="Identify and ." solution="Let ' is divisible by ' and ' is even' The statement says In any implication :- is sufficient for ,
- is necessary for .
Summary
- An implication is false only when is true and is false.
- If is false, the implication is vacuously true.
- In , is sufficient for and is necessary for .
- Implication is one-way; equivalence is two-way.
- The contrapositive is logically equivalent to the original implication.
---
Proceeding to Biconditional.
---
Part 4: Biconditional
Biconditional
Overview
The biconditional connects two statements in both directions. It expresses equivalence, exactness, and βif and only ifβ reasoning. In proof-based mathematics, biconditionals are crucial because many definitions and theorems are stated in this form. In exam problems, the main challenge is to understand that a biconditional requires two implications, not one. ---Learning Objectives
After studying this topic, you will be able to:
- Interpret correctly.
- Rewrite biconditionals as pairs of implications.
- Determine the truth of a biconditional from component statements.
- Distinguish βifβ, βonly ifβ, and βif and only ifβ.
- Use biconditionals correctly in proofs and logical translation.
Core Idea
The biconditional
means:
So is true exactly when is true.
- β if and only if β
- β is equivalent to β
- β exactly when β
Truth Condition
The statement is true exactly when and have the same truth value.
So:
- true iff true true
- false iff false true
- true iff false false
- false iff true false
| | | |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | T |
Relation to Implication
- means: if then
- means: if then
- means both of the above at once
Language Patterns
- β if and only if β
- β is necessary and sufficient for β
- β exactly when β
- β only if β
- β if β
Biconditional in Mathematics
Many definitions are biconditional in nature.
Examples:
- An integer is even iff for some integer .
- A real number is positive iff .
- A quadrilateral is a rectangle iff it is a parallelogram with one right angle.
In such cases, both directions matter.
Proving a Biconditional
To prove
you usually prove:
Write the proof in two separate parts:
- First assume and prove
- Then assume and prove
Minimal Worked Examples
Example 1 Consider the statement: This is true because divisibility by is equivalent to divisibility by both and . --- Example 2 The statement is false over because also satisfies . So even if one direction looks tempting, the biconditional fails if the reverse direction fails. ---Common Mistakes
- β Treating as if it only means
- β Confusing βonly ifβ with βif and only ifβ
- β Proving only one direction in a proof
- β Assuming that because two statements are often true together, they are equivalent
CMI Strategy
- Rewrite the biconditional as two implications.
- Test each direction separately.
- If asked for truth, search for a counterexample to either direction.
- Pay close attention to the wording βifβ, βonly ifβ, and βiffβ.
- In proof questions, separate the two directions clearly.
Practice Questions
:::question type="MCQ" question="The statement is equivalent to" options=["","","",""] answer="C" hint="A biconditional means both directions hold." solution="By definition, . Hence the correct option is ." ::: :::question type="NAT" question="Write if the statement 'A biconditional is true whenever both component statements have the same truth value' is true, and write if it is false." answer="1" hint="Check the truth table for ." solution="A biconditional is true exactly when both component statements have the same truth value. So the given statement is true. Hence the required answer is ." ::: :::question type="MSQ" question="Which of the following statements are correct?" options=[" implies "," implies ","To prove , it is enough to prove only ","If and always have the same truth value, then is true"] answer="A,B,D" hint="Use the definition of biconditional carefully." solution="1. True, because includes .Summary
- means both and .
- A biconditional is true exactly when and have the same truth value.
- βIf and only ifβ is stronger than a one-way implication.
- Many mathematical definitions are biconditional in nature.
- To prove a biconditional, usually prove two directions separately.
---
Proceeding to Converse.
---
Part 5: Converse
Converse
Overview
The converse of a statement is obtained by reversing the direction of an implication. This looks innocent, but in logic it is one of the most common sources of mistakes. In exam questions, students often assume that a true statement automatically has a true converse. That is false in general. ---Learning Objectives
After studying this topic, you will be able to:
- form the converse of an implication correctly,
- test whether a converse is true or false,
- distinguish converse from contrapositive and inverse,
- use counterexamples to disprove a converse,
- understand when an implication and its converse together form an equivalence.
Core Idea
For an implication
the converse is
Main Warning
A true implication does not guarantee a true converse.
Example:
is true.
But its converse
is false.
Converse Versus Other Related Statements
Starting from
we get:
- converse:
- inverse:
- contrapositive:
The converse and inverse are logically equivalent.
But neither is generally equivalent to the original implication.
When the Converse Is True
If both
and
are true, then we may combine them into
This means " if and only if ".
Minimal Worked Examples
Example 1 Original statement: Converse: The original statement is true, but the converse is false. --- Example 2 Original statement: Converse: This converse is false because also satisfies . ---Counterexample Method
To show that a converse is false, find one example where:
- is true,
- but is false.
This gives a direct counterexample to
Common Question Patterns
- write the converse of a statement,
- decide whether the converse is true,
- provide a counterexample if false,
- identify when original statement and converse together give an equivalence,
- compare converse and contrapositive.
Converse and Proofs
If the question asks you to prove
you are not allowed to prove only
That would prove the converse, not the original statement.
Common Mistakes
- β thinking converse and original are automatically equivalent,
- β confusing converse with contrapositive,
- β proving the converse when the original statement was asked,
- β forgetting to use counterexamples,
CMI Strategy
- Write the original statement as .
- Reverse it cleanly to get .
- Test the converse using examples or known theorems.
- If false, provide the simplest counterexample possible.
- If true, check whether the pair gives an "if and only if" statement.
Practice Questions
:::question type="MCQ" question="The converse of is" options=["","","",""] answer="B" hint="The converse reverses the direction." solution="The converse of is formed by reversing the implication. Therefore it is . Hence the correct option is ." ::: :::question type="NAT" question="How many of the statements , , , and are always logically equivalent to the converse ?" answer="2" hint="The converse is equivalent to its inverse." solution="The converse is . It is always logically equivalent to itself and to its inverse . It is not always equivalent to the original implication or its contrapositive. Hence the number is ." ::: :::question type="MSQ" question="Which of the following are true?" options=["The converse of is ","A true implication always has a true converse","A counterexample can disprove a converse","If both an implication and its converse are true, then we get an equivalence"] answer="A,C,D" hint="Think about reversal and counterexamples." solution="1. True. That is the definition of converse.Summary
- The converse of is .
- A true statement need not have a true converse.
- Counterexamples are the standard tool for disproving converses.
- Converse and inverse are logically equivalent.
- If both directions are true, then we have an equivalence.
---
Proceeding to Contrapositive.
---
Part 6: Contrapositive
Contrapositive
Overview
The contrapositive is one of the most important transformations of an implication. In logic and proofs, it is often far easier to prove the contrapositive of a statement than to prove the statement directly. In exam questions, this topic is usually tested through logical equivalence, proof methods, and confusion between contrapositive, converse, and inverse. ---Learning Objectives
After studying this topic, you will be able to:
- form the contrapositive of a statement correctly,
- distinguish contrapositive from converse and inverse,
- use contrapositive reasoning in proofs,
- recognize that an implication and its contrapositive are logically equivalent,
- avoid common statement-reversal mistakes.
Core Idea
For an implication
the contrapositive is
Logical Equivalence
The statement
is logically equivalent to its contrapositive
To prove
it is enough to prove
Truth-Table Insight
Both
and
are false only in the case
and true in all other cases.
How Contrapositive Differs from Other Related Statements
Starting from
we get:
- converse:
- inverse:
- contrapositive:
The contrapositive is equivalent to the original implication.
The converse is not generally equivalent to the original implication.
The inverse is also not generally equivalent to the original implication.
However, the converse and inverse are equivalent to each other.
Minimal Worked Examples
Example 1 Original statement: Let "the integer is divisible by " and "the integer is even" Then the contrapositive is: This is true and often easier to justify. --- Example 2 Original statement: Contrapositive: This form is often more natural in algebraic proofs. ---Why Contrapositive Proofs Are Useful
A direct proof starts by assuming and proving .
A contrapositive proof starts by assuming and proving .
This is especially useful when:
- has a simple algebraic form,
- the original conclusion is hard to prove directly,
- divisibility and parity arguments are involved,
- a nonexistence conclusion is easier than a constructive one.
Standard Proof Template
To prove
write:
"Assume . We will show ."
Then complete the argument. Since is true, the original implication follows.
Common Logical Examples
- If is even, then is even.
A common proof uses the contrapositive:
- If a real number satisfies , then .
Contrapositive:
Negation Accuracy
When forming the contrapositive, bad negation ruins the statement.
Examples:
- negation of "" is ""
- negation of "" is ""
- negation of "even" is "not even", i.e. odd for integers
- negation of "divisible by " is "not divisible by "
Common Mistakes
- β calling the contrapositive,
- β negating only one part,
- β forgetting to reverse direction,
- β assuming converse and contrapositive are the same,
CMI Strategy
- Identify the original implication clearly.
- Write and separately.
- Form carefully.
- Check the negations before proving anything.
- In proof questions, decide whether direct proof or contrapositive is cleaner.
Practice Questions
:::question type="MCQ" question="The contrapositive of is" options=["","","",""] answer="C" hint="Negate both parts and reverse direction." solution="The contrapositive of is obtained by negating both statements and reversing the order. Therefore it is . Hence the correct option is ." ::: :::question type="NAT" question="How many of the statements , , , and are always logically equivalent to ?" answer="2" hint="Think about contrapositive, converse, and inverse." solution="Among the given four statements:- is obviously equivalent to itself,
- is the contrapositive, so it is equivalent,
- is the converse and is not always equivalent,
- is the inverse and is not always equivalent.
Summary
- The contrapositive of is .
- An implication and its contrapositive are logically equivalent.
- Proof by contrapositive is often easier than direct proof.
- Do not confuse contrapositive with converse.
- Correct negation is essential.
---
Chapter Summary
A statement is a declarative sentence that is either true or false, but not both.
The negation of a statement , denoted , has the opposite truth value of .
An implication (, "If then ") is false only when the antecedent () is true and the consequent () is false.
A biconditional (, " if and only if ") is true when and have the same truth value.
The contrapositive of an implication is . An implication is logically equivalent to its contrapositive.
The converse of an implication is . The converse is not generally logically equivalent to the original implication.
---
Chapter Review Questions
:::question type="MCQ" question="Consider the statement: 'If a number is even, then it is divisible by 2.' Which of the following is the contrapositive of this statement?" options=["If a number is divisible by 2, then it is even." , "If a number is not even, then it is not divisible by 2." , "If a number is not divisible by 2, then it is not even." , "A number is even and it is not divisible by 2."] answer="If a number is not divisible by 2, then it is not even." hint="The contrapositive of is ." solution="Let be 'a number is even' and be 'it is divisible by 2'. The original statement is . The contrapositive is , which translates to 'If a number is not divisible by 2, then it is not even.' "
:::
:::question type="NAT" question="If is false and is true, what is the truth value of the compound statement ? (Represent True as 1, False as 0)" answer="0" hint="Evaluate each side of the biconditional separately based on the given truth values for and ." solution="Given is false (F) and is true (T).
First part:
is false (F).
is F F, which is F.
Second part:
is true (T).
is T T, which is T.
Finally, the biconditional: F T, which is F.
Representing False as 0, the answer is 0."
:::
:::question type="MCQ" question="The negation of the statement 'If it rains, then the match will be cancelled' is logically equivalent to which of the following?" options=["If it does not rain, then the match will not be cancelled." , "It rains and the match will not be cancelled." , "It does not rain or the match will be cancelled." , "If the match is cancelled, then it rains."] answer="It rains and the match will not be cancelled." hint="The negation of an implication is ." solution="Let be 'it rains' and be 'the match will be cancelled'. The original statement is . The negation of this implication is , which is logically equivalent to . This translates to 'It rains and the match will not be cancelled.'"
:::
:::question type="NAT" question="How many distinct rows are required in a truth table for a compound statement involving 5 distinct simple statements?" answer="32" hint="The number of rows in a truth table is determined by the number of simple statements involved." solution="For distinct simple statements, there are distinct rows in the truth table. For 5 distinct simple statements, there are rows."
:::
---
What's Next?
This chapter has established the foundational syntax and semantics of propositional logic. A firm grasp of statements, logical connectives, and their truth conditions is indispensable for constructing valid arguments and understanding mathematical proofs. In subsequent chapters, you will build upon this foundation by exploring logical equivalences, tautologies, and the application of truth tables to analyze more complex logical structures. These skills are crucial for developing rigorous reasoning abilities, which are central to advanced topics in discrete mathematics, set theory, and formal proof techniques.