How To Execute The Quadratic Equation Magic Trick?
Published on April 21, 2022 by Hemanth
--
The quadratic equation magic trick is not your usual run-of-the-mill math trick. It raises the bar a couple of notches. Usually, mathematical magic tricks start with you asking someone to think of a number in their head. In this case, you ask them to think of an entire formula in their head.
The only requirement you impose is that it has to be a quadrating formula (an equation which features its highest variable power as x²). Following this, you ask them to work out the output value of the formula for following inputs: x = 0, x = 1, and x = 2.
Once the person reveals the respective output values to you (not the formula), you think for a moment, and then reveal the equation that the person had originally thought of. That is the trick!
In this essay, I will first cover how you can execute this trick. Then, I will explain why the trick works and touch upon the deeper mathematical principle that enables this trick. Let us begin.
Let us first assume that the person playing the game with you has chosen the following equation in their head:
7x² — 4x + 2
Correspondingly, the person reveals the following output values to you for x = 0, x = 1, and x = 2 respectively:
2, 5, and 22.
Once you have this, your job is to arrive at the original equation using these three values only. Here’s how you do it.
The Inverted Pyramid
First, you will need to write down the three numbers in a row. Next, you will need to write down the firstrow of differences, where you subtract the number on the left from the number on the right. Finally, you will need to write down the second row of differences where you follow the same procedure. You will end up with an inverted pyramid as follows:
Math illustrated by the author
Once you have this, the lowermost number (tip of the inverted pyramid) gives you twice the value of the coefficient of x² (‘a’). In our case, it turns out to be 7. So far, so good. Now, take the leading number from the second row of the inverted pyramid.
Then, subtract the value of ‘a’ (coefficient of x²) from it. This gives us the value of ‘b’ (coefficient of x). In our case, this turns out to be -4. Finally, the leading number on the top row gives us the value of ‘c’ (the constant in the equation).
Math illustrated by the author
There we go! That’s all there is to it. Naturally, this takes a little bit of practice to do in the head. But until then, you may even choose to work out the pyramid on a piece of paper. Your friends would still be impressed.
Now that you know how to execute the trick, let us take a peek at what is under the hood.
The Mathematics behind the Quadratic Equation Magic Trick
The mathematics behind this magic trick is called the calculus of finite differences. This field was formally pioneered by a mathematician named Brook Taylor (the man after which the Taylor series is named) in 1715. Traces of similar techniques existed even before Taylor.
Following him, mathematicians like George Boole (the man behind Boolean logic), L.M. Milne-Thomson, and Károly Jordan helped develop the field further.
The procedure we covered when executing the quadratic equation magic trick is similar to integration in calculus. We know that the output value (y) of the formula (quadratic equation) changes based on input value(x). Based on this, we could say that the equation expresses a function of y with respect to x.
We just took advantage of this fact by providing an arithmetic series as input (0,1,2…). This in turn gave us an output series (2, 5, 22…). The calculus of finite differences helps us to fit a function that passes through the output series (think of it as a curve that passes through points on a graph).
We used a technique that allows us to deduce the coefficient values based on a common pattern for all quadratic equations when we “march” through an arithmetic series. This result can be generalized and expanded, but I will save that for another essay.
Beyond Just Tricks
As you’d imagine, calculus of finite differences finds applications in many different fields, including statistics and social sciences. The trouble with some of these applications is that the function we deduce may change based on new data points discovered in the future. We end up with something that appears to be true until it is disproven with more data.
Apart from this, there are other cool applications that I would like to demonstrate in the said future essay. But in the context of the quadratic equation magic trick, this introduction should suffice.
Final Remarks
Ifyou had been perceptive enough, you would have realized that there is no hard limit on the order of the coefficients to this trick. It was my choice to limit the trick to a second-degree polynomial and call it the “quadratic equation magic trick.”
You may choose to call it the “cubic equation magic trick” and solve for third-degree polynomial equations. The higher the order, the more the difference-rows you will be needing, and the bigger the inverted pyramid will get. So, you have the option to up the stakes if you wish to.
By outlining this trick in this essay, I wish to motivate you to explore further possibilities with the calculus of finite differences. Let your creativity flow; math need not be a guided train on rails!
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