5m left·0%
Reading Time: 5 min
Last Updated: July 30, 2026
Main Ideas: 4
Reading Time: 5 min
Last Updated: July 30, 2026
Main Ideas: 4

Topic 2.14 Notes – Logarithmic Function Context and Data Modeling

Verified for 2027 AP® Precalculus Exam
Read aloud
A logarithmic model connects multiplicative change in the input to additive change in the output. In this topic, you build those models from context, data, transformations, or regression, and then use them to predict values or solve for inputs.

What a Logarithmic Model Means

A logarithm undoes an exponential. That matters in modeling because the output tells you how many multiplicative steps separate an input from a reference value.

The core model is

f(x)=y0+dlog⁡r(xx0) f(x)=y_0+d\log_r\left(\frac{x}{x_0}\right)

Here is what each part means:

  • x0x_0 is the reference input.
  • y0y_0 is the output when x=x0x=x_0.
  • rr is the factor you multiply the input by.
  • dd is how much the output changes when the input is multiplied by rr.

So if you replace xx with rxrx, the output increases by dd.

  • In an exponential model, equal input differences give equal output ratios.
  • In a logarithmic model, equal input ratios give equal output differences.

If y=ny=n is a whole number, then the reference input has been multiplied by rr, nn times. If nn is negative, that means repeated division by rr.

A few graph reminders:

  • For log⁡bx\log_b x, the domain is x>0x>0.
  • For log⁡b(x−h)\log_b(x-h), the domain is x>hx>h.
  • The line x=hx=h is the vertical asymptote.
  • Increasing or decreasing depends on the base and coefficient. In practice, alog⁡b(x−h)+ka\log_b(x-h)+k usually uses b>1b>1, and the sign of aa controls direction.

Ways to Build a Logarithmic Model

You’ll see four common ways.

From a proportion and a real zero

A real zero means f(x0)=0f(x_0)=0. If multiplying the input by rr changes the output by dd, then

f(x)=dlog⁡r(xx0) f(x)=d\log_r\left(\frac{x}{x_0}\right)

If d=1d=1, this simplifies to f(x)=log⁡r(x/x0)f(x)=\log_r(x/x_0).

Example: zero at x=5x=5, and every factor of 44 raises output by 11.

f(x)=log⁡4(x5) f(x)=\log_4\left(\frac{x}{5}\right)

Then f(320)=log⁡4(64)=3f(320)=\log_4(64)=3, so 320320 is 55 multiplied by 44 three times.

From two input-output pairs

If the form is f(x)=A+Bln⁡xf(x)=A+B\ln x, two points let you solve for AA and BB.

A form worth knowing is

f(x)=y1+y2−y1ln⁡(x2/x1)ln⁡(xx1) f(x)=y_1+\frac{y_2-y_1}{\ln(x_2/x_1)}\ln\left(\frac{x}{x_1}\right)

This shows the meaning clearly. The factor x2/x1x_2/x_1 in the input matches the output change y2−y1y_2-y_1.

One limitation matters a lot on tests: two points do not determine a log model if the horizontal shift is also unknown.

From transformations and regression

A transformed model looks like

f(x)=alog⁡b(x−h)+k f(x)=a\log_b(x-h)+k

  • hh moves the asymptote and changes the domain to x>hx>h
  • kk shifts the graph up or down
  • aa stretches output changes and can flip the graph

Regression on a calculator usually gives

y=A+Bln⁡x y=A+B\ln x

All xx-values must be positive. Also, ln⁡x=log⁡ex\ln x=\log_e x. Different log bases can describe the same model after vertical rescaling.

Using the Model to Predict and Solve

To find the output, substitute the input. For shifted models, check that x−h>0x-h>0 first.

To solve for the input, reverse the logarithm:

  1. Isolate the log
  2. Rewrite in exponential form
  3. Solve for xx

Useful formulas:

y=A+Bln⁡(x−h)⇒x=h+e(y−A)/B y=A+B\ln(x-h)\quad \Rightarrow \quad x=h+e^{(y-A)/B}

y=A+Blog⁡b(x−h)⇒x=h+b(y−A)/B y=A+B\log_b(x-h)\quad \Rightarrow \quad x=h+b^{(y-A)/B}

When you finish, include units and decide whether the answer is interpolation or extrapolation. Also check whether it makes sense in context, not just algebraically.

What to Look For and What Students Miss

Evidence for a logarithmic model:

  • output changes by equal amounts when input is multiplied by a constant factor
  • equivalently, multiplying xx by rr adds a constant to f(x)f(x)

Common contexts to recognize:

  • sound level
  • earthquake magnitude
  • acidity

These use logarithmic scales, where multiplicative changes in the original quantity become additive changes on the reported scale.

Common mistakes:

  • using equal input differences instead of equal input ratios
  • forgetting that “proportional growth” here describes the inputs
  • treating the coefficient of ln⁡x\ln x as change per 1 unit of xx
  • plugging in 00 or a negative value
  • solving for xx and never checking if it fits the context
  • assuming a strong regression statistic alone proves the model is right

Key Takeaways

A logarithmic model fits when equal input ratios produce equal output differences.
In f(x)=y0+dlog⁡r(x/x0)f(x)=y_0+d\log_r(x/x_0), the output counts how many times x0x_0 has been multiplied by rr.
For any logarithmic model, the entire log argument must be positive.
The coefficient of ln⁡x\ln x tells change per 1 unit of ln⁡x\ln x, not per 1 unit of xx.
Two points can determine A+Bln⁡xA+B\ln x, but not a model with an unknown horizontal shift.
A calculator’s logarithmic regression usually uses ln⁡\ln, and all input values must be positive.
A mathematically correct solution for xx can still be unreasonable in the real situation.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse this website.

Notes

1 credit used · 5/5 remaining