Here’s an unexpected application of exponential growth that I only learned about recently: the Gompertz Law of Human Mortality. It dictates that “your probability of dying in a given year doubles every eight years.”
Here’s the article that I read from NPR: http://www.npr.org/blogs/krulwich/2014/01/08/260463710/am-i-going-to-die-this-year-a-mathematical-puzzle?sc=tw&cc=share.
In my capstone class for future secondary math teachers, I ask my students to come up with ideas for engaging their students with different topics in the secondary mathematics curriculum. In other words, the point of the assignment was not to devise a full-blown lesson plan on this topic. Instead, I asked my students to think about three different ways of getting their students interested in the topic in the first place.
I plan to share some of the best of these ideas on this blog (after asking my students’ permission, of course).
This student submission comes from my former student Elizabeth (Markham) Atkins. Her topic, from Precalculus: solving exponential equations.
A. APPLICATIONS: What interesting (i.e., uncontrived) word problems using this topic can your students do now?
Exponential equations can be different topics. You can use exponential equations for bacterial growth or decay, population growth or decay, or even a child eating their Halloween candy. Another example would be minimum wage. A good word problem would be at one point minimum wage was $1.50 an hour. Use A= to figure out when minimum wage will reach $10.25 an hour. Another good word problem would be Billy Joe gets a dollar on his first day of work. Every day he works his salary for that day doubles. How much money does he have at the end of 30 days? A good money example would also be banking. “Use the equation . Shawn put $100 in a savings account, which has a rate of 5% per year. How long will it take for his savings to grow to $1000? There are many ways to show exponential growth and decay.
B. CURRICULUM: How can this topic be used in your students’ future courses in mathematics or science?
Exponential equations can be used in science and life for many years from now. Students will see exponential equations when they begin to study bacteria. They will have to find the decay of growth. Students will also have to see population growth and decay throughout history. They may be asked to find out what the population will be in twenty years. When students take economics, or do their own banking, they will need to calculate interest and principal. Students will also need to do the stock market which uses exponential equations. If students go into field where they are concerned with the population of species that may be becoming extinct then the student would predict when the species would become distinct by using an exponential formula. They could also calculate how long until a certain species may take over the world, such as tree frogs or rabbits. Exponential equations are everywhere in the world and in other subjects, besides mathematics.
E. TECHNOLOGY: How can technology (YouTube, Khan Academy [khanacademy.org], Geometers Sketchpad, graphing calculators, etc.) be used to effectively engage students with this topic?
Exponential equations are used with technology everyday and every which way. Khan Academy has a few examples of exponential growth and exponential decay. Youtube has many great examples of exponential equations. Crewcalc’s exponential rap is an excellent example. They are very creative high school who found a way to express a mathematical concept through music.
Zombie Growth shows another interesting way to portray the mathematical concept of exponential equations. They use the phenomenon of zombies to demonstrate how exponential equations work.
Math project on Youtube showed another way to demonstrate how exponential equations work. They posed a problem and then stated the steps to solve the problem. Students need to use graphing calculators to check whether or not they have the right graph based on information given. They also need calculators to calculate equations and check their equations.
I’m in the middle of a series of posts concerning the elementary operation of computing a square root. This is such an elementary operation because nearly every calculator has a button, and so students today are accustomed to quickly getting an answer without giving much thought to (1) what the answer means or (2) what magic the calculator uses to find square roots. I like to show my future secondary teachers a brief history on this topic… partially to deepen their knowledge about what they likely think is a simple concept, but also to give them a little appreciation for their elders.
In Parts 3-5 of this series, I discussed how log tables were used in previous generations to compute logarithms and antilogarithms.
Today’s topic — log tables — not only applies to square roots but also multiplication, division, and raising numbers to any exponent (not just to the power). After showing how log tables were used in the past, I’ll conclude with some thoughts about its effectiveness for teaching students logarithms for the first time.
To begin, let’s again go back to a time before the advent of pocket calculators… say, the 1880s.
Aside from a love of the movies of both Jimmy Stewart and John Wayne, I chose the 1880s on purpose. By the end of that decade, James Buchanan Eads had built a bridge over the Mississippi River and had designed a jetty system that allowed year-round navigation on the Mississippi River. Construction had begun on the Panama Canal. In New York, the Brooklyn Bridge (then the longest suspension bridge in the world) was open for business. And the newly dedicated Statue of Liberty was welcoming American immigrants to Ellis Island.
And these feats of engineering were accomplished without the use of pocket calculators.
Here’s a perfectly respectable way that someone in the 1880s could have computed to reasonably high precision. Let’s write
.
Take the base-10 logarithm of both sides.
.
Then log tables can be used to compute .
Step 1. In our case, we’re trying to find . We know that and , so the answer must be between and . More precisely,
.
To find , we see from the table that
and
So, to estimate , we will employ linear interpolation. That’s a fancy way of saying “Find the line connecting and , and find the point on the line whose coordinate is . Finding this line is a straightforward exercise in the point-slope form of a line:
So we estimate . Thus, so far in the calculation, we have
Step 2. We then take the antilogarithm of both sides. The term antilogarithm isn’t used much anymore, but the principle is still taught in schools: take to the power of both the left- and right-hand sides. We obtain
The first part of the right-hand side is easy: . For the second-part, we use the log table again, but in reverse. We try to find the numbers that are closest to in the body of the table. In our case, we find that
and .
Once again, we use linear interpolation to find the line connecting and , except this time the coordinate of is known and the coordinate is unknown.
Since the table is only accurate to four significant digits, we estimate that . Therefore,
By way of comparison, the answer is , rounding at the hundredths digit. Not bad, for a generation born before the advent of calculators.
With a little practice, one can do the above calculations with relative ease. Also, many log tables of the past had a column called “proportional parts” that essentially replaced the step of linear interpolation, thus speeding the use of the table considerably.
Log tables can be used for calculations more complex than finding a square root. For example, suppose I need to calculate
Using the log table, and without using a calculator, I find that
That’s the correct answer to four significant digits. Using a calculator, we find the answer is
I’m in the middle of a series of posts concerning the elementary operation of computing a square root. This is such an elementary operation because nearly every calculator has a button, and so students today are accustomed to quickly getting an answer without giving much thought to (1) what the answer means or (2) what magic the calculator uses to find square roots. I like to show my future secondary teachers a brief history on this topic… partially to deepen their knowledge about what they likely think is a simple concept, but also to give them a little appreciation for their elders.
One way that square roots can be computed without a calculator is by using log tables. This was a common computational device before pocket scientific calculators were commonly affordable… say, the 1920s.
As many readers may be unfamiliar with this blast from the past, Parts 3 and 4 of this series discussed the mechanics of how to use a log table. In Part 6, I’ll discuss how square roots (and other operations) can be computed with using log tables.
In this post, I consider the modern pedagogical usefulness of log tables, even if logarithms can be computed more easily with scientific calculators.
A personal story: In either 1981 or 1982, my parents bought me my first scientific calculator. It was a thing of beauty… maybe about 25% larger than today’s TI-83s, with an LED screen that tilted upward. When it calculated something like , the screen would go blank for a couple of seconds as it struggled to calculate the answer. I’m surprised that smoke didn’t come out of both sides as it struggled. It must have cost my parents a small fortune, maybe over $1000 after adjusting for inflation. Naturally, being an irresponsible kid in the early 1980s, it didn’t last but a couple of years. (It’s a wonder that my parents didn’t kill me when I broke it.)
So I imagine that requiring all students to use log tables fell out of favor at some point during the 1980s, as technology improved and the prices of scientific calculators became more reasonable.
I regularly teach the use of log tables to senior math majors who aspire to become secondary math teachers. These students who have taken three semesters of calculus, linear algebra, and several courses emphasizing rigorous theorem proving. In other words, they’re no dummies. But when I show this blast from the past to them, they often find the use of a log table to be absolutely mystifying, even though it relies on principles — the laws of logarithms and the point-slope form of a line — that they think they’ve mastered.
So why do really smart students, who after all are math majors about to graduate from college, struggle with mastering log tables, a concept that was expected of 15- and 16-year-olds a generation ago? I personally think that a lot of their struggles come from the fact that they don’t really know logarithms in the way that students of previous generation had to know them in order to survive precalculus. For today’s students, a logarithm is computed so easily that, when my math majors were in high school, they were not expected to really think about its meaning.
For example, it’s no longer automatic for today’s math majors to realize that has to be between and someplace. They’ll just punch the numbers in the calculators to get an answer, and the process happens so quickly that the answer loses its meaning.
They know by heart that and that . But it doesn’t reflexively occur to them that these laws can be used to rewrite as .
When encountering , their first thought is to plug into a calculator to get the answer, not to reflect and realize that the answer, whatever it is, has to be between and someplace.
Today’s math majors can be taught these approximation principles, of course, but there’s unfortunately no reason to expect that they received the same training with logarithms that students received a generation ago. So none of this discussion should be considered as criticism of today’s math majors; it’s merely an observation about the training that they received as younger students versus the training that previous generations received.
So, do I think that all students today should exclusively learn how to use log tables? Absolutely not.If college students who have received excellent mathematical training can be daunted by log tables, you can imagine how the high school students of generations past must have felt — especially the high school students who were not particularly predisposed to math in the first place.
People like me that made it through the math education system of the 1980s (and before) received great insight into the meaning of logarithms. However, a lot of students back then found these tables as mystifying as today’s college students, and perhaps they did not survive the system because they found the use of the table to be exceedingly complex. In other words, while they were necessary for an era that pre-dated pocket calculators, log tables (and trig tables) were an unfortunate conceptual roadblock to a lot of students who might have had a chance at majoring in a STEM field. By contrast, logarithms are found easily today so that the steps above are not a hindrance to today’s students.
That said, I do argue that there is pedagogical value (as well as historical value) in showing students how to use log tables, even though calculators can accomplish this task much quicker. In other words, I wouldn’t expect students to master the art of performing the above steps to compute logarithms on the homework assignments and exams. But if they can’t perform the above steps, then there’s room for their knowledge of logarithms to grow.
And it will hopefully give today’s students a little more respect for their elders.
I’m in the middle of a series of posts concerning the elementary operation of computing a square root. In Part 3 of this series, I discussed how previous generations computed logarithms without a calculator by using log tables. In this post, I’ll discuss how previous generations computed, using the language of the time, antilogarithms. In Part 5, I’ll discuss my opinions about the pedagogical usefulness of log tables, even if logarithms can be computed more easily with scientific calculators. And in Part 6, I’ll return to square roots — specifically, how log tables can be used to find square roots.
Let’s again go back to a time before the advent of pocket calculators… say, 1943.
The following log tables come from one of my prized possessions: College Mathematics, by Kaj L. Nielsen (Barnes & Noble, New York, 1958).
How to use the table, Part 5. The table can also be used to work backwards and find an antilogarithm. The term antilogarithm isn’t used much anymore, but the principle is still used in teaching students today. Suppose we wish to solve
, or .
Looking through the body of the table, we see that appears on the row marked and the column marked . Therefore, $10^{0.9509} \approx 8.93$. Again, this matches (to three and almost four significant digits) the result of a modern calculator.
How to use the table, Part 6. Linear interpolation can also be used to find antilogarithms. Suppose we’re trying to evaluate , or find the value of so that $\log_{10} x = 0.9387$. From the table, we can trap between
and
So we again use linear interpolation, except this time the value of is known and the value of is unknown:
So we estimate This matches the result of a modern calculator to four significant digits:
How to use the table, Part 7.
How to use the table, Part 8.
Note: Sorry, but I’m not sure what happened… when the post came up this morning (August 4), I saw my work in Parts 7 and 8 had disappeared. Maybe one of these days I’ll restore this.
I’m in the middle of a series of posts concerning the elementary operation of computing a square root. This is such an elementary operation because nearly every calculator has a button, and so students today are accustomed to quickly getting an answer without giving much thought to (1) what the answer means or (2) what magic the calculator uses to find square roots. I like to show my future secondary teachers a brief history on this topic… partially to deepen their knowledge about what they likely think is a simple concept, but also to give them a little appreciation for their elders.
Today’s topic is the use of log tables. I’m guessing that many readers have either forgotten how to use a log table or else were never even taught how to use them. After showing how log tables were used in the past, I’ll conclude with some thoughts about its effectiveness for teaching students logarithms for the first time.
This will be a fairly long post about log tables. In the next post, I’ll discuss how log tables can be used to compute square roots.
To begin, let’s again go back to a time before the advent of pocket calculators… say, 1912.
Before the advent of pocket calculators, most professional scientists and engineers had mathematical tables for keeping the values of logarithms, trigonometric functions, and the like. The following images come from one of my prized possessions: College Mathematics, by Kaj L. Nielsen (Barnes & Noble, New York, 1958). Some saint gave this book to me as a child in the late 1970s; trust me, it was well-worn by the time I actually got to college.
With the advent of cheap pocket calculators, mathematical tables are a relic of the past. The only place that any kind of mathematical table common appears in modern use are in statistics textbooks for providing areas and critical values of the normal distribution, the Student distribution, and the like.
That said, mathematical tables are not a relic of the remote past. When I was learning logarithms and trigonometric functions at school in the early 1980s — one generation ago — I distinctly remember that my school textbook had these tables in the back of the book.
And it’s my firm opinion that, as an exercise in history, log tables can still be used today to deepen students’ facility with logarithms. In this post and Part 4 of this series, I discuss how the log table can be used to compute logarithms and (using the language of past generations) antilogarithms without a calculator. In Part 5, I’ll discuss my opinions about the pedagogical usefulness of log tables, even if logarithms can be computed more easily nowadays with scientific calculators. In Part 6, I’ll return to square roots — specifically, how log tables can be used to find square roots.
How to use the table, Part 1. How do you read this table? The left-most column shows the ones digit and the tenths digit, while the top row shows the hundredths digit. So, for example, the bottom row shows ten different base-10 logarithms:
So, rather than punching numbers into a calculator, the table was used to find these logarithms. You’ll notice that these values match, to four decimal places, the values found on a modern calculator.
How to use the table, Part 2. What if we’re trying to take the logarithm of a number between and which has more than two digits after the decimal point, like ? From the table, we know that the value has to lie between
and
So, to estimate , we will employ linear interpolation. That’s a fancy way of saying “Find the line connecting and , and find the point on the line whose coordinate is . The graph of $y = \log_{10} x$ is not a straight line, of course, but hopefully this linear interpolation will be reasonably close to the correct answer.
Finding this line is a straightforward exercise in the point-slope form of a line:
Remembering that this log table is only good to four significant digits, we estimate .
With a little practice, one can do the above calculations with relative ease. Also, many log tables of the past had a column called “proportional parts” that essentially replaced the step of linear interpolation, thus speeding the use of the table considerably.
Again, this matches the result of a modern calculator to four decimal places:
How to use the table, Part 3. So far, we’ve discussed taking the logarithms of numbers between and and the antilogarithms of numbers between and . Let’s now consider what happens if we pick a number outside of these intervals.
To find , we observe that
More intuitively, we know that the answer must lie between and , so the answer must be . The value of is the necessary .
We then find by linear interpolation. From the table, we see that
and
Employing linear interpolation, we find
Remembering that this log table is only good to four significant digits, we estimate , so that .
Again, this matches the result of a modern calculator to four decimal places (in this case, five significant digits):
How to use the table, Part 4. Let’s now consider what happens if we pick a positive number less than . To find , we observe that
We have already found by linear interpolation. We therefore conclude that . Again, this matches the result of a modern calculator to four decimal places (in this case, five significant digits):
So that’s how to compute logarithms without a calculator: we rely on somebody else’s hard work to compute these logarithms (which were found in the back of every precalculus textbook a generation ago), and we make clever use of the laws of logarithms and linear interpolation.
Log tables are of course subject to roundoff errors. (For that matter, so are pocket calculators, but the roundoff happens so deep in the decimal expansion — the 12th or 13th digit — that students hardly ever notice the roundoff error and thus can develop the unfortunate habit of thinking that the result of a calculator is always exactly correct.)
For a two-page table found in a student’s textbook, the results were typically accurate to four significant digits. Professional engineers and scientists, however, needed more accuracy than that, and so they had entire books of tables. A table showing 5 places of accuracy would require about 20 printed pages, while a table showing 6 places of accuracy requires about 200 printed pages. Indeed, if you go to the old and dusty books of any decent university library, you should be able to find these old books of mathematical tables.
In other words, that’s how the Brooklyn Bridge got built in an era before pocket calculators.
At this point you may be asking, “OK, I don’t need to use a calculator to use a log table. But let’s back up a step. How were the values in the log table computed without a calculator?” That’s a perfectly reasonable question, but this post is getting long enough as it is. Perhaps I’ll address this issue in a future post.
In my capstone class for future secondary math teachers, I ask my students to come up with ideas for engaging their students with different topics in the secondary mathematics curriculum. In other words, the point of the assignment was not to devise a full-blown lesson plan on this topic. Instead, I asked my students to think about three different ways of getting their students interested in the topic in the first place.
I plan to share some of the best of these ideas on this blog (after asking my students’ permission, of course).
This student submission comes from my former student Jesse Faltys. Her topic: solving exponential equations.
APPLICATIONS: What interesting (i.e., uncontrived) word problems using this topic can your students do now?
1. How long will it take for $1000 to grow to $1500 if it earns 8% annual interest, compounded monthly?
, , , and .
We do not know .
We will solve this equation for and will round up to the nearest month.
In five years and one month, the investment will grow to about $1500.
2. A school district estimates that its student population will grow about 5% per year for the next 15 years. How long will it take the student population to grow from the current 8000 students to 12,000?
We will solve for t in the equation .
The population is expected to reach 12,000 in about 8 years.
3. At 2:00 a culture contained 3000 bacteria. They are growing at the rate of 150% per hour. When will there be 5400 bacteria in the culture?
A growth rate of 150% per hour means that and that is measured in hours.
At about 2:24 ( minutes) there will be 5400 bacteria.
A note from me: this last example is used in doctor’s offices all over the country. If a patient complains of a sore throat, a swab is applied to the back of the throat to extract a few bacteria. Bacteria are of course very small and cannot be seen. The bacteria are then swabbed to a petri dish and then placed into an incubator, where the bacteria grow overnight. The next morning, there are so many bacteria on the petri dish that they can be plainly seen. Furthermore, the shapes and clusters that are formed are used to determine what type of bacteria are present.
CURRICULUM — How does this topic extend what your students should have learned in previous courses?
The students need to have a good understanding of the properties of exponents and logarithms to be able to solve exponential equations. By using properties of exponents, they should know that if both sides of the equations are powers of the same base then one could solve for x. As we all know, not all exponential equations can be expressed in terms of a common base. For these equations, properties of logarithms are used to derive a solution. The students should have a good understanding of the relationship between logarithms and exponents. Logs are the inverses of exponentials. This understanding will allow the student to be able to solve real applications by converting back and forth between the exponent and log form. That is why it is extremely important that a great review lesson is provided before jumping into solving exponential equations. The students will be in trouble if they have not successfully completed a lesson on these properties.
Technology – How can technology be used to effectively engage students with this topic?
1. Khan Academy provides a video titled “Word Problem Solving – Exponential Growth and Decay” which shows an example of a radioactive substance decay rate. The instructor on the video goes through how to organize the information from the world problem, evaluate in a table, and then solve an exponential equation. For our listening learners, this reiterates to the student the steps in how to solve exponential equations.
2. Math warehouse is an amazing website that allows the students to interact by providing probing questions to make sure they are on the right train of thought.
For example, the question is and the student must solve for . The first “hint” the website provides is “look at the bases. Rewrite them as a common base” and then the website shows them the work. The student will continue hitting the “next” button until all steps are complete. This is allowing the visual learners to see how to write out each step to successfully complete the problem.
Sadly, at least at my university, Taylor series is the topic that is least retained by students years after taking Calculus II. They can remember the rules for integration and differentiation, but their command of Taylor series seems to slip through the cracks. In my opinion, the reason for this lack of retention is completely understandable from a student’s perspective: Taylor series is usually the last topic covered in a semester, and so students learn them quickly for the final and quickly forget about them as soon as the final is over.
Of course, when I need to use Taylor series in an advanced course but my students have completely forgotten this prerequisite knowledge, I have to get them up to speed as soon as possible. Here’s the sequence that I use to accomplish this task. Covering this sequence usually takes me about 30 minutes of class time.
I should emphasize that I present this sequence in an inquiry-based format: I ask leading questions of my students so that the answers of my students are driving the lecture. In other words, I don’t ask my students to simply take dictation. It’s a little hard to describe a question-and-answer format in a blog, but I’ll attempt to do this below.
In the previous posts, I described how I lead students to the definition of the Maclaurin series
,
which converges to within some radius of convergence for all functions that commonly appear in the secondary mathematics curriculum.
Step 7. Let’s now turn to trigonometric functions, starting with .
What’s ? Plugging in, we find .
As before, we continue until we find a pattern. Next, , so that .
Next, , so that .
Next, , so that .
No pattern yet. Let’s keep going.
Next, , so that .
Next, , so that .
Next, , so that .
Next, , so that .
OK, it looks like we have a pattern… albeit more awkward than the patterns for and . Plugging into the series, we find that
If we stare at the pattern of terms long enough, we can write this more succinctly as
The term accounts for the alternating signs (starting on positive with ), while the is needed to ensure that each exponent and factorial is odd.
Let’s see… has a Taylor expansion that only has odd exponents. In what other sense are the words “sine” and “odd” associated?
In Precalculus, a function is called odd if for all numbers . For example, is odd since since 9 is a (you guessed it) an odd number. Also, , and so is also an odd function. So we shouldn’t be that surprised to see only odd exponents in the Taylor expansion of .
A pedagogical note: In my opinion, it’s better (for review purposes) to avoid the notation and simply use the “dot, dot, dot” expression instead. The point of this exercise is to review a topic that’s been long forgotten so that these Taylor series can be used for other purposes. My experience is that the adds a layer of abstraction that students don’t need to overcome for the time being.
Step 8. Let’s now turn try .
What’s ? Plugging in, we find .
Next, , so that .
Next, , so that .
It looks like the same pattern of numbers as above, except shifted by one derivative. Let’s keep going.
Next, , so that .
Next, , so that .
Next, , so that .
Next, , so that .
OK, it looks like we have a pattern somewhat similar to that of $\sin x$, except only involving the even terms. I guess that shouldn’t be surprising since, from precalculus we know that is an even function since for all .
Plugging into the series, we find that
If we stare at the pattern of terms long enough, we can write this more succinctly as
As we saw with , the above series converge quickest for values of near . In the case of and , this may be facilitated through the use of trigonometric identities, thus accelerating convergence.
For example, the series for will converge quite slowly (after converting into radians). However, we know that
using the periodicity of . Next, since $\latex 280^o$ is in the fourth quadrant, we can use the reference angle to find an equivalent angle in the first quadrant:
Finally, using the cofunction identity , we find
.
In this way, the sine or cosine of any angle can be reduced to the sine or cosine of some angle between and $45^o = \pi/4$ radians. Since , the above power series will converge reasonably rapidly.
Step 10. For the final part of this review, let’s take a second look at the Taylor series
Just to be silly — for no apparent reason whatsoever, let’s replace by and see what happens:
after separating the terms that do and don’t have an .
Hmmmm… looks familiar….
So it makes sense to define
,
which is called Euler’s formula, thus proving an unexpected connected between and the trigonometric functions.
I’m in the middle of a series of posts describing how I remind students about Taylor series. In the previous posts, I described how I lead students to the definition of the Maclaurin series
,
which converges to within some radius of convergence for all functions that commonly appear in the secondary mathematics curriculum.
Step 4. Let’s now get some practice with Maclaurin series. Let’s start with .
What’s ? That’s easy: .
Next, to find , we first find . What is it? Well, that’s also easy: . So is also equal to .
How about ? Yep, it’s also . In fact, it’s clear that for all , though we’ll skip the formal proof by induction.
Plugging into the above formula, we find that
It turns out that the radius of convergence for this power series is . In other words, the series on the right converges for all values of . So we’ll skip this for review purposes, this can be formally checked by using the Ratio Test.
At this point, students generally feel confident about the mechanics of finding a Taylor series expansion, and that’s a good thing. However, in my experience, their command of Taylor series is still somewhat artificial. They can go through the motions of taking derivatives and finding the Taylor series, but this complicated symbol in notation still doesn’t have much meaning.
So I shift gears somewhat to discuss the rate of convergence. My hope is to deepen students’ knowledge by getting them to believe that really can be approximated to high precision with only a few terms. Perhaps not surprisingly, it converges quicker for small values of than for big values of .
Pedagogically, I like to use a spreadsheet like Microsoft Excel to demonstrate the rate of convergence. A calculator could be used, but students can see quickly with Excel how quickly (or slowly) the terms get smaller. I usually construct the spreadsheet in class on the fly (the fill down feature is really helpful for doing this quickly), with the end product looking something like this:
In this way, students can immediately see that the Taylor series is accurate to four significant digits by going up to the term and that about ten or eleven terms are needed to get a figure that is as accurate as the precision of the computer will allow. In other words, for all practical purposes, an infinite number of terms are not necessary.
In short, this is how a calculator computes : adding up the first few terms of a Taylor series. Back in high school, when students hit the button on their calculators, they’ve trusted the result but the mechanics of how the calculator gets the result was shrouded in mystery. No longer.
Then I shift gears by trying a larger value of :
I ask my students the obvious question: What went wrong? They’re usually able to volunteer a few ideas:
The convergence is slower for larger values of .
The series will converge, but more terms are needed (and I’ll later use the fill down feature to get enough terms so that it does converge as accurate as double precision will allow).
The individual terms get bigger until and then start getting smaller. I’ll ask my students why this happens, and I’ll eventually get an explanation like
but
At this point, I’ll mention that calculators use some tricks to speed up convergence. For example, the calculator can simply store a few values of in memory, like , , , , and . I then ask my class how these could be used to find . After some thought, they will volunteer that
.
The first three values don’t need to be computed — they’ve already been stored in memory — while the last value can be computed via Taylor series. Also, since , the series for will converge pretty quickly. (Some students may volunteer that the above product is logically equivalent to turning into binary.)
At this point — after doing these explicit numerical examples — I’ll show graphs of and graphs of the Taylor polynomials of , observing that the polynomials get closer and closer to the graph of as more terms are added. (For example, see the graphs on the Wikipedia page for Taylor series, though I prefer to use Mathematica for in-class purposes.) In my opinion, the convergence of the graphs only becomes meaningful to students only after doing some numerical examples, as done above.
At this point, I hope my students are familiar with the definition of Taylor (Maclaurin) series, can apply the definition to , and have some intuition meaning that the nasty Taylor series expression practically means add a bunch of terms together until you’re satisfied with the convergence.
In the next post, we’ll consider another Taylor series which ought to be (but usually isn’t) really familiar to students: an infinite geometric series.
P.S. Here’s the Excel spreadsheet that I used to make the above figures: Taylor.