Mathematical induction is an ingenious mathematical construct that originates from the human will to save time and effort. Imagine that you are an online game designer.
You are designing a new massively multiplayer online (MMO)game that involves a unique ranking system. This ranking system ranks each active player on a daily basis.
At the end of the daily allocated playtime, the player who places last gets 1 point, the player who places second to last gets 2 points, the player who places third to last gets 3 points, and so on. Naturally, the number of active players varies daily. Therefore, the total number of points that need to be allocated on any given day also varies.
All active players are required to sign up for daily playtime within a specified time limit. As soon as this time limit is up, your game servers crunch the data and provide you with the total number of players for that particular day.
You are now interested in computing the total number of points that you need to allocate for any given day as soon as you receive the total number of active players for that day. How would you go about this?
In this article, we will initially use the intuition behind the concept of mathematical induction to solve this problem. Following this, we will cover the explicit mathematical algorithm for mathematical induction. Finally, we will see how this method can be applied to a generalized mathematical use case.
Let us first start with the most intuitive approach that comes to mind. We could treat each active player on any given day as a variable and assign points to each variable. Then, we could just sum up the number of points assigned to each variable to come up with the answer.
Consequently, the total points (TP) for any given day would be a sequential sum as follows:
Math illustrated by the author
This is a clever start. However, you get the feeling that the process could be faster and more efficient. We are currently not explicitly taking into account the total number of players.
Hypothesis Testing
You go over to a friend who is math-savvy and pose this problem. He proposes that you guys start with small sequences and try to observe patterns. Eventually, both of you come up with a pattern that seems to be working.
For sequences up to 5, you observe that the sum of the sequence is given by half the product of the number considered and the discrete number next to it. Expressed mathematically, if the total number of players were ‘n’, then your observation is as follows:
Math illustrated by the author
You and your math-savvy friend are delighted about this finding. The only thing that remains is to prove that this observation/hypothesis is valid for any number of players.
You first increase the total number of players one by one to see if the hypothesis holds:
Math illustrated by the author
You quickly realise that this is too tedious and exhausting. You will need to come up with a smarter way to prove your hypothesis.
Intuition for Mathematical Induction
Let us assume that your hypothesis is indeed true for any natural number. If this were the case, it would be true for a specific natural number k as well. The variable k here can take the value of any natural number.
What if we could test and prove your hypothesis for (k +1)? Let’s go ahead, do that, and see what happens.
Math illustrated by the author
Based on this we can deduce that if our statement holds for any k, it will hold for the corresponding (k + 1) as well.
Imagine that your proof is like a domino system. If you are sure that one domino falls, you can prove that all dominoes following the first one will also fall.
In this sense, it is important to realise that even though we started with an assumption, there is no longer any assumption in the conclusion (proof). This is the beauty of mathematical induction.
There you have it. We just proved that we can use a simple formula to calculate the total number of points (TP) that need to be allocated given the total number of players participating on any given day:
Math illustrated by the author
So, your MMO game is in safe hands!
The Algorithm Behind Mathematical Induction
Mathematical induction is a mathematical proof method that can be applied to statements (hypotheses) that hold for all natural numbers. Consequently, it can be extended to other functions based on natural numbers such as trigonometric functions (inequalities) as well.
The algorithm as such consists only of two simple steps:
1. Prove the statement for a base case. The base case could be n = 0 or n = 1 or pretty much any fixed value of n (where n is a natural number).
2. Assume that the statement holds for a given natural number n = k, and prove (algebraically, for instance) that the statement holds for n = (k + 1) as well.
That is pretty much it. In the first step, you test out your hypothesis for a base case. In the second step, you prove that there is a domino effect. If the second step cannot be proved, there is no domino effect, and hence, there is no proof by mathematical induction.
This simplicity is what makes mathematical induction such a powerful tool in discrete mathematics.
Generalised Mathematical Use Cases
In our MMO game example, we just showed that mathematical induction can be used to prove that the sum of any n natural numbers is equal to n(n + 1)/2.
Similarly, mathematical induction can be applied to prove the results for many natural number sequences.
Below are a few examples of such provable sequences. I am not going into the proof for each one of these sequences. For now, it suffices if you get the broader picture about the range of applications for mathematical induction.
1. 1 + 2 + 2² + 2³ + … + 2^(n-1) =(2^n)-1
2. 1³ + 2³ + 3³ + … + n³ = n²(n + 1)²/4
3. |Sin(nx)| <= n|Sin(x)|, where n is a natural number and x is a real number; |x| denotes the absolute value of x.
Final Remarks
If you come from a philosophical background, it is important not to confuse mathematical induction with inductive reasoning. This mathematical proof method actually uses deductive reasoning even though its name might be a little misleading.
In this method, we examine an infinite number of cases (using ‘n’ as the variable) to prove a general statement using a finite chain of deductive reasoning steps.
Mathematical induction is one of those mathematical constructs that is quite simple to understand. One does not need exceptional mathematical skills to learn how to use it and appreciate its usefulness.
It is a beautiful illustration of how generations of human effort towards efficient problem-solving can lead to very elegant and simple solutions that are broadly applicable. Beauty and elegance are often associated with efficiency. In the case of mathematical induction, this is certainly the case!
I hope you found this article interesting and useful. If you’d like to get notified when interesting content gets published here, consider subscribing.
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checkbox-advertisement
1 year
Set by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category .
cookielawinfo-checkbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
CookieLawInfoConsent
1 year
Records the default button state of the corresponding category & the status of CCPA. It works only in coordination with the primary cookie.
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Cookie
Duration
Description
_gat
1 minute
This cookie is installed by Google Universal Analytics to restrain request rate and thus limit the collection of data on high traffic sites.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Cookie
Duration
Description
__gads
1 year 24 days
The __gads cookie, set by Google, is stored under DoubleClick domain and tracks the number of times users see an advert, measures the success of the campaign and calculates its revenue. This cookie can only be read from the domain they are set on and will not track any data while browsing through other sites.
_ga
2 years
The _ga cookie, installed by Google Analytics, calculates visitor, session and campaign data and also keeps track of site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognize unique visitors.
_ga_R5WSNS3HKS
2 years
This cookie is installed by Google Analytics.
_gat_gtag_UA_131795354_1
1 minute
Set by Google to distinguish users.
_gid
1 day
Installed by Google Analytics, _gid cookie stores information on how visitors use a website, while also creating an analytics report of the website's performance. Some of the data that are collected include the number of visitors, their source, and the pages they visit anonymously.
CONSENT
2 years
YouTube sets this cookie via embedded youtube-videos and registers anonymous statistical data.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Cookie
Duration
Description
IDE
1 year 24 days
Google DoubleClick IDE cookies are used to store information about how the user uses the website to present them with relevant ads and according to the user profile.
test_cookie
15 minutes
The test_cookie is set by doubleclick.net and is used to determine if the user's browser supports cookies.
VISITOR_INFO1_LIVE
5 months 27 days
A cookie set by YouTube to measure bandwidth that determines whether the user gets the new or old player interface.
YSC
session
YSC cookie is set by Youtube and is used to track the views of embedded videos on Youtube pages.
yt-remote-connected-devices
never
YouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
yt-remote-device-id
never
YouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
Comments