L-LHR-1: L'Hôpital's rule, and compound interest becoming
Module 1 · Before integrals
Section 1: Introduction
▾
A resident writes to the Youth Advisory Office: her bank offers 5 % a year on a $1 000 deposit left for 20 years, with the interest added yearly, monthly or daily, “and every second, if I ask”. Mme Ouellet hands the letter to Kofi.
Make a bet
If the interest were added every second, the balance after 20 years would be …
Nothing is scored, saved or sent.
What you’ll be able to do
After this lesson, you will be able to:
substitute first and write what the top and the bottom tend to, telling and from a limit that is not indeterminate;
apply L’Hôpital’s rule as the limit of , each derivative taken separately, and say why it works;
apply it again while the form stays indeterminate, and stop when it does not;
compare growth at infinity: , the powers of and ;
recognise and and rewrite them as a quotient before the rule;
take to through a logarithm, and compare a balance compounded times a year with , ending with a sentence with units.
Section 2: Prerequisites
▾
Retrieval checkpoint · from L-REV-1
Type your answer
If this was hard:revisit L-REV-1’s C2 to C4 if the derivatives are hard, before Core Concepts.
What this lesson builds on
From Differential Calculus: a limit found by substituting, and by factoring when substituting gives . Both come back first, in C1.
From L-REV-1, derivative review: the derivatives of , and a power, with the chain rule; the product rule; and the quotient rule, which this lesson keeps apart from L’Hôpital’s rule.
If the algebra is far away:L-ALG-1 is open all term, logarithms in its C4 and factoring in its C6.
Bridge to today
In L-REV-1
A derivative was a rate: a slope, a marginal cost.
↓
Today
A derivative settles limits that substituting cannot, and gives the formula behind continuous compounding, .
Section 3: Core Concepts
▾
Right the first time? Go on, after doing each kind where the page asks for two or three. Missed one? Open the reveal where there is one, then try another until two in a row are right.
C1 — Substitute first
Write what the top and the bottom tend to.
Substitute, or factor
Two kinds come in turn: do both.
Try it yourself first, steps after
Show why, with an example
Where the bottom does not tend to , the limit is the top’s value over the bottom’s. As , and , so:
Where both tend to , substituting cannot decide. As , and . The two share the factor ; for it cancels, so the two expressions have the same limit:
It is tempting to stop at , since the top tends to , or at , as if the two cancelled whole. Close to , the quotient says otherwise: at it is .
Theorem
The limit of a quotient
If and as , with :
Does not apply when:
The bottom tends to .
The check line
The work shows what the top and the bottom tend to, in words and arrows, before anything else: “As , and .” A test asks for this line; it does not ask for the name of the form.
When both tend to , or both grow without bound in size, substituting cannot decide: the limit has an indeterminate form, or . The form fixes no value. These three are as :
Indeterminate form
A limit has the indeterminate form when and , and when and both grow without bound in size; may be a number, one side of it, or . The form names a kind of limit, never a value: no limit “equals ”.
Notation focus
A new symbol, one more case of L-WRT-1’s C3: stays until the limit is taken (L-WRT-1, C3).
The check is written in words and arrows, never "", which is not a value. Write only between two things that have the same value (L-WRT-1, C1).
C2 — The rule
Differentiate the top and the bottom separately.
When the top and the bottom both tend to , or both grow without bound in size, the limit of is the limit of , when that one exists. This is L’Hôpital’s rule.
Example
Find .
As , and .
Check: at , ✓
Why the two slopes decide: and both pass through at . Figure 1 looks at them closer and closer.
Zoom in to the smallest window: what do the curves look like, and what is the ratio of the two heights, close to ?
Figure 1: The curves and near ; the dial shrinks the window around the point .
Close to , both curves look like lines, their tangents: of slope , of slope . The heights’ ratio is almost the slopes’ ratio, : at ,. Likewise, where and , close to each curve is almost its tangent, and , so is almost . A chain holds once its last limit is settled, so each in it is then true.
Theorem
L'Hôpital's rule
Let and be differentiable on an open interval around , except possibly at , with there.
If and , or both grow without bound in size, as ,
and (a number, or ),
then:
The same holds for , and , on an interval on that side, or far out.
Does not apply when:
The top and the bottom neither both tend to nor both grow without bound in size; or does not exist, and then the rule says nothing.
Why it’s true
The case of Figure 1: , and exist around and are continuous at , and , so for close to . For such :
As , the top tends to and the bottom to , so the quotient tends to , which is since and are continuous at . The general case uses Cauchy’s mean value theorem, not in this course.
“The rule is the quotient rule.” It is tempting, since both turn a quotient and derivatives into a new quotient. But the quotient rule, , gives the derivative of , a slope, not its limit; at a point it gives no value at all. The right line differentiates the top and the bottom separately: .
Quick check
Work it step by step
Spot the difference
Substitute, or the rule?
Identify what key word or condition separates Case A from Case B, then choose the answer for each.
Scenario A
: as ,the top tends to and the bottom to
Scenario B
: as , the top tends to and the bottom to
Show why, with a graph
It is tempting to use the rule on every quotient. On at , it would give . Figure 2 tests it.
At , is the curve on the line, above it or below it?
Figure 2: The curve for from to , its point at , and the line .
Below, at 2 over 3: as x to 1 the top tends to 2 and the bottom to 3, so the form is not indeterminate and the limit as x approaches 1 of x plus 1 over x plus 2 equals 2 over 3; the value 1 is wrong here.
The curve is below the line, at , the value substituting gives. The rule’s is wrong here: with parts that tend to and , the slopes say nothing about the quotient’s value.
Decision rule
What the check calls for
Both tend to , or both grow without bound in size: the rule may be used.
The bottom tends to a number other than , and the top to a number: substitute.
The bottom tends to and the top does not: the quotient grows without bound in size. Its sign on each side says , or DNE.
The top tends to a number and the bottom grows without bound in size: the limit is .
C3 — Again, or stop
Check before every round.
After one round, the new quotient is a limit like the first: it is checked again. While its top and bottom both tend to , or both grow without bound, the rule may be used again. Once they do not, stop.
Example
Find .
As , and .
As , and : again.
As , and : stop, and substitute.
Check: at , ✓
As the check is the same, with “grows without bound”. A number over a part that grows without bound tends to , and a part that grows without bound over a positive number still grows without bound.
Method
L'Hôpital's rule, round by round
Write what the top and the bottom tend to.
If they give or , differentiate the top and the bottom separately and write the new limit.
Go back to step 1 with the new quotient.
When the form is not indeterminate, stop: find the limit from what the two parts tend to.
Two kinds come in turn: do both.
Quick check
Work it step by step
Show why, with a graph
It is tempting to keep differentiating until the quotient looks simple. For at , one round gives , and one more would give . Figure 3 draws the three.
Which graphs meet the line at , a hole included?
Before:
One round:
One round too many:
Figure 3: Three graphs near , with the line : the quotient before the rule, after one round, and after one round too many.
The first two: one round keeps the limit, 1. The third, a round too many, reaches 1 over 2: once the top and bottom tend to 1 and 1, the limit is found by substituting.
The first two: the limit is . After one round, and , so the form is gone and substituting gives . The third, a round too many, gives , a different, wrong limit: a round keeps the limit only while the form is indeterminate, so the check is what allows it.
C4 — Growth at infinity
Write the rounds: they show which part grows faster.
Example
Find .
As , and .
As , and : again.
As , and : stop.
Check: at , ✓
Both and grow without bound too. At , is ahead: against . Figure 4 widens the window.
Zoom out: where does pass , and does catch up again?
Figure 4: The curves and for from to ; the dial widens the window, its top following .
leads from about to about ; then leaves it behind for good. Three rounds of the rule show it: , not . An early lead does not decide: passes only near , but it does.
A limit of form compares how fast the two parts grow. It can be , any number, or ; the form alone never makes it . A top and a bottom that grow alike give a number: . After a round, simplify the new quotient when it has fractions inside: . On a test, write the rounds; the growth fact checks them.
Theorem
Growth at infinity
For every and :
Why it’s true
For , top and bottom both grow without bound, and one round is enough:
For a whole number , each round lowers the power by one and multiplies the exponential by , and both parts still grow without bound until the power is gone. After rounds the quotient is , which tends to .
Any other lies below a whole number . For ,, and the right side tends to , so the middle does too.
Quick check
Type your answer
C5 — Rewrite first
The rule takes a quotient: write one first.
A product of form
When one factor grows without bound in size and the other tends to , the product has the form , which fixes no value. The rule does not apply to a product, so write it as a quotient first, where the factor put below is not :
Both are right. Choose the one whose derivatives get simpler: for , rather than .
Example
Find .
As , and . Rewrite: .
As , and .
Check: at , ✓
Example
The same form, and a limit that is not : find .
As , and . Rewrite as , whose top and bottom both tend to .
Check: at , ✓
Three kinds come in turn: do all three.
Quick check
Work it step by step
Show why, with a graph
The two factors pull in opposite directions, and how fast each one moves decides.
It is tempting to say that anything times is , which holds for the number . But here a factor only tends to , while the other grows. Figure 5 shows three such products.
What does each graph approach as grows?
Figure 5: Three products of form for from to ; the third case adds the line .
0; no number, since it grows like the square root of x (the square root of 20 is approximately equal to 4.47 at the edge); and 2: the form infinity times 0 fixes nothing, so it is rewritten as a quotient before the rule.
The first approaches . The second is , which grows without bound: at the edge. The third approaches . The same form, three different ends.
A power of form
When the base tends to and the exponent grows without bound, the power has the form , which fixes no value either. A logarithm turns it into a product: for ,, of form .
Example
Find .
As , and the exponent . With :
As , and .
Return with : since ,. The limit is .
Check: at ,, and ✓
Method
Rewrite first
: rewrite as or , then check and use the rule.
: for with , write , an form; find by step 1.
Return with :, when is a number.
“ to any power is .” It is tempting, since it holds for the number . But here the base only tends to while the exponent grows: .
Quick check
Work it step by step
C6 — Compounding without end
Take , use the rule, return with .
Compounding times a year at rate multiplies a deposit by in years. As grows, the base tends to and the exponent grows without bound: the form .
L’Hôpital’s rule needs a variable that runs through all real numbers, and takes whole values only. So the work first writes the limit over a real : when that one exists, the limit over whole is the same.
Example
Find .
The limit over whole is the limit over real :.
As , and . With :
As , and .
Return with : the limit is .
Check: at ,, and ✓
Back to the resident: $1 000 at 5 % for 20 years, interest added times a year.
From yearly to monthly interest, the balance after 20 years gains about $59.34 (from about $2 653.30 to about $2 712.64). From monthly to daily, does it gain more, about the same, or less?
Figure 6: The balance of $1 000 at 5 % with interest added times a year, over 20 years, beside the balance compounded continuously; the point prints the balance at year 20.
Less: from monthly to daily, the balance gains only about $5.46, to about $2 718.10. It settles toward one amount. The same work with any and gives the limit of the factor, , so the balance tends to , the balance under continuous compounding. For a rate , compounding more often always adds a little and never passes ; at everyday rates, each step adds less than the one before.
Theorem
Compounding without end
For every rate and every :
So compounded times a year tends to , the balance with interest compounded continuously.
Why it’s true
The limit over whole is the limit over real :. Take large enough that . With ,; as , the top and the bottom tend to . The top’s derivative is and the bottom’s :
Return with :.
Quick check
Work it step by step
Back to your bet
Added every second, the interest gives about $2 718.28, rounded to the cent: the limit is exactly . Added daily, it already gives about $2 718.10. Not $1 000: the form is not ; not $2 653: that is yearly interest; and not without limit: each extra period adds less.
Section 4: Worked Examples
▾
Example 1: Check every quotient
Example 1 of 4 · Fully worked
Find .
Try it on your own first, then open the answer. Even a rough try shows you what you already understand.
Show Solution
How an expert thinks it through
Substituting gives a top and a bottom that both tend to , so substituting cannot decide; the two derivatives, each taken on its own, settle it, and the new quotient is checked before anything else.
As , and .
As , and : stop, and substitute.
Check: at , ✓
Example 2: An exponential near 0
Example 2 of 4 · Partly guided
Find .
Try it on your own first, then open the answer.
Show Solution
As , and .
As , and .
As , and : stop, and substitute.
Check: at , ✓
Example 3: Infinity over infinity
Example 3 of 4 · Less guided
Find .
Try it on your own first, then open the answer.
Show Solution
As , and .
As , and .
As , and : stop.
Check: at , ✓
Example 4: The club's savings, compounded continuously
Example 4 of 4 · On your own
A club deposits $5 000 at 6 % a year for 5 years. Find the balance with interest compounded continuously, as the limit of monthly, daily, … compounding, and compare it with monthly compounding.
Try it on your own first, then open the answer.
Show Solution
The factor is .
The limit over whole is the limit over real :.
As , and . With :
As , and .
Return with : the factor is .
Continuously: .
Monthly: .
Check (daily): , just below ✓
After 5 years, continuous compounding gives the club about $6 749.29, about $5.04 more than monthly compounding.
Section 5: Guided Practice
▾
Recall: what the check calls for (C1 + C2)
Choose one
Substitute, or the rule? (C1 + C2)
Work it step by step
Apply the rule, half worked (C1 + C2)
Work it step by step
Apply the rule (C2)
Work it step by step
Round by round (C3)
Two kinds come in turn: do both.
Work it step by step
Growth at infinity (C4)
Rank them
Slowest to fastest
Drag the cases into order, or use the arrow buttons. Keyboard: Tab to a case’s ▲ or ▼ button and press Enter to move it one place.
Slowest
Fastest
Rewrite first (C5)
Two kinds come in turn: do both.
Work it step by step
Which form? (C1, C4, C5)
Sort into groups
Which form?
Sort each limit by what its parts tend to, before any rule.
Drag each item into its group, or select an item and then its group. Keyboard: select an item, then press a group’s number (1 to 5); 0 sends it back to Unsorted. Each item also has its own “move” buttons.
Unsorted Drop here
Every item is sorted.
Selected:
A deposit compounded continuously (C5 + C6)
Work it step by step
Section 6: Independent Practice
▾
Recall: what comes next (C3)
Choose one
Mixed limits (C1 to C5)
Try it yourself first, steps after
The average cost in the long run (C2 + C4)
Try it yourself first, steps after
Find the error (C1 to C6)
Find the first wrong step
What compounding more often does (C6)
Build the conclusion
Compounding more often
Choose a phrase for each blank so that the sentence states the correct conclusion.
Mixed review from L-REV-1 and L-WRT-1
Try these without looking back. Pulling an idea out of memory makes it stick better than reading
it again.
Try it yourself first, steps after
Type your answer
Section 7: Mastery Check
▾
Part 1: Skill checks
Recall: growth at infinity (C4)
Type your answer
Question 1 — Substitute, or the rule? (C1 + C2)
Check · C1 + C2Two right in a row, each on the first try and without help, make this question ready.
Try it yourself first, steps after
Question 2 — Apply the rule (C2)
Check · C2Two right in a row, each on the first try and without help, make this question ready.
Try it yourself first, steps after
Question 3 — Again, or stop (C3)
Check · C3Two right in a row, each on the first try and without help, make this question ready.
Try it yourself first, steps after
Question 4 — Growth at infinity (C4)
Check · C4Two right in a row, each on the first try and without help, make this question ready.
Type your answer
Question 5 — Rewrite first (C5)
Check · C5Two right in a row, each on the first try and without help, make this question ready.
Try it yourself first, steps after
Question 6 — Compounding without end (C6)
Check · C6Two right in a row, each on the first try and without help, make this question ready.
Try it yourself first, steps after
Part 2: Applied problem
🏦 Continuous Compounding
Kofi finds what continuous compounding adds to a deposit, to the cent, and says it in a sentence.
🏘️ Two Districts
Léa finds where the ratio of two districts’ sizes goes, round by round, and says it in a sentence.
Continuous Compounding
Work it step by step
Two Districts
Work it step by step
Your verdict
Not yet
C1: substitute first
C2: the rule,
C3: again, or stop
C4: growth at infinity
C5: rewrite and first
C6:
What to do
This verdict is not saved, so it starts again when you reload the page.
Part 3: Explain it (optional)
In four or five sentences, explain to the resident why interest added every second does not leave her $1 000 where it is, nor make it grow without limit, and why the rule needs the check before each round.
Explain it in your own words first, then compare with the model answer.
Compare with a model answer
Added times a year, the interest multiplies the deposit by over 20 years. As grows, each period’s factor gets closer to , but there are more and more periods, so neither “the factor is ” nor “more periods, more money” decides it: the form fixes no value. Its logarithm, written as a quotient whose top and bottom both tend to , tends to by L’Hôpital’s rule, so the balance tends to , about $2 718.28, and each extra period adds less. The check matters because the rule holds only while the top and the bottom both tend to , or both grow without bound: used on a quotient that is not indeterminate, or once more after the form is gone, it gives a wrong limit.
How was this lesson?
Optional and anonymous: tap one, or skip it.
Section 8: Challenge Problems
▾
Optional stretch
These go beyond the lesson objectives. Attempt them when you feel confident with the core material.
A form not named: (C5)
Find .
Try it on your own first, then open the answer.
Show Solution
As , the base tends to and the exponent to : the form , which fixes no value either. Take it through a logarithm, as for : with ,, whose limit is (C5’s example). Return with :.
Check: ✓
Kofi’s rule of 70 (C2 + C6)
Kofi’s rule of thumb: money doubles in about years at % a year. Compounded continuously at the rate , money doubles in years; compounded yearly, in years. Show that their ratio, , tends to as , and compare the two at 5 %.
Exhibit · Kofi's note
Doubling time: years compounded continuously, years compounded yearly.
Try it on your own first, then open the answer.
Show Solution
As , and .
So for small rates the two doubling times are close. At 5 %: years compounded continuously and years compounded yearly, against Kofi’s (, so is the continuous rule, rounded up to 70 for yearly interest).
When the rule goes round in circles (C3)
Find .
Try it on your own first, then open the answer.
Show Solution
As , and . One round gives ; the next round gives back. The rule goes round in circles, so divide the top and the bottom by (for ,):
Section 9: Quick Reference
▾
Quick reference
The check line (C1)
As , top … and bottom …: the rule only for or .
L’Hôpital’s rule (C2)
If and , or both grow without bound in size,
and ,
then .
Beside it, for contrast, L-REV-1’s quotient rule, : the derivative of a quotient, not its limit.
Round by round (C3)
Check; if indeterminate, differentiate the top and the bottom separately; check the new quotient; once the form is gone, stop: find the limit from what the two parts tend to.
Growth at infinity (C4)
for and , as . Write the rounds; the growth fact checks them.
The rewrites (C5)
; for ,, then .
Compounding without end (C6)
The limit over whole is the limit over real , then:
The balance compounded continuously is .
The reading of
stays until the limit is taken.
If you're stuck
Re-read the concept a problem’s heading names in Section 3, then the worked example that uses it: Example 1 for one round, Example 2 for a second check at , Example 3 for growth at infinity, Example 4 for compounding. For a product or a power rewritten first, re-read the three examples inside C5.