In most compound interest tasks the deposit, the rate and the term are known, and the amount at the end is asked. Here it is the other way round: both amounts are known, and the question is how many years to wait or at what rate the money grew. The term sits in the exponent and comes out with a logarithm. The rate hides in the factor q in the base and comes out with a root or by checking the answer options. Anyone who saves towards a target, takes out a loan or buys a bond below the amount it will pay back meets this question.
An account holds 1800 € at 4% a year. Interest is credited once, at the end of the year.
After how many full years will the account hold at least 2500 €?
The ratio 2500/1800 says by what factor the money must grow, but not in how many years.
The answer: 9 full years. After 8 years the account holds 1800⋅1.048=2463.42 €, short of the target, and after 9 years already 1800⋅1.049=2561.96 €. Here the years can still be tried one by one, but with a 30-year term that would take a long time. The logarithm gives the term at once: t=8.38 years, and 9 full years are needed because the target is not reached after the eighth year. The first section shows how it does that. In the second section the same two amounts give the rate when the term is known.
Logarithm: how to get the term out of the exponent
Where the 8.38 years in the introduction come from, we show step by step. You can already work out the amount after t years. In one year the amount is multiplied by q=1+r, where r is the rate as a decimal, in t years by qt. So the starting amount K0 becomes Kt=K0⋅qt after t years (“Compound interest year by year”).
Here both amounts are known, and the term t is unknown:
1800⋅⋅1.04t==2500
Divide both sides by 1800. The initial amount drops out, and the ratio of the amounts is left:
1.04t==18002500==1.3889
You could try the years one by one:
1.048=1.3686, too little;
1.049=1.4233, already more.
So t lies between 8 and 9. The exact value comes from the logarithm.
What the logarithm counts
The calculator has a log key. It answers the question “how many times do you multiply by 10 to get this number”:
log100=2, because 100=10⋅10;
log1000=3, because 1000=10⋅10⋅10.
Multiply these two numbers: 100⋅1000=100000. That is two multiplications by 10 and three more, five in all: log100000=2+3=5. The counts add up. So the logarithm turns multiplication into addition, for any positive numbers a and b:
log(a⋅⋅b)==loga++logb
For numbers between the powers of ten the count comes out as a fraction: log1.04=0.01703, a small part of one multiplication by 10. The addition rule stays the same.
Next to it is a second key, ln: the natural logarithm (“natürlicher Logarithmus”). It counts multiplications not by 10 but by the number e≈2.718. Where this number comes from is explained in the section “Continuous compounding and the number e”. For the term it does not matter what the key counts by: ln has the same addition rule. That ln and log give the same term is shown further down. The addition rule on the calculator:
ln(1.04⋅1.04)=ln1.0816=0.07844;
ln1.04+ln1.04=0.03922+0.03922=0.07844.
They match. The power 1.04t is t factors of 1.04 in a row. Each factor gives a term ln1.04, t equal terms in all:
ln(1.04t)==ln1.04++ln1.04++⋯++ln1.04==t⋅⋅ln1.04
The same holds for any factor q: the exponent comes out in front of the logarithm as a factor.
ln(qt)=t⋅lnq
This gives the term. First a similar problem: a 12 km walk in steps of 0.5 km is 12/0.5=24 steps. You divide the length of the whole walk by the length of one step.
The logarithm works the same way:
the whole walk: the ln count up to 1.3889, that is ln1.3889;
one step: one factor of 1.04 adds ln1.04 to the count;
the number of steps, that is, of factors 1.04 in the number 1.3889:
t==ln1.04ln1.3889
Check it with a whole number of factors. Eight factors give 1.048=1.3686. The ratio ln1.3686/ln1.04=0.3138/0.03922=8.00, exactly 8 factors.
ln of both sides: the exponent t becomes a factorterm: t = 8.38 years8 years too few, 9 years: 2561.96 € ≥ 2500 €
Step 1 of 3Take logarithms
Take ln of both sides of 1.04t=1.3889. On the left the exponent comes out as a factor: t⋅ln1.04=ln1.3889.
On the calculator ln1.3889=0.3285 and ln1.04=0.03922. Divide: t=0.3285/0.03922=8.38.
Interest arrives only at the end of the year, so the account never sees 8.38 years. After 8 years it holds 1800⋅1.048=2463.42 €, less than 2500. After 9 years 1800⋅1.049=2561.96 €. The question asks for “at least 2500”, so round up. Answer: 9 full years.
The same in general form. Divide K0⋅qt=Kt by K0, take ln and divide by lnq:
t=lnqln(Kt/K0)
Any logarithm key works if it is used on top and below. With log: log1.3889/log1.04=0.1427/0.01703=8.38, the same term.
Interest rate from one amount: the t-th root
The other way round: both amounts and the term are known, and the rate is unknown. Then the unknown factor q sits in the base of the power qt, and the exponent t is given.
The same money, but a different question:
1800 € became 2500 €;
exactly 8 years passed.
At what annual rate?
Divide by 1800, as before:
q8==18002500==1.3889
The logarithm is no help here: it gets an unknown exponent out, and the exponent 8 is known. You need the number that, multiplied by itself 8 times, gives 1.3889. That number is called the 8th root.
Start with the square root, over a term of 2 years. If the amount grew by the factor 1.1025 in 2 years, then q2=1.1025 and q=1.1025=1.05. Check: 1.05⋅1.05=1.1025.
A root can also be written as a power: 1.1025=1.10251/2 (rule a1/n=na for a number a and a root of degree n, see “Powers: four rules with numbers”).
The same with any term: the exponent 1/t undoes raising to the power t, because 1/t⋅t=1. The t-th root of the ratio of the amounts gives the annual factor:
qt==K0Kt⟹⟹q=(K0Kt)1/t
On the calculator this is the xy key: enter 1.3889, press xy, enter (1÷8). In the account example q=1.38891/8=1.0419, a rate of 4.19%. Check: 1800⋅1.04198=2499.66 €, which is 2500 up to the rounding of q.
If answer options are given, you do not have to take the root. Put each rate into q8 and compare with 1.3889:
4%: 1.048=1.3686, too little;
4.2%: 1.0428=1.3898, almost exactly 1.3889;
4.5%: 1.0458=1.4221, too much.
The same root appears in the section “What rate a loan with two equal payments carries” of the next article: there two payments give the factor for several years, and the annual factor comes out with a root.
A zero-coupon bond costs 7400 € today and pays 10000 € in 6 years, with no interest in between.
What is its yield per year, in percent with two decimal places?
Dividing the gain by 6 years does not work: the yearly yield is a compound rate, with the factor q each year.
Equation: 7400⋅q6=10000.
Divide by 7400: q6=10000/7400=1.3514.
q is in the base, the exponent 6 is known, so you need the 6th root: q=1.35141/6=1.0515. On the calculator: 1.3514, the xy key, then (1÷6).
Rate 5.15%.
Check: 7400⋅1.05156=10002.01 €, which is 10000 up to the rounding of q.
After how many years an amount reaches a target
The logarithm and the root were worked through on the 1800 € account. The exam task asks for the term, only with a certificate instead of a bank account:
Exam-style task
Ein abgezinster Sparbrief über 5000 GE wird heute für 1188.16 GE verkauft; die 5000 GE bekommt der Käufer bei Fälligkeit. Die Bank verzinst mit 6.75% pro Jahr bei jährlicher Verzinsung. Nach wie vielen Jahren ist er fällig? Geben Sie das Ergebnis in ganzen Jahren an.
a)22
b)21
c)10
d)12
e)18
A savings certificate is sold today for 1188.16 money units (GE) and pays 5000 GE in some years.
Signal: the question asks for a time, “After how many years”, “how long”, and both amounts and the rate are known.
The same term formula: K0=1188.16 (price today), Kt=5000 (payout), q=1.0675 (rate 6.75%). Interest is paid once a year (“compounded yearly”). The bars in the figure of the solution below grow faster and faster: each year interest is also paid on the earlier interest.
today’s price grows to the payout of 5000 GEratio of amounts: 1.0675ᵗ = 4.208term: t = 22 years22 years, option a
Step 1 of 4Set up the equation
The price today, 1188.16 GE, grows for t years with the factor 1.0675 and must reach 5000 GE: 1188.16⋅1.0675t=5000.
Divide both sides by 1188.16: 1.0675t=5000/1188.16=4.208.
On the left the exponent comes to the front: t⋅ln1.0675=ln4.208. On the calculator ln4.208=1.437 and ln1.0675=0.06532, so t=1.437/0.06532=22.00.
t=22.00. The task asks “Give the result in whole years”: round to whole numbers in the usual way. 22.00 gives 22, which is option a.
After 22 years you get 1188.16⋅1.067522=4999.98 GE, 2 cents short of 5000. That comes from rounding the price to cents and is no reason to take 23. You round up only when the question asks for the first year in which the amount is at least the target, as in the scene with 2500.
Yesterday a post had 2500 views, today 2600, and every day the views grow by the same percentage.
After how many days will the daily views be twice today's?
Adding 100 views a day does not work: the growth is a percentage, not the same number each time.
Factor per day: q=2600/2500=1.04. The time unit here is the day, not the year.
“Twice as many” means Kt/K0=2. Today's view count cancels: 1.04t=2.
A deposit earns 3.5%, with interest credited at the end of the year.
After how many full years will it have doubled?
Dividing 100 by 3.5 does not work: that would give the term for simple interest, but here the interest is compound.
Doubling: qt=2, the initial amount is not needed.
Logarithm: t=ln2/ln1.035=0.6931/0.03440.
Work out t and decide how many full years you have to wait.
Your turn2 of 2
A zero-coupon bond costs 820 € today and pays 1000 € after some years, with no interest in between. Its yield is 4% a year. What is the term in years, rounded to two decimal places?
Term traps
Dividing by the rate instead of lnq. In the task at the start of the section (1188.16 → 5000), 1.437/0.0675=21.29, so 21 years. The temptation is understandable: ln1.0675=0.06532 is almost 0.0675. But the denominator is 3% larger, and the term shifts by almost a year.
Taking different logarithms on top and below. In the same task, log on top and ln below: 0.6241/0.06532=9.55, so 10 years. The two keys sit side by side on the calculator, and it is easy to press the wrong one. The term formula holds only if the same logarithm is used on top and below.
Rounding down when full years are asked. In the account example t=8.38, and you want to answer 8. But after 8 years the account holds only 2463.42 €. Check the neighbouring whole years.
On the sheet:Kt=K0(1+r)t. The term formula is not on the sheet; you have to remember it: t=ln(Kt/K0)/lnq.
The question asks for the term: in how many years will the amount grow to the target? The term t sits in the exponent of q; you get it out with the logarithm of the ratio of Kt to K0.
t==lnqln(Kt/K0)
Trap:dividing by the rate r instead of lnq; rounding down when full years are asked.