Transformations and Function Model Selection

AP Precalculus · Rational Functions and End Behavior

Reading g(x) = a·f(b(x + c)) + d

Outside the function: vertical. $a$ stretches by $|a|$ (reflects over the $x$-axis if $a<0$); $d$ shifts up. Inside the function: horizontal, and inverted. $b$ shrinks by a factor of $\frac{1}{|b|}$ (reflects over the $y$-axis if $b<0$); $+c$ shifts left. When the argument is written as $bx+k$, factor first: $f(2x+6)=f\left(2(x+3)\right)$ — shrink by $\tfrac12$, then shift left $3$, not left $6$.

Asymptotes ride along with the transformation: for a rational parent, a vertical asymptote $x=v$ moves to the solution of $b(x+c)=v$, and a horizontal asymptote $y=h$ moves to $y=ah+d$.

Choosing a model (1.13–1.14)

Over equally spaced inputs: constant first differences $\Rightarrow$ linear; constant $n$-th differences $\Rightarrow$ degree-$n$ polynomial. Data that levels off toward a ceiling calls for a rational model — a polynomial is disqualified because every nonconstant polynomial is unbounded: $\lim_{x\to\infty}p(x)=\pm\infty$.

Every model answer needs its "assumptions and limitations" sentence: the domain where the model makes sense, the meaning of its asymptote, and where it must not be extrapolated.

x y f(x) = 1/x x = 3 y = 1 g(x) = 2/(x−3) + 1
The asymptotes migrate with the graph. From $f(x)=\frac1x$ (light) to $g(x)=2f(x-3)+1=\frac{2}{x-3}+1$: the "$-3$ inside the function" pulls the vertical asymptote from $x=0$ to $x=3$; the "$+1$ outside the function" lifts the horizontal asymptote from $y=0$ to $y=1$; the factor $2$ only stretches vertically and does not affect the positions of the two asymptotes. AP often asks in reverse: given the graph of $g$, trace back to $a,c,d$.

Worked example: rule out models by behavior at infinity

The concentration of a drug in the blood (mg/L) is measured by the hour; the data rise quickly at first and then level off, getting close to $12$ mg/L without exceeding it. A student proposes a quadratic model $C(t)=at^2+bt+c$ with $a<0$ because "it fits the first three points very well". Why must this model still be rejected, and what form replaces it?

Solution

Consider the behavior at infinity. A parabola with $a<0$ has $\lim_{t\to\infty}C(t)=-\infty$: the model predicts a negative concentration after the peak, which is physically meaningless, even though it fits nicely at the first three points. A local fit cannot rescue wrong end behavior.

Data that "level off at a ceiling of $12$" are the signature of a horizontal asymptote, which no nonconstant polynomial has. The right candidate is a rational model with equal degrees, for example

$$C(t)=\frac{12t}{t+k},\qquad \lim_{t\to\infty}C(t)=12$$

The accompanying "limitations" statement: the model is only used for $t\ge0$, and an asymptote means the concentration approaches but never reaches $12$.

Common mistake

For $g(x)=f(2x+6)$: shift left $6$ and only then compress, or factor out as $f(2(x+3))$ and compress first, then shift. Both routes are correct; the error is made by someone who compresses and also keeps the number $6$ unchanged. For model selection: differences are meaningful only when the inputs are equally spaced; a table with steps $1,2,5,10$ for which you take differences gives a junk conclusion.

Key takeaway

Inside the function = horizontal + opposite direction + must factor out; outside the function = vertical + same direction. Solve the vertical asymptote from $b(x+c)=v$; the horizontal asymptote becomes $ah+d$. Choose a model by behavior at infinity first, local fit second, and always add a sentence on assumptions/limitations.

← Equivalent Representations and the Binomial Theorem · All AP Precalculus lessons · Practice AP Precalculus questions (free, instant scoring) · Arithmetic and Geometric Sequences →