Differential Calculus for Social Science 201-103 • CEGEP, Montreal
Corrected exercises: exponential and logarithmic functions (201-103)
These ten corrected exercises, preceded by a list of calculations, cover the only two transcendental functions of the Social Science differential calculus course 201-103: the exponential, which describes everything that feeds on itself, and the logarithm, which reverses it and turns products into sums. You work on the derivative of ex and of ax, the derivative of the natural logarithm and of the base-10 logarithm, the chain rule on both functions, the relative rate of change, doubling time, half-life and the rule of 70, the semilog scale, logarithmic differentiation, compound interest and continuous compounding.
Exercise 0.1 opens the set with twelve derivatives to compute directly from the formulas, as in textbook drill lists: exponentials eu and au such as 43x and ex2−3x, logarithms lnu and log2u, the logarithm of a quotient to expand first, products such as x3lnx, quotients such as x2lnx and the power of a logarithm, each with a value to find at the given point and checked as you type it.
By the end, you can say what characterizes the base e (exercise 1), fix the domain of a logarithm before differentiating it (exercise 2), compute a doubling time or a half-life and see where the rule of 70 breaks down (exercise 5), recognize an exponential by its straight line on a semilog graph (exercise 6), differentiate a product of several factors by logarithmic differentiation and derive the growth of gross domestic product per capita from it (exercise 7), and compare annual, monthly and continuous compounding with the effective rate (exercise 9). The set ends with Ebbinghaus's forgetting curve and what it says about reviewing (exercise 10).
The thread of the set fits in one sentence: the derivative of an exponential is PROPORTIONAL to the function itself, so its relative rate of change is constant. Everything else, doubling time, rule of 70, semilog scale, rates that add, follows from that single sentence. Three pitfalls are named outright: forgetting the factor that comes from the exponent, applying a logarithm property to a sum instead of a product, and applying the power rule to a function whose variable is in the exponent. Exercise 8 brings them together in five statements to correct.
Self-checking setType your answers and check them question by question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points, and your right answers stay filled in when you come back.
•(ex)′=ex: the only nonzero function equal to its own derivative. (eu)′=u′eu, and the factor u′ is never forgotten.
•(ax)′=axlna. The variable is in the EXPONENT, so this is NOT the power rule nxn−1.
•e is the only base whose slope equals 1 at the point (0,1), that is, the only base such that lna=1.
•(lnu)′=uu′, on the domain where u>0. The domain is found BEFORE differentiating: the simplified derivative keeps no trace of it.
•log10x=ln10lnx, so (log10x)′=xln101.
•ln(ab)=lna+lnb, lnba=lna−lnb, ln(an)=nlna. There is nothing simple for ln(a+b).
•A model P(t)=P0ert satisfies P′=rP: the relative rate is r, CONSTANT, and the parameter in the exponent reads directly as a percentage.
•Doubling time: T=rln2, independent of the initial value. Half-life: the same formula with r taken in absolute value.
•RULE OF 70: T≈rate in percent70, because 100ln2≈69.3. It holds for small rates and degrades beyond 10%.
•SEMILOG scale: the slope of lnP(t) is PP′, so a straight line means a constant rate. A linear model gives a concave curve there.
•LOGARITHMIC DIFFERENTIATION: take ln of both sides, differentiate, and FF′ appears. Essential from three factors on.
•Relative rates ADD for a product and SUBTRACT for a quotient. Gross domestic product per capita grows at the difference of the two rates.
•Continuous compounding: A(t)=A0ert, with an annual EFFECTIVE rate of er−1, always greater than the nominal rate r.
Calculations: the derivatives to compute
Exercise 0.1: Differentiate exponentials and logarithms: twelve direct calculations
For each function, compute the derivative using the differentiation formulas, then evaluate it at the given point.
One method for all twelve lines: spot the LAST operation (product, quotient, power or composite function) and apply its rule, then, at each exponential or logarithm, multiply by the derivative of what is inside: (eu)′=u′eu, (au)′=u′aulna, (lnu)′=uu′, (logau)′=ulnau′. The logarithm of a quotient is expanded BEFORE differentiating.
a) f(x)=3e1.5x, then f′(0.4).
b) g(x)=43x, then g′(0.5).
c) Q(t)=150−90e−0.35t, then Q′(2).
d) h(x)=ex2−3x, then h′(0.5).
e) f(x)=xe−2x, then f′(1).
f) g(x)=ex+1ex−1, then g′(1).
g) h(x)=ln(x2+4x+1), then h′(2).
h) f(x)=log2(3x+1), then f′(1).
i) g(x)=ln(x−12x+1), then g′(2).
j) h(x)=x3lnx, then h′(2).
k) f(x)=x2lnx, then f′(0.5).
l) g(x)=(lnx)3, then g′(e2).
Show the solution
Answers
a)f′(x)=4.5e1.5x; f′(0.4)=4.5e0.6≈8.200
b)g′(x)=3ln4⋅43x; g′(0.5)=24ln4≈33.271
c)Q′(t)=31.5e−0.35t; Q′(2)≈15.642
d)h′(x)=(2x−3)ex2−3x; h′(0.5)=−2e−1.25≈−0.573
e)f′(x)=(1−2x)e−2x; f′(1)=−e−2≈−0.135
f)g′(x)=(ex+1)22ex; g′(1)≈0.393
g)h′(x)=x2+4x+12x+4; h′(2)=138≈0.615
h)f′(x)=(3x+1)ln23; f′(1)=4ln23≈1.082
i)g′(x)=2x+12−x−11; g′(2)=−53
j)h′(x)=3x2lnx+x2; h′(2)=12ln2+4≈12.318
k)f′(x)=x31−2lnx; f′(0.5)=8(1+2ln2)≈19.090
l)g′(x)=x3(lnx)2; g′(e2)=e212≈1.624
The move that decides everything: the exponential is COPIED and multiplied by the derivative of its exponent, while the logarithm is replaced by uu′. The factor u′ is the one people forget, and with a base other than e the factor lna comes along too.
a)
f′(x)=3e1.5x×1.5=4.5e1.5x. At x=0.4 the exponent is 0.6: f′(0.4)=4.5e0.6≈8.200. Pitfall: forgetting the 1.5 and answering 3e0.6≈5.466.
b)
Constant base, variable exponent: g′(x)=43xln4×3=3ln4⋅43x. At x=0.5, 41.5=8, so g′(0.5)=24ln4≈33.271. Pitfall: the power rule, 3x⋅43x−1, which holds only for a constant exponent.
c)
The constant 150 disappears: Q′(t)=−90e−0.35t×(−0.35)=31.5e−0.35t, the two minus signs giving a plus. Q′(2)=31.5e−0.7≈15.642.
d)
h′(x)=(2x−3)ex2−3x: copy the exponential and multiply by the derivative of the exponent. At x=0.5: 2x−3=−2 and x2−3x=−1.25, so h′(0.5)=−2e−1.25≈−0.573.
e)
Product: f′(x)=1⋅e−2x+x⋅(−2)e−2x=(1−2x)e−2x. At x=1: f′(1)=−e−2≈−0.135. Pitfall: differentiating e−2x as e−2x, without the −2, which gives 2e−2.
f)
Quotient with u=ex−1, v=ex+1 and u′=v′=ex: g′(x)=(ex+1)2ex(ex+1)−(ex−1)ex=(ex+1)22ex. At x=1: g′(1)=(e+1)22e≈0.393.
g)
h′(x)=x2+4x+12x+4: the derivative of the inside over the inside. At x=2: h′(2)=138≈0.615. Pitfall: writing x2+4x+11, without the numerator u′.
h)
(log2u)′=uln2u′, so f′(x)=(3x+1)ln23. At x=1: f′(1)=4ln23≈1.082. Pitfall: forgetting the ln2, which comes from log2u=ln2lnu.
i)
Expand first: g(x)=ln(2x+1)−ln(x−1), valid at x=2 since both arguments are positive there. So g′(x)=2x+12−x−11 and g′(2)=52−1=−53=−0.6. Pitfall: lnba=lna−lnb, a DIFFERENCE, not a quotient of logarithms.
j)
Product: h′(x)=3x2lnx+x3⋅x1=3x2lnx+x2. At x=2: h′(2)=12ln2+4≈12.318. The x3⋅x1 simplifies to x2 before evaluating.
k)
Quotient: f′(x)=x4x1⋅x2−lnx⋅2x=x4x−2xlnx=x31−2lnx. At x=0.5, ln0.5=−ln2 and x3=81: f′(0.5)=8(1+2ln2)≈19.090. Pitfall: the sign of ln0.5, which is NEGATIVE.
l)
Power first, g(x)=(lnx)3: g′(x)=3(lnx)2⋅x1. At x=e2, lnx=2: g′(e2)=e23×4=e212≈1.624. Pitfall: confusing (lnx)3 with ln(x3)=3lnx, whose derivative is x3.
Overall check: for each line, the rate 0.002f(a+0.001)−f(a−0.001) computed on a calculator lands within a thousandth of the value found. If it does not, look first for the forgotten factor u′, then for the lna of a base other than e.
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.
Part A: the basics (/50)
Exercise 1: The derivative of the exponential: what the base changes
The exponential is the function of the social sciences: compound interest, population growth, the spread of a rumour, the decay of a memory. Its derivative has a property that no other function shares.
We compare ex, 2x and 1.5x.
a) Differentiate f(x)=ex, g(x)=2x and h(x)=e0.05x.
b) Compute f′(0) and g′(0).
c) The base e is not chosen for notational convenience. What property characterizes it?
d) Differentiate k(x)=5×3x and compute k′(2) to the nearest hundredth.
e) State in one sentence what all these derivatives have in common.
Show the solution
Answers
a)f′=ex, g′=2xln2, h′=0.05e0.05x.
b)f′(0)=1 and g′(0)=ln2≈0.6931.
c)e is the only base with lna=1, hence slope 1 at (0,1).
d)k′(x)=5×3xln3, so k′(2)=45ln3≈49.44.
e)It is proportional to the function itself, the coefficient being the logarithm of the base.
a)
f′(x)=ex: the exponential with base e is its own derivative, and it is the only nonzero function that is. g′(x)=2xln2: for any base a>0, (ax)′=axlna, the factor lna being the trace of the base. h′(x)=0.05e0.05x by the chain rule, the 0.05 coming from the derivative of the exponent.
b)
f′(0)=e0=1. g′(0)=20ln2=ln2≈0.6931. Both curves pass through the point (0,1), but they do not have the same slope there: that of ex is exactly 1, that of 2x about 0.69.
c)
e is the only base whose curve has a slope of EXACTLY 1 at the point (0,1), that is, the only base a such that lna=1. Everything else follows from this: since the factor lna equals 1, the derivative of ex is ex itself. So this is not a notational convention but a geometric property, and it is why all growth models are written with base e even when the phenomenon doubles or grows tenfold.
d)
k′(x)=5×3xln3. At x=2: k′(2)=5×9×ln3=45×1.0986≈49.44. The constant 5 passes through the differentiation unchanged, whereas the base 3 leaves its logarithm: two constants, two roles, and mixing them up is the error in part e) of exercise 8.
e)
In every case, the derivative is PROPORTIONAL to the function itself: f′=1⋅f, g′=(ln2)g, h′=0.05h, k′=(ln3)k. An exponential is exactly a function whose growth rate is proportional to what is already there, which makes it unavoidable whenever a phenomenon feeds on itself: capital that earns interest, a population that produces births, a rumour spread by those who already know it.
Exercise 2: The logarithm: the domain before the derivative
The logarithm is the inverse of the exponential, so it turns products into sums and powers into products. Its derivative is deceptively simple, because it makes you forget to look at the domain.
The general rule: the domain is found BEFORE differentiating, never after.
a) Give the domain of f(x)=ln(3x−12), then f′(x) in simplified form.
b) Give the domain of g(x)=ln(x2), then g′(x). Compare with 2lnx.
c) Differentiate h(x)=xlnx−x.
d) Differentiate p(x)=log10x and compute p′(10) to four decimal places.
e) Why is the order domain first, derivative second, more than a matter of method?
Show the solution
Answers
a)Domain (4,∞) and f′(x)=x−41.
b)Domain R∖{0} and g′(x)=x2; 2lnx exists only on (0,∞).
c)h′(x)=lnx.
d)p′(x)=xln101, so p′(10)≈0.0434.
e)Because the simplified derivative no longer displays the condition: x−41 can be computed at 0 and means nothing there.
a)
The logarithm requires 3x−12>0, so x>4: the domain is (4,∞). By the chain rule, f′(x)=3x−123, which simplifies to x−41. The simplification is legitimate on the domain, and it does not change it: x−41 would also exist for x<4, but the original function does not.
b)
x2>0 for every x=0, so the domain is R∖{0}. The derivative is g′(x)=x22x=x2, valid on this whole domain, negative values included. The function 2lnx, on the other hand, exists only on (0,∞) and its derivative x2 is valid only there. The two expressions agree on the positive numbers and differ in their domains, which is exactly the pitfall of question e) of “Five statements to correct” in the first chapter: ln(x2)=2ln∣x∣.
c)
Product rule on the first term: (xlnx)′=1×lnx+x×x1=lnx+1. Then subtract the derivative of x, which is 1: h′(x)=lnx+1−1=lnx. The function xlnx−x is therefore an antiderivative of the logarithm, a result that will come back in integral calculus, and obtaining it here takes nothing more than the product rule.
d)
Every logarithm reduces to the natural logarithm: log10x=ln10lnx, so p′(x)=xln101. At x=10: p′(10)=10×2.30261≈0.0434. The number is small, and that is the whole point of a logarithmic scale: multiplying the quantity by 10 raises the indicator by only one unit.
e)
Because the derivative forgets the domain. x−41 no longer carries any trace of the condition x>4, and nothing in this expression prevents you from evaluating it at x=0 to get −0.25, a perfectly wrong number. The same pitfall applies to x2 against ln(x2). In the social sciences the consequence is concrete: a model in ln only makes sense for strictly positive values, such as incomes, headcounts and prices, and extending the calculation below that produces a figure the calculator accepts and reality rejects.
Exercise 3: The chain rule on exponentials and logarithms
No real model is written as a bare ex: it is written e−0.45t, ln(t2+9), or an exponential divided by a polynomial. The whole difficulty is therefore in the chain, not in the two basic derivatives.
A single move, repeated: differentiate the outer layer, then multiply by the derivative of the inner one.
a) Differentiate u(t)=e−0.4t2.
b) Differentiate v(t)=ln(t2+9) and give its domain.
c) Differentiate w(t)=t+5e0.2t and simplify the numerator.
d) Compute w′(5) to four decimal places.
e) Where is the only zero of w′, and what is the value of w at that point?
Show the solution
Answers
a)u′(t)=−0.8te−0.4t2, maximum at t=0.
b)v′(t)=t2+92t, domain R.
c)w′(t)=(t+5)20.2te0.2t.
d)w′(5)≈0.0272.
e)Zero at t=0, where w(0)=0.2: it is a minimum.
a)
The outer layer is the exponential, the inner one is −0.4t2, whose derivative is −0.8t. So u′(t)=−0.8te−0.4t2. The sign follows that of −0.8t, since the exponential is always positive: u increases for t<0, decreases for t>0, and its maximum is at t=0. This is the bell curve, which you meet again in statistics.
b)
v′(t)=t2+92t. The domain is all of R, since t2+9≥9>0 for every t: this is one of the rare logarithms whose domain removes nothing. Checking takes three seconds and avoids writing a nonexistent restriction, which costs as many marks as a forgotten one.
c)
Quotient rule with u=e0.2t and v=t+5: w′(t)=(t+5)20.2e0.2t(t+5)−e0.2t. Factor out e0.2t: w′(t)=(t+5)2e0.2t(0.2(t+5)−1)=(t+5)2e0.2t(0.2t+1−1)=(t+5)20.2te0.2t. Factoring out the exponential is the reflex to build: it never vanishes, so it is ALWAYS the other factor that carries the zeros and the signs.
d)
w′(5)=1000.2×5×e1=1002.7183≈0.0272.
e)
Since the exponential never vanishes and the denominator is a square, the only zero of w′ comes from the factor 0.2t, so t=0. At that point, w(0)=5e0=51=0.2. Since w′ has the sign of t on the domain t>−5, the function decreases then increases: t=0 is a MINIMUM, not the maximum one expects by reflex from an expression containing an increasing exponential.
Exercise 4: The constant relative rate: the signature of the exponential
In the previous chapter, a linear model gave a constant absolute growth and a decreasing relative rate. The exponential does exactly the opposite, and that is its very definition.
A municipality has P(t)=8,000e0.023t inhabitants, t years after 2020.
a) Compute P′(t) and show that P′(t)=0.023P(t).
b) Deduce the relative rate of change, in percent per year.
c) Compute P(0) and P(30) to the nearest unit.
d) Compute P′(0) and P′(30) to the nearest unit, and compare.
e) Contrast this behaviour with that of the linear model of the previous chapter, in one sentence per model.
Show the solution
Answers
a)P′(t)=0.023P(t).
b)2.3% per year, constant.
c)P(0)=8,000 and P(30)≈15,950 inhabitants.
d)P′(0)=184 and P′(30)≈367 inhabitants per year: the absolute rate doubles, the relative rate does not move.
By the chain rule, P′(t)=8,000×0.023e0.023t=0.023×8,000e0.023t=0.023P(t). The derivative is therefore proportional to the population itself, with the coefficient 0.023 that was already in the exponent. Nothing was done except applying the chain rule, and we obtain the equation that defines every exponential growth.
b)
The relative rate is P(t)P′(t)×100=0.023×100=2.3% per year, and this number does not depend on t: it is CONSTANT. The parameter placed in the exponent of a model with base e is therefore directly the relative rate, which explains why demographers write their models this way rather than in base 1.023.
c)
P(0)=8,000 inhabitants. P(30)=8,000e0.69=8,000×1.9937≈15,950 inhabitants. In thirty years, the population has almost doubled, which the next exercise will explain in one line.
d)
P′(0)=0.023×8,000=184 inhabitants per year. P′(30)=0.023×15,950≈367 inhabitants per year. The ABSOLUTE rate has doubled along with the population, while the RELATIVE rate has not moved by a hundredth. This is the property that makes the exponential so deceptive to the eye: growth that seems to accelerate does not accelerate at all, in proportion.
e)
LINEAR model: the absolute growth is constant, 1,200 inhabitants per year, and the relative rate decreases toward zero because the base keeps growing. EXPONENTIAL model: the relative rate is constant, 2.3% per year, and the absolute growth increases without bound because it applies to a growing base. The choice between the two is not a matter of taste: look at the data, and if the successive DIFFERENCES are roughly constant the model is linear, while if the successive QUOTIENTS are, the model is exponential.
Exercise 5: Half-life, doubling time and the rule of 70
An annual rate of 2.3% means nothing to anyone; a doubling time of thirty years does. Going from one to the other takes one line of logarithm, and there is a mental rule that approximates it very well.
This is the rule that economists and demographers use in meetings, without a calculator.
a) For P(t)=8,000e0.023t, compute the doubling time to the nearest hundredth of a year.
b) The rule of 70 says: doubling time ≈rate in percent70. Apply it here and explain where the number 70 comes from.
c) A region loses 1.8% of its population each year. After how many years has it lost half?
d) An investment earns 6% per year with continuous compounding. Find the doubling time, first by exact calculation, then by the rule.
e) An investment earns 20% per year, compounded ANNUALLY. Compare the exact calculation with the rule of 70 and explain the gap.
Show the solution
Answers
a)T=0.023ln2≈30.14 years, independent of the initial population.
b)2.370≈30.43 years; 70 rounds up 100ln2≈69.3.
c)0.018ln2≈38.51 years.
d)11.55 years by calculation, 11.67 years by the rule.
e)ln1.2ln2≈3.80 against 3.5: the rule assumes ln(1+r)≈r, valid at small rates.
a)
We look for T such that P(T)=2P(0), so e0.023T=2. Taking the natural logarithm of both sides: 0.023T=ln2, so T=0.023ln2=0.0230.69315≈30.14 years. Note that T does NOT depend on the initial population: the 8,000 cancels. A doubling time is a property of the rate, not of the size.
b)
The rule gives 2.370≈30.43 years, against 30.14 by the exact calculation, an error of three tenths of a year out of thirty. The number 70 comes from ln2≈0.693: since T=rln2 and the rate in percent is 100r, we have T=100r100ln2=rate in percent69.3. We round 69.3 up to 70 because 70 divides easily in your head by 2, 5, 7, 10 and 14, which 69.3 does not.
c)
The model is Q(t)=Q0e−0.018t, the loss being expressed by a negative exponent. We look for e−0.018t=0.5, so −0.018t=ln0.5=−ln2, and t=0.018ln2≈38.51 years. The rule of 70 gives 1.870≈38.89, still very close. The same formula therefore serves for doubling and for half-life: only the sign of the exponent changes, and it disappears at the quotient.
d)
Exact calculation: T=0.06ln2≈11.55 years. Rule of 70: 670≈11.67 years. The gap is about six weeks over eleven and a half years, which is irrelevant for a savings decision.
e)
Here the compounding is ANNUAL, so the capital is C0×1.2t and not C0e0.2t. Doubling requires 1.2t=2, so t=ln1.2ln2=0.182320.69315≈3.80 years, whereas the rule announces 2070=3.5 years, an error of 8%. Two causes add up. First, the rule rests on the approximation ln(1+r)≈r, excellent for small r and mediocre for r=0.2, where ln1.2 is only 0.182 instead of 0.2. Second, interest paid once a year earns less than interest paid continuously. The rule of 70 is therefore a tool for small rates, which covers most of demography and macroeconomics, but not double-digit returns.
Part B: problems and reasoning (/50)
Exercise 6: The logarithmic scale: recognizing an exponential by eye
On an ordinary graph, an exponential and a fast-rising polynomial look alike. On a SEMILOG graph, where the logarithm of the quantity is plotted, the exponential becomes a straight line and nothing else does.
Two indices start at 100: I(t)=100e0.05t and J(t)=100+12t, with t in years.
a) Compute I(t) for t=0, 5, 10, 15 and 20, to the nearest hundredth.
b) Compute lnI(t) for these five dates and show that the successive differences are constant.
c) Show algebraically that lnI(t)=ln100+0.05t, and identify the slope.
d) Compute lnJ(t) for t=0, 5, 10 and 20, and say why it is not a straight line.
e) Prove that the slope of a semilog graph is exactly the relative rate of change.
Show the solution
Answers
a)100; 128.40; 164.87; 211.70; 271.83.
b)4.6052; 4.8552; 5.1052; 5.3552; 5.6052, with a constant difference of 0.25.
c)lnI(t)=ln100+0.05t, a line of slope 0.05, that is 5% per year.
d)4.6052; 5.0752; 5.3936; 5.8289: the differences decrease, the curve is concave.
e)(lnP)′=PP′: the slope of the semilog graph is the relative rate.
a)
I(0)=100. I(5)=100e0.25≈128.40. I(10)=100e0.5≈164.87. I(15)=100e0.75≈211.70. I(20)=100e1≈271.83. The index has almost tripled in twenty years.
b)
ln100≈4.6052; ln128.40≈4.8552; ln164.87≈5.1052; ln211.70≈5.3552; ln271.83≈5.6052. Each difference is exactly 0.25, whereas the differences in I itself, 28.40, then 36.47, then 46.83, then 60.13, keep growing. The logarithm has turned runaway growth into a perfectly regular progression.
c)
lnI(t)=ln(100e0.05t)=ln100+ln(e0.05t)=ln100+0.05t, using ln(ab)=lna+lnb and then ln(eu)=u. This is an AFFINE function of t, with intercept ln100 and slope 0.05. That slope is the relative rate of I, namely 5% per year, so a growth rate can be read directly off the slope of a semilog graph, with no calculation at all.
d)
lnJ(0)=ln100≈4.6052; lnJ(5)=ln160≈5.0752; lnJ(10)=ln220≈5.3936; lnJ(20)=ln340≈5.8289. The differences are 0.470 from t=0 to t=5, 0.318 from t=5 to t=10, then 0.435 from t=10 to t=20, that is 0.218 per five-year step: they DECREASE. The curve is concave down, so it is not a straight line. No surprise: the relative rate of a linear model decreases, as the previous chapter showed, and the slope of the semilog graph is that relative rate.
e)
Let P be a strictly positive differentiable function. The derivative of lnP(t) is computed by the chain rule: (lnP(t))′=P(t)P′(t). Now the slope of the semilog graph at a point is precisely this derivative. So the slope read on a semilog graph IS the relative rate of change, to be read as a percentage after multiplying by 100. That is why financial series, stock prices and epidemic curves are published on a logarithmic scale: on this kind of graph, a straight line means “constant rate”, a steepening means “the rate is increasing”, and a flattening is visible to the naked eye, which an ordinary scale makes impossible.
Exercise 7: Logarithmic differentiation and rates that add
Differentiating a product of three or four factors with the product rule is long and error-prone. LOGARITHMIC differentiation replaces that calculation with a sum, and along the way it delivers the most useful result of the whole course in economics.
We study F(t)=(3t+7)5(2t+1)3(t+4)2, for t≥0.
a) Write lnF(t) as a sum and a difference of logarithms.
b) Differentiate both sides and give F(t)F′(t).
c) Compute F(1)F′(1), then F(1) and F′(1).
d) State the general rule on the relative rates of a product and of a quotient.
e) A country's gross domestic product grows by 2.4% per year and its population by 0.9%. At what rate does gross domestic product per capita grow?
Show the solution
Answers
a)lnF(t)=3ln(2t+1)+2ln(t+4)−5ln(3t+7).
b)FF′=2t+16+t+42−3t+715.
c)Rate 0.9; F(1)=0.00675; F′(1)=0.006075.
d)Product: relative rates add. Quotient: they subtract. Power: the rate is multiplied by the exponent.
e)2.4−0.9=1.5% per year.
a)
The logarithm properties turn a product into a sum, a quotient into a difference and a power into a product: lnF(t)=3ln(2t+1)+2ln(t+4)−5ln(3t+7). Each of the three pieces is now a simple logarithm, differentiable in one line. This form is valid only where the three arguments are strictly positive, which holds for t≥0.
b)
Differentiating on the left, (lnF)′=FF′. Differentiating on the right, each term gives the derivative of the inside over the argument: F(t)F′(t)=2t+13×2+t+42×1−3t+75×3=2t+16+t+42−3t+715. This gives the RELATIVE rate directly, which is often the quantity you were after.
c)
At t=1: 36+52−1015=2+0.4−1.5=0.9. The relative rate is therefore 0.9, that is, growth of 90% per unit of time at this point. For F(1): 10533×52=100,00027×25=100,000675=0.00675. So F′(1)=0.9×0.00675=0.006075. Logarithmic differentiation always delivers the result in two steps, the rate first, then the derivative by multiplying by the value.
d)
For a PRODUCT, relative rates ADD; for a QUOTIENT, they SUBTRACT; a POWER multiplies the rate by the exponent. In symbols: uv(uv)′=uu′+vv′ and u/v(u/v)′=uu′−vv′. These three rules are what makes percentages composable, whereas absolute values are not.
e)
Gross domestic product per capita is the QUOTIENT of gross domestic product by population, so its relative rate is the DIFFERENCE of the two rates: 2.4−0.9=1.5% per year. This is the most frequently performed and most frequently botched calculation in all of macroeconomics, and it explains in one line why a country whose economy grows by 2.4% can see its inhabitants' standard of living stagnate if the population also grows by 2.4%. Note that the result is a first-order APPROXIMATION: the exact calculation gives 1.0091.024−1≈1.487%, and the gap stays negligible as long as the rates are small, exactly as with the rule of 70.
Exercise 8: Five statements to correct
Each of these five sentences has been heard in class. Say whether it is true or false, and if it is false, write the correct statement.
A correction that merely says “false” earns no marks: the correct sentence is what is asked for.
a) (e2x)′=e2x.
b) ln(a+b)=lna+lnb.
c) (lnx)′=x1 for every x=0.
d) An exponential model has constant absolute growth.
e) (2x)′=x2x−1.
Show the solution
Answers
a)False: (e2x)′=2e2x.
b)False: ln(ab)=lna+lnb, nothing simple for ln(a+b).
c)False: valid for x>0; for every x=0 it is (ln∣x∣)′=x1.
d)False: it is the relative rate that is constant, not the absolute growth.
e)False: (2x)′=2xln2, that is 8ln2≈5.5452 at x=3.
a)
FALSE. Only ex is its own derivative. As soon as a factor appears in the exponent, the chain rule brings it out: (e2x)′=2e2x. Correct statement: (eu)′=u′eu. Numerical check at x=0: the average rate between −0.001 and 0.001 is about 2, not 1.
b)
FALSE, and this is the most frequent logarithm error. The property concerns the PRODUCT: ln(ab)=lna+lnb. There is no simple formula for ln(a+b). Counterexample: ln(2+8)=ln10≈2.30, whereas ln2+ln8≈0.69+2.08=2.77. Correct statement: the logarithm turns products into sums, never sums into sums.
c)
FALSE, and the flaw is in the domain. lnx exists only for x>0, so its derivative does too. For x<0, it is ln∣x∣ that is defined, and indeed (ln∣x∣)′=x1 on all of R∖{0}. Correct statement: (lnx)′=x1 for x>0, and (ln∣x∣)′=x1 for every x=0.
d)
FALSE. It is the RELATIVE rate that is constant in an exponential model; its absolute growth increases without bound. Exercise 4 puts numbers on it: the rate goes from 184 to 367 inhabitants per year while the rate of change stays at 2.3%. Constant absolute growth is the signature of the LINEAR model. Correct statement: an exponential model has a constant relative rate of change.
e)
FALSE, and this is a confusion of rules. The power rule (xn)′=nxn−1 applies when the VARIABLE is in the base and the constant in the exponent. Here it is the reverse: the base is constant and the variable is in the exponent, so the exponential rule applies, (ax)′=axlna. Correct statement: (2x)′=2xln2. The recognition test comes down to one question, where is the x: in the base, it is a power; in the exponent, it is an exponential.
Exercise 9: Problem: compound interest and continuous compounding
Continuous compounding is not a mathematician's whim: it is the limit toward which compound interest tends as the number of periods is multiplied, and it is the convention of every serious financial calculation.
A principal of 10,000 dollars is invested at a nominal rate of 4% per year.
a) Write the amount A1(t) with ANNUAL compounding and compute A1(10) to the nearest cent.
b) Write the amount A12(t) with MONTHLY compounding and compute A12(10).
c) Write the amount A(t) with CONTINUOUS compounding and compute A(10).
d) Compute the effective annual rate of continuous compounding, to four decimal places of a percent.
e) Show that A′(t)=0.04A(t) and compute A′(10). Interpret.
Show the solution
Answers
a)A1(t)=10,000(1.04)t and A1(10)=14,802.44 dollars.
b)A12(t)=10,000(1+120.04)12t and A12(10)=14,908.33 dollars.
c)A(t)=10,000e0.04t and A(10)=14,918.25 dollars.
d)e0.04−1≈4.0811%.
e)A′(t)=0.04A(t), so A′(10)≈596.73 dollars per year against 400 in the first year.
a)
A1(t)=10,000(1.04)t. After ten years: A1(10)=10,000×1.480244=14,802.44 dollars. The capital has earned 4,802.44 dollars, clearly more than the 10,000×0.04×10=4,000 dollars of simple interest: the difference, 802.44 dollars, is interest earned by the interest.
b)
A nominal rate of 4% compounded monthly applies 120.04 twelve times a year: A12(t)=10,000(1+120.04)12t. After ten years, the exponent is 120 and A12(10)=10,000×1.490833≈14,908.33 dollars, about 106 dollars more than with annual compounding. The nominal rate is the same, the result is not, which is why offers should be compared by their EFFECTIVE rate.
c)
Continuous compounding is the limit as the number of periods tends to infinity: A(t)=10,000e0.04t. After ten years: A(10)=10,000e0.4=10,000×1.491825≈14,918.25 dollars. This is the CEILING of what multiplying the periods can earn: going from monthly to continuous gains only 9.92 dollars over ten years, whereas going from annual to monthly gained 106.
d)
The effective rate is the real increase over one year: A(0)A(1)−1=e0.04−1=1.040811−1=0.040811, that is 4.0811%. A nominal rate of 4% with continuous compounding is therefore equivalent to an effective rate of 4.0811%: it is this second number that should be compared from one offer to another, the first being only a writing convention.
e)
A′(t)=10,000×0.04e0.04t=0.04×10,000e0.04t=0.04A(t). At t=10: A′(10)=0.04×14,918.25≈596.73 dollars per year. Interpretation: after ten years, the capital grows by nearly 597 dollars per year, against 400 dollars in the first year, without any decision having been made or any deposit added. The speed of enrichment is proportional to what has already accumulated, which is the very definition of an exponential phenomenon and the reason why saving early is worth more than saving a lot.
Exercise 10: Problem: the forgetting curve
At the end of the nineteenth century, Hermann Ebbinghaus measured on himself the share of a learned list that he could recall after a delay. His curve is the first quantitative law of psychology, and it is exponential.
A common retention model is R(t)=20+80e−0.45t, as a percentage of the material learned, with t in days after learning.
a) Compute R(0), R(1), R(3) and R(7) to the nearest tenth.
b) Compute R′(t), then R′(0), R′(3) and R′(7) to the nearest hundredth.
c) Give limt→+∞R(t) and interpret this floor.
d) After how many days does retention drop below 50%?
e) Show that R(t)−20R′(t) is constant, and draw a conclusion for reviewing.
Show the solution
Answers
a)100; 71.0; 40.7; 23.4%.
b)R′(t)=−36e−0.45t; −36; −9.33; −1.54 points per day.
c)20%: one fifth of the material is never lost.
d)t=0.45−ln0.375≈2.18 days.
e)The quotient is −0.45: it is the forgettable part that decays at a constant rate, hence early review.
a)
R(0)=20+80=100%: everything is known on the same day. R(1)=20+80e−0.45=20+80×0.6376≈71.0%. R(3)=20+80e−1.35=20+80×0.2592≈40.7%. R(7)=20+80e−3.15=20+80×0.0429≈23.4%. After one week, little remains but the core.
b)
R′(t)=80×(−0.45)e−0.45t=−36e−0.45t, in percentage points per day. The 20 disappears, like any constant. R′(0)=−36 points per day; R′(3)=−36×0.2592≈−9.33; R′(7)=−36×0.0429≈−1.54. Forgetting is twenty-three times faster on the first day than on the seventh, which is the most exploitable result of the whole model.
c)
As t→+∞, e−0.45t→0, so R(t)→20%. The line y=20 is a horizontal asymptote: the model predicts that one fifth of the material is never lost. This is the part that was understood rather than memorized, or that is connected to prior knowledge; the model does not explain it, it simply records it by taking it as a parameter.
d)
We solve 20+80e−0.45t=50, so 80e−0.45t=30 and e−0.45t=0.375. Taking the logarithm: −0.45t=ln0.375≈−0.9808, so t≈2.18 days. Half of what was learned has disappeared in a little over two days, without any review.
e)
R(t)−20R′(t)=80e−0.45t−36e−0.45t=−8036=−0.45, constant. In other words, it is not the total retention that decays at a constant relative rate, but its FORGETTABLE part, the part above the floor of 20%. Immediate practical consequence: since the absolute loss R′ is proportional to what is left to lose, it is greatest right after learning. Reviewing on the first day prevents a loss of 36 points per day; reviewing on the seventh prevents only 1.5. This is the quantitative justification of spaced repetition, and it fits in a single quotient.
Something missing from this set?A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.
Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space.
Rather not create an account? Write to me directly.
Looking for a differential calculus tutor in Montreal?
Get in touch for a first session. The calculus course of the mathematics profile is the one that opens the limited-enrolment admissions in business and economics, and it is decided in the first weeks.