AP · College Board
✓ Official Syllabus VerifiedStandards & Rigor ↗
2B

Unit 2B · Logarithmic Modeling, Semi-Log Plots, Inverse & Competing Functions

📐 AP Precalculus Unit 2B — Logarithmic Modeling & Semi-Log Linearity Core Mastery  ·  Composition of functions f(g(x)) & domain inheritance  ·  Invertibility on restricted domains  ·  Logarithmic laws & change-of-base formula  ·  Semi-log plots (x, ln y) for exponential validation  ·  Residual plots & competing function models

Comprehensive mastery of Unit 2B · Logarithmic Modeling, Semi-Log Plots, Inverse & Competing Functions (Exponential and Logarithmic Functions), featuring interactive geometric visualization, first-principles derivations, graded worked examples, and progressive hints.

● Definition 2B.1 — Semi-Log Plots & Residual Analysis for Exponential Models

If a dataset (x_i, y_i) follows an exponential model y = a times b^x (\( a > 0, b > 0 \)), taking logs gives \[ \ln y = (\ln b)x + \ln a, \] so the semi-log plot \( (x, \ln y) \) is linear with slope \( \ln b \) and vertical intercept \( \ln a \). A model is appropriate when its residual plot \( r_i = y_i - \hat{y}_i \) displays random scatter around zero with no curved pattern.

Plotting \((x, \ln y)\) transforms exponential growth \(y = 2 \cdot 3^x\) into the straight line \(\ln y = \ln 2 + (\ln 3)x\).
⊙ Interactive Explorer · Exponential vs. Logarithmic Inverse & Semi-Log Linearization Lab
interactive
Output \(f(2) = ab^2\)\(4.50\)
Log Slope \(\ln b\)\(0.405\)
Semi-Log PlotLinear in (x, ln y)

Drag the sliders or directly manipulate the canvas to explore how changes in the parameters govern Unit 2B · Logarithmic Modeling, Semi-Log Plots, Inverse & Competing Functions.

Symmetric reflection of \(f(x) = 2^x\) (horizontal asymptote \(y = 0\)) and \(f^{-1}(x) = \log_2(x)\) (vertical asymptote \(x = 0\)) across \(y = x\).
Key Principle 2B.1
Composition of functions f(g(x)) & domain inheritance
Key Principle 2B.2
Invertibility on restricted domains
Key Principle 2B.3
Logarithmic laws & change-of-base formula
Key Principle 2B.4
Semi-log plots (x, ln y) for exponential validation
◆ Why It Works — Why Semi-Log Plots Straighten Exponential Data

Logarithmic Linearization: Taking natural logarithms of \(y = a \cdot b^x\) yields \[ \ln y = \ln a + (\ln b)x \] Setting \(Y = \ln y\) produces linear equation \(Y = m x + c\) with vertical intercept \(c = \ln a\) and constant slope \(m = \ln b\).

Worked Example 2B.1 — Domain of a Composite Logarithmic Function
Problem. Let \( f(x) = \ln(x - 3) \) and \( g(x) = \sqrt{9 - x} \). Find the exact domain of \( (f \circ g)(x) = f(g(x)) \).
▸ Show step-by-step solution

For \( g(x) = \sqrt{9 - x} \) to be defined, \( 9 - x \ge 0 \implies x \le 9 \). Next, \( f(g(x)) = \ln(\sqrt{9 - x} - 3) \) requires \( \sqrt{9 - x} - 3 > 0 \implies \sqrt{9 - x} > 3 \implies 9 - x > 9 \implies x < 0 \). Intersecting \( x \le 9 \) and \( x < 0 \) gives domain \( (-\infty, 0) \).

Worked Example 2B.2 — Finding an Inverse Logarithmic Model
Problem. Find \( f^{-1}(x) \) for \( f(x) = 5 + 2\ln(3x - 1) \) and state the domain of \( f^{-1} \).
▸ Show step-by-step solution

Set \( y = 5 + 2\ln(3x - 1) \). Isolate the logarithm: \( \ln(3x - 1) = \frac{y - 5}{2} \). Exponentiate base \( e \): \( 3x - 1 = e^{(y - 5)/2} \implies x = \frac{1 + e^{(y - 5)/2}}{3} \). Swapping variables gives \( f^{-1}(x) = \frac{1 + e^{(x - 5)/2}}{3} \), whose domain equals the range of \( f \), namely \( (-\infty, \infty) \).

Worked Example 2B.3 — Semi-Log Plot Linearization
Problem. On a semi-log plot with \( x \) on the horizontal axis and \( \ln y \) on the vertical axis, data lie along the line \( \ln y = \ln 5 + (\ln 3)x \). Express \( y \) explicitly as a function of \( x \).
▸ Show step-by-step solution

Exponentiating both sides: \[ y = e^{\ln 5 + (\ln 3)x} = e^{\ln 5} \cdot \left(e^{\ln 3}\right)^x = 5 \cdot 3^x \] Because a linear relationship between \( x \) and \( \ln y \) corresponds to constant multiplicative growth per unit \( x \), \( y(x) = 5 \cdot 3^x \) is an exponential model.

Worked Example 2B.4 — Logarithmic Equation & Extraneous Root Check
Problem. Solve \( \log_2(x + 3) + \log_2(x - 3) = 4 \) for all valid real \( x \).
▸ Show step-by-step solution

Domain requires \( x + 3 > 0 \) and \( x - 3 > 0 \), so \( x > 3 \). Combining logs: \[ \log_2((x + 3)(x - 3)) = 4 \implies x^2 - 9 = 2^4 = 16 \implies x^2 = 25 \implies x = \pm 5 \] Rejecting \( x = -5 \) (since \( -5 \le 3 \)), the unique valid solution is \( x = 5 \).

Common Trap — Unit 2B · Logarithmic Modeling, Semi-Log Plots, Inverse & Competing Functions

Always verify domain restrictions, non-zero denominators, and large-sample conditions before applying closed-form formulas.

Error Diagnosis — Common AP Precalculus Modeling & Algebraic Traps
Common Student TrapWhy It Fails MathematicallyCorrect Exam-Board Method
Canceling individual terms across sums: \(\frac{x^2 - 9}{x - 3} \to x - 3\)Division distributes over sums only after factoring common multiplicative factors.Factor completely first: \(\frac{(x-3)(x+3)}{x-3} = x + 3\) for \(x \neq 3\) (hole at \(x = 3\)).
Using degree mode instead of radian mode on AP Precalculus trigonometric modelsAll AP Precalculus sinusoidal functions \(A\sin(B(x-C))+D\) assume radian measure unless ° is printed.Keep calculator in RADIAN mode and compute period as \(P = \frac{2\pi}{|B|}\) (or \(\frac{\pi}{|B|}\) for tangent).
Omitting domain checks after solving \(\log_b(f(x)) + \log_b(g(x)) = k\)Multiplying \(f(x)g(x) > 0\) admits negative pairs \(f(x) < 0, g(x) < 0\) where individual logs are undefined.Substitute every algebraic root back into each original logarithm argument to verify positivity.
Examiner's Secret — Unit 2B · Logarithmic Modeling, Semi-Log Plots, Inverse & Competing Functions

Write explicit method steps (M1) before substituting numerical values so partial credit is secured even if an arithmetic slip occurs.

[Practice 1] Solve \( \log_3(2x - 1) = 3 \).
💡 Hint 1 of 3
Rewrite in exponential form with base \( 3 \).
💡 Hint 2 of 3
Compute \( 3^3 = 27 \), so \( 2x - 1 = 27 \).
💡 Hint 3 of 3
Solve for \( x \) and check \( 2x - 1 > 0 \).
Exponentiating gives \( 2x - 1 = 3^3 = 27 \implies 2x = 28 \implies x = 14 \).
[Practice 2] If \( f(x) = 3^x - 4 \), find \( f^{-1}(5) \).
💡 Hint 1 of 3
Set \( f(x) = 5 \) rather than computing the full inverse formula first.
💡 Hint 2 of 3
Solve \( 3^x - 4 = 5 \implies 3^x = 9 \).
💡 Hint 3 of 3
Express \( 9 \) as a power of \( 3 \).
Solving \( 3^x - 4 = 5 \) gives \( 3^x = 9 = 3^2 \), so \( f^{-1}(5) = 2 \).
[Practice 3] A semi-log plot of \( (x, \log_{10} y) \) follows \( \log_{10} y = 2 + 0.5x \). Find \( y(4) \).
💡 Hint 1 of 3
Substitute \( x = 4 \) into \( \log_{10} y = 2 + 0.5x \).
💡 Hint 2 of 3
Obtain \( \log_{10} y = 4 \).
💡 Hint 3 of 3
Raise \( 10 \) to the power \( 4 \).
At \( x = 4 \), \( \log_{10} y = 2 + 2 = 4 \implies y(4) = 10^4 = 10{,}000 \).
[Practice 4] Find the exact value of \( \log_4(8) + \log_4(2) \).
💡 Hint 1 of 3
Apply the product rule \( \log_b A + \log_b B = \log_b(AB) \).
💡 Hint 2 of 3
Multiply \( 8 \times 2 = 16 \).
💡 Hint 3 of 3
Evaluate \( \log_4(16) \).
By the product law, \( \log_4(8 \cdot 2) = \log_4(16) = \log_4(4^2) = 2 \).
[Practice 5] State the vertical asymptote of \( h(x) = -2\ln(x + 5) + 7 \).
💡 Hint 1 of 3
A logarithmic function \( \ln(u) \) has its boundary where its argument \( u = 0 \).
💡 Hint 2 of 3
Set \( x + 5 = 0 \).
💡 Hint 3 of 3
Write the vertical line equation \( x = c \).
Setting \( x + 5 = 0 \) yields the vertical asymptote \( x = -5 \).
● Master Atlas of the 9 Main Parent Functions & Universal Transformation Law

Every algebraic and elementary transcendental model is built by transforming one of the nine core parent functions via \(g(x) = a\,f(x - h) + k\), where \(|a|\) scales vertically (reflecting across the \(x\)-axis if \(a < 0\)), \(h\) shifts horizontally, and \(k\) shifts vertically:

FamilyTransformed Form \(g(x)\)DomainRange (\(a > 0\))Key Geometric Feature
Constant\(f(x) = c\)\((-\infty, \infty)\)\(\{c\}\)Horizontal line, slope \(0\)
Linear\(a(x - h) + k\)\((-\infty, \infty)\)\((-\infty, \infty)\)Constant slope \(m = a\), pivot \((h, k)\)
Quadratic\(a(x - h)^2 + k\)\((-\infty, \infty)\)\([k, \infty)\)Parabola vertex \((h, k)\), axis \(x = h\)
Cubic\(a(x - h)^3 + k\)\((-\infty, \infty)\)\((-\infty, \infty)\)Inflection center \((h, k)\), S-curve
Absolute Value\(a|x - h| + k\)\((-\infty, \infty)\)\([k, \infty)\)V-corner vertex \((h, k)\), slopes \(\pm a\)
Radical\(a\sqrt{x - h} + k\)\([h, \infty)\)\([k, \infty)\)Endpoint \((h, k)\), half-parabola
Rational\(\dfrac{a}{x - h} + k\)\(x \neq h\)\(y \neq k\)Vertical asymptote \(x = h\), horizontal \(y = k\)
Exponential\(a \cdot 2^{x - h} + k\)\((-\infty, \infty)\)\((k, \infty)\)Horizontal asymptote \(y = k\), anchor \((h, a+k)\)
Logarithmic\(a\ln(x - h) + k\)\((h, \infty)\)\((-\infty, \infty)\)Vertical asymptote \(x = h\), anchor \((h+1, k)\)
⊙ Explorer · Logarithmic Domain, Vertical Asymptote & Parent Functions Lab
interactive
Active Equationf(x) = ln(x)
Domain(0, ∞)
Range(−∞, ∞)
Vertex / AsymptotesVA: x = 0 · Anchor (1, 0)
Interceptsy-int: none · x-int: (1, 0)

Starts on the logarithmic family \(f(x) = a\ln(x - h) + k\) with domain \((h, \infty)\), vertical asymptote \(x = h\), and anchor \((h + 1, k)\). Drag \((h, k)\) to inspect domain shifts.

⊙ Explorer · Inverse Function Symmetry Across \(y = x\)
interactive
\((a, f(a))\)\((1.0, 0.667)\)
\((f(a), a)\)\((0.667, 1.0)\)
\(f^{-1}(x)\)\((2x + 1)/(3 - x)\)

An invertible function \(f\) (indigo) and its inverse \(f^{-1}\) (amber) reflect symmetrically across the dashed line \(y = x\): every point \((a, f(a))\) maps to \((f(a), a)\).

Unit 3 · Trigonometric and Polar Functions — 6-Point Structured FRQ

6 pts Calculator Active
AP Precalculus Section II Modeling FRQ (Section II Part A (Graphing Calculator)): Consider the quadratic-rational model \( g(x) = 3(x - 2)^2 + (-9) \) defined on \( x \in \mathbb{R} \).
Reference covariation table (FRQ)
\(x\)\(0\)\(1\)\(2\)\(3\)
\(f(x)\)261854
  1. (a)2 pts
    Evaluate the y-intercept \( g(0) \).
    Scoring Guideline & Justification
    • [M1] Substitutes \( x = 0 \) into \( g(x) \): \( 3(-2)^2 + (-9) \). (1 pt)
    • [A1] Computes \( g(0) = 3 \). (1 pt)
  2. (b)2 pts
    State the minimum value of \( g(x) \) and justify using vertex form.
    Scoring Guideline & Justification
    • [M1] Identifies vertex at \( (x, y) = (2, -9) \); Uses \( a = 3 > 0 \) and \( (x - 2)^2 \ge 0 \). (1 pt)
    • [A1] States global minimum value \( -9 \). (1 pt)
  3. (c)2 pts
    Restricting \( g \) to \( x \ge 2 \), solve \( g(x) = 18 \) to find \( g^{-1}(18) \).
    Scoring Guideline & Justification
    • [M1] Sets \( 3(x - 2)^2 + (-9) = 18 \); Isolates \( (x - 2)^2 = 9 \); Applies domain restriction \( x \ge 2 \) to select positive root. (1 pt)
    • [A1] Obtains \( g^{-1}(18) = 5 \). (1 pt)
Complete Worked Solution
(a) \( g(0) = 3 \). (b) Vertex minimum \( = -9 \) since \( 3 > 0 \). (c) \( (x-2)^2 = 9 \) with \( x \ge 2 \) gives \( x = 5 \).
📝 Chapter Quiz