Solved Exercises on Graphing Logarithmic Functions in College Algebra

Master graphing logarithmic functions: transformations, domain, range, asymptotes, and key features through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Basic logarithmic function
Exercise 1
Graph: \(f(x) = \log_2 x\)
Definition:

Logarithmic Function: A function of the form \(f(x) = \log_b x\) where \(b > 0, b \neq 1\). The function is the inverse of the exponential function.

Graphing method:
  1. Identify the domain: \(x > 0\) for all logarithmic functions
  2. Identify the vertical asymptote: \(x = 0\) (y-axis)
  3. Plot key points: (1, 0), (b, 1), (1/b, -1)
  4. Sketch the curve approaching the asymptote
  5. State the range: all real numbers
Function
\(f(x) = \log_2 x\)
Domain
\(x > 0\)
Range
\((-\infty, \infty)\)
Asymptote
\(x = 0\)
Key Points
(1,0), (2,1), (1/2,-1)
Step 1: Identify the domain

For \(\log_2 x\), the argument must be positive: \(x > 0\)

Step 2: Identify the vertical asymptote

As \(x\) approaches 0 from the right, \(\log_2 x\) approaches \(-\infty\), so \(x = 0\) is the vertical asymptote

Step 3: Plot key points

• Point (1, 0): \(\log_2 1 = 0\) because \(2^0 = 1\)

• Point (2, 1): \(\log_2 2 = 1\) because \(2^1 = 2\)

• Point (1/2, -1): \(\log_2(1/2) = -1\) because \(2^{-1} = 1/2\)

Step 4: Sketch the graph

Draw a smooth curve through the key points, approaching the asymptote as \(x\) approaches 0 and increasing without bound as \(x\) increases

Domain: \((0, \infty)\), Range: \((-\infty, \infty)\), Asymptote: \(x = 0\)
Final answer:

The graph of \(f(x) = \log_2 x\) has domain \((0, \infty)\), range \((-\infty, \infty)\), and vertical asymptote \(x = 0\).

Applied rules:

• Domain: Logarithmic functions require positive arguments

• Vertical Asymptote: Occurs where argument approaches 0

• Key Points: (1, 0) always on logarithmic graphs

2 Logarithmic function with horizontal shift
Exercise 2
Graph: \(f(x) = \log_3(x + 2)\)
Definition:

Horizontal Shift: In \(f(x) = \log_b(x - h)\), the graph shifts horizontally. If \(h > 0\), shift right; if \(h < 0\), shift left.

Function
\(f(x) = \log_3(x + 2)\)
Rewrite
\(f(x) = \log_3(x - (-2))\)
Shift
Left by 2 units
New Asymptote
\(x = -2\)
Step 1: Rewrite the function to identify the shift

\(f(x) = \log_3(x + 2) = \log_3(x - (-2))\), so \(h = -2\)

Step 2: Determine the direction of the shift

Since \(h = -2 < 0\), the graph shifts left by 2 units

Step 3: Find the new domain and asymptote

For \(\log_3(x + 2)\), we need \(x + 2 > 0\), so \(x > -2\)

The vertical asymptote moves from \(x = 0\) to \(x = -2\)

Step 4: Plot key transformed points

• Point (-1, 0): \(\log_3(-1 + 2) = \log_3(1) = 0\)

• Point (1, 1): \(\log_3(1 + 2) = \log_3(3) = 1\)

• Point (-5/4, -1): \(\log_3(-5/4 + 2) = \log_3(3/4) = \log_3(3^{-1} \cdot 4) = -1 + \log_3 4\)

Domain: \((-2, \infty)\), Range: \((-\infty, \infty)\), Asymptote: \(x = -2\)
Final answer:

The graph of \(f(x) = \log_3(x + 2)\) has domain \((-2, \infty)\), range \((-\infty, \infty)\), and vertical asymptote \(x = -2\).

Applied rules:

• Horizontal Shift: \(f(x) = \log_b(x - h)\) shifts right by h units

• New Domain: Adjust based on the shift

• New Asymptote: Shift follows the same amount as the function

3 Logarithmic function with reflection
Exercise 3
Graph: \(f(x) = -\log_2 x\)
Definition:

Reflection across x-axis: In \(f(x) = -\log_b x\), the graph is reflected across the x-axis. The shape is inverted but the domain and asymptote remain the same.

Original Function
\(g(x) = \log_2 x\)
Reflected Function
\(f(x) = -\log_2 x\)
Domain
\(x > 0\)
Range
\((-\infty, \infty)\)
Asymptote
\(x = 0\)
Step 1: Identify the transformation

The negative sign in front of the logarithm reflects the graph across the x-axis

Step 2: Note unchanged properties

Domain remains \(x > 0\), range remains all real numbers, and vertical asymptote remains \(x = 0\)

Step 3: Plot key reflected points

• Point (1, 0): \(-\log_2 1 = -0 = 0\) (unchanged)

• Point (2, -1): \(-\log_2 2 = -1\) (was (2, 1), now (2, -1))

• Point (1/2, 1): \(-\log_2(1/2) = -(-1) = 1\) (was (1/2, -1), now (1/2, 1))

Step 4: Sketch the reflected graph

The graph decreases as x increases, approaching the asymptote as x approaches 0 from the right

Domain: \((0, \infty)\), Range: \((-\infty, \infty)\), Asymptote: \(x = 0\)
Final answer:

The graph of \(f(x) = -\log_2 x\) has domain \((0, \infty)\), range \((-\infty, \infty)\), and vertical asymptote \(x = 0\).

Applied rules:

• Reflection across x-axis: Negative sign in front reflects the graph

• Domain preservation: Reflection doesn't change domain

• Range preservation: Reflection doesn't change range

Key Rules, Laws, and Methods
\(f(x) = a\log_b(x - h) + k\)
Transformed Logarithmic Function
Domain
\(x > h\)
For \(\log_b(x-h)\)
Asymptote
\(x = h\)
Vertical asymptote
Range
\((-\infty, \infty)\)
All real numbers
Key Definitions:

Logarithmic Function: \(f(x) = \log_b x\) where \(b > 0, b \neq 1\)

Domain: Set of all possible input values (x-values)

Range: Set of all possible output values (y-values)

Vertical Asymptote: Vertical line that the graph approaches but never touches

Complete Methodology:
  1. Identify the basic function: Start with \(f(x) = \log_b x\)
  2. Apply horizontal transformations: Shifts and reflections in x-direction
  3. Apply vertical transformations: Stretches, compressions, shifts, and reflections in y-direction
  4. Determine domain, range, and asymptotes: Based on transformations
  5. Plot key points: Transform the basic key points accordingly
Tip 1: The point (1, 0) is always on the graph of \(f(x) = \log_b x\).
Tip 2: The vertical asymptote always occurs where the argument equals 0.
Tip 3: For \(f(x) = \log_b x\), if \(b > 1\), the function increases; if \(0 < b < 1\), it decreases.
Tip 4: Transformations affect the domain but not the range of logarithmic functions.
Common errors: Forgetting to adjust the domain and asymptote for horizontal shifts, confusing domain and range, misapplying transformations.
Exam preparation: Practice identifying transformations, memorize key points, know how to find domain and asymptotes quickly.
Essential formulas:

• Domain of \(\log_b(x-h)\): \(x > h\)

• Vertical Asymptote: \(x = h\)

• Range: \((-\infty, \infty)\)

• Key Point: (1+h, k) for \(f(x) = a\log_b(x-h) + k\)

Solution: Exercises 4 to 5
4 Combined transformations
Exercise 4
Graph: \(f(x) = 2\log_4(x - 1) + 3\)
Definition:

Combined Transformations: When multiple transformations are applied, apply them in order: horizontal shifts, reflections/stretches, then vertical shifts.

Function
\(f(x) = 2\log_4(x - 1) + 3\)
Identify parameters
\(a=2, b=4, h=1, k=3\)
Horizontal shift
Right by 1 unit
Vertical stretch
By factor of 2
Vertical shift
Up by 3 units
Step 1: Identify the transformations

In \(f(x) = 2\log_4(x - 1) + 3\):

• \(h = 1\): Horizontal shift right by 1 unit

• \(a = 2\): Vertical stretch by factor of 2

• \(k = 3\): Vertical shift up by 3 units

Step 2: Determine the domain and asymptote

For \(\log_4(x - 1)\), we need \(x - 1 > 0\), so \(x > 1\)

The vertical asymptote is \(x = 1\)

Step 3: Transform the key points

Start with basic points for \(\log_4 x\): (1, 0), (4, 1), (1/4, -1)

Apply transformations to each point:

• (1, 0) → (1+1, 2(0)+3) = (2, 3)

• (4, 1) → (4+1, 2(1)+3) = (5, 5)

• (1/4, -1) → (1/4+1, 2(-1)+3) = (5/4, 1)

Step 4: Sketch the graph

Plot the transformed points and draw the curve, ensuring it approaches the asymptote at \(x = 1\)

Domain: \((1, \infty)\), Range: \((-\infty, \infty)\), Asymptote: \(x = 1\)
Final answer:

The graph of \(f(x) = 2\log_4(x - 1) + 3\) has domain \((1, \infty)\), range \((-\infty, \infty)\), and vertical asymptote \(x = 1\).

Applied rules:

• Transformation Order: Horizontal shifts first, then stretches/reflections, then vertical shifts

• Point Transformation: Apply each transformation to coordinates

• Domain Adjustment: Based on horizontal shift

5 Logarithmic function with base between 0 and 1
Exercise 5
Graph: \(f(x) = \log_{1/2} x\)
Definition:

Base Between 0 and 1: When \(0 < b < 1\), the logarithmic function is decreasing. The graph has the same domain and asymptote as when \(b > 1\), but the direction is reversed.

Function
\(f(x) = \log_{1/2} x\)
Base
\(0 < 1/2 < 1\)
Behavior
Decreasing function
Domain
\(x > 0\)
Range
\((-\infty, \infty)\)
Asymptote
\(x = 0\)
Step 1: Identify the base characteristics

Since \(0 < \frac{1}{2} < 1\), the function is decreasing

Step 2: Note unchanged properties

Domain is still \(x > 0\), range is still all real numbers, and vertical asymptote is still \(x = 0\)

Step 3: Plot key points

• Point (1, 0): \(\log_{1/2} 1 = 0\) because \((1/2)^0 = 1\)

• Point (1/2, 1): \(\log_{1/2}(1/2) = 1\) because \((1/2)^1 = 1/2\)

• Point (2, -1): \(\log_{1/2} 2 = -1\) because \((1/2)^{-1} = 2\)

Step 4: Sketch the decreasing graph

The graph decreases as x increases, approaching the asymptote as x approaches 0 from the right and going to negative infinity as x increases

Domain: \((0, \infty)\), Range: \((-\infty, \infty)\), Asymptote: \(x = 0\)
Final answer:

The graph of \(f(x) = \log_{1/2} x\) has domain \((0, \infty)\), range \((-\infty, \infty)\), and vertical asymptote \(x = 0\).

Applied rules:

• Base Comparison: If \(0 < b < 1\), function is decreasing

• Domain Preservation: Still requires positive arguments

• Key Points: (1, 0) still on graph regardless of base

Complete Guide: Laws, Methods, Rules, Definitions, Expressions
\(f(x) = a\log_b(x - h) + k\)
General Logarithmic Function
Key definitions:

Logarithmic Function: \(f(x) = \log_b x\) is the inverse of the exponential function \(g(x) = b^x\)

Domain: The set of all valid input values (x-values) for which the function is defined

Range: The set of all possible output values (y-values) that the function can produce

Vertical Asymptote: A vertical line that the graph approaches but never intersects

Complete methodology:
  1. Identify the basic function: Start with \(f(x) = \log_b x\) and understand its properties
  2. Analyze horizontal transformations: Look for \(h\) in \(\log_b(x - h)\) to determine horizontal shift
  3. Analyze vertical transformations: Look for \(a\) (vertical stretch/compression) and \(k\) (vertical shift)
  4. Determine key properties: Calculate domain, range, and asymptote based on transformations
  5. Plot strategic points: Transform the basic points (1, 0), (b, 1), (1/b, -1) accordingly
  6. Sketch the graph: Draw the curve connecting the points and approaching the asymptote
Tip 1: The point (1, 0) is always on the graph of \(f(x) = \log_b x\) regardless of the base \(b\).
Tip 2: Always find the domain first by setting the argument greater than zero.
Tip 3: The vertical asymptote always occurs where the argument equals zero.
Tip 4: Remember that transformations affect the domain but not the range of logarithmic functions.
Common errors: Forgetting to adjust the domain and asymptote for horizontal shifts, confusing domain and range, misapplying transformations, not considering the effect of the base on the direction of the graph.
Exam preparation: Practice identifying transformations from the equation, memorize the effect of each parameter, know how to quickly find domain and asymptotes.
Formulas to know by heart:

• General Form: \(f(x) = a\log_b(x - h) + k\)

• Domain: \(x > h\) (or \(x - h > 0\))

• Vertical Asymptote: \(x = h\)

• Range: \((-\infty, \infty)\) (always the same)

• Basic Point: \((1+h, k)\) transforms from (1, 0)

Exercise with Visualization: Logarithmic Function Comparisons
Exercise 6: Comparing Logarithmic Functions
Compare the graphs of:
\(f_1(x) = \log_2 x\)
\(f_2(x) = \log_3 x\)
\(f_3(x) = \log_{1/2} x\)

Analysis: The chart compares different logarithmic functions showing how the base affects the rate of increase/decrease.

  • \(f_1(x) = \log_2 x\) - Increases more rapidly than \(\log_3 x\)
  • \(f_2(x) = \log_3 x\) - Increases more slowly than \(\log_2 x\)
  • \(f_3(x) = \log_{1/2} x\) - Decreases as x increases

Questions & Answers

Question: How do I know whether a logarithmic function is increasing or decreasing just by looking at the base?

Answer: The behavior of a logarithmic function depends directly on its base:

  • If \(b > 1\): The function \(f(x) = \log_b x\) is increasing
  • If \(0 < b < 1\): The function \(f(x) = \log_b x\) is decreasing

This makes sense because logarithmic functions are the inverses of exponential functions:

  • When \(b > 1\), the exponential function \(b^x\) is increasing, so its inverse \(\log_b x\) is also increasing
  • When \(0 < b < 1\), the exponential function \(b^x\) is decreasing, so its inverse \(\log_b x\) is also decreasing

Examples: \(\log_2 x\), \(\log_{10} x\), \(\ln x\) are all increasing; \(\log_{1/2} x\), \(\log_{0.1} x\) are decreasing.

Question: Why does the range of logarithmic functions always stay the same, even when we apply transformations?

Answer: The range of logarithmic functions remains \((-\infty, \infty)\) because of the nature of logarithms:

  • Vertical shifts: Adding a constant \(k\) just moves the entire graph up or down, preserving all possible y-values
  • Vertical stretches/compressions: Multiplying by a constant \(a\) changes how quickly the function grows or shrinks, but doesn't limit the possible y-values
  • Vertical reflections: The negative sign flips the graph, but still covers all real numbers

Only horizontal transformations affect the domain, while vertical transformations affect the y-values but not the span of possible values.

For example: \(f(x) = 2\log(x) + 3\) can still achieve any real y-value by choosing the appropriate x-value.

Question: What happens to the graph of a logarithmic function as x approaches the vertical asymptote?

Answer: The behavior near the vertical asymptote depends on the base:

  • For \(b > 1\): As \(x\) approaches the asymptote from the right, \(f(x) = \log_b x\) approaches \(-\infty\)
  • For \(0 < b < 1\): As \(x\) approaches the asymptote from the right, \(f(x) = \log_b x\) approaches \(+\infty\)

For example, for \(f(x) = \log_2 x\):

  • As \(x \to 0^+\), \(f(x) \to -\infty\)
  • As \(x \to \infty\), \(f(x) \to \infty\)

For \(f(x) = \log_{1/2} x\):

  • As \(x \to 0^+\), \(f(x) \to \infty\)
  • As \(x \to \infty\), \(f(x) \to -\infty\)

The function never actually reaches the asymptote, but gets arbitrarily close to it.

Question: How do I find the x-intercept of a transformed logarithmic function like \(f(x) = a\log_b(x - h) + k\)?

Answer: To find the x-intercept, set the function equal to 0 and solve for x:

For \(f(x) = a\log_b(x - h) + k\):

Set \(0 = a\log_b(x - h) + k\)

Subtract k: \(-k = a\log_b(x - h)\)

Divide by a: \(-\frac{k}{a} = \log_b(x - h)\)

Convert to exponential form: \(b^{-k/a} = x - h\)

Solve for x: \(x = h + b^{-k/a}\)

Example: For \(f(x) = 2\log_3(x - 1) + 4\):

\(x = 1 + 3^{-4/2} = 1 + 3^{-2} = 1 + \frac{1}{9} = \frac{10}{9}\)

So the x-intercept is at \(\left(\frac{10}{9}, 0\right)\).

Question: Can logarithmic functions have horizontal asymptotes? What about slant asymptotes?

Answer: Standard logarithmic functions do not have horizontal or slant asymptotes:

  • Horizontal asymptotes: No, because as \(x \to \infty\), \(\log_b x \to \infty\) (or \(-\infty\) if \(0 < b < 1\)), so the function doesn't approach a finite value
  • Slant asymptotes: No, because logarithmic functions grow much more slowly than linear functions
  • Vertical asymptotes: Yes, these occur where the argument equals zero

The only asymptote for standard logarithmic functions is vertical, occurring at the boundary of their domain.

However, more complex functions that involve logarithms might have other types of asymptotes, but pure logarithmic functions only have vertical asymptotes.