Study material generated by AI from this openly licensed book (CC BY-SA 4.0). Not affiliated with or endorsed by the publisher.
Precalculus: An Investigation of Functions, by David Lippman and Melonie Rasmussen, licensed under CC BY-SA 4.0. Read the original free This shelf’s study material is shared under the same license (CC BY-SA 4.0).
Loading…
Chapter 8 · pp. 259–346
Chapter 4: Exponential and Logarithmic Functions
This chapter studies quantities that change by a fixed percent instead of a fixed amount. It starts with exponential functions, compound interest and continuous growth. It then moves to their graphs and to logarithms, the inverse functions that let us solve for an exponent. The last sections cover log properties, log graphs, real-world models (half-life, doubling time, cooling, earthquakes, pH) and fitting exponentials to data.
Linear Growth versus Percent Growth
In linear growth, the output goes up by the same amount for every step in the input. A percent rate of change is different, because the amount added depends on how big the quantity already is. (p. 259)
Compare two companies that each start with 100 stores:
Company A opens 50 new stores every year: 100, 150, 200, 250.
Company B grows by 50% of its current total every year: 100, 150, 225, 337.5.
A adds 50 stores each year. B adds 50, then 75, then 112.5, because each year's gain is 50% of a larger total. (pp. 259–260)
There is a shortcut for B. Adding 50% of a number is the same as multiplying it by 1+0.50=1.5. After n years, B has 100(1.5)n stores. (p. 260)
The Exponential Function
An exponential function has a constant percent rate of change. It can be written in either of two equivalent forms:
f(x)=a(1+r)xorf(x)=abx with b=1+r
a is the starting value.
r is the percent growth or decay rate, written as a decimal.
b is the growth factor, the number you multiply by each period. (pp. 260–261)
We only allow b>0. Powers of negative numbers flip between positive and negative values, so they do not describe smooth growth or decay. For example, a 1.34% yearly growth gives b=1.0134, and a 13% yearly decay gives b=0.87. (pp. 261, 263)
Modeling with a percent rate. Set the starting time to t=0, take a as the starting value, write r as a decimal, and then evaluate at the time you need. India's population was 1.14 billion in 2008 and grew 1.34% a year, so
P(t)=1.14(1.0134)t.
For 2020, use t=12: P(12)≈1.337 billion. (p. 261)
How to spot an exponential situation. Ask whether the change is a fixed percent or a fixed amount. A 3.1% yearly raise is exponential, because each raise is a percent of the current salary. A $300 raise every year is linear, because the same amount is added each time. (p. 262)
Compounding Periods and Decay
If an annual rate is compounded monthly, divide the rate by 12 and count time in months. A 1.2% annual rate gives 1.2%/12=0.1% per month, so
f(m)=1000(1.001)m.
After 24 months, the 1000growstoabout1024.28. (p. 262)
Exponential decay is the case where r is negative. Then b=1+r lies between 0 and 1. Bismuth-210 loses about 13% each day, so r=−0.13 and Q(d)=100(0.87)d. The factor 0.87 is the 87% that remains each day. After 7 days, about 37.73 mg of the original 100 mg is left. (p. 263)
Reading an equation. To interpret T(q)=86(1.64)q, where T is in thousands of contracts and q is in quarters:
a=86 means 86,000 contracts at the start.
b−1=0.64 means 64% growth each quarter.
T(2)≈231.3 means about 231,306 contracts at the end of quarter 2. (p. 263)
Finding an Exponential Equation from Data
Starting value plus one more point. If you measure time from the first data point, you get a for free. The deer population went from 80 in 2009 to 180 in 2015. With t in years after 2009, the points are (0,80) and (6,180). Then 180=80b6, so b6=49 and b=(9/4)1/6≈1.1447. That is about 14.47% growth per year. (pp. 263–264)
Do not over-round. Early rounding distorts later predictions, especially for large inputs. Keep at least three significant digits in the growth rate. A factor like 1.00317643 should be rounded no further than 1.00318. (p. 264)
Two points, initial value unknown. Substitute both points into y=abx and solve the two equations together. For (−2,6) and (2,1):
6=ab−2,1=ab2.
The first equation gives a=6b2. Putting that into the second gives 1=6b4, so b4=61 and b≈0.6389. Then a=6b2≈2.449. (pp. 265–266)
Reading from a graph. Any two clearly readable points are enough. From (1,2) and (3,4) we get 2=ab and 4=ab3. Dividing the second by the first gives b2=2. Only the positive root is allowed, so b=2. Then a=2/2=2, and f(x)=2(2)x. (p. 266)
Compound Interest
In compound interest, earnings are reinvested, so interest is paid on the accumulated balance and not only on the original amount. If the annual rate (APR, or nominal rate) is r in decimal form, and interest is added k times a year, each period earns r/k. Over t years there are kt periods, so
A(t)=a(1+kr)kt.
Here a is the principal and t is in years. (p. 267)
Example. Invest 3000at3k=4$) for 10 years:
A(10)=3000(1+40.03)40≈$4045.05.
(p. 267)
Investing now to hit a target. Put the target in for A(t) and solve for a. To have $40,000 after 18 years at 6% compounded twice a year:
40000=a(1+20.06)36=a(1.03)36≈a(2.8983).
Dividing gives a\approx\13{,}801$. (p. 268)
More Frequent Compounding and APY
Compounding more often raises the balance, but each step up adds less. For $1000 at 10% for one year:
Compounding
Balance after 1 year
Annually
$1100
Semiannually
$1102.50
Quarterly
$1103.81
Monthly
$1104.71
Daily
$1105.16
Moving from annual to semiannual adds 2.50,butmovingfrommonthlytodailyaddsonlyabout0.45. (pp. 268–269)
Because of compounding, the real yearly increase is more than the APR. The annual percentage yield measures it:
APY=(1+kr)k−1.
This is the value of $1 after one year, minus the original dollar. At 10% compounded daily, the APY is about 10.516%, which is above the 10% APR. (pp. 268–269)
Comparing savings offers. Work out the APY of each offer and choose the larger one. Bank A pays 1.2% compounded quarterly, so its APY is about 1.2054%. Bank B pays 1.1% compounded monthly, so its APY is about 1.1056%. Bank A is the better deal, because more frequent compounding at a lower rate does not make up the gap. (p. 269)
Euler's Number and Continuous Growth
Imagine 1earning1002. Monthly it becomes about 2.613035.Dailyitisabout2.714567, and every second it is about 2.718282.Thebalancesleveloff.ThenumbertheyapproachiscalledEuler′snumber,e\approx2.718282.Itisthevaluethat\left(1+\frac1k\right)^kapproachesaskgetsverylarge.Calculatorshaveane^x$ key for it (p. 270).
Because e appears when compounding happens at tiny intervals, it gives us the continuous growth model:
f(x)=aerx
Here a is the starting amount and r is the continuous rate. A negative r means decay. This form suits smoothly changing things such as chemical reactions, large populations and radioactive decay (p. 270).
Example. Radon-222 decays at a continuous 17.3% per day. Starting with 100 mg, after 3 days we have f(3)=100e−0.173(3)≈59.51 mg (p. 271).
The continuous rate behaves like a nominal rate (APR), because it describes growth before compounding. The rate r in a(1+r)x behaves like an APY, because it is the real change over one period. So the two forms use different numbers for the same growth. For 1000at10f(t)=1000e^{0.10t}.Afteroneyearthebalanceis1105.17, a true increase of 10.517%. The same account can be written f(t)=1000(1.10517)t (p. 271).
Graphs of Exponential Functions
Compare f(x)=2x and g(x)=(1/2)x. Both are positive for every x. The function 2x is exponential growth: it climbs faster as x increases and approaches 0 as x decreases. The function (1/2)x is exponential decay. Since (1/2)x=2−x, we get g(x)=f(−x), so each graph is the reflection of the other across the y-axis (p. 277).
For f(x)=abx with a>0:
The vertical intercept is (0,a), and the graph also passes through (1,ab).
The horizontal asymptote is y=0.
The domain is all real numbers and the range is (0,∞).
The graph increases if b>1, decreases if 0<b<1, and is concave up.
(pp. 277–278)
The long run behavior depends on b. If b>1, then f→∞ as x→∞ and f→0 as x→−∞. If 0<b<1, the reverse happens. For f(x)=4(1/3)x, we have b<1. The graph starts at (0,4), passes through (1,4/3), and shrinks toward 0 as x grows (p. 278).
The parameters change the graph in different ways. Changing a stretches the graph vertically and moves the intercept, but the long run behavior stays the same unless a is negative, which flips the graph. A value of b closer to 1 gives a less steep graph. For example, 2(1.3)x and 2(1.8)x both start at (0,2), but the second rises faster (pp. 279–280).
Transformations of Exponentials
Most transformations can be absorbed into a and b:
A horizontal reflection changes b to 1/b (p. 277).
A vertical stretch changes a (p. 280).
A horizontal shift also changes a. Shifting 3(2)x left 4 units gives 3(2)x+4=3⋅24⋅2x=48(2)x (p. 281).
Only a vertical shift gives something new. Every transformed exponential can be written
f(x)=abx+c,
where y=c is the horizontal asymptote and the vertical intercept is (0,a+c). Shifting 3(2)x down 4 gives 3(2)x−4, with asymptote y=−4 (p. 281).
Example. Take f(x)=−3(1/2)x+4. The factor −3 flips the graph over and stretches it. The shift raises the asymptote to y=4. The domain is all reals and the range is (−∞,4). As x→∞, f→4, and as x→−∞, f→−∞. Curves like this model learning or growth that approaches a limit (p. 282).
To find a formula from a graph, first read the asymptote c. Then use two other points. With asymptote y=5 and points (0,2) and (−1,3), the first point gives 2=a+5, so a=−3. The second gives 3=−3b−1+5, so b−1=2/3 and b=1.5. Thus f(x)=−3(1.5)x+5 (p. 283).
Logarithms as Inverses
Suppose 50 flies double every week, so f(x)=50(2)x. When do they reach 500? Dividing by 50 gives 2x=10. Since 23=8 and 24=16, x is between 3 and 4, and a graph suggests about 3.3. Our earlier algebra cannot solve this exactly. Exponentials are one-to-one, so they have inverses, and the inverse is the logarithm (p. 287).
The logarithm base b, written logb(x), is the inverse of bx. Because they undo each other:
logb(bx)=xblogb(x)=x
For example, log3(35)=5 and 10log(7)=7 (p. 287).
The key conversion is that ba=c is equivalent to logb(c)=a. The log gives the exponent. So 23=8 becomes log2(8)=3, and log3(9)=2 becomes 32=9 (pp. 288–289). This solves basic equations. If log2(x)=4, then x=24=16 (p. 289).
Calculators evaluate only two bases. The common log log(x) has base 10, so log(1000)=3 and log(0.01)=−2. The natural log ln(x) has base e. For example, ln(e)=ln(e1/2)=1/2 (pp. 289–290).
Log Properties and Change of Base
The exponent property says logb(Ar)=rlogb(A). It moves an exponent to the front, and it works in either direction. Examples: log3(25)=log3(52)=2log3(5), and ln(x−2)=−2ln(x) (pp. 290–291).
The change of base formula lets us evaluate any base with a calculator:
logb(A)=logc(b)logc(A)
So log2(10)=ln(10)/ln(2)≈3.32. The flies take about 3.32 weeks to grow from 50 to 500 (pp. 291–292).
Solving Exponential Equations
Use these steps (pp. 292–294):
Isolate the exponential expression.
Take a log of both sides.
Use the exponent property to bring the variable down.
Solve with algebra.
Example. For 5(1.07)3t=2, divide by 5 to get (1.07)3t=0.4. Taking logs gives 3tlog(1.07)=log(0.4), so
t=3log(1.07)log(0.4)≈−4.51.
On a calculator, put parentheses around the whole denominator (p. 294).
Population target. India's population (in billions) was modeled by 1.14(1.0134)t, with t in years after 2008. Set it equal to 2 and divide by 1.14. Taking logs gives t=ln(2/1.14)/ln(1.0134)≈42. So the population reaches 2 billion around 2050 (p. 293).
Acidity. The pH is −log[H+], where [H+] is the hydrogen ion concentration in moles per liter. If [H+]=0.0001=10−4, then pH=4. To go backward, a pH of 7 means log[H+]=−7, so [H+]=10−7 moles per liter (p. 294).
Continuous Rates and Periodic Rates
To find a continuous rate from data, use the starting value for a, substitute the second point, divide, and take ln. Suppose a population grows from 100 to 130 in 2 weeks. Then 130=100e2r, so 1.3=e2r. Taking ln gives r=ln(1.3)/2≈0.1312, a continuous rate of 13.12% per week (p. 295).
The two growth forms are linked. Setting (1+r)x=(ek)x gives
1+r=ek.
Here r is the actual percent change per time unit and k is the continuous (nominal) rate (pp. 295–296). For S(t)=5000e0.12t, r=e0.12−1≈0.1275. The annual growth is 12.75%, and the function can also be written 5000(1.1275)t (p. 296).
Combining logs: the sum and difference properties
Earlier properties (inverse, exponent, change of base) cannot solve every log problem. Two more rules handle products and quotients inside a log:
logb(A)+logb(C)=logb(AC)
logb(A)−logb(C)=logb(CA)
The log of a product is the sum of the logs. The log of a quotient is the difference of the logs. Both rules need the same base b on every log. (pp. 299–300)
Why the sum rule works. A log gives an exponent, so let a=logbA and c=logbC. Then A=ba and C=bc. Multiplying gives AC=ba⋅bc=ba+c, because exponents add when you multiply powers of the same base. Now take logb of both sides. The inverse property gives logb(AC)=a+c=logbA+logbC. The difference rule is proved the same way, except you divide and the exponents subtract. (pp. 299–300)
Example (combining). Write log3(5)+log3(8)−log3(2) as one log. The sum rule on the first two terms gives log3(40). The difference rule then gives log3(240)=log3(20). (p. 300)
Example (evaluating). Evaluate 2log(5)+log(4) without a calculator.
The exponent property turns 2log5 into log(52)=log25.
The sum rule gives log25+log4=log100.
Since 100=102, the answer is 2. (p. 300)
A common mistake: the log does not distribute
Many students assume log(A+B)=log(A)+log(B). This is false, because the log is not a linear function. It is a product that becomes a sum: log(AB)=logA+logB.
A quick test: log(10+10)=log20≈1.30, but log10+log10=1+1=2. The two sides are different, so the "rule" fails. (p. 299)
Expanding a log into simpler logs
To break one log into several, work from the outside in. Use the quotient rule first, then the product rule, then the exponent rule.
Expand ln(7x4y):
Quotient rule: ln(x4y)−ln7.
Product rule: ln(x4)+ln(y)−ln7.
Exponent rule: 4lnx+lny−ln7.
Read the same steps backward to combine logs. For example, log28+log24=log232=5, since 25=32. (p. 302)
Why these rules mattered before calculators
Before calculators, people used the log rules to make hard arithmetic easier. Multiplying became adding. Dividing became subtracting. Powers and roots became multiplying and dividing. They looked up logs in printed tables or used slide rules. (pp. 302–303)
To find 2×3 with a table, look up log2=0.3010300 and log3=0.4771213. Their sum is 0.7781513. Searching the table backward shows this is log6, so 2×3=6.
For a cube root, log(81/3)=31log8=31(0.9030900)=0.3010300=log2. So 38=2. (pp. 302–303)
A use in science: doubling the acid concentration
The rules also show how a change in input affects a log output. Since pH=−log[H+], let the original concentration be C and the original pH be P=−logC. If the concentration doubles to 2C, then
pH=−log(2C)=−log2−logC=P−0.301.
Doubling the hydrogen ion concentration lowers the pH by log2≈0.301. Multiplying the input of a log adds a constant to the output. (p. 303)
Solving log equations
One log. Solve log(2x−6)=3. There are two ways to start.
Exponential form. The common log has base 10, so log(A)=B means A=10B. Here 2x−6=103.
Exponentiate both sides. Raise 10 to each side. The inverse property 10logA=A leaves 2x−6=103.
Either way, 2x−6=1000. Add 6 to get 2x=1006, then divide by 2 to get x=503. Check: the inside is 2(503)−6=1000>0, so the answer is valid. (pp. 303–304)
Several logs on one side. First combine them into a single log, then rewrite in exponential form. Solve log(50x+25)−logx=2:
Difference rule: logx50x+25=2.
Exponential form: x50x+25=100.
Multiply by x: 50x+25=100x.
Solve: 25=50x, so x=21.
Check in the original equation. Both 50x+25 and x are positive, so x=21 works. (p. 304)
Logs on both sides. Combine each side into a single log. Then exponentiate both sides, which removes the logs, and solve the algebra. Solve ln(x+2)+ln(x+1)=ln(4x+14):
Sum rule on the left: ln((x+2)(x+1))=ln(4x+14), which is ln(x2+3x+2)=ln(4x+14).
Raise e to both sides: x2+3x+2=4x+14.
Move everything to one side: x2−x−12=0.
Factor: (x−4)(x+3)=0, so x=4 or x=−3. (p. 305)
Extraneous solutions
An extraneous solution comes out of the algebra but lies outside the domain of the original equation. You must discard it. A log can only take a positive input.
In the last example, x=−3 would put ln(−3+2)=ln(−1) in the original equation, and that is undefined. So x=−3 is extraneous. Check x=4: ln6+ln5=ln30 and 4(4)+14=30, so x=4 is the only solution. Always substitute each answer back into the original equation, not the simplified one. (p. 305)
Extraneous Solutions and Solving Exponentials with Variables on Both Sides
When you solve a log equation, the algebra can produce an answer that does not belong. An extraneous solution is an answer that falls outside the domain of the original equation, so it must be thrown out. In the textbook's Example 7, the algebra gave x=−3 and x=4. Putting x=−3 back into the original equation leads to ln(−1), which is undefined. So only x=4 works. Always check log-equation answers in the original equation. (p. 305)
Now consider an exponential equation with the variable in the exponent on both sides: 38.8(1.0264)t=41.3(1.0224)t. This models the populations of two countries (Kenya and Sudan) growing at different rates. We want the time when they are equal.
Method 1: take the log first.
Take the log of both sides.
Use the sum property on each side: log(38.8)+log(1.0264t)=log(41.3)+log(1.0224t).
Use the exponent property to bring t down: log(38.8)+tlog(1.0264)=log(41.3)+tlog(1.0224).
Put the t terms on one side and the constants on the other: tlog(1.0264)−tlog(1.0224)=log(41.3)−log(38.8).
The populations match after about 16 years. (p. 305)
Method 2: do algebra first.
Divide to gather the exponential parts on one side. Then use exponent rules to combine them into one power:
(1.02241.0264)t=38.841.3
Now take one log of both sides, use the exponent property, and divide:
t=log(1.02241.0264)log(38.841.3)≈15.991
This looks different from Method 1, but the difference property of logs turns each log of a quotient into a difference of logs. That gives exactly the Method 1 expression. (pp. 305–306)
Both methods are correct. Isolating the exponential terms first and then taking a single log usually takes fewer steps than expanding everything with log properties. (p. 306)
Example (tanks). Tank A starts with 10 liters and loses 35% each week. Tank B starts with 30 liters and loses 50% each week. So A(t)=10(0.65)t and B(t)=30(0.5)t. Setting them equal and dividing gives (0.50.65)t=3, or (1.3)t=3. Then t=log1.3log3≈4.187 weeks. (p. 307)
The Logarithm as an Inverse: Its Graph
The function g(x)=log2x is the inverse of f(x)=2x. An inverse swaps inputs and outputs. For the exponential, f(3)=8. For the log, g(8)=3. The table for f has x from −3 to 3 and outputs 81,41,21,1,2,4,8. The log table uses those outputs as inputs and gives back −3 to 3. (p. 310)
From the swap, we learn the following:
Domain: Exponentials only output positive numbers, so logs accept only positive inputs. The domain is (0,∞).
Range: Exponentials accept every real input, so logs can output any real number. The range is (−∞,∞).
Shape: The output increases as the input increases, but more and more slowly. That makes the graph increasing and concave down.
Vertical asymptote: As x→0+, g(x)→−∞, so x=0 is a vertical asymptote. As x→∞, g(x)→∞, but slowly.
Intercept: Since b0=1, the graph of logbx always passes through (1,0). (p. 310)
A quick way to sketch a log with base b is to plot (1,0) and (b,1). A larger base makes the graph grow more slowly. The common log, for example, needs an input of 100,000,000 just to reach an output of 8. (p. 311)
Finding the Domain of a Log Function
A log only accepts positive inputs. So set the expression inside the log greater than zero and solve.
Example. For f(x)=log(5−2x), require 5−2x>0. Subtract 5 to get −2x>−5. Dividing by −2 flips the inequality, so x<25. The domain is (−∞,25). (p. 311)
Transformations of Log Graphs
Some log transformations turn out to be the same as others.
Vertical stretch equals change of base. The change of base property gives
logbx=logcblogcx=logcb1logcx
The factor logcb1 is a constant that multiplies logcx. So a vertical stretch or compression is the same as changing the base. For this reason, log graphs are usually written with the common or natural log. (p. 312)
Horizontal stretch or compression equals vertical shift. The sum property gives log(cx)=logc+logx, and logc is just a constant. For example, ln(x)+2=ln(e2x), so the shifted graph can also be seen as a horizontal compression. A horizontal reflection is different. It cannot be rewritten as a vertical shift. (p. 312)
Horizontal shift is unique. No log property rewrites ln(x+2) as another transformation. The graph moves left 2 units, the vertical asymptote moves to x=−2, and the domain becomes (−2,∞). (p. 313)
Sketching a Transformed Log
To sketch f(x)=−5log(−x+2), factor the inside so you can read the transformations:
f(x)=−5log(−(x−2))
This is the common log with a horizontal reflection, a vertical reflection and stretch by 5, and a shift right 2. The asymptote is x=2, and the domain is (−∞,2). Plot a couple of points: f(1)=−5log(1)=0 and f(−8)=−5log(10)=−5. (pp. 313–314)
Writing a Log Equation from a Graph
Any transformed log can be written as
f(x)=alog(x−b)+k
or, if it is horizontally reflected,
f(x)=alog(−(x−b))+k
The vertical asymptote is x=b. Here a is the vertical stretch (which acts like a change of base), k is the vertical shift, and b is the horizontal shift. (p. 314)
Steps:
Read the asymptote to get b.
Substitute a point where the log part is easy (inside equal to 1) to find k.
Substitute a second point to find a.
Example. The graph has asymptote x=−2 and is vertically reflected, so start with f(x)=alog(x+2)+k. The point (−1,1) gives 1=alog(1)+k, so k=1. The point (2,−1) gives −1=alog(4)+1, so a=−log42. The equation is
f(x)=−log42log(x+2)+1=−2log4(x+2)+1
The second form comes from the change of base formula. (pp. 314–315)
Half-life: how fast decay happens
The half-life of a radioactive isotope is the time needed for half of the substance to decay. Start with h(t)=abt and ask when half remains: 21a=abt. The starting amount a cancels, leaving bt=21. So half-life depends only on the decay factor, never on how much you start with. (p. 318)
Finding half-life from a decay rate. Bismuth-210 loses about 13% each day, so Q(d)=a(0.87)d. Set 0.87d=21 and take a log of both sides. The exponent property moves d down:
d=log(0.87)log(1/2)≈4.977 days
The half-life is about 5 days. (pp. 318–319)
Repeated halving. Each time one half-life passes, the amount is cut in half again. Cesium-137 has a half-life of about 30 years. Starting with 200 mg, 100 mg is left after 30 years, 50 mg after 60 years and 25 mg after 90 years. (p. 319)
Finding an annual rate from a half-life. Use Q(t)=a(1+r)t and the fact that half remains at t=30. Then (1+r)30=21. Take the 30th root and subtract 1:
r=(21)1/30−1≈−0.02284
Cesium-137 decays about 2.284% per year. (p. 319)
Carbon-14 dating. Scientists usually use the continuous form Q(t)=aert. Carbon-14 has a half-life of 5730 years, so 21=e5730r. Taking the natural log gives r=5730ln(1/2)≈−0.000121. A bone with 20% of its original carbon-14 satisfies 0.20=e−0.000121t. Solving gives t=−0.000121ln0.20≈13,300 years. (p. 320)
Doubling time: the growth counterpart
The doubling time of a growing quantity is the time it takes to double. For h(t)=abt, set 2a=abt. Again a cancels and you get bt=2, so the starting amount does not matter. (p. 321)
From two data points. A cancerous growth had 300 cells last month and 360 this month. Let t=0 be this month, so the points are (0,360) and (−1,300). Then a=360, and 300=360b−1 gives b=1.2. The model is C(t)=360(1.2)t. Solve 1.2t=2:
t=log1.2log2≈3.802 months
(pp. 321–322)
From a known doubling time. Suppose a website doubles its users every 5 months. In the continuous model N(t)=120ert (thousands of users), doubling in 5 months means 2=e5r. So r=5ln2≈0.1386. After 12 months, N(12)=120e0.1386⋅12≈633 thousand users. In general, doubling time T gives r=Tln2. (p. 322)
Newton's Law of Cooling
A hot object in cooler air loses heat quickly at first and then levels off toward the air temperature. That leveling off is a horizontal asymptote. So the model is a decay curve shifted vertically:
T(t)=aekt+Ts
Here Ts is the surrounding temperature, a is the starting temperature minus Ts, and k is negative for cooling. (p. 323)
Example. A cheesecake leaves the oven at 165°F and goes into a 35°F refrigerator. Then 165=a+35, so a=130. After 10 minutes it is 150°F, so 150=130e10k+35. This gives k=101ln130115≈−0.0123. To reach 70°F, solve 70=130e−0.0123t+35. Isolate the exponential first: e−0.0123t=13035. Then t≈107 minutes. (pp. 323–324)
Logarithmic scales and orders of magnitude
When values range over huge sizes, a normal number line bunches the small ones together. Planet distances from the sun run from 58 to 4500 million km. Their logs run only from about 1.76 to 3.65, so they spread out evenly. A logarithmic scale places the logarithms of the values at equal spacing. (pp. 325–326)
To read a point on a log scale, convert back with a power of 10. A point halfway between −2 and −1 has logV=−1.5, so V=10−1.5≈0.0316. To place 6000, compute log6000≈3.8 and mark that position. (p. 326)
Equal distances mean equal ratios. On a log scale, moving one tick multiplies the value by 10. Compare $1,000,000 with $10,000, and $1000 with $10. Both pairs have a ratio of 100, so both gaps look the same. (p. 327)
One order of magnitude means about ten times larger. The number of orders of magnitude by which A exceeds B is log(BA). For 105 and 102, the ratio is 103 and log(103)=3, so there are 3 orders of magnitude. (p. 327)
Earthquakes and the Moment Magnitude Scale
The Moment Magnitude Scale is often wrongly called the Richter scale. It gives
M=32log(S0S),S0=1016
where S is the seismic moment, a measure of earth movement. To go from magnitude to S, solve for it. For M=6, log(S/S0)=9, so S=109S0. (p. 328)
Magnitude 8 versus 6. Magnitude 8 gives S2=1012S0. The ratio is S2/S1=103=1000. So a rise of 2 in magnitude means 1000 times more earth movement. (pp. 328–329)
Doubling the movement. If S doubles, then
M=32log2+32log(S0S)
The constant 32log2≈0.201 is added to the old magnitude. A magnitude 3.0 quake with twice the movement is about magnitude 3.2. This shows the main feature of any log scale: multiplying the quantity adds to the scale value. (pp. 329–330)
Semi-log graphs and fitting exponentials
A semi-log graph has one axis on a linear scale and the other on a log scale. A log-log graph has both axes logarithmic. (p. 339) Stock charts often use a log vertical axis because it shows percentage change. The Dow fell from about 14,000 to 8,000 in 2008, about 43%. It fell from 380 to 42 from 1929 to 1932, about 89%. The dollar drop was smaller, but the percentage drop was much larger. (pp. 338–339)
Why exponentials look straight. For f(x)=abx, the sum and exponent properties give
logf(x)=loga+xlogb
This is a line in x. Its vertical intercept is loga and its slope is logb. For f(x)=3(2)x, the logs are 0.477 at x=0 and 1.079 at x=2, and these lie on a line. (pp. 339–340)
Going backward. Suppose a semi-log line passes through (0,1) and (4,4). The slope is 43, so logg(x)=1+43x. Rewrite this as a power of 10:
g(x)=101(103/4)x≈10(5.623)x
(pp. 340–341)
Linearization. To fit an exponential when a tool only does linear regression:
Take the log of every output.
Fit a line to the pairs (input, log output), giving logf(x)=b+mx.
Solve for f(x)=10b(10m)x.
(p. 341) Applied to import data, this gave V(t)=90.545(1.2078)t, which predicts about 722 billion dollars in 2011. (p. 343)
A caution. Hard drive costs fit logC=2.794−0.231t, with t in years after 1980. This gives C(t)=622(0.5877)t, a drop of about 41% per year. But the model predicts $622.3 per MB in 1980, while the actual cost was $192.31. The fit matches only in order of magnitude, so be careful when predicting from it. (pp. 342–343)
Check yourself
A substance has a half-life of 12 days. Write an equation for the decay factor per day and solve for it.
Solve 2x=10 using logarithms, then explain why earlier algebra could not solve it.
Two banks offer 4% compounded monthly and 4.05% compounded yearly. How can you decide which gives more, and what does the APY formula do here?
A quantity has the form f(x)=5(3)x. Explain why its graph is a straight line on a semi-log plot, and give the slope and intercept.
An earthquake's movement becomes 10 times larger. By how much does the magnitude change on the Moment Magnitude Scale?