Exponential and logarithmic models

IB Math AI · Functions

The three-parameter exponential model

$$f(t)=k\,a^{t}+c\quad\text{or}\quad f(t)=k\,e^{rt}+c$$

Here $c$ is the horizontal asymptote, $k$ is the initial gap between $f(0)$ and $c$, and $a$ (or $r$) controls the speed. Growth needs $a>1$, decay needs $0\lt a<1$.

Newton's law of cooling is exactly this model with $c=$ ambient temperature:

$$T(t)=T_{\text{amb}}+(T_{0}-T_{\text{amb}})e^{-kt}$$

Doubling time and half-life

$$a^{t}=2\Rightarrow t=\frac{\ln 2}{\ln a},\qquade^{-kt}=\tfrac12\Rightarrow t=\frac{\ln 2}{k}$$

Straightening a curve with logarithms

Two different plots test two different models.

Whichever plot is straight identifies the model, and its gradient and intercept give the parameters. This is the standard HL technique for deciding between exponential and power growth from data.

T = 24 (nhiệt độ phòng) 0 5 10 15 20 30 40 thời gian t (phút) 92° 55° nhiệt độ (°C) T = 24 + 68e⁻⁰·⁰⁸ᵗ
The curve approaches the asymptote but never touches it. In the first thirty minutes the coffee loses $62$ degrees; in the ten minutes after that it loses only about $3.4$ more. The reason lies in the form of the function: the cooling rate is proportional to the remaining gap to room temperature, so the smaller the gap, the slower the cooling. In the model $T=24+68e^{-0.08t}$, the number $24$ is the horizontal asymptote and also the room temperature; the number $68$ is the initial gap $92-24$; and $0.08$ controls the speed.
The round dots are real measured data and do not lie exactly on the curve, and that is the normal situation in AI. The question that often goes with it is not “calculate $T$ at $t=25$” but “does the model describe the data well, and where does it go wrong?”. Looking at the figure, the model follows closely in the middle section and is slightly below the data toward the end, a familiar sign that the real room temperature is actually a little higher than $24$ degrees.

Worked example: Newton's law of cooling with measured data

A cup of coffee at $92$ °C is placed in a room at $24$ °C. After $10$ minutes the measured temperature is $54.5$ °C. The model used is $T=24+68e^{-kt}$ with $t$ in minutes.

(a) Find $k$, rounded to $3$ significant figures. (b) Find the time when the coffee drops to $40$ °C. (c) The model says the coffee never reaches $24$ °C; explain whether this contradicts reality.

Solution

(a) Substitute $t=10$, $T=54.5$:

$$54.5=24+68e^{-10k}\;\Rightarrow\;e^{-10k}=\frac{30.5}{68}=0.448529$$$$-10k=\ln 0.448529=-0.801782\;\Rightarrow\;k=0.0802$$

(b) Set $T=40$:

$$40=24+68e^{-0.0802t}\;\Rightarrow\;e^{-0.0802t}=\frac{16}{68}=0.235294$$$$t=\frac{-\ln 0.235294}{0.0802}=\frac{1.44692}{0.080182}=18.0\ \text{min}$$

(c) There is no contradiction, and the reason is worth writing in full. In the model, $68e^{-kt}$ is positive for all $t$, so $T$ is always slightly greater than $24$: $y=24$ is a horizontal asymptote, which the curve approaches but does not cross. In practice, a thermometer reads only to $0.1$ degree, and the difference drops below $0.1$ degree when

$$68e^{-0.0802t}<0.1\;\Rightarrow\;t>\frac{\ln 680}{0.0802}=81.3\ \text{min}$$

So after about an hour and twenty minutes, every measurement will read exactly $24$ °C. The model and reality do not conflict: they differ only in that the model has infinite resolution while the measurement does not.

Worked example: using logarithms to choose between an exponential model and a power model

A quantity $y$ is measured at five values of $x$.

$x$$1$$2$$3$$4$$5$
$y$$6.0$$24.2$$54.0$$96.5$$150.0$

Determine whether the exponential model $y=ka^{x}$ or the power model $y=ax^{n}$ describes the data better, and find that model.

Solution

Step 1: build a table of logarithms.

$x$$1$$2$$3$$4$$5$
$\ln x$$0$$0.693$$1.099$$1.386$$1.609$
$\ln y$$1.792$$3.186$$3.989$$4.570$$5.011$

Step 2: test the exponential model. Plot $\ln y$ against $x$: the successive jumps are $1.394$; $0.803$; $0.581$; $0.441$. They decrease steadily rather than staying constant, so $\ln y$ is not linear in $x$ and the exponential model is rejected.

Step 3: test the power model. Plot $\ln y$ against $\ln x$:

$$\frac{3.186-1.792}{0.693-0}=2.01,\qquad\frac{5.011-3.989}{1.609-1.099}=2.00$$

The gradient stays at $2.00$ across the whole range, so the relationship is linear and the power model is correct.

Step 4: get the parameters. The gradient is $n=2$; the y-intercept is $\ln a=1.792$ so $a=e^{1.792}=6.00$.

$$y=6.0\,x^{2}$$

Quick check: $6(4)=24$ versus $24.2$; $6(25)=150$ versus $150.0$. The general lesson: a curve that climbs ever more steeply is not automatically exponential; let the logarithm decide, because these two families look very similar over a short stretch of data.

Common mistake

First trap: reading the asymptote as the initial value. For $f(x)=45(0.8)^{x}+12$, $f(0)=57$, not $45$, and the value the function approaches is $12$, not $0$. The three numbers $12$, $45$, $57$ all appear in the problem, and each answers a different question.
Second trap: using $r$ in place of $\ln(1+r)$. The doubling time for growth of $3.7\%$ per year is $\frac{\ln 2}{\ln 1.037}$, not $\frac{\ln 2}{0.037}$. The two numbers differ by about $2\%$, just enough to miss the three significant figure requirement while still looking reasonable.
Third trap: seeing a curve and concluding exponential. $y=6x^{2}$ and $y=6(1.9)^{x}$ pass close to each other for $x$ from $1$ to $5$ but diverge wildly after that. Only the logarithm test can tell them apart, and you must choose the right pair of axes: $\ln y$ against $x$ for an exponential function, $\ln y$ against $\ln x$ for a power function.

Key takeaway

For every exponential model, identify three things in the right order: the asymptote (where the function is heading), the initial gap (the multiplier), and only then the rate. The first two are read straight from the context (room temperature, maximum capacity, baseline level), while the third needs one data point to solve for. When the problem gives a data table and asks which model fits, do not guess by eye: build a table of $\ln$ values and see which graph is straight. Finally, always be able to say what the asymptote means in context; that is the familiar “interpret” question and the easiest mark in the whole chapter.

← Linear, piecewise and quadratic models · All IB Math AI lessons · Practice IB Math AI questions (free, instant scoring) · Sinusoidal and logistic models →