TExcelTAD
Home › School Functions, Exponentials & Logarithms › Logarithmic Functions and Graphs: Domain, Asymptote, and Transformations

Logarithmic Functions and Graphs: Domain, Asymptote, and Transformations

Every parent function in algebra has a distinct visual signature on paper: parabolas are symmetric U-shapes, hyperbolas have two disconnected branches, and exponential curves shoot upward rapidly.

The graph of a logarithmic function f(x)=log⁡axf(x) = \log_a x is the geometric reflection of an exponential curve across the diagonal mirror line y=xy = x. Because it is an inverse function, all inputs and outputs swap roles: the horizontal asymptote of the exponential becomes a vertical asymptote for the logarithm, and the domain becomes strictly restricted to positive numbers.


1. Concepts & The Inverse Relationship

Let a>0a > 0 with a≠1a \neq 1. The logarithmic function with base aa is:

f(x)=log⁡ax(x>0)f(x) = \log_a x \quad (x > 0)

Recall the fundamental features of the exponential function g(x)=axg(x) = a^x and compare them directly to f(x)=log⁡axf(x) = \log_a x:

Exponential: g(x)=axDomain:(−∞,∞)Range:(0,∞)Horizontal Asymptote:y=0Key Points:(−1,1/a),  (0,1),  (1,a)⟺Logarithmic: f(x)=log⁡axDomain:(0,∞)Range:(−∞,∞)Vertical Asymptote:x=0Key Points:(1/a,−1),  (1,0),  (a,1)\begin{aligned} \textbf{Exponential: } & g(x) = a^x \\ \text{Domain:} \quad & (-\infty, \infty) \\ \text{Range:} \quad & (0, \infty) \\ \text{Horizontal Asymptote:} \quad & y = 0 \\ \text{Key Points:} \quad & (-1, 1/a), \; (0, 1), \; (1, a) \end{aligned} \qquad \Longleftrightarrow \qquad \begin{aligned} \textbf{Logarithmic: } & f(x) = \log_a x \\ \text{Domain:} \quad & (0, \infty) \\ \text{Range:} \quad & (-\infty, \infty) \\ \text{Vertical Asymptote:} \quad & x = 0 \\ \text{Key Points:} \quad & (1/a, -1), \; (1, 0), \; (a, 1) \end{aligned}
                          y ^
                            │           /  y = x (mirror line)
                            │   (1,a)  /   .·´  y = aˣ
                            │     ●   /  .·´
                            │        /.·´
                            │ (0,1) /´
                            │  ●  /´
             (1/a, -1)      │    /´       (a, 1)
             - - - - - - - -┼---/──────────●───────► x
               ●            │  /         ● (1, 0)
            (-1, 1/a)       │ /        .·
                            │/       .·
                            /      .·   y = logₐ(x)
                           /│    .·
                          / │  .·
                 Asymptote: │ :
                      x = 0 │ :

2. Fundamental Properties of the Parent Curve

The Domain Rule

The argument inside a logarithm must be strictly positive:

Domain: Df=(0,∞)={x∈R∣x>0}\text{Domain: } D_f = (0, \infty) = \{x \in \mathbb{R} \mid x > 0\}

On paper, this means the graph exists only to the right of the vertical line x=0x = 0. The curve can never touch or cross the yy-axis.

The Vertical Asymptote

The yy-axis (the line x=0x = 0) serves as a barrier that the graph approaches indefinitely:

Vertical Asymptote (VA): x=0\text{Vertical Asymptote (VA): } x = 0

The Three Anchor Points

When plotting f(x)=log⁡axf(x) = \log_a x on squared paper, always plot these three reliable coordinates:

  1. x=1a  ⟹  y=log⁡a(1a)=−1x = \frac{1}{a} \implies y = \log_a\left(\frac{1}{a}\right) = -1: coordinate (1a,−1)\left(\frac{1}{a}, -1\right)
  2. x=1  ⟹  y=log⁡a(1)=0x = 1 \implies y = \log_a(1) = 0: coordinate (1,0)(1, 0) (xx-intercept)
  3. x=a  ⟹  y=log⁡a(a)=1x = a \implies y = \log_a(a) = 1: coordinate (a,1)(a, 1)

3. Shape and Monotonicity: Base a>1a > 1 vs 0<a<10 < a < 1

The base aa determines whether the curve climbs or falls from left to right:

Case 1: Base a > 1 (Increasing)         Case 2: Base 0 < a < 1 (Decreasing)

           y ^                                     y ^
             │        .·´ (a, 1)                     │  :  (1/a, 1)
             │      .·                               │  : ●
             │    .·                                 │  :   .
             │  .· (1, 0)                            │  :     .·´ (1, 0)
    ─────────┼─●───────────► x              ─────────┼──●───────.─────► x
             │ :                                     │  :        ● (a, -1)
             │ : ● (1/a, -1)                         │  :
             │ :                                     │  :
       VA: x=0                                 VA: x=0
   lim f(x) = -∞ as x ──► 0⁺              lim f(x) = +∞ as x ──► 0⁺
  • When a>1a > 1 (e.g., a=2,10,ea = 2, 10, e): The function is strictly increasing on (0,∞)(0, \infty). As x→0+x \to 0^+, y→−∞y \to -\infty. As x→∞x \to \infty, y→∞y \to \infty (it climbs slowly, but grows without upper bound).
  • When 0<a<10 < a < 1 (e.g., a=12a = \frac{1}{2}): The function is strictly decreasing on (0,∞)(0, \infty). As x→0+x \to 0^+, y→+∞y \to +\infty. As x→∞x \to \infty, y→−∞y \to -\infty.

4. Graphing Paper Transformations

A general transformed logarithmic function has the standard form:

g(x)=A⋅log⁡a(B(x−h))+kg(x) = A \cdot \log_a(B(x - h)) + k

On paper, follow this sequence:

Step 1: Determine the Domain and Vertical Asymptote
        Set the entire inner argument strictly greater than zero:
        Inside > 0  ──►  B(x - h) > 0
        The boundary value gives the Vertical Asymptote: x = h.
        Draw this boundary on your grid paper with a neat DASHED vertical line.

Step 2: Map the Three Anchor Points
        Parent points (1/a, -1), (1, 0), (a, 1) are shifted:
        - Horizontal: x_new = (x_old / B) + h
        - Vertical:   y_new = A · y_old + k

Step 3: Calculate the Intercepts
        - x-intercept: Set g(x) = 0 and solve for x.
        - y-intercept: Calculate g(0), if 0 lies inside the domain.

Step 4: Sketch the Smooth Curve
        Start very close to the vertical asymptote, pass smoothly through your
        calculated points, and flatten the curve out as x increases.

5. Step-by-Step Notebook Examples

Example 1: Finding Domains of Logarithmic Functions on Paper

Find the domain on paper for each of the following functions:

  1. f1(x)=log⁡4(2x−8)f_1(x) = \log_4(2x - 8)
  2. f2(x)=ln⁡(25−x2)f_2(x) = \ln(25 - x^2)
  3. f3(x)=log⁡(x+2x−5)f_3(x) = \log\left(\frac{x + 2}{x - 5}\right)

Solution 1: f1(x)=log⁡4(2x−8)f_1(x) = \log_4(2x - 8)

  • Condition: The argument must be strictly positive:
    2x−8>02x - 8 > 0
  • Solve inequality on paper:
    2x>8  ⟹  x>42x > 8 \implies x > 4
  • Domain: D1=(4,∞)D_1 = (4, \infty). The vertical asymptote is x=4x = 4.

Solution 2: f2(x)=ln⁡(25−x2)f_2(x) = \ln(25 - x^2)

  • Condition:
    25−x2>025 - x^2 > 0
  • Factor the difference of squares:
    (5−x)(5+x)>0(5 - x)(5 + x) > 0
  • Paper sign chart / parabola analysis: The quadratic y=25−x2y = 25 - x^2 is an upside-down parabola with roots at x=−5x = -5 and x=5x = 5. It is strictly positive between the roots:
              - - - - - [ -5 ] + + + + + [ 5 ] - - - - -
    Sign of 25 - x²:       0               0
  • Domain: D2=(−5,5)D_2 = (-5, 5). The function has two vertical asymptotes: x=−5x = -5 and x=5x = 5.

Solution 3: f3(x)=log⁡(x+2x−5)f_3(x) = \log\left(\frac{x + 2}{x - 5}\right)

  • Condition: The rational expression must be strictly positive:

    x+2x−5>0\frac{x + 2}{x - 5} > 0
  • Construct a paper sign table with test points: Critical numbers where numerator or denominator equals zero are x=−2x = -2 and x=5x = 5:

    Intervalx<−2x=−2−2<x<5x=5x>5x+2−0+++x−5−−−0+x+2x−5+0−und+\begin{array}{c|c|c|c|c|c} \text{Interval} & x < -2 & x = -2 & -2 < x < 5 & x = 5 & x > 5 \\ \hline x + 2 & - & 0 & + & + & + \\ x - 5 & - & - & - & 0 & + \\ \hline \frac{x + 2}{x - 5} & + & 0 & - & \text{und} & + \end{array}
  • Domain: Strictly positive intervals where the sign is ++:

    D3=(−∞,−2)∪(5,∞)D_3 = (-\infty, -2) \cup (5, \infty)

Example 2: Constructing a Paper Table and Plotting f(x)=log⁡2xf(x) = \log_2 x

Plot f(x)=log⁡2xf(x) = \log_2 x by calculating a 5-point coordinate table on paper.

Paper Table Calculation:

Select convenient powers of 22 for the xx-values:

xCalculation log⁡2(x)yPlot Coordinate (x,y)14log⁡2(2−2)−2(14,−2)12log⁡2(2−1)−1(12,−1)1log⁡2(20)0(1,0)2log⁡2(21)1(2,1)4log⁡2(22)2(4,2)8log⁡2(23)3(8,3)\begin{array}{c|c|c|c} x & \text{Calculation } \log_2(x) & y & \text{Plot Coordinate } (x, y) \\ \hline \frac{1}{4} & \log_2(2^{-2}) & -2 & \left(\frac{1}{4}, -2\right) \\ \frac{1}{2} & \log_2(2^{-1}) & -1 & \left(\frac{1}{2}, -1\right) \\ 1 & \log_2(2^0) & 0 & (1, 0) \\ 2 & \log_2(2^1) & 1 & (2, 1) \\ 4 & \log_2(2^2) & 2 & (4, 2) \\ 8 & \log_2(2^3) & 3 & (8, 3) \end{array}

Sketching Observations:

  1. Vertical Asymptote: Near x=0x = 0, as xx shrinks (14,18,116\frac{1}{4}, \frac{1}{8}, \frac{1}{16}), the curve plunges rapidly to −∞-\infty hugging the yy-axis.
  2. xx-intercept: Crosses the xx-axis cleanly at (1,0)(1, 0).
  3. Slow Growth: To go from y=1y = 1 to y=2y = 2, xx doubles from 22 to 44. To reach y=3y = 3, xx must double again to 88. The curve flattens out noticeably as it moves right, but never stops growing.

Example 3: Sketching a Transformed Logarithmic Function

Sketch g(x)=log⁡3(x+1)−2g(x) = \log_3(x + 1) - 2 on paper. Determine its domain, range, asymptote, and intercepts.

Step 1: Domain and Asymptote

Argument >0  ⟹  x+1>0  ⟹  x>−1\text{Argument } > 0 \implies x + 1 > 0 \implies x > -1
  • Domain: D=(−1,∞)D = (-1, \infty)
  • Range: R=(−∞,∞)R = (-\infty, \infty)
  • Vertical Asymptote: x=−1x = -1 (draw this as a dashed line on paper)

Step 2: Transform Anchor Points

For base a=3a = 3, the parent points for log⁡3(u)\log_3(u) are (1/3,−1)(1/3, -1), (1,0)(1, 0), and (3,1)(3, 1).
Since u=x+1  ⟹  x=u−1u = x + 1 \implies x = u - 1, and y=log⁡3(u)−2y = \log_3(u) - 2:

u=13:x=13−1=−23,y=−1−2=−3  ⟹  (−23,−3)u=1:x=1−1=0,y=0−2=−2  ⟹  (0,−2)u=3:x=3−1=2,y=1−2=−1  ⟹  (2,−1)u=9:x=9−1=8,y=2−2=0  ⟹  (8,0)\begin{aligned} u = \frac{1}{3}: \quad &x = \frac{1}{3} - 1 = -\frac{2}{3}, \quad &y = -1 - 2 = -3 \implies \left(-\frac{2}{3}, -3\right) \\ u = 1: \quad &x = 1 - 1 = 0, \quad &y = 0 - 2 = -2 \implies (0, -2) \\ u = 3: \quad &x = 3 - 1 = 2, \quad &y = 1 - 2 = -1 \implies (2, -1) \\ u = 9: \quad &x = 9 - 1 = 8, \quad &y = 2 - 2 = 0 \implies (8, 0) \end{aligned}

Step 3: Exact Intercepts

  • yy-intercept: Set x=0x = 0:
    g(0)=log⁡3(0+1)−2=log⁡3(1)−2=0−2=−2  ⟹  (0,−2)g(0) = \log_3(0 + 1) - 2 = \log_3(1) - 2 = 0 - 2 = -2 \implies (0, -2)
  • xx-intercept: Set g(x)=0g(x) = 0:
    log⁡3(x+1)−2=0log⁡3(x+1)=2x+1=32=9  ⟹  x=8  ⟹  (8,0)\begin{aligned} \log_3(x + 1) - 2 &= 0 \\ \log_3(x + 1) &= 2 \\ x + 1 &= 3^2 = 9 \implies x = 8 \implies (8, 0) \end{aligned}

6. Common Mistakes & Paper Traps

┌──────────────────────────────────────┬──────────────────────────────────────────┐
│ COMMON PAPER MISTAKE                 │ CORRECT MATHEMATICAL REALITY             │
├──────────────────────────────────────┼──────────────────────────────────────────┤
│ Drawing a Horizontal Asymptote       │ Logarithmic functions have NO horizontal │
│ (Confusing log with exponential)     │ asymptotes! They have a VERTICAL one.    │
├──────────────────────────────────────┼──────────────────────────────────────────┤
│ Graph crossing the line x = 0        │ The argument must be > 0. The curve      │
│ (Drawing points where x ≤ 0)         │ terminates asymptotically at the VA line.│
├──────────────────────────────────────┼──────────────────────────────────────────┤
│ Assuming the curve stops rising      │ Because growth is slow, students often   │
│ (Thinking there is an upper ceiling) │ draw a ceiling. Range is ALL real nums!  │
├──────────────────────────────────────┼──────────────────────────────────────────┤
│ Incorrect asymptote shift            │ In log(x + 3), the asymptote shifts LEFT │
│ (Shifting x = +3 instead of -3)      │ to x = -3 (solve argument x + 3 = 0).    │
└──────────────────────────────────────┴──────────────────────────────────────────┘

7. Pencil & Paper Practice

Complete these exercises on paper before checking the step-by-step solutions below.

Practice 1

Find the domain and vertical asymptote of:

h(x)=ln⁡(8−2x)h(x) = \ln(8 - 2x)

Practice 2

Given the parent curve f(x)=log⁡2xf(x) = \log_2 x, describe the exact geometric transformations required to produce:

g(x)=−2log⁡2(x−3)+1g(x) = -2\log_2(x - 3) + 1

State its domain, range, and vertical asymptote.

Practice 3

Find the exact coordinates of the xx-intercept and yy-intercept (if any) for:

p(x)=log⁡4(x+4)−3p(x) = \log_4(x + 4) - 3

Worked Solutions

Solution to Practice 1

  1. Domain: Set argument strictly greater than 00:
    8−2x>0  ⟹  −2x>−8  ⟹  x<48 - 2x > 0 \implies -2x > -8 \implies x < 4
    (Remember to reverse the inequality sign when dividing by a negative number!)
  2. Domain in interval notation: D=(−∞,4)D = (-\infty, 4).
  3. Vertical Asymptote: Set argument equal to zero:
    8−2x=0  ⟹  x=48 - 2x = 0 \implies x = 4

Answer: Domain is (−∞,4)(-\infty, 4); Vertical Asymptote is the line x=4x = 4.


Solution to Practice 2

  1. Transformations applied to f(x)=log⁡2xf(x) = \log_2 x:
    • Horizontal shift right by 33 units (x→x−3x \to x - 3).
    • Vertical stretch by a factor of 22 (y→2yy \to 2y).
    • Reflection across the xx-axis (the negative sign: y→−yy \to -y).
    • Vertical shift up by 11 unit (y→y+1y \to y + 1).
  2. Domain: x−3>0  ⟹  x>3x - 3 > 0 \implies x > 3, so D=(3,∞)D = (3, \infty).
  3. Range: (−∞,∞)(-\infty, \infty) (unaffected by vertical shifts or reflections).
  4. Vertical Asymptote: x=3x = 3. Answer: Domain (3,∞)(3, \infty), Range R\mathbb{R}, VA x=3x = 3.

Solution to Practice 3

  1. xx-intercept: Set p(x)=0p(x) = 0:
    log⁡4(x+4)−3=0log⁡4(x+4)=3x+4=43=64x=64−4=60\begin{aligned} \log_4(x + 4) - 3 &= 0 \\ \log_4(x + 4) &= 3 \\ x + 4 &= 4^3 = 64 \\ x &= 64 - 4 = 60 \end{aligned}
    Coordinate: (60,0)(60, 0).
  2. yy-intercept: Set x=0x = 0:
    p(0)=log⁡4(0+4)−3=log⁡4(4)−3=1−3=−2\begin{aligned} p(0) &= \log_4(0 + 4) - 3 \\ &= \log_4(4) - 3 \\ &= 1 - 3 = -2 \end{aligned}
    Coordinate: (0,−2)(0, -2). Answer: xx-intercept is (60,0)(60, 0); yy-intercept is (0,−2)(0, -2).

Test yourself

What is the domain of the function f(x)=log⁡3(10−5x)f(x) = \log_3(10 - 5x)?

  1. (2,∞)(2, \infty)
  2. (−∞,2)(-\infty, 2)
  3. (−∞,2](-\infty, 2]
  4. (−∞,10)(-\infty, 10)

What is the equation of the vertical asymptote for g(x)=4ln⁡(2x−6)+7g(x) = 4\ln(2x - 6) + 7?

  1. x=6x = 6
  2. x=3x = 3
  3. y=7y = 7
  4. x=0x = 0

How does the graph of y=log⁡axy = \log_a x behave when 0<a<10 < a < 1 (for example, a=13a = \frac{1}{3}) as xx approaches 00 from the right (x→0+x \to 0^+)?

  1. It plunges down towards −∞-\infty
  2. It shoots upward towards +∞+\infty
  3. It flattens out horizontally at y=0y = 0
  4. It terminates at the point (0,−1)(0, -1)