Dove's LibraryDove's Library

2.12 - Logarithmic Function Manipulation

Overview

Logs follow a few rules that let you rewrite them: the product property, the power property, and the change of base property. Each one comes straight from an exponent rule, and each one also says something about graphs. On the AP exam you'll use them to rewrite expressions, to solve equations (Topic 2.13), and to see when one log function is a transformation of another.

Where the properties come from

A log is an exponent: log⁡bx\log_b x is the power you raise bb to in order to get xx. So every exponent rule turns into a log property:
Exponent rule
Log property
bm⋅bn=bm+nb^m \cdot b^n = b^{m+n}
log⁡b(xy)=log⁡bx+log⁡by\log_b(xy) = \log_b x + \log_b y
bmbn=bm−n\frac{b^m}{b^n} = b^{m-n}
log⁡b(xy)=log⁡bx−log⁡by\log_b\left(\frac{x}{y}\right) = \log_b x - \log_b y
(bm)n=bmn\left(b^m\right)^n = b^{mn}
log⁡b(xn)=nlog⁡bx\log_b\left(x^n\right) = n\log_b x
All of these need x>0x > 0 and y>0y > 0, since you can only take logs of positive numbers.

The product property

log⁡b(xy)=log⁡bx+log⁡by\log_b(xy) = \log_b x + \log_b y
Why it works: let m=log⁡bxm = \log_b x and n=log⁡byn = \log_b y, so x=bmx = b^m and y=bny = b^n. Then xy=bm⋅bn=bm+nxy = b^m \cdot b^n = b^{m+n}, which means log⁡b(xy)=m+n=log⁡bx+log⁡by\log_b(xy) = m + n = \log_b x + \log_b y.
Examples: log⁡224=log⁡2(8⋅3)=log⁡28+log⁡23=3+log⁡23\log_2 24 = \log_2(8 \cdot 3) = \log_2 8 + \log_2 3 = 3 + \log_2 3. Going the other way, log⁡4+log⁡25=log⁡100=2\log 4 + \log 25 = \log 100 = 2.

What it means for graphs

Take f(x)=log⁡b(kx)f(x) = \log_b(kx) with k>0k > 0. Multiplying the input by kk is a horizontal dilation by a factor of 1k\frac{1}{k}. But the product property splits it into a sum:
f(x)=log⁡b(kx)=log⁡bk+log⁡bx=a+log⁡bx,where a=log⁡bkf(x) = \log_b(kx) = \log_b k + \log_b x = a + \log_b x, \quad \text{where } a = \log_b k
So every horizontal dilation of a log function is the same as a vertical translation. For example, log⁡2(4x)=log⁡24+log⁡2x=2+log⁡2x\log_2(4x) = \log_2 4 + \log_2 x = 2 + \log_2 x. Squeezing y=log⁡2xy = \log_2 x toward the yy-axis by a factor of 14\frac{1}{4} gives exactly the same graph as shifting it up 2.
2.12 - Logarithmic Function Manipulation
In the graph, the point (8,3)(8, 3) on y=log⁡2xy = \log_2 x moves to (2,3)(2, 3) when the inputs are multiplied by 14\frac{1}{4}, and the point (2,1)(2, 1) moves to (2,3)(2, 3) when you shift up 2. Both moves land on the same red curve.

The quotient property

You'll also use a quotient property. It comes from the product and power properties, since dividing by yy is multiplying by y−1y^{-1}:
log⁡b(xy)=log⁡bx+log⁡b(y−1)=log⁡bx−log⁡by\log_b\left(\frac{x}{y}\right) = \log_b x + \log_b\left(y^{-1}\right) = \log_b x - \log_b y
Example: log⁡3(x9)=log⁡3x−log⁡39=log⁡3x−2\log_3\left(\frac{x}{9}\right) = \log_3 x - \log_3 9 = \log_3 x - 2. On a graph, dividing the input by 9 (a horizontal stretch by a factor of 9) is the same as shifting down 2.

The power property

log⁡b(xn)=nlog⁡bx\log_b\left(x^n\right) = n\log_b x
Why it works: if m=log⁡bxm = \log_b x, then x=bmx = b^m, so xn=(bm)n=bmnx^n = \left(b^m\right)^n = b^{mn}. That means log⁡b(xn)=mn=nlog⁡bx\log_b\left(x^n\right) = mn = n\log_b x.
Examples: log⁡5125=log⁡553=3\log_5 125 = \log_5 5^3 = 3. log⁡2x=log⁡2x1/2=12log⁡2x\log_2\sqrt{x} = \log_2 x^{1/2} = \frac{1}{2}\log_2 x. ln⁡(1x)=ln⁡x−1=−ln⁡x\ln\left(\frac{1}{x}\right) = \ln x^{-1} = -\ln x.

What it means for graphs

Raising the input to a power, f(x)=log⁡b(xk)f(x) = \log_b\left(x^k\right), gives f(x)=klog⁡bxf(x) = k\log_b x. That's a vertical dilation by a factor of kk. So y=log⁡3(x4)y = \log_3\left(x^4\right) is y=log⁡3xy = \log_3 x stretched vertically by a factor of 4: every output is 4 times as big.
Domain warning: log⁡3(x4)\log_3\left(x^4\right) is defined for every x≠0x \neq 0, since x4>0x^4 > 0, but 4log⁡3x4\log_3 x only works for x>0x > 0. The two match for x>0x > 0. This difference is one way extraneous solutions show up in Topic 2.13.

The change of base property

log⁡bx=log⁡axlog⁡ab,where a>0 and a≠1\log_b x = \frac{\log_a x}{\log_a b}, \quad \text{where } a > 0 \text{ and } a \neq 1
Why it works: let y=log⁡bxy = \log_b x, so by=xb^y = x. Take log⁡a\log_a of both sides: log⁡a(by)=log⁡ax\log_a\left(b^y\right) = \log_a x. The power property turns this into ylog⁡ab=log⁡axy\log_a b = \log_a x, so y=log⁡axlog⁡aby = \frac{\log_a x}{\log_a b}.
Use 1, calculators. Most calculators only have log⁡\log (base 10) and ln⁡\ln (base ee). To find log⁡350\log_3 50:
log⁡350=ln⁡50ln⁡3≈3.91201.0986≈3.561\log_3 50 = \frac{\ln 50}{\ln 3} \approx \frac{3.9120}{1.0986} \approx 3.561
That makes sense: 33=273^3 = 27 and 34=813^4 = 81, so the answer should be between 3 and 4. (Check: 33.561≈503^{3.561} \approx 50.)
Use 2, graphs. The denominator log⁡ab\log_a b is just a number, so log⁡bx=1log⁡ab⋅log⁡ax\log_b x = \frac{1}{\log_a b} \cdot \log_a x. That means all logarithmic functions are vertical dilations of each other. For example, since log⁡28=3\log_2 8 = 3:
log⁡8x=log⁡2xlog⁡28=13log⁡2x\log_8 x = \frac{\log_2 x}{\log_2 8} = \frac{1}{3}\log_2 x
So the graph of y=log⁡8xy = \log_8 x is the graph of y=log⁡2xy = \log_2 x compressed vertically by a factor of 13\frac{1}{3}.
2.12 - Logarithmic Function Manipulation
All three curves pass through (1,0)(1, 0), and each one reaches a height of 1 at its own base: (2,1)(2, 1), (e,1)(e, 1), and (10,1)(10, 1). Each is a vertical dilation of the others. For example, log⁡2x=ln⁡xln⁡2≈1.443ln⁡x\log_2 x = \frac{\ln x}{\ln 2} \approx 1.443\ln x.

The natural logarithm

The natural logarithm is the log with base e≈2.718e \approx 2.718: ln⁡x=log⁡ex\ln x = \log_e x. It's a logarithmic function like any other, so every property above works for it.
  • ln⁡1=0\ln 1 = 0 and ln⁡e=1\ln e = 1
  • ln⁡(ex)=x\ln\left(e^x\right) = x for every xx, and eln⁡x=xe^{\ln x} = x for x>0x > 0, because ln⁡x\ln x and exe^x are inverses
  • ln⁡(5x)=ln⁡5+ln⁡x\ln(5x) = \ln 5 + \ln x, ln⁡(x3)=3ln⁡x\ln\left(x^3\right) = 3\ln x, and log⁡bx=ln⁡xln⁡b\log_b x = \frac{\ln x}{\ln b}
You'll see ln⁡\ln a lot in modeling (Topic 2.14) and in calculus, because ee shows up naturally in continuous growth.

Summary

Property
Rule
What it means for a graph
Product
log⁡b(xy)=log⁡bx+log⁡by\log_b(xy) = \log_b x + \log_b y
a horizontal dilation is the same as a vertical translation
Quotient
log⁡b(xy)=log⁡bx−log⁡by\log_b\left(\frac{x}{y}\right) = \log_b x - \log_b y
dividing the input is also a vertical translation
Power
log⁡b(xn)=nlog⁡bx\log_b\left(x^n\right) = n\log_b x
raising the input to a power is a vertical dilation
Change of base
log⁡bx=log⁡axlog⁡ab\log_b x = \frac{\log_a x}{\log_a b}
every log function is a vertical dilation of every other

Examples

Example 1: Expanding a log

Write log⁡2(8x3y)\log_2\left(\frac{8x^3}{y}\right) as a sum and difference of simpler logs. Assume x>0x > 0 and y>0y > 0.
Split the quotient, then the product, then use the power property:
log⁡2(8x3y)=log⁡28+log⁡2(x3)−log⁡2y\log_2\left(\frac{8x^3}{y}\right) = \log_2 8 + \log_2\left(x^3\right) - \log_2 y=3+3log⁡2x−log⁡2y= 3 + 3\log_2 x - \log_2 y
Answer: 3+3log⁡2x−log⁡2y3 + 3\log_2 x - \log_2 y

Example 2: Condensing into one log

Write 2ln⁡x+ln⁡(x+1)−ln⁡52\ln x + \ln(x + 1) - \ln 5 as a single logarithm.
Use the power property first, so every log has a coefficient of 1. Then combine with the product and quotient properties:
2ln⁡x+ln⁡(x+1)−ln⁡5=ln⁡(x2)+ln⁡(x+1)−ln⁡52\ln x + \ln(x + 1) - \ln 5 = \ln\left(x^2\right) + \ln(x + 1) - \ln 5=ln⁡(x2(x+1)5)= \ln\left(\frac{x^2(x + 1)}{5}\right)
Answer: ln⁡(x2(x+1)5)\ln\left(\frac{x^2(x + 1)}{5}\right), for x>0x > 0.

Example 3: Log functions as transformations of each other (AP-style)

Let f(x)=log⁡2(8x5)f(x) = \log_2\left(8x^5\right), g(x)=log⁡2xg(x) = \log_2 x, and h(x)=log⁡4xh(x) = \log_4 x.
  1. Write f(x)f(x) in the form f(x)=c+klog⁡2xf(x) = c + k\log_2 x.
  1. Describe how the graph of ff is related to the graph of gg.
  1. Write hh as a transformation of gg.
Part 1: use the product property, then the power property:
f(x)=log⁡28+log⁡2(x5)=3+5log⁡2xf(x) = \log_2 8 + \log_2\left(x^5\right) = 3 + 5\log_2 x
Part 2: the graph of ff is the graph of gg dilated vertically by a factor of 5, then translated up 3. (Check with x=2x = 2: f(2)=log⁡2256=8f(2) = \log_2 256 = 8, and 3+5log⁡22=83 + 5\log_2 2 = 8.)
Part 3: use change of base with base 2:
h(x)=log⁡4x=log⁡2xlog⁡24=12log⁡2x=12g(x)h(x) = \log_4 x = \frac{\log_2 x}{\log_2 4} = \frac{1}{2}\log_2 x = \frac{1}{2}g(x)
Answer: f(x)=3+5log⁡2xf(x) = 3 + 5\log_2 x, a vertical dilation of gg by 5 and a shift up 3. The graph of hh is the graph of gg dilated vertically by a factor of 12\frac{1}{2}. (Check: h(16)=2h(16) = 2 and 12log⁡216=2\frac{1}{2}\log_2 16 = 2.)

Common mistakes

  • log⁡b(x+y)\log_b(x + y) is not log⁡bx+log⁡by\log_b x + \log_b y. The product property is about the log of a product, not a sum. log⁡b(x+y)\log_b(x + y) can't be split.
  • (log⁡bx)2\left(\log_b x\right)^2 is not 2log⁡bx2\log_b x. The power property only works when the power is on the input: log⁡b(x2)=2log⁡bx\log_b\left(x^2\right) = 2\log_b x.
  • log⁡bxlog⁡by\frac{\log_b x}{\log_b y} is not log⁡b(xy)\log_b\left(\frac{x}{y}\right). A quotient of logs is a change of base: log⁡bxlog⁡by=log⁡yx\frac{\log_b x}{\log_b y} = \log_y x.
  • Flipping change of base. The input goes on top and the base on the bottom: log⁡350=ln⁡50ln⁡3\log_3 50 = \frac{\ln 50}{\ln 3}, not ln⁡3ln⁡50\frac{\ln 3}{\ln 50}.
  • Combining before using the power property. In 2ln⁡x+ln⁡(x+1)2\ln x + \ln(x + 1), turn 2ln⁡x2\ln x into ln⁡(x2)\ln\left(x^2\right) first. The 2 does not multiply (x+1)(x + 1).

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.