AP Precalculus Unit 2 Notes: Exponential/Log Models, Semi-Log Graphs, and Compositions

Semi-Log Plots and Linearization

What a semi-log plot is (and why you should care)

A semi-log plot is a graph where one axis is scaled logarithmically and the other axis is scaled normally (linearly). You will most often see:

  • Log-linear (semi-log) plot: xx axis is linear, yy axis is logarithmic.
  • Less commonly (but very useful), the xx axis is logarithmic and yy is linear.

Semi-log plots matter because many real-world relationships are not linear in their raw form, but they become linear after a log-based transformation. When a relationship becomes linear, you can use powerful “line tools”: slope, intercepts, and the idea that “straight line = constant rate (in some sense).” In AP Precalculus, this is especially important for identifying and modeling exponential and logarithmic relationships from data.

A key theme is linearization: transforming variables so that a curve turns into a line.

The core idea of linearization

Linearization means rewriting a model so that it fits the linear form

Y=mX+bY = mX + b

where XX and YY are transformed versions of your original variables. Once you have a line, you can:

  • estimate parameters (like growth rate)
  • interpret the slope/intercept in context
  • check if a model is reasonable (does the transformed data look roughly linear?)

A common misconception is thinking the original data must look like a line if it’s exponential. Exponential data usually looks curved. The “straightness” shows up after the right transformation.

Linearizing exponential functions (log on the output)

Suppose the original relationship is exponential.

Case A: y=abxy = a b^x

Here a>0a > 0 and b>0b > 0, b1b \neq 1.

Take a logarithm of both sides (any base works as long as you’re consistent). Using base 10 log for concreteness:

log(y)=log(abx)\log(y) = \log(a b^x)

Use log properties:

log(y)=log(a)+log(bx)\log(y) = \log(a) + \log(b^x)

log(y)=log(a)+xlog(b)\log(y) = \log(a) + x\log(b)

Now define the transformed variables:

  • Y=log(y)Y = \log(y)
  • X=xX = x

Then you have a linear equation:

Y=(log(b))X+log(a)Y = (\log(b))X + \log(a)

So on a plot of log(y)\log(y) versus xx:

  • slope m=log(b)m = \log(b)
  • intercept b0=log(a)b_0 = \log(a)

To recover the original parameters:

a=10b0a = 10^{b_0}

b=10mb = 10^{m}

If instead you use natural log, you get the same structure with ln\ln. The slope becomes ln(b)\ln(b) and the intercept becomes ln(a)\ln(a).

Case B: y=aekxy = a e^{kx}

This is another common exponential form, especially in science.

Take natural log:

ln(y)=ln(aekx)\ln(y) = \ln(a e^{kx})

ln(y)=ln(a)+kx\ln(y) = \ln(a) + kx

Let Y=ln(y)Y = \ln(y) and X=xX = x:

Y=kX+ln(a)Y = kX + \ln(a)

So on a plot of ln(y)\ln(y) versus xx:

  • slope is kk
  • intercept is ln(a)\ln(a)

and you recover aa via:

a=eintercepta = e^{\text{intercept}}

What “semi-log” means graphically

If you literally use graph paper (or software) with a logarithmic yy-axis, then equal vertical steps represent equal _multiplicative_ changes in yy. That matches exponential behavior: exponential growth adds a constant amount to the _log_ of the output per unit xx.

Linearizing logarithmic functions (log on the input)

A typical logarithmic model is

y=A+Bln(x)y = A + B\ln(x)

with domain x>0x > 0.

This model becomes linear if you treat ln(x)\ln(x) as the input variable. Let:

  • X=ln(x)X = \ln(x)
  • Y=yY = y

Then:

Y=A+BXY = A + BX

Graphically, this corresponds to “log-scaling the xx axis” (or computing ln(x)\ln(x) values and plotting yy against them). A common mistake is trying to take ln(y)\ln(y) here; that would linearize an exponential model, not a logarithmic one.

Worked example 1: Identify an exponential model using linearization

You measure a bacteria culture at times xx (hours) and population yy:

xxyy
0200
1260
2338
3439.4

Step 1: Look for a constant ratio (exponential clue).

Compute successive ratios:

  • 260/200=1.3260/200 = 1.3
  • 338/260=1.3338/260 = 1.3
  • 439.4/338=1.3439.4/338 = 1.3

Constant ratio suggests y=abxy = a b^x with b=1.3b = 1.3.

Step 2: Find aa from x=0x = 0.

If y=abxy = a b^x, then at x=0x = 0:

y(0)=ab0=ay(0) = a b^0 = a

So a=200a = 200.

Model:

y=200(1.3)xy = 200(1.3)^x

Connection to semi-log plotting: If you plotted log(y)\log(y) versus xx, you would get a line with slope log(1.3)\log(1.3).

Worked example 2: Linearize a logarithmic relationship

Suppose a sound intensity model is

y=20+5ln(x)y = 20 + 5\ln(x)

where x>0x > 0.

If you define X=ln(x)X = \ln(x) and Y=yY = y, then

Y=20+5XY = 20 + 5X

So a plot of yy versus ln(x)\ln(x) should look like a straight line with slope 5 and intercept 20.

How to choose the right linearization

A practical approach with data is:

  • If equal increases in xx multiply yy by a roughly constant factor, try an exponential model and plot ln(y)\ln(y) versus xx.
  • If equal multiplicative changes in xx (like doubling xx) add a roughly constant amount to yy, try a logarithmic model and plot yy versus ln(x)\ln(x).
Notation reference: common log choices

Different log bases change slopes/intercepts numerically but not the underlying linearity.

Log typeNotationCommon use
Natural logln(x)\ln(x)Exponential models with ekxe^{kx}, calculus/science
Base-10 loglog(x)\log(x) (sometimes)Semi-log plotting, “orders of magnitude”
Base-bb loglogb(x)\log_b(x)When the exponential base is explicitly bb

Because different classes/texts use log\log differently, always check what your calculator/software means by log\log (often base 10) and ln\ln (base ee).

Exam Focus
  • Typical question patterns
    • You’re given a semi-log plot or a line in transformed variables and asked to determine whether the original relationship is exponential and to find the model parameters.
    • You’re asked to interpret slope/intercept on a plot of ln(y)\ln(y) vs xx (or log(y)\log(y) vs xx) in context.
    • You’re asked which transformation (logging xx or yy) would linearize a given type of model.
  • Common mistakes
    • Taking ln\ln of the wrong variable (using ln(y)\ln(y) when you need ln(x)\ln(x), or vice versa).
    • Forgetting to transform back (leaving the model as ln(y)=mx+b\ln(y) = mx + b instead of solving for yy).
    • Interpreting slope incorrectly when the log base changes (the line is still linear, but the slope value depends on the chosen base).

Modeling with Exponential and Logarithmic Functions

Modeling as a process (not just “pick a formula”)

A mathematical model is a function that approximates a real relationship between quantities. In this unit, you mainly model situations where change is multiplicative (exponential) or where growth slows down as the input increases (logarithmic).

Modeling matters because it lets you predict, estimate, and interpret. But AP Precalculus expects more than plugging numbers into a formula: you need to justify why a certain model type makes sense and explain what parameters mean.

A strong modeling workflow looks like this:

  1. Identify variables and units.
  2. Choose a model family (exponential or logarithmic) based on the context and/or data behavior.
  3. Determine parameters (using points, ratios, or transformed linear relationships).
  4. Interpret parameters in context.
  5. Check reasonableness (does the model fit the data and the situation? domain restrictions?).
Exponential modeling
What exponential behavior means

Exponential models are appropriate when a quantity changes by a constant percent rate per equal step in xx. That “constant percent” idea is the conceptual heart: exponential change is multiplicative.

Two common forms are:

y=abxy = a b^x

and

y=aekxy = a e^{kx}

Here:

  • aa is the initial value when x=0x = 0.
  • bb is the growth factor per unit of xx.
    • If b>1b > 1, it’s growth.
    • If 0<b<10 < b < 1, it’s decay.
  • kk is a growth/decay constant in the base-ee form.
    • If k>0k > 0, growth.
    • If k<0k < 0, decay.

A key connection between the forms is:

b=ekb = e^k

and equivalently:

k=ln(b)k = \ln(b)

Finding an exponential model from two points

Suppose you assume y=abxy = a b^x and you’re given two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) with x1x2x_1 \neq x_2.

You have:

y1=abx1y_1 = a b^{x_1}

y2=abx2y_2 = a b^{x_2}

Divide the equations to eliminate aa:

y2y1=bx2x1\frac{y_2}{y_1} = b^{x_2 - x_1}

Solve for bb:

b=(y2y1)1x2x1b = \left(\frac{y_2}{y_1}\right)^{\frac{1}{x_2 - x_1}}

Then plug back in to find aa:

a=y1bx1a = \frac{y_1}{b^{x_1}}

A common mistake is to treat bb as y2/y1y_2/y_1 even when x2x1x_2 - x_1 is not 1. The exponent x2x1x_2 - x_1 matters.

Worked example 1: Build an exponential model from two data points

A medication amount in the bloodstream is 80 mg at time 0 hours and 50 mg at time 3 hours. Model as exponential decay.

Let y=abxy = a b^x where xx is hours.

From x=0x = 0:

80=ab080 = a b^0

So a=80a = 80.

Use the point (3,50)(3, 50):

50=80b350 = 80 b^3

b3=5080=0.625b^3 = \frac{50}{80} = 0.625

b=(0.625)13b = (0.625)^{\frac{1}{3}}

So the model is:

y=80(0.62513)xy = 80(0.625^{\frac{1}{3}})^x

You could also rewrite with kk using k=ln(b)k = \ln(b) if needed.

Interpretation: Each hour, the amount is multiplied by bb, where b<1b < 1.

Logarithmic modeling
What logarithmic behavior means

Logarithmic models are useful when growth happens quickly at first and then slows down. Conceptually, logarithms convert multiplication into addition: they measure “how many multiplicative steps” you’ve taken.

A common log model is:

y=A+Bln(x)y = A + B\ln(x)

with x>0x > 0.

  • AA is the value when ln(x)=0\ln(x) = 0, which occurs at x=1x = 1.
    • So y(1)=Ay(1) = A.
  • BB controls how strongly yy responds to multiplicative changes in xx.

A powerful interpretation is: increasing xx by a multiplicative factor changes ln(x)\ln(x) by an additive amount.

For example, multiplying xx by ee increases ln(x)\ln(x) by 1, so yy increases by BB.

Finding parameters from two points

If you have two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) with x1>0x_1 > 0 and x2>0x_2 > 0, and assume

y=A+Bln(x)y = A + B\ln(x)

then:

y1=A+Bln(x1)y_1 = A + B\ln(x_1)

y2=A+Bln(x2)y_2 = A + B\ln(x_2)

Subtract to solve for BB:

y2y1=B(ln(x2)ln(x1))y_2 - y_1 = B(\ln(x_2) - \ln(x_1))

B=y2y1ln(x2)ln(x1)B = \frac{y_2 - y_1}{\ln(x_2) - \ln(x_1)}

Then find AA:

A=y1Bln(x1)A = y_1 - B\ln(x_1)

Common mistake: forgetting the domain restriction x>0x > 0. If the context allows x=0x = 0 (like “time since start”), a pure ln(x)\ln(x) model may need a horizontal shift, such as ln(x+c)\ln(x + c), to make sense.

Worked example 2: Fit a logarithmic model from two points

Suppose a learning score yy depends on hours practiced xx and data suggest diminishing returns. You are told y=60y = 60 at x=1x = 1 and y=70y = 70 at x=4x = 4. Model with y=A+Bln(x)y = A + B\ln(x).

Use x=1x = 1:

60=A+Bln(1)60 = A + B\ln(1)

ln(1)=0\ln(1) = 0, so A=60A = 60.

Use x=4x = 4:

70=60+Bln(4)70 = 60 + B\ln(4)

10=Bln(4)10 = B\ln(4)

B=10ln(4)B = \frac{10}{\ln(4)}

Model:

y=60+10ln(4)ln(x)y = 60 + \frac{10}{\ln(4)}\ln(x)

Interpretation: The score increases quickly early on, then each additional multiplicative increase in practice time yields smaller gains.

Using semi-log plots as evidence for a model choice

Semi-log plotting isn’t just “a trick to get a line.” It’s also a diagnostic tool:

  • If ln(y)\ln(y) vs xx is roughly linear, that supports an exponential model.
  • If yy vs ln(x)\ln(x) is roughly linear, that supports a logarithmic model.

In both cases, “roughly linear” is important: real data have noise. AP questions often expect you to recognize the pattern and proceed with a reasonable model, not demand perfect alignment.

Interpreting parameters in context (what AP tends to emphasize)

AP Precalculus often assesses whether you can translate parameters into plain-language meaning.

For y=abxy = a b^x:

  • aa: starting amount at x=0x = 0.
  • b1b - 1: percent change per 1 unit increase in xx, expressed as a decimal.

For y=aekxy = a e^{kx}:

  • kk: continuous growth/decay rate per unit of xx (larger magnitude means faster change).

For y=A+Bln(x)y = A + B\ln(x):

  • AA: value at x=1x = 1.
  • BB: change in yy when xx is multiplied by ee.

A frequent error is interpreting BB as “change per 1 unit increase in xx” in a log model. In a log model, the meaningful “step” is multiplicative changes in xx, not additive ones.

Exam Focus
  • Typical question patterns
    • Given a context and a small set of data, decide whether exponential or logarithmic modeling is appropriate and justify using ratios, transformations, or shape.
    • Given a transformed linear relationship (like ln(y)=mx+b\ln(y) = mx + b), write the original model and interpret mm and bb.
    • Use a model to predict a value or solve for an input (for example, “when will the population reach 10,000?”).
  • Common mistakes
    • Mixing up what indicates exponential vs logarithmic behavior (constant ratio vs diminishing returns).
    • Ignoring domain restrictions (especially x>0x > 0 for log models).
    • Rounding too early when solving for parameters, which can noticeably change predictions.

Composition of Exponential and Logarithmic Functions

What composition is

Composition of functions means feeding the output of one function into another. If you have functions ff and gg, then

(fg)(x)=f(g(x))(f \circ g)(x) = f(g(x))

Composition matters here because exponential and logarithmic functions are deeply linked: they are inverses (when bases match and domains are respected). Many “simplifications” and many equation-solving steps in this unit are really composition plus inverse-function reasoning.

Exponentials and logarithms as inverses

For base b>0b > 0, b1b \neq 1:

  • The exponential function is f(x)=bxf(x) = b^x (domain all real numbers, range positive real numbers).
  • The logarithmic function is f1(x)=logb(x)f^{-1}(x) = \log_b(x) (domain positive real numbers, range all real numbers).

Being inverses means their compositions return the input (on the appropriate domain):

blogb(x)=xb^{\log_b(x)} = x

for x>0x > 0, and

logb(bx)=x\log_b(b^x) = x

for all real xx.

A very common mistake is forgetting the domain condition on blogb(x)=xb^{\log_b(x)} = x. Since logb(x)\log_b(x) only exists for x>0x > 0, you cannot plug in a negative value of xx on that side.

Composition and solving equations

Many exponential/log equations are solved by applying a log or an exponential to both sides. That is essentially composing both sides with an inverse function.

Example 1: Solve an exponential equation using logs

Solve:

32x=203 \cdot 2^x = 20

Divide by 3:

2x=2032^x = \frac{20}{3}

Apply natural log to both sides:

ln(2x)=ln(203)\ln(2^x) = \ln\left(\frac{20}{3}\right)

Use the power property:

xln(2)=ln(203)x\ln(2) = \ln\left(\frac{20}{3}\right)

Solve for xx:

x=ln(203)ln(2)x = \frac{\ln\left(\frac{20}{3}\right)}{\ln(2)}

This also connects to the change-of-base idea (next section).

Example 2: Solve a logarithmic equation using exponentials

Solve:

log5(x)=3\log_5(x) = 3

Rewrite in exponential form:

x=53x = 5^3

x=125x = 125

The “rewrite” step is inverse-function reasoning: log5(x)=3\log_5(x) = 3 means “the exponent on 5 that gives xx is 3.”

Change of base (logs expressed using other logs)

You often want to compute logb(x)\log_b(x) using calculator buttons ln\ln or log\log. The standard relationship is:

logb(x)=ln(x)ln(b)\log_b(x) = \frac{\ln(x)}{\ln(b)}

and also:

logb(x)=log(x)log(b)\log_b(x) = \frac{\log(x)}{\log(b)}

This is not just a computational trick: it reflects that logarithms differ only by a constant scale factor. That’s also why semi-log plots using ln\ln versus log\log are both linear for exponentials, but with different slope values.

Common mistake: writing logb(x)=ln(b)/ln(x)\log_b(x) = \ln(b)/\ln(x) (flipped). The base goes in the denominator.

Composition with transformations (what happens to domain and outputs)

When you compose functions, the domain of the composition depends on where both functions make sense.

Example 3: Compose a log with an exponential

Let

f(x)=e2xf(x) = e^{2x}

g(x)=ln(x)g(x) = \ln(x)

Compute (gf)(x)(g \circ f)(x):

(gf)(x)=g(f(x))=ln(e2x)(g \circ f)(x) = g(f(x)) = \ln(e^{2x})

Using inverse properties:

ln(e2x)=2x\ln(e^{2x}) = 2x

So (gf)(x)=2x(g \circ f)(x) = 2x. This works for all real xx because e2x>0e^{2x} > 0, so the input to ln\ln is always valid.

Example 4: Compose an exponential with a log

Compute (fg)(x)(f \circ g)(x):

(fg)(x)=f(g(x))=e2ln(x)(f \circ g)(x) = f(g(x)) = e^{2\ln(x)}

This simplifies using exponent rules:

e2ln(x)=(eln(x))2e^{2\ln(x)} = (e^{\ln(x)})^2

e2ln(x)=x2e^{2\ln(x)} = x^2

But you must keep the domain restriction from ln(x)\ln(x): this composition is only defined for x>0x > 0.

So the simplified result is:

(fg)(x)=x2 for x>0(f \circ g)(x) = x^2 \text{ for } x > 0

A subtle but important misconception: you might be tempted to say e2ln(x)=x2e^{2\ln(x)} = x^2 for all real xx, but ln(x)\ln(x) is not defined for x0x \le 0 in real numbers. The algebraic simplification is correct, but the domain does not expand.

Composition as the engine behind linearization

Linearization itself can be viewed as composition:

  • For exponential data, you apply ln\ln to the output: Y=ln(y)Y = \ln(y).
  • For logarithmic data, you apply ln\ln to the input: X=ln(x)X = \ln(x).

That is you composing your original relationship with a log function in order to create a linear relationship.

Worked example 5: Build a model from a linearized equation

You are told a semi-log linearization produced the line

ln(y)=0.4x+1.2\ln(y) = 0.4x + 1.2

Step 1: Recognize the structure.
This matches ln(y)=kx+ln(a)\ln(y) = kx + \ln(a), which comes from y=aekxy = a e^{kx}.

So k=0.4k = 0.4 and ln(a)=1.2\ln(a) = 1.2.

Step 2: Solve for aa.

a=e1.2a = e^{1.2}

Model:

y=e1.2e0.4xy = e^{1.2} e^{0.4x}

You can combine exponents:

y=e1.2+0.4xy = e^{1.2 + 0.4x}

Interpretation: Each increase of 1 in xx multiplies yy by e0.4e^{0.4}.

Exam Focus
  • Typical question patterns
    • Evaluate or simplify compositions like ln(ekx)\ln(e^{kx}) or blogb(x)b^{\log_b(x)} while stating any domain restrictions.
    • Use inverse relationships to solve equations (rewrite between log and exponential forms).
    • Given a linearized model (for example, log(y)=mx+b\log(y) = mx + b), write the original exponential function by undoing the log.
  • Common mistakes
    • Canceling logs/exponentials with mismatched bases (for example, treating ln(10x)\ln(10^x) as xx without accounting for the base difference).
    • Dropping domain restrictions when simplifying (especially compositions involving ln(x)\ln(x)).
    • Misusing properties, such as thinking ln(a+b)=ln(a)+ln(b)\ln(a + b) = \ln(a) + \ln(b) (this is false).