Mathematical Logic Solved Examples
Example 1: Consider the statement x < 5 → x – 2 < 5 is true or false?
Solution:
If x < 5 is true then, x – 2 < 5 is also true.
T → T is true
So, the given statement x < 5 → x – 2 < 5 is true.
Example 2: For given two statements compute the truth table for conjunction.
P: a is divisible by 4
Q: a is divisible by 10
Solution:
Given the two statements P and Q.
P: a is divisible by 4
Q: a is divisible by 10
Value of a |
P |
Q |
P ∧ Q |
---|---|---|---|
20 |
T |
T |
T |
8 |
T |
F |
F |
30 |
F |
T |
F |
5 |
F |
F |
F |
Example 3: Find the negation of the given statement P: It is a rainy day.
Solution:
Given statement,
P: It is a rainy day.
Negation of P = ¬ P: It is not a rainy day.
Introduction to Mathematical Logic
Mathematical logic deals with the logic in mathematics. Mathematical logic operators and laws define various statements in their mathematical form. In this article, we will explore mathematical logic along with the mathematical logic operators and types of mathematical logic. We will also solve some examples related to mathematical logic.
Table of Content
- What is Mathematical Logic?
- Mathematical Logic Operators
- Mathematical Logic Formulas
- Types of Mathematical Logic
- Mathematical Logic Truth Table
- Mathematical Logic Solved Examples