Logarithmic Expressions and Functions

AP Precalculus · Logarithmic Functions and Modeling

The definition is a translation rule

$\log_b c = a$ means exactly $b^a = c$. Every logarithm question can be attacked by translating to exponential form and back. Because $b^a>0$ for any real $a$, the input of a logarithm must be strictly positive — this single fact generates the domain restrictions and the extraneous solutions of the whole unit.

The function $y=\log_b x$

As the inverse of $y=b^x$ (with $b>0$, $b\neq1$), the log function inherits everything by reflection across $y=x$:

Transformations move the asymptote with the graph: $y=\log_b(x-h)+k$ has vertical asymptote $x=h$. When the inside is $g(x)$ rather than $x$, solve $g(x)=0$ for the asymptote and $g(x)>0$ for the domain.

x y x = 3 (3,5 ; 0) 3 y = log₃(2x − 6) plunges to −∞ near the asymptote, but creeps up forever with no ceiling
The vertical asymptote is where the inside of the log equals 0, not at the y-axis. For $y=\log_3(2x-6)$: solving $2x-6=0$ gives $x=3$. The graph plunges to $-\infty$ as $x\to 3^+$ and the domain is $x>3$. The x-intercept comes from $2x-6=1$ ⇒ $x=3.5$ (not from $2x-6=0$). To the right, the graph increases forever: no horizontal asymptote exists, even though it looks flatter and flatter.

Worked example: evaluate a log by translating to exponential form

Without a calculator, evaluate $\log_8 32$ and $\log_9\dfrac{1}{27}$.

Solution

Reduce both to a common prime base. For $\log_8 32$: let $\log_8 32 = a$, that is $8^a=32$, that is $2^{3a}=2^5$ ⇒ $a=\frac53$.

For $\log_9\frac{1}{27}$: let $9^a=\frac{1}{27}$, that is $3^{2a}=3^{-3}$ ⇒ $a=-\frac32$.

The lesson lies in the method, not the answers: when you meet an unfamiliar log, just translate it to an exponential equation with a common prime base and compare exponents. It is quick and requires memorizing no extra formula.

Common mistake

Seeing the log graph get flatter and flatter, many students circle "has a horizontal asymptote". That is wrong: a log increases without bound, just slowly. The opposite trap is present too: assuming the vertical asymptote sits at $x=0$ when a translation has pulled it to $x=h$. Always solve inside of log = 0 and do not parrot the standard form.

Key takeaway

$\log_b c=a \iff b^a=c$ is one translation rule; know it and you need not memorize the rest. Log function: domain = inside positive, vertical asymptote = inside equals 0, no horizontal asymptote.

← Inverse Functions · All AP Precalculus lessons · Practice AP Precalculus questions (free, instant scoring) · Logarithmic Properties and Equations →