Corrected exercises: derivatives of logarithms, logarithmic differentiation, growth and decay (MATH 140)
This is the corrected exercise set for the derivatives of logarithms, logarithmic differentiation and exponential growth and decay in MATH 140, Calculus 1, at McGill University, sections 3.6 and 3.8 of Stewart.It closes the differentiation rules: after this chapter, every elementary function can be differentiated, including the ones where the variable sits in the exponent.
What the set covers, the traps it targets
It closes the differentiation rules: after this chapter, every elementary function can be differentiated, including the ones where the variable sits in the exponent.
Every number is exact and chosen to be done by hand, and each solution names the rule it applies, the inner function of each chain rule, and the domain it works on.
The thread running through the whole set: the logarithm is a translator. It turns products into sums, quotients into differences and powers into products, so the gesture is to rewrite with ln BEFORE differentiating, keeping ln on positive inputs only, hence ln∣x∣ and ln∣y∣. The same translation reads a growth law: y′=ky says that the relative rate yy′ is constant, and k is that relative rate, never the percentage gained per period.
The traps named in the solutions: dxdln(5x)=x5, a logb differentiated without lnb, (lnx)2 confused with ln(x2), a derivative evaluated outside the domain, lny taken where y<0, stopping at yy′ without multiplying by y, the power rule or the exponential rule applied to xx, answering 1 to a form 1∞, k=1 for a population that doubles each hour, and Newton's law of cooling written without the room temperature.
•Laws, for a,b>0: ln(ab)=lna+lnb, lnba=lna−lnb, ln(ar)=rlna. With signs unknown: ln∣ab∣=ln∣a∣+ln∣b∣.
•Logarithmic differentiation: ln∣y∣, expand, differentiate (yy′ on the left), multiply by y. Relative rates add under a product, subtract under a quotient.
•Variable base and exponent: lny=(exponent)ln(base); dxdxx=xx(lnx+1).
•limh→0hln(1+h)=1 (derivative of ln at 1), so limx→0(1+x)1/x=e.
•y′=ky⟺y=y0ekt; k=yy′; doubling time kln2, half-life ∣k∣ln2; cooling: T=Ts+(T0−Ts)ekt.
Part A: the basics (/50)
Exercise 1: The derivative of ln: the inner function named, the domain first
8 answers to check
Three formulas carry the whole chapter. dxdlnx=x1 for x>0; by the chain rule, dxdlnu=uu′ wherever u>0; and dxdln∣x∣=x1 for every x=0. A logarithm in another base is a constant multiple of ln: logbx=lnblnx, so dxdlogbx=xlnb1.
Before any derivative, find where the function is DEFINED: a derivative computed at a point outside the domain is a number about nothing. The figure shows y=ln∣x∣, its two branches, and its tangents at x=2 and x=−2.
a) Differentiate f(x)=ln(x2+4x+5), after explaining why its domain is all of R. Where is its tangent horizontal?
b) Differentiate g(x)=log2(3x−1), give its domain, and compute g′(3).
c) Differentiate h(x)=ln(lnx), give its domain, and compute h′(e).
d) Differentiate k(x)=ln∣cosx∣ and say where the formula holds.
e) Prove that dxdln∣x∣=x1 for x<0, then use it to explain the two slopes shown on the figure.
Show the solution
Answers
a)f′(x)=x2+4x+52x+4; horizontal tangent at x=−2
b)Domain x>31; g′(x)=(3x−1)ln23, g′(3)=8ln23
c)Domain x>1; h′(x)=xlnx1, h′(e)=e1
d)k′(x)=−tanx, wherever cosx=0
e)For x<0, ln∣x∣=ln(−x) has derivative −x−1=x1; slopes 21 at x=2 and −21 at x=−2.
a)
Complete the square: x2+4x+5=(x+2)2+1≥1>0 for every real x, so the logarithm is always defined and the domain is R. Chain rule with inner function u=x2+4x+5, u′=2x+4: f′(x)=uu′=x2+4x+52x+4. The denominator never vanishes, so f′(x)=0 exactly when 2x+4=0: the tangent is horizontal at x=−2, where f(−2)=ln1=0. The frequent loss is to write x2+4x+51: the derivative of ln is one over the INSIDE, times the derivative of the inside.
b)
The argument must be positive: 3x−1>0, so the domain is x>31. Change of base first: g(x)=ln2ln(3x−1), and ln21 is a CONSTANT factor. Chain rule with u=3x−1: g′(x)=ln21⋅3x−13=(3x−1)ln23. At x=3: g′(3)=8ln23. Leave it exact; with ln2≈0.69 it is a little above 21, a sanity check and not the answer. Forgetting ln2 costs the mark: the base of the logarithm only survives in that constant.
c)
Two conditions stack: lnx needs x>0, and the outer ln needs lnx>0, that is x>1. Domain: (1,∞). Chain rule with inner function u=lnx, u′=x1: h′(x)=lnx1/x=xlnx1. At x=e: h′(e)=e⋅11=e1. Note that the formula xlnx1 also makes sense at x=21, where h does not exist: the domain is read on h, never on h′.
d)
The rule dxdln∣u∣=uu′ holds wherever u=0, whatever the sign of u. With u=cosx, u′=−sinx: k′(x)=cosx−sinx=−tanx, valid wherever cosx=0, that is for x=2π+nπ. The absolute value is what makes k defined on all these intervals, including those where cosx<0; without it, ln(cosx) would exist only where cosx>0, and the same formula −tanx would hold there.
e)
For x<0, ∣x∣=−x, so ln∣x∣=ln(−x). Chain rule with u=−x, u′=−1: dxdln(−x)=−x−1=x1. Together with the case x>0, dxdln∣x∣=x1 for every x=0. On the figure, the tangent at x=2 has slope 21, and at x=−2 slope −21=−21: the graph of ln∣x∣ is symmetric about the y axis, so the slopes are opposite, and the left branch decreases as x increases toward 0. A negative derivative on the left branch is exactly what x1 predicts.
Points are earned before the solution; after it, you can keep practising.
For you:
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.
Exercise 2: Simplify with the laws of logarithms BEFORE differentiating
6 answers to check
The laws ln(ab)=lna+lnb, lnba=lna−lnb and ln(ar)=rlna, valid for a>0 and b>0, turn one hard quotient rule into several easy terms. The gesture is always the same: expand the logarithm first, differentiate term by term second.
The laws have a price: they hold for POSITIVE a and b. Applied to factors that can be negative, they must be written with absolute values, ln∣ab∣=ln∣a∣+ln∣b∣. The figure shows y=ln(x2) and y=2lnx.
a) For x>0, differentiate f(x)=lnx2+1x3(2x+1)4 and compute f′(1).
b) On (−1,1), differentiate g(x)=ln1−x1+x and simplify.
c) Differentiate h(x)=ln(e3x(x2+1)).
d) Are ln(x2) and 2lnx the same function? Compare their domains and their derivatives, using the figure.
e) Let k(x)=ln(x+2)5(x+1)2(x+3)3. Expand k near x=0 with the correct absolute values, then compute k′(0).
Show the solution
Answers
a)f′(x)=x3+2x+18−x2+1x, f′(1)=631
b)g′(x)=1−x21
c)h′(x)=3+x2+12x
d)No: ln(x2) is defined for x=0, 2lnx for x>0 only. Derivatives x2 on their domains.
e)k=2ln∣x+1∣+3ln∣x+3∣−5ln∣x+2∣, k′(0)=21
a)
For x>0 every factor is positive, so the laws apply without absolute values: f(x)=3lnx+4ln(2x+1)−21ln(x2+1), the square root being the power 21. Differentiate term by term, the chain rule acting on the last two with inner functions 2x+1 and x2+1: f′(x)=x3+2x+14⋅2−21⋅x2+12x=x3+2x+18−x2+1x. At x=1: 3+38−21=618+16−3=631. Differentiating the quotient directly works too, and takes half a page, with a product rule inside a quotient rule inside a chain rule.
b)
On (−1,1), 1+x>0 and 1−x>0: g(x)=21[ln(1+x)−ln(1−x)]. Chain rule on the second term, inner function 1−x with derivative −1: g′(x)=21[1+x1+1−x1]=21⋅1−x2(1−x)+(1+x)=1−x21. The sign of the second term is the trap: −ln(1−x) differentiates to −1−x−1=+1−x1, and losing one of the two minus signs gives 1−x2x instead.
c)
ln(e3x(x2+1))=lne3x+ln(x2+1)=3x+ln(x2+1), since ln and exp undo each other. Then h′(x)=3+x2+12x. Without the simplification one needs the chain rule, the product rule and a fraction to simplify at the end: e3x(x2+1)3e3x(x2+1)+2xe3x, which reduces to the same thing. Simplifying first is not an elegance, it removes the places where marks are lost.
d)
No. ln(x2) is defined wherever x2>0, that is for all x=0, while 2lnx needs x>0. The correct law is ln(x2)=2ln∣x∣: the two functions agree for x>0 (the blue branch) and only ln(x2) has the orange branch on the left. Their derivatives: dxdln(x2)=x22x=x2 for all x=0, and dxd2lnx=x2 for x>0. The same formula, on different domains: at x=−1, the first has derivative −2 and the second does not exist.
e)
At x=0 the fraction equals 321⋅27>0, so k is defined near 0. In general the three factors do not have a fixed sign, so the law is written with absolute values: k(x)=2ln∣x+1∣+3ln∣x+3∣−5ln∣x+2∣, valid wherever the fraction is positive. By dxdln∣u∣=uu′: k′(x)=x+12+x+33−x+25, so k′(0)=2+1−25=21. Near x=0 the absolute values are harmless, but at x=−4, where the fraction equals −329⋅(−1)=329>0 and k is defined, writing ln(x+1) would be the logarithm of −3.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 3: Logarithmic differentiation of a heavy product or quotient
8 answers to check
Logarithmic differentiation, in four steps: take ln∣y∣ of both sides; expand the right side with the laws of logarithms; differentiate both sides, the left side giving yy′ by the chain rule; multiply by y. The absolute value makes the method valid wherever y=0, even where y is negative.
The method replaces the product and quotient rules by a sum of RELATIVE rates uu′, one per factor.
a) For x>0, let y=(x+1)3x(x+3)2. Find yy′ by logarithmic differentiation.
b) Compute y(1) and y′(1), and give the tangent line to this curve at x=1.
c) Let y=(x+1)2(x−2)3. Why must you use ln∣y∣ here? Compute y′(0) by logarithmic differentiation, then check it with the quotient rule.
d) For the function of c), write y′ as a single fraction and find every point where the tangent is horizontal. Why is x=2 invisible in the formula y′=y(x−23−x+12)?
e) For positive differentiable f and g, use logarithmic differentiation to prove the product rule and the quotient rule.
Show the solution
Answers
a)yy′=2x1+x+32−x+13
b)y(1)=2, y′(1)=−1; tangent y=−x+3
c)y<0 for x<2 (x=−1), so lny is undefined there; y′(0)=28
d)y′=(x+1)3(x−2)2(x+7); horizontal tangents at (−7,−481) and (2,0)
For x>0, y>0, and lny=21lnx+2ln(x+3)−3ln(x+1). Differentiate both sides with respect to x. On the left, lny is a composition whose inner function is y(x), so the chain rule gives yy′; on the right, term by term: yy′=2x1+x+32−x+13. Each term is the relative rate of one factor, multiplied by its exponent: the square root contributes 21, the denominator contributes with a minus sign.
b)
y(1)=81⋅16=2. From a): y(1)y′(1)=21+42−23=−21, so y′(1)=2⋅(−21)=−1. Tangent: y=2−(x−1)=−x+3. The most common loss here is to stop at yy′=−21 and call it the slope: the last step, multiplying by y, is part of the method, and forgetting it gives the relative rate instead of the derivative.
c)
For x<2, (x−2)3<0 while (x+1)2>0, so y<0 on that whole region (except at x=−1, excluded): lny does not exist there, in particular at x=0 where y=−8. Use ln∣y∣=3ln∣x−2∣−2ln∣x+1∣; differentiating, yy′=x−23−x+12, valid wherever y=0. At x=0: yy′=−23−2=−27, so y′(0)=−8⋅(−27)=28. Quotient rule check: y′=(x+1)43(x−2)2(x+1)2−2(x+1)(x−2)3, and at 0: 13⋅4⋅1−2⋅1⋅(−8)=12+16=28. The two methods agree, as they must.
d)
Put the bracket over a common denominator: x−23−x+12=(x−2)(x+1)3(x+1)−2(x−2)=(x−2)(x+1)x+7. Then y′=(x+1)2(x−2)3⋅(x−2)(x+1)x+7=(x+1)3(x−2)2(x+7). This simplified formula is valid for every x=−1, including x=2. It vanishes at x=2 and at x=−7: horizontal tangents at (2,0) and at (−7,36(−9)3)=(−7,−481). The formula y′=y(…) was derived by dividing by y, which is illegal where y=0: the point x=2 is lost by the method and recovered only by simplifying. The figure shows the curve negative on the whole left part, and flat at both points.
e)
Let P=fg>0. Then lnP=lnf+lng, and differentiating, PP′=ff′+gg′. Multiply by P=fg: P′=f′g+fg′, the product rule. With Q=gf: lnQ=lnf−lng, so QQ′=ff′−gg′, and Q′=gf(ff′−gg′)=gf′−g2fg′=g2f′g−fg′, the quotient rule. In words: relative rates ADD under a product and SUBTRACT under a quotient. That sentence is the whole method.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 4: A variable in the base AND in the exponent: x to the x and its relatives
13 answers to check
The power rule dxdxn=nxn−1 needs a CONSTANT exponent. The exponential rule dxdex=ex, and its cousin for bx, need a CONSTANT base. When the variable sits in both places, neither rule applies, and the logarithm is the only way in: lny=(exponent)⋅ln(base) turns the power into a product.
Two students differentiate y=xx for x>0. The first writes y′=x⋅xx−1=xx, the second writes y′=xxlnx.
a) Find the correct y′ by logarithmic differentiation, then show that both students are wrong by comparing the three answers at x=1 and at x=e.
b) Find the point where the tangent to y=xx is horizontal, and the tangent line at x=1.
c) On (0,π), differentiate y=(sinx)x and show that its tangent at x=2π is horizontal.
d) For x>0, differentiate y=xlnx and compute y′(e).
e) Differentiate xe, ex, ee and xx, naming the rule each time, and evaluate the four derivatives at x=e.
Show the solution
Answers
a)y′=xx(lnx+1); at x=1 it equals 1, while the students get 1 and 0: the first is right only by accident at x=1 and wrong at x=e (ee against 2ee).
b)Horizontal tangent at (e1,e−1/e); tangent at x=1: y=x
c)y′=(sinx)x(ln(sinx)+xcotx); at 2π: 1⋅(0+0)=0
d)y′=x2lnxxlnx, y′(e)=2
e)exe−1, ex, 0, xx(lnx+1); at x=e: ee, ee, 0, 2ee
a)
For x>0, y>0, and lny=xlnx. Differentiate both sides: on the left the chain rule gives yy′; on the right the PRODUCT rule gives 1⋅lnx+x⋅x1=lnx+1. So y′=y(lnx+1)=xx(lnx+1). At x=1: y′(1)=1⋅(0+1)=1. The second student gets 11ln1=0: wrong. The first gets 11=1, right by accident; test at x=e instead, where the correct value is ee(1+1)=2ee and the first student's is ee. Each student applied a rule outside its hypotheses: the first treated the exponent as a constant, the second treated the base as a constant. The correct answer is exactly the SUM of their two answers, one term per place where x appears.
b)
y′=xx(lnx+1) and xx>0, so y′=0 exactly when lnx=−1, that is x=e−1=e1. There y=(e1)1/e=e−1/e: the horizontal tangent is at (e1,e−1/e). At x=1: y(1)=1 and y′(1)=1, so the tangent is y=1+(x−1)=x. The figure shows both tangents: the curve dips to its low point at x=e1, then crosses back up through (1,1) with slope 1.
c)
On (0,π), sinx>0, so lny=xln(sinx) is defined. Product rule on the right, with the chain rule on ln(sinx), inner function sinx: yy′=ln(sinx)+x⋅sinxcosx. Hence y′=(sinx)x(ln(sinx)+xcotx). At x=2π: sin2π=1, so ln1=0, and cot2π=0: y′=1⋅(0+0)=0. The tangent is horizontal at (2π,1). Outside (0,π) the base is negative or zero and (sinx)x is not even defined for most x: the interval is part of the question.
d)
For x>0: lny=lnx⋅lnx=(lnx)2. Chain rule on the right, outer function the square, inner function lnx: yy′=2lnx⋅x1. So y′=x2lnxxlnx. At x=e: y(e)=elne=e1=e and yy′=e2, so y′(e)=e⋅e2=2. Note that (lnx)2 is NOT ln(x2)=2lnx: confusing them here gives yy′=x2, and y′(e)=2 by coincidence at x=e but a wrong derivative almost everywhere else: at x=e2 the true value is e24⋅e4=4e2 against e22⋅e4=2e2.
e)
xe: constant exponent e, power rule, exe−1. ex: its own derivative, ex. ee: a CONSTANT, a number close to 15, derivative 0. xx: variable base and exponent, logarithmic differentiation, xx(lnx+1). At x=e: e⋅ee−1=ee, then ee, then 0, then ee⋅2=2ee. The first two coincide at x=e, a nice fact and nothing more; the third is the one most often got wrong, by students who apply the power rule to a number. Before differentiating any power, ask two questions: does the base contain x? Does the exponent contain x? Two yes answers mean: take the logarithm.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 5: The number e as a limit, read as the derivative of ln at 1
6 answers to check
By the definition of the derivative, dxdlnxx=1=limh→0hln(1+h)−ln1, and this derivative is known: it equals 11=1. Read backwards, a derivative that is already known EVALUATES a limit, with no new tool. The exponential is continuous, so a limit can be passed through it: if g(x)→L, then eg(x)→eL.
The figure shows y=lnx, its tangent at (1,0), and a secant from (1,0) to (1+h,ln(1+h)) with h=2.
a) Explain, on the figure, why limh→0hln(1+h)=1, then prove it from the definition of the derivative.
b) Deduce that limx→0(1+x)1/x=e.
c) Find limx→0(1+3x)1/x and limx→0(1−2x)1/x.
d) Recognize each limit as a derivative and evaluate it: limh→0hln(e+h)−1 and limh→0hlog10(1+h).
e) A student writes: (1+x)1/x and (1+x2)1/x both have the form 1∞ as x→0, so they have the same limit. Find limx→0(1+x2)1/x and conclude.
Show the solution
Answers
a)hln(1+h) is the slope of the secant, which tends to the slope of the tangent, dxdlnxx=1=1.
b)ln[(1+x)1/x]=xln(1+x)→1, so (1+x)1/x→e1=e
c)e3 and e−2
d)e1 (derivative of ln at e) and ln101 (derivative of log10 at 1)
e)(1+x2)1/x→e0=1=e: the same form, two different limits.
a)
(1+h)−1ln(1+h)−ln1=hln(1+h) is the slope of the secant drawn in green, from (1,0) to (1+h,ln(1+h)). As h→0, from either side, the secant turns into the tangent at (1,0), whose slope is the derivative of ln at 1. By definition of the derivative, limh→0hln(1+h)−ln1=dxdlnxx=1, and since dxdlnx=x1, this equals 1. Nothing else is needed: the limit is a derivative in disguise. On the figure, with h=2 the secant slope is 2ln3, about 0.55, smaller than 1 because the curve bends down.
b)
Let F(x)=(1+x)1/x, defined for x>−1, x=0. Its logarithm is lnF(x)=x1ln(1+x)=xln(1+x), which tends to 1 as x→0 by a), from both sides. Since F(x)=elnF(x) and the exponential is continuous at 1, F(x)→e1=e. The last step is the one that earns the mark: a student who stops at lnF→1 and answers 1 has found the limit of the LOGARITHM. Never answer 1 because the base tends to 1: the exponent x1 blows up at the same time, and it is the logarithm that measures the contest.
c)
ln[(1+3x)1/x]=xln(1+3x)=3⋅3xln(1+3x). With u=3x, u→0 as x→0, and uln(1+u)→1 by a). So the logarithm tends to 3 and the limit is e3. Similarly xln(1−2x)=−2⋅uln(1+u) with u=−2x→0, which tends to −2: the limit is e−2. The coefficient of x inside the parenthesis moves to the exponent of e, sign included. Forgetting to multiply and divide by 3 gives e for both, a very common answer.
d)
limh→0hln(e+h)−1=limh→0hln(e+h)−lne, since lne=1: it is the derivative of ln at a=e, that is e1. For the second, log101=0, so hlog10(1+h)=hlog10(1+h)−log101 is the difference quotient of log10 at 1, and dxdlog10x=xln101 gives ln101. The skill is to spot the three ingredients: a function, a point a, and f(a) subtracted, sometimes hidden as 1 or 0.
e)
ln[(1+x2)1/x]=xln(1+x2)=x⋅x2ln(1+x2). With u=x2→0, uln(1+u)→1, and the factor x→0, so the logarithm tends to 0⋅1=0 and the limit is e0=1. The form 1∞ is the same as in b), and the limit is 1 instead of e: the form alone decides nothing. What decides is how fast the base approaches 1 compared with how fast the exponent grows, and only the logarithm computes that. The student's rule would give a single answer to all these limits, and they have three different ones already in this exercise.
Points are earned before the solution; after it, you can keep practising.
For you:
Part B: problems and reasoning (/50)
Exercise 6: Bacterial growth: the constant k is a relative rate, not a percentage
5 answers to check
A quantity grows exponentially when its rate of change is proportional to its size: dtdP=kP. The course takes as given that the solutions of this equation are exactly the functions P(t)=P0ekt, where P0=P(0). Dividing by P, the law says PP′=k: the RELATIVE growth rate is constant.
A bacterial culture grows at a rate proportional to its size, t in hours. It contains 500 bacteria at t=0 and 2000 at t=2. The figure shows the two counts on the growth curve.
a) Find k exactly, with its unit.
b) Find the population at t=5 hours.
c) Find the rate of growth of the population at t=5, with its unit.
d) When does the population reach 64000 bacteria?
e) The culture doubles every hour. A student concludes that k=1, since the population gains 100% per hour. Explain why k=ln2, and what k measures.
Show the solution
Answers
a)k=2ln4=ln2 per hour
b)P(5)=500⋅25=16000 bacteria
c)P′(5)=16000ln2 bacteria per hour (about 11000)
d)t=7 hours
e)k=PP′ is the instantaneous relative rate; doubling in one hour means ek=2, so k=ln2<1.
a)
P(t)=500ekt. The second datum: 500e2k=2000, so e2k=4, and taking ln of both sides, 2k=ln4=2ln2. Hence k=ln2 per hour, and the model is P(t)=500etln2=500⋅2t. The unit of k is the inverse of the time unit, here per hour, since kt must be a pure number. Keep ln2: a decimal k=0.69 would propagate a rounding error through every later answer, and the exact form gives the powers of 2 that make the rest computable by hand.
b)
P(5)=500e5ln2=500⋅25=500⋅32=16000 bacteria. The law of logarithms e5ln2=eln(25)=25 does the work: with k kept exact, no calculator is needed.
c)
The rate of growth is the derivative, and the model gives it without differentiating anything new: P′(t)=kP(t), so P′(5)=ln2⋅16000=16000ln2 bacteria per hour. With ln2≈0.69 that is about 11000 bacteria per hour, which is plausible: the population is growing by about two thirds of its current size per hour at that instant. A common slip is to answer P(5)=16000: the question asks for a RATE, and a rate has the unit bacteria per hour.
d)
500⋅2t=64000 gives 2t=128=27, so t=7 hours. In general, take ln: tln2=ln128=7ln2, the same answer. Check: from 500, seven doublings give 500⋅128=64000.
e)
Doubling in one hour means P(t+1)=2P(t), that is ek(t+1)=2ekt, so ek=2 and k=ln2, about 0.69, not 1. The two numbers answer different questions. The 100% is the gain over one whole hour, compared with the size at the START of that hour. The constant k=PP′ is the INSTANTANEOUS relative rate: at each moment the population grows at ln2 times its current size per hour, and since the size keeps increasing during the hour, a smaller instantaneous rate is enough to double it. With k=1 the population would be multiplied by e≈2.72 each hour, not by 2. This confusion is the most frequent error of the chapter, and it contaminates every numerical answer that follows.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 7: Radioactive decay: the rate of decay and the tangent that always lands 30/ln 2 later
6 answers to check
A radioactive isotope decays at a rate proportional to the mass present: dtdm=km, with k<0, so m(t)=m0ekt by the result of the course. The HALF-LIFE is the time after which half of any sample remains; it does not depend on the size of the sample.
A sample contains 80 mg of an isotope whose half-life is 30 years, t in years.
a) Find k exactly, and explain its sign.
b) Find the mass left after 90 years.
c) At what rate is the sample losing mass when 20 mg remain? When does that happen?
d) When will 5 mg remain? When will 1 mg remain? Give exact answers.
e) Show that the tangent line to the graph of m at ANY time a meets the t axis at t=a+ln230.
Show the solution
Answers
a)k=−30ln2 per year, negative because the mass decreases
b)m(90)=10 mg
c)m′=−32ln2 mg per year, at t=60 years
d)5 mg at t=120 years; 1 mg at t=ln230ln80 years (about 190)
e)Tangent y=m(a)[1+k(t−a)] vanishes at t=a−k1=a+ln230, for every a.
a)
m(30)=40: 80e30k=40, so e30k=21 and 30k=ln21=−ln2. Hence k=−30ln2 per year, and m(t)=80e−tln2/30=80⋅2−t/30. The sign is forced: dtdm=km with m>0 and a decreasing mass requires k<0. A positive k here is a model of growth, and every answer below would come out above 80 mg, which a quick look catches.
b)
m(90)=80⋅2−90/30=80⋅2−3=10 mg. Ninety years are three half-lives, and each one halves the mass: 80,40,20,10.
c)
The rate of change is m′(t)=km(t). When m=20: m′=−30ln2⋅20=−32ln2 mg per year, about −0.46 mg per year. The sample loses mass at 32ln2 mg per year; the negative sign of m′ says it is a loss, and writing the rate as positive without saying losing is a sign error. It happens when 80⋅2−t/30=20, 2−t/30=2−2, t=60 years. The rate is proportional to the mass: at t=0 it was four times larger, −38ln2 mg per year.
d)
80⋅2−t/30=5 gives 2−t/30=161=2−4, so t=120 years. For 1 mg: 2−t/30=801; take ln: −30tln2=−ln80, so t=ln230ln80 years. That is the exact answer. As an order of magnitude, 80 lies between 26=64 and 27=128, so t is between 180 and 210 years, about 190. Answering 80⋅30=2400 years or 3080 confuses decay by halving with decay by subtraction.
e)
At t=a the point is (a,m(a)) and the slope is m′(a)=km(a). Tangent: y=m(a)+km(a)(t−a)=m(a)[1+k(t−a)]. Since m(a)>0, it vanishes when 1+k(t−a)=0, that is t=a−k1=a+ln230, about a+43 years. The delay −k1 does not depend on a: the figure shows three tangents, at t=0, 30 and 60, each reaching the axis the same ln230 years later. This is the geometric face of mm′=k: at every point the curve falls at the same RELATIVE rate, so its tangents are copies of each other scaled vertically.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 8: Five statements to correct
5 answers to check
Each statement below was written by a student on a MATH 140 assignment, and each is false. Say what is wrong, give the correct result, and check it on a value.
a) dxdln(5x)=x5.
b) dxdlog3x=3x1.
c) dxd(lnx)2=dxdln(x2)=x2.
d) If f(x)=ln(x−3), then f′(x)=x−31, so f′(1)=−21.
e) If y′=0.05y, the quantity y grows by exactly 5% per unit of time.
Show the solution
Answers
a)False: ln(5x)=ln5+lnx, derivative x1.
b)False: xln31.
c)False: dxd(lnx)2=x2lnx; only ln(x2) has derivative x2.
d)False: 1 is not in the domain x>3, so f′(1) does not exist.
e)False: y is multiplied by e0.05 per unit of time, a gain slightly MORE than 5%.
a)
FALSE. The chain rule with inner function u=5x gives uu′=5x5=x1: the 5 cancels. Faster: ln(5x)=ln5+lnx, and ln5 is a constant with derivative 0. The graph of ln(5x) is the graph of lnx shifted UP by ln5, so both have the same slope at every x; at x=1 both slopes are 1, not 5. Correct: dxdln(cx)=x1 for any constant c>0.
b)
FALSE. log3x=ln3lnx, so its derivative is xln31. The base enters through ln3, not through a factor 3. Check at x=1: log3 grows from 0 at x=1 to 1 at x=3, an average slope of 21 on [1,3], and the slope at 1 must be larger, since the curve bends down; ln31 is a little below 1, while 31 is smaller than the average slope. Correct: dxdlogbx=xlnb1.
c)
FALSE. (lnx)2 is the square of the logarithm, while ln(x2) is the logarithm of the square; the law ln(ar)=rlna applies only to the second. By the chain rule, outer function the square and inner function lnx: dxd(lnx)2=2lnx⋅x1=x2lnx. At x=1 it is 0, while x2=2. Correct: dxd(lnx)2=x2lnx and dxdln(x2)=x2.
d)
FALSE. ln(x−3) is defined only for x>3, so f does not exist at x=1, and neither does f′(1). The formula x−31 is a correct derivative, but only on the domain of f, and plugging a number outside that domain produces a value about nothing. Correct: f′(x)=x−31 for x>3, and f′(1) is undefined. By contrast, ln∣x−3∣ is defined at 1 and its derivative there is indeed −21.
e)
FALSE. y′=0.05y gives y=y0e0.05t, so after one unit of time y is multiplied by e0.05, not by 1.05. The constant 0.05 is the instantaneous relative rate yy′, and since the quantity it applies to keeps growing during the unit of time, the gain over the whole unit is larger: ex>1+x for every x=0, because the graph of ex lies above its tangent line y=1+x at 0. So the gain is slightly more than 5%, about 5.1%. Correct: y grows at the relative rate of 5% per unit of time, and by a factor e0.05 per unit.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 9: Newton's law of cooling: the gap with the room decays, not the temperature
8 answers to check
Newton's law of cooling says that an object cools at a rate proportional to the DIFFERENCE between its temperature and that of its surroundings: dtdT=k(T−Ts). The difference D=T−Ts then satisfies D′=kD, so it decays exponentially, and we take as given the formula T(t)=Ts+(T0−Ts)ekt.
A bowl of soup at 85 °C is left in a room at 21 °C, t in minutes. Five minutes later it is at 53 °C. The figure shows the two readings and the room temperature.
a) Find k exactly.
b) Find the temperature of the soup at t=15 minutes.
c) Find the rate of cooling at t=0 and at t=15, and compare them.
d) When does the soup reach 25 °C?
e) A classmate models the soup by T(t)=85ect and fits c on the reading at t=5. Find what her model predicts at t=15, and explain the two mistakes.
Show the solution
Answers
a)k=−5ln2 per minute
b)T(15)=21+64⋅81=29 °C
c)T′(0)=−564ln2 and T′(15)=−58ln2 °C per minute: eight times slower
d)t=20 minutes
e)Her model predicts 852533=7225148877<21 °C at t=15, colder than the room: it ignores Ts and assumes a constant relative rate for T instead of T−Ts.
a)
Here Ts=21 and T0−Ts=85−21=64, so T(t)=21+64ekt. At t=5: 21+64e5k=53, so 64e5k=32, e5k=21, and 5k=−ln2: k=−5ln2 per minute. The model becomes T(t)=21+64⋅2−t/5: the GAP with the room halves every 5 minutes. The classic loss is to write 85e5k=53, forgetting that the exponential carries the gap and not the temperature.
b)
T(15)=21+64⋅2−3=21+8=29 °C. Three halvings of the gap: 64,32,16,8.
c)
By the law itself, T′(t)=k(T(t)−21), no new differentiation needed. At t=0: T′(0)=−5ln2⋅64=−564ln2 °C per minute, about −8.9. At t=15: T′(15)=−5ln2⋅8=−58ln2 °C per minute, about −1.1. The ratio is 8, the ratio of the gaps: the soup cools fast when it is much hotter than the room, and slower and slower as the gap closes, which is the flattening of the curve toward the dashed line on the figure.
d)
21+64⋅2−t/5=25 gives 2−t/5=644=161=2−4, so 5t=4 and t=20 minutes. Note that the soup NEVER reaches 21 °C in this model: the gap halves forever without vanishing, and a question asking when it reaches 21 °C has no answer.
e)
From 85e5c=53: e5c=8553, so T(15)=85(8553)3=852533=7225148877. Since 21⋅7225=151725>148877, her prediction is BELOW 21 °C: the soup would be colder than the room after a quarter of an hour, which is impossible. First mistake: her model tends to 0 °C as t→∞, as if the room were at 0; it ignores the surroundings. Second mistake, the same one seen from the derivative: she assumes TT′ constant, while the law says T−21T′ is constant. The exponential describes the quantity whose RELATIVE rate is constant, and here that quantity is the gap.
Points are earned before the solution; after it, you can keep practising.
For you:
Exercise 10: Continuous compounding: real growth, doubling times and two accounts that meet
11 answers to check
An account compounded continuously at the annual rate r satisfies dtdA=rA, so, as given in the course, A(t)=A0ert, t in years. The rate r is the relative growth rate AA′ of the balance.
Rates are given as decimals: 5% means r=0.05. All answers exact, as on the final.
a) 1000 dollars are invested at 5% compounded continuously. Find the doubling time and the balance after 20 years.
b) How fast is this balance growing when it reaches 4000 dollars? And at t=0?
c) What continuous rate would triple an investment in 20 years?
d) Prices rise with a continuous inflation rate of 2%, so a price index is I(t)=e0.02t. By logarithmic differentiation, find the relative growth rate of the REAL value R=IA of the account of a), and the time it takes to double in real terms.
e) Account 1 holds 1000 dollars at 6%, account 2 holds 2000 dollars at 4%, both compounded continuously. When do they hold the same amount, and which one is growing faster at that moment, by what factor?
Show the solution
Answers
a)Doubling time 20ln2 years (about 13.9); A(20)=1000e dollars
b)200 dollars per year; 50 dollars per year at t=0
c)r=20ln3 (about 5.5%)
d)RR′=0.05−0.02=0.03; real doubling time 3100ln2 years (about 23)
e)At t=50ln2 years, both at 8000 dollars; account 1 grows 1.5 times faster (480 against 320 dollars per year).
a)
1000e0.05t=2000 gives e0.05t=2, 0.05t=ln2, t=0.05ln2=20ln2 years, about 13.9. The doubling time does not depend on the amount invested, only on r: in general it is rln2. After 20 years: A(20)=1000e0.05⋅20=1000e dollars, about 2718 dollars. Leaving e in the answer is the exact form; 1000⋅1.0520 would be ANNUAL compounding, a different account.
b)
A′=rA, so when A=4000: A′=0.05⋅4000=200 dollars per year. At t=0: A′(0)=0.05⋅1000=50 dollars per year. The growth rate in dollars per year is proportional to the balance, while the relative rate stays 5%: that is exactly what continuous compounding means.
c)
e20r=3, so 20r=ln3 and r=20ln3. With ln3≈1.10, that is about 0.055, or 5.5%. The answer 203=15% divides the target factor by the time, as if growth were linear, and a quick check kills it: at 15% the doubling time would be 0.15ln2, under five years.
d)
lnR=lnA−lnI=ln1000+0.05t−0.02t. Differentiate: RR′=0.05−0.02=0.03. Relative rates SUBTRACT under a quotient, which is the whole content of logarithmic differentiation, so the real value grows at 3%: R(t)=1000e0.03t. Its doubling time is 0.03ln2=3100ln2 years, about 23 years instead of 13.9. Inflation does not remove a fixed number of dollars per year; it removes 2 points of relative rate.
e)
1000e0.06t=2000e0.04t gives e0.02t=2, so t=0.02ln2=50ln2 years, about 35. Both hold 2000e0.04⋅50ln2=2000e2ln2=2000⋅4=8000 dollars. At that moment A1′=0.06⋅8000=480 and A2′=0.04⋅8000=320 dollars per year: equal balances, so the rates are in the ratio of the relative rates, 0.040.06=1.5. Account 1 started with half as much and catches up because its relative rate is larger; from then on it pulls ahead for good, as the figure shows.
Points are earned before the solution; after it, you can keep practising.
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.