Table of contents
1.
Introduction
2.
Formal Logic
3.
Propositional Logic
4.
Predicate Logic
4.1.
Domain of Discourse 
4.1.1.
Example
5.
Difference between Propositional Logic and Predicate Logic
6.
Frequently Asked Questions
6.1.
What is Prepositional Logic?
6.2.
What is Predicate Logic?
6.3.
What is the difference between Prepositional logic and Predicate logic?
6.4.
Why is Propositional logic used?
6.5.
What is the Domain Of Discourse?
7.
Conclusion 
Last Updated: Feb 5, 2025

Difference between Propositional Logic and Predicate Logic

Career growth poll
Do you think IIT Guwahati certified course can help you in your career?

Introduction

Propositional logic and predicate logic are the sub-domain of formal logic. In propositional logic, the statement can be either true or false. On the other hand, predicate logic consists of a ‘predicate’ that gives further information about a sentence’s subject.  

Difference between Propositional Logic and Predicate Logic

In this article, we will discuss Propositional and predicate logic through examples. We will also see the ‘Difference between Propositional Logic and Predicate Logic’ in tabular format. 

Moving forward, first, let's discuss in brief formal logic.

Formal Logic

Formal logic refers to the set of rules for understanding and representing logical statements. Formal Logic helps determine if the statement provided is true or false. In today's scenario, formal logic is done in symbolic form.

Formal logic covers topics such as:

  •  Logical equivalence: It refers to an equality condition, exiting between two statements.
     
  •  Logical truth: Logical truth refers to a statement that is true.
     
  • Truth tables: It is the tabular representation of the possible combination of truth values.
     
  • Contradictions: A false statement is known as a contradiction.
     
  • Tautology: It refers to a compound statement that is always true.
     
  • Validity: It refers to the facts that guarantee that the statement is true.
     
  • Invalidity: It refers to the facts that guarantee that the statement is false.
     
  • Conditionals:  The statements that can be written in the form of ‘If B then E’, where B and E are statements.
     

Propositional and predicate logic are the two main branches of formal logic.

Also see, Ensemble Learning

Propositional Logic

Propositional logic consists of a declarative statement with a truth value, i.e., true or false, and can never be both simultaneously. In proposition logic, we generally analyze the proportions/statements. 

For example:

  • It is sunny
  • 3+2=5
     

The above statements can be true or false.

The statements are represented using symbols. The propositions are combined using symbols known as logical connectives. Below are some of the most commonly used logical connectives:

  • AND (∧)
  • OR (∨)
  • NOT (¬)
  • IF AND ONLY IF (↔)
  • IF….THEN ( →)
     

For example, if A is the proposition that says, “It is sunny”, and B proposition says, “Ninja will go outside”, then A→B represents, “If it is sunny, then Ninja will go outside”.

Recommended read- Propositions And Compound Statements

Predicate Logic

Predicate logic consists of a predicate that gives further information about a sentence’s subject. It can be referred to as an attribute that determines the properties of the subject in a sentence. Variables represent a subject, and then the predicate is applied to the variables.

For example, Predicate: A(Ninja1): “Ninja1 has 5 extra skills”.

In the example above, ‘Ninja1’ is the subject, while ‘has 5 extra skills’ gives additional knowledge about the subject. We can also assign some specific value to a variable, such as, ‘5 is greater than 3’. Here, 5 is the subject (with some specific value).

Domain of Discourse 

The ‘Universe/ Domain of discourse/ Domain of Predicate’ are the values from which we can assume the variables. 

Example

While considering whole numbers, the ‘domain of discourse’ consists of values {0,1,2,3,...}; therefore, the variable’s value should be among these sets of values. 

Difference between Propositional Logic and Predicate Logic

Basis Propositional Logic Predicate logic
Definition Propositional logic consists of a declarative statement with a truth value, i.e., true or false, and can never be both simultaneously. 

Predicate logic consists of a predicate that gives further information about a sentence’s subject. It can be referred to as an attribute that determines the properties of the subject in a sentence.  

 

Variables Propositional Logic does not consist of variables. Variables are present.
Logical connectives The logical connectives in propositional logic are AND, OR, NOT, IF-THEN, IF-AND-ONLY-IF. Logical connectives in predicate logic are the same as preposition logic and also contain propositional plus quantifiers.
Scope analysis Scope analysis is not performed in propositional logic. Quantifiers are used to perform scope analysis in predicate logic, such as Universal Quantifiers, Existential Quantifiers, Uniqueness Quatifiers, etc.
Representation Propositional logic is a generalized representation. Predicate logic is a specialized representation.
Truth value In proposition logic, a proposition has a truth value, i.e., true or false. In predicate logic, the truth value depends on the value of the variable,
Use case Propositional logic is used for analyisng simple logical connections. Predicate logic is used for expressing complex connections ad decisions for a given variable.

Also see, AMD vs Intel

Frequently Asked Questions

What is Prepositional Logic?

Propositional logic consists of a declarative statement with a truth value i.e., true or false, and can never be both simultaneously. In proposition logic, we generally analyze the proportions/statements. The statements are represented using symbols. 

What is Predicate Logic?

Predicate logic consists of a predicate that gives further information about a sentence’s subject. It can be referred to as an attribute that determines the properties of the subject in a sentence. 

What is the difference between Prepositional logic and Predicate logic?

Propositional logic consists of a declarative statement with a truth value, i.e., true or false. Predicate logic consists of a predicate that gives further information about a sentence’s subject. 

Why is Propositional logic used?

Propositional logic is used for analyisng simple logical connections. Predicate logic is used for expressing complex connections ad decisions for a given variable.

What is the Domain Of Discourse?

The ‘Domain of disclosure’ are the values from which we can assume the variables. Variables represent a subject, and then the predicate is applied to the variables.

Conclusion 

In this article, we have learned the difference between propositional logic and predicate logic. To level up your understanding of propositional and predicate logic and to practice questions refer to the following articles.
 


You can read more such descriptive articles on our platform, Coding Ninjas Studio. You will find straightforward explanations of almost every topic on the platform. So take your coding journey to the next level using Coding Ninjas.
 

Happy coding!

Live masterclass