FiveWay Premium

Unlock every question

1,292 more practice questions, 134 Killer problems, timed mock exams in the 2027 format, and sets built from the skills you miss.

Current accessGuestYou are browsing without an account. Sign in to keep your record.

Free

Always, no account needed to read

  • A 7-question diagnostic and the first 8 practice questions in every topic
  • A worked solution and a note on each wrong choice for those questions
  • Every concept note, in every chapter
  • Your record and My page

Premium

Everything in Free, plus

  • The other 1,292 questions — every chapter, to the end
  • 134 Killer problems, pitched above the exam ceiling
  • Timed mock exams in the 2027 format — 42 questions, 105 minutes
  • Sets built from the skills you keep missing, refilled weekly
  • Analytics — accuracy per skill, time per question, your weak chapters
Unlock early access

Early access is free while we test. No card, no timer. Compare plans

Sign in to FiveWay

Sign in to keep your answers and see which skills to fix.

  • Free to start
  • No password
  • Progress saved on every device

We store your answers and the skills they belong to. Your first name and last initial appear only on the leaderboard and in Community.

Topic 2.11

Logarithmic Functions

2.10 showed y=log⁡bxy = \log_{b} x (the logarithm with base b) as the reflection of bxb^{x}. This note studies logarithmic functions as a family on their own: how their graphs behave at the ends, what happens when you stretch, shift, and reflect them, and how to recognize one from a table.

8 MIN READ6 IDEAS33 PROBLEMS15 flashcards

Read this first

30 sec

  1. 01

    Logarithmic: when the inputs are multiplied by a constant, the outputs add a constant.

Remember from 2.3: exponential functions are always increasing or always decreasing, and always concave up or always concave down. Logarithmic functions inherit exactly the same kind of behavior, turned on its side.

01

Features of a Logarithmic Function

CONCEPT

Features (b>1b > 1)

Domain: x>0x > 0. Range: all real numbers. Vertical asymptote: x=0x = 0. x-intercept: (1,0)(1, 0), because log⁡b1=0\log_{b} 1 = 0.

If a>0a > 0: always increasing and concave down. If a<0a < 0: always decreasing and concave up. So there are no maximums, minimums, or points of inflection.

End behavior: as xx → 0+0^{+} (xx shrinking toward 0 through positive values) the outputs go to −∞ if a>0a > 0; as xx → ∞ they go to ∞, but extremely slowly.

lim⁡x→0+log⁡2x=−∞lim⁡x→∞log⁡2x=∞\lim_{x\to 0^{+}} \log_2 x = -\infty \qquad\qquad \lim_{x\to\infty} \log_2 x = \infty

With a negative coefficient everything flips upside down:

lim⁡x→0+(−2ln⁡x)=∞lim⁡x→∞(−2ln⁡x)=−∞\lim_{x\to 0^{+}} (-2\ln x) = \infty \qquad\qquad \lim_{x\to\infty} (-2\ln x) = -\infty

Figure

A positive coefficient gives an increasing, concave down curve; a negative one flips it to decreasing, concave up. Both pass through (1,0)(1, 0).

Why concave down? The gains shrink. log⁡22−log⁡21=1\log_{2} 2 - \log_{2} 1 = 1, but log⁡28−log⁡27≈0.19\log_{2} 8 - \log_{2} 7 \approx 0.19. Equal steps in xx give smaller and smaller increases, so the rate of change is decreasing, which is what concave down means.

02

Transformations

f(x)=alog⁡b(x−h)+kf(x) = a \log_b(x - h) + k

CONCEPT

What Each Constant Does

hh shifts the graph horizontally. It moves the asymptote to x=hx = h, and the domain becomes x>hx > h. Find it by setting the inside equal to 0.

kk shifts the graph vertically. It does NOT move the asymptote, because the asymptote is a vertical line.

a stretches the graph vertically (and flips it over the x-axis if a<0a < 0).

Worked example

Example 1. g(x)=log⁡2(x−3)+1g(x) = \log_{2}(x - 3) + 1. Find the domain, the asymptote, the x-intercept, and some points.

  1. 01

    The input of a logarithm must be positive: x−3>0x - 3 > 0, so the domain is x>3x > 3.

  2. 02

    The asymptote is where the inside equals 0: x=3x = 3.

  3. 03

    Points: choose xx so that x−3x - 3 is a power of 2. x=4x = 4 gives log⁡21+1=1\log_{2} 1 + 1 = 1; x=5x = 5 gives 2; x=7x = 7 gives 3; x=11x = 11 gives 4.

  4. 04

    x-intercept: set g(x)=0g(x) = 0. log⁡2(x−3)=−1\log_{2}(x - 3) = -1, so x−3=2−1=0.5x - 3 = 2^{-1} = 0.5 and x=3.5x = 3.5.

    Figure

    Moving log⁡2x\log_{2} x right 3 and up 1. The asymptote moves with the horizontal shift only.

Worked example

Example 2. h(x)=2ln⁡x−3h(x) = 2 \ln x - 3. Find three points, the x-intercept, and the shape.

  1. 01

    Choose x-values that are powers of ee, so ln⁡x\ln x is a whole number: h(1)=−3h(1) = -3, h(e)=−1h(e) = -1, h(e2)=1h(e^{2}) = 1.

  2. 02

    x-intercept: 2ln⁡x=32 \ln x = 3, so ln⁡x=1.5\ln x = 1.5 and x=e1.5≈4.482x = e^{1.5} \approx 4.482.

  3. 03

    a=2>0a = 2 > 0, so hh is increasing and concave down, with asymptote x=0x = 0 (no horizontal shift).

COMMON MISTAKE

“g(x)=log⁡2(x−3)+1g(x) = \log_{2}(x - 3) + 1 has its asymptote at y=1y = 1.”

A logarithm's asymptote is vertical. The +1 lifts the whole curve, but lifting a vertical line doesn't move it. The asymptote is x=3x = 3, from setting the inside x−3x - 3 equal to 0.

“log⁡2(x−3)\log_{2}(x - 3) is the same as log⁡2x−log⁡23\log_{2} x - \log_{2} 3.”

A logarithm doesn't distribute over subtraction. At x=7x = 7: log⁡24=2\log_{2} 4 = 2, but log⁡27−log⁡23≈1.2224\log_{2} 7 - \log_{2} 3 \approx 1.2224. (2.12 shows the rules logs DO follow.)

Quick check

For f(x)=2log⁡3(x−4)−1f(x) = 2\log_3(x - 4) - 1, state the domain and the vertical asymptote.

03

Reflections and Direction

A minus sign can go in two places, and each one flips a different way.

CONCEPT

Two Kinds of Reflection

Outside: y=−log⁡bxy = -\log_{b} x flips the graph over the x-axis. Increasing becomes decreasing; the domain stays x>0x > 0.

Inside: y=log⁡b(−x)y = \log_{b}(-x), or log⁡(5−x)\log(5 - x), flips the graph over a vertical line. The domain now points LEFT: for log⁡(5−x)\log(5 - x) we need 5−x>05 - x > 0, so x<5x < 5.

Figure

Left: log⁡(5−x)\log(5 - x) exists only for x<5x < 5 and drops toward the asymptote x=5x = 5. Right: −log⁡2(x+1)-\log_{2}(x + 1) decreases, passing (1,−1)(1, -1), (3,−2)(3, -2), (7,−3)(7, -3).

Check the left graph with points: log⁡(5−4)=log⁡1=0\log(5 - 4) = \log 1 = 0 and log⁡(5−(−5))=log⁡10=1\log\left(5 - (-5)\right) = \log 10 = 1. As xx → 5 from the left, 5−x5 - x → 0+0^{+}, so the outputs fall to −∞.

Quick check

What is the domain of g(x)=log⁡(8−2x)g(x) = \log(8 - 2x)?

04

Recognizing Logarithmic Data

Remember from 2.2: linear data adds equal amounts over equal input steps, and exponential data multiplies. Logarithmic data is the inverse pattern.

KEY RULE

Logarithmic: when the inputs are MULTIPLIED by a constant, the outputs ADD a constant.

x1392781
y2581114

Worked example

Example 3. Write a logarithmic model for the table above.

  1. 01

    Inputs: each is 3 times the one before (×3). Outputs: each is 3 more (+3)(+3). So the model is y=a+c⋅log⁡3xy = a + c \cdot \log_{3} x, with base 3 because the inputs are multiplied by 3.

  2. 02

    At x=1x = 1, log⁡31=0\log_{3} 1 = 0, so y=ay = a: a=2a = 2.

  3. 03

    Each ×3 step raises log⁡3x\log_{3} x by 1 and yy by 3, so c=3c = 3.

    y=2+3log⁡3xy = 2 + 3\log_3 x

    Decreasing data works the same way: x=2x = 2, 4, 8, 16, 32 with y=10y = 10, 8, 6, 4, 2 (each doubling subtracts 2) fits y=12−2log⁡2xy = 12 - 2 \log_{2} x.

REAL-LIFE EXAMPLE

Earthquake Magnitude as a Function

From 2.9: magnitude grows by 1 each time the ground motion A is multiplied by 10. With A measured relative to a standard small quake, M(A)=log⁡AM(A) = \log A: A=10A = 10, 100, 1000, 10000 gives M=1M = 1, 2, 3, 4.

Multiplying the input by 10 adds 1 to the output: the logarithmic pattern in action.

Worked example

Try it yourself. f(x)=ln⁡(x+2)−1f(x) = \ln(x + 2) - 1. Give the domain, the vertical asymptote, and the x-intercept.

Answers: x+2>0x + 2 > 0, so the domain is x>−2x > -2 and the asymptote is x=−2x = -2. ln⁡(x+2)=1\ln(x + 2) = 1 gives x+2=ex + 2 = e, so the x-intercept is x=e−2≈0.718x = e - 2 \approx 0.718.

05

Practice

Worked example

P1. p(x)=3log⁡x−2p(x) = 3 \log x - 2. Find p(1)p(1), p(10)p(10), p(100)p(100). Is pp increasing or decreasing? Concave up or down?

Answer: p(1)=−2p(1) = -2, p(10)=1p(10) = 1, p(100)=4p(100) = 4: each ×10 in the input adds 3. a=3>0a = 3 > 0, so increasing and concave down.

Worked example

P2. q(x)=log⁡3(x+4)q(x) = \log_{3}(x + 4). Find the domain, the asymptote, and q(−3)q(-3), q(5)q(5), q(23)q(23).

Answer: Domain x>−4x > -4, asymptote x=−4x = -4. q(−3)=log⁡31=0q(-3) = \log_{3} 1 = 0, q(5)=log⁡39=2q(5) = \log_{3} 9 = 2, q(23)=log⁡327=3q(23) = \log_{3} 27 = 3.

Worked example

P3. f(x)=log⁡(2x−6)+1f(x) = \log(2x - 6) + 1. Find the domain, f(8)f(8), and the x-intercept.

Answer: 2x−6>02x - 6 > 0, so x>3x > 3. f(8)=log⁡10+1=2f(8) = \log 10 + 1 = 2. x-intercept: log⁡(2x−6)=−1\log(2x - 6) = -1, so 2x−6=0.12x - 6 = 0.1 and x=3.05x = 3.05.

Common slips

  • “g(x)=log⁡2(x−3)+1g(x) = \log_{2}(x - 3) + 1 has its asymptote at y=1y = 1.”

    A logarithm's asymptote is vertical. The +1 lifts the whole curve, but lifting a vertical line doesn't move it. The asymptote is x=3x = 3, from setting the inside x−3x - 3 equal to 0.

    “log⁡2(x−3)\log_{2}(x - 3) is the same as log⁡2x−log⁡23\log_{2} x - \log_{2} 3.”

    A logarithm doesn't distribute over subtraction. At x=7x = 7: log⁡24=2\log_{2} 4 = 2, but log⁡27−log⁡23≈1.2224\log_{2} 7 - \log_{2} 3 \approx 1.2224. (2.12 shows the rules logs do follow.)

Lock it in

Try the flashcards

15 cards · Logarithms, Log or exponential graph?

Start

Recap card

5 lines to re-read the night before.

  1. 01

    f(x)=alog⁡bxf(x) = a \log_{b} x: domain x>0x > 0, range all reals, vertical asymptote x=0x = 0, x-intercept (1,0)(1, 0). Always increasing or decreasing; always concave one way.

  2. 02

    f(x)=alog⁡b(x−h)+kf(x) = a \log_{b}(x - h) + k: domain x>hx > h, asymptote x=hx = h (set the inside = 0). kk shifts the graph but not the asymptote.

  3. 03

    A minus sign outside flips over the x-axis; a minus sign inside (like 5−x5 - x) flips the domain to the left.

  4. 04

    Logarithmic data: multiplying the inputs by a constant adds a constant to the outputs.

  5. 05

    Next, in 2.12: the product, quotient, and power rules for logarithms, and changing bases.

Premium feature

Unlock Premium

Every question, sets from your misses, mock exams and more.

Current accessFree

  • Every practice question
  • Sets from your misses
  • Mock exams

Free during early access — no card. Your progress stays exactly where it is. Compare plans