**Whether you are a technical student or a non-technical student, you must have gotten confused with the terms successor and predecessor. **

Both the word “successor” and “predecessor” are being used in different subjects for different purposes and their meaning changes according to the question and sentence in which they are used.

Thus to make you understand both of the terms, here is a guide where we will tell you the meaning of both terms along with detailed information about the main differences of **successor and predecessor. **We will also tell whether it is important to learn for solving the problem of graph bfs.

**Without taking more time, let’s get ahead in our guide to know more about it. **

**Difference between Successor and Predecessor**

**Definition**

**Successor**

The word Successor in mathematics is used to denote or point to a term that is just after the mentioned number. In simple words, we can say that the successor is the term after the mentioned.

**Predecessor**

The Predecessor is a related term to the successor and is used in various mathematical questions with the purpose of pointing out a specific number. A Predecessor is a number that is before the given or pointed number in a mathematical equation or another thing.

In simple words, we will say the number that is available before a given number is better known as Predecessor.

**Purpose**

**Successor **

The purpose of using the successor in mathematics is to confuse the students with the numeric values by pointing to a given number. At the start, those who don’t understand its concept will not be able to figure out the question. Due to this, there will be more chances of getting the answer wrong.

**Predecessor **

The predecessor points to the numeric value before the mentioned number. But those who don’t have any knowledge about it will not be able to solve the questions. The purpose of using the predecessor is to make the students confused with the numeric data on which they are going to solve the questions.

**Examples**

**Successor **

To illustrate the proper meaning of the successor, here is an example of it.

**Example 1**

**There are ten given number: 1, 3, 4, 5, 6, 9, 10, 12, 14, 16. Find the successor of 10.**

**Answer:** The successor means the term that is after the given or pointing number. So, here the answer will be 12 which is the successor of 10.

**Example 2**

**What is the successor of 10 in the natural number?**

**Answer: **The successor of 10 is 11 which is a natural number. In other words, we can write it as that 11 is the successor of 10.

**Example 3**

**From these number 5, 9, 8, 10, 11, 1, 2, 13, 7, 4. Find the number whose successor is 1.**

**Answer: **We can see that the successor is given a number which is 1. So, we have to find that number whose successor is 1. Therefore, we will start looking that where the number 1 is. After checking, we will know that 11 is the number whose successor is 1.

**Predecessor**

To illustrate the proper meaning of the predecessor, here is an example of it.

**Example 1**

**There are ten given number: 1, 4, 5, 6, 3, 9, 10, 12, 14, 16. Find predecessor for 10.**

**Answer:** As we have discussed earlier that the predecessor means the term that is before the given or pointing number. So, here the answer will be 9 which is the predecessor for 10.

**Example 2**

**What is the predecessor for 11 in the natural number?**

**Answer: **The predecessor for 11 is 10 which is a natural number. In other words, we can write it as that 10 is the predecessor for 11.

**Example 3**

**From these given number 5, 9, 8, 10, 11, 1, 2, 13, 7, 4. Find the number whose predecessor is 1.**

**Answer: **We can see that the predecessor is given a number which is 1. So, we have to find that number whose predecessor is 1. Therefore, we will check for the location of the number 1. After checking, we will get our answer 2 which is the number whose predecessor is 1.

**Formula**

You can derive the Successor and Predecessor by following the formula which is given below.

**Successor**

Number + 1.

Here the number points to the given term which will be mentioned in your question. For the + 1, it will have different meanings according to the questions. If you are given a question that has different terms, then the + 1 will mean the next term which is after a given number. But for some questions, it is going to be incremented by 1.

**Predecessor**

Number – 1.

The formula for the predecessor is Number – 1 which means a term that is before a given number or the number-1. Both the formulas will be applied on the basis of the question. Make sure to implement the correct one to get the correct answer.

**Here is an example to solve your confusion about both formulas –**

**Example 1**

**From these given numbers: 9, 8, 10, 12, 14. Find the successor and predecessor of 10. **

**Answer: **For finding the successor, we will use the formula which is Number + 1. So, here the number is given is 10, so the number which is after 10 is 12.

Here we have used the formula, but as the number was already given, so we have taken the number which is just after it or which is the next term.

For finding the predecessor, we will decrease the number by 1 term, so, the number which is the predecessor is 8.

**Conclusion**

**Finding the successor and predecessor is very easy if you are clear with the concept. **

So, start practicing for the numerical based on successor and predecessor from today. As it will help you in solving different questions like ** graph BFS** and much more.