You’ve already transformed parabolas, exponential functions, and sine curves with the same four parameters. Logarithmic functions work exactly the same way. The one thing to keep an eye on is the vertical asymptote: it moves left and right with the graph, and it decides the domain.
Some transformations of a log graph can be described in two ways. For example, y=log(10x) is a horizontal compression by a factor of 101, but it’s also the same graph as y=logx+1, a translation 1 unit up. Example 4 shows why. You saw the same thing with exponential functions, where 3x+2=9(3x) is both a horizontal translation and a vertical stretch.
Show that y=log(1000x) and y=logx+3 have the same graph. Describe each as a transformation of y=logx.
Solution. Pick any x>0 and write it as a power of 10: x=10m, so logx=m. Then
log(1000x)=log(103⋅10m)=log(10m+3)=m+3=logx+3
So the two equations give the same y for every x, and the graphs are identical.
y=log(1000x): a horizontal compression by a factor of 10001.
y=logx+3: a translation 3 units up.
Check with a point: (10,1) on y=logx maps to (0.01,1) under the compression and to (10,4) under the translation. Both are on y=log(1000x): log10=1 ✓ and log10000=4 ✓.
Moving the asymptote with c. A log graph’s asymptote is vertical, so only d moves it. y=log(x+2)+5 has asymptote x=−2, not y=5.
Reading the horizontal shift with the wrong sign.log(x+3) moves the graph left3, and the domain becomes x>−3.
Not factoring out k.y=log(2x−8) is log(2(x−4)): the shift is 4 right, not 8. A quick check: the asymptote is where the argument equals 0, and 2x−8=0 at x=4.
Getting the domain backwards after a reflection in the y-axis. If k<0, the graph is on the left of the asymptote. For y=log(−x) the domain is x<0.
Using the exponential’s key points. The log graph doesn’t pass through (0,1). Start from (1,0) and (b,1) (for base 10, (1,0) and (10,1)).
(a) A vertical stretch by a factor of 2, a reflection in the x-axis, and a translation 1 unit left and 2 units up.
(b) The rule is (x,y)→(x−1,−2y+2):
(0.1,−1)→(−0.9,4),(1,0)→(0,2),(10,1)→(9,0)
(c) The y-intercept is 2 (from the point (0,2)). For the x-intercept, −2log(x+1)+2=0 gives log(x+1)=1, so x+1=10 and x=9. The asymptote is x=−1.
6. (Core) Describe the transformations in y=log2(4x+8) and map (1,0), (2,1), and (4,2). Then show that the graph is also a vertical translation of y=log2(x+2).
Solution
Factor: y=log2(4(x+2)). A horizontal compression by a factor of 41, then a translation 2 units left. The rule is (x,y)→(4x−2,y):
(1,0)→(−47,0),(2,1)→(−23,1),(4,2)→(−1,2)
Since 4=22, write x+2=2m. Then log2(4(x+2))=log2(2m+2)=m+2=log2(x+2)+2. So the graph is also y=log2(x+2) translated 2 units up.
Check: at x=−1, log2(1)+2=2, which matches (−1,2). ✓
7. (Core) A function of the form y=alogx+c passes through (1,4) and (10,1). Find a and c.
Solution
At x=1: alog1+c=0+c=4, so c=4.
At x=10: alog10+4=a+4=1, so a=−3.
The function is y=−3logx+4.
8. (Challenge) For y=log(−2(x−5)), describe the transformations, map (0.1,−1), (1,0), and (10,1), and state the asymptote and domain.
Solution
k=−2 and d=5: a horizontal compression by a factor of 21, a reflection in the y-axis, and a translation 5 units right. The rule is (x,y)→(−2x+5,y):
(0.1,−1)→(4.95,−1),(1,0)→(4.5,0),(10,1)→(0,1)
Asymptote x=5. Because k<0, the graph is to the left of the asymptote: the domain is {x∈R∣x<5}.
Check: at x=0, y=log(−2(−5))=log10=1. ✓
9. (Challenge) The point (7,5) is on the graph of y=2log3(x−4)+3. Which point on y=log3x did it come from?
Solution
The rule is (x,y)→(x+4,2y+3). Work backwards:
x+4=7⇒x=3,2y+3=5⇒y=1
It came from (3,1), which is on y=log3x since log33=1. ✓