Scope and Subfields: Back To Top
Scope and Subfields: Back To Top
Scope and Subfields: Back To Top
Back to Top
Basically, the mathematical logic has classified into following four subfields :
Although, each of these subfields share basic concepts of mathematical logic, yet they have different
focuses. Mathematical logic was initially introduced for constructing fundamental frameworks
for subjects like arithmetic, analysis and geometry. But it has now been utilized into several mathematical
and non-mathematical areas. It is being outstandingly applied to computer science as well.
Basic Logical Operators
Back to Top
Negation (NOT)
Disjunction (OR)
Conjunction (AND)
NEGATION
Negation is an operator which gives the opposite statement of the previous statement. It is also known as
NOT, denoted by ∼∼. It is an operation that gives the opposite result. If input is true then output is false. If
input is false then output is true. It has one input and one output. Truth table for NOT is given below :
Input(P) Output(~P)
T F
F T
Example of Negation
The negation of the statement "This year is a leap year" is "This year is not a leap year.
Similarly, the negation of statement "Amar is taller than Vivek" may be written as either "Amar is not taller
than Vivek" or "Amar is shorter than Vivek".
DISJUNCTION
We can join two statements by “OR” operand. It is also known as Disjunction. It symbolic from is "∨∨". In
this operator if any one of the statement is true, then result is true, and if both the statements is false,
then result will be false. It has two or more inputs and only one output.
Example of Disjunction
Here in both examples, the statements A are true and the statements B are false. Therefore A OR B is
true.
A B A ∨∨ B
T F T
The disjunction of a compound statement is only false if both the combining statements are false else the
disjunction is true.
CONJUNCTION
We can join two statements by “AND” operand. It is also known as Conjunction. Its symbolic from is
"∧∧".In this operator If any one of the statement is false, then result will be false, and If both the statement
are true, then only result will be true. It has two or more inputs and only one output.
A B A ∧∧ B
T F F
The conjunction of a compound statement is true only if both the combining statements are true else the
conjunction would be false.
Examples
Back to Top
Example 1 : What would be the negation of the statement "the number 8 is even"?
According to the truth table of negation, if input is true, output must be false vice versa.
Here, S is true.
and ~S is false.
Example 2 : Two statements are given:
A: x is an even number.
B: x is a prime number.
List all the truth values of conjunction with the the help of examples.
If x = 2,
then statement A is true and statement B is true, therefore A AND B is also true.
If x = 4,
If x = 3,
If x = 9,
then statement A is false and statement B is false, therefore A AND B is also false.
Example 3 : For the following statements, demonstrate all truth values of disjunction using examples -
If p = 12,
If x = 4,
If x = 9,
If x = 7,
Practice Problems
Back to Top
Problem 1: If S: The sum of x and y equals to a prime number. Write the negation of x.
Problem 2: If P: x is an even number and Q: x is an odd number then write truth tables for P AND Q and
P OR Q.