Learn on PengiOpenStax Algebra and TrigonometryChapter 6: Exponential and Logarithmic Functions

Lesson 6.4 : Graphs of Logarithmic Functions

New Concept Explore the graphs of logarithmic functions, the inverses of exponential functions. You'll learn to identify their domain and graph the parent function $y = \operatorname{log} b(x)$, along with its various transformations like shifts, stretches, and reflections.

Section 1

πŸ“˜ Graphs of Logarithmic Functions

New Concept

Explore the graphs of logarithmic functions, the inverses of exponential functions. You'll learn to identify their domain and graph the parent function y=log⁑b(x)y = \operatorname{log}_b(x), along with its various transformations like shifts, stretches, and reflections.

What’s next

You're ready to start! Next, you will tackle a series of practice cards and interactive examples to master graphing logarithmic functions and their transformations.

Section 2

Finding the Domain of a Logarithmic Function

Property

The domain of a logarithmic function consists only of positive real numbers. The argument of the logarithmic function must be greater than zero. To find the domain:

  1. Set up an inequality showing the argument greater than zero.
  2. Solve for xx.
  3. Write the domain in interval notation.

Examples

  • To find the domain of f(x)=log⁑3(xβˆ’5)f(x) = \operatorname{log}_3(x - 5), set the argument xβˆ’5>0x - 5 > 0. Solving for xx gives x>5x > 5. The domain is (5,∞)(5, \infty).
  • For g(x)=log⁑7(4βˆ’2x)g(x) = \operatorname{log}_7(4 - 2x), the argument must be positive: 4βˆ’2x>04 - 2x > 0. This simplifies to βˆ’2x>βˆ’4-2x > -4, or x<2x < 2. The domain is (βˆ’βˆž,2)(-\infty, 2).
  • The domain of h(x)=ln⁑(3x+9)h(x) = \operatorname{ln}(3x + 9) requires 3x+9>03x + 9 > 0. Solving this gives 3x>βˆ’93x > -9, so x>βˆ’3x > -3. The domain is (βˆ’3,∞)(-3, \infty).

Explanation

Logarithms can't process zero or negative inputs. Think of the argument inside the parentheses as needing to be strictly positive. Solving the inequality argument > 0 reveals the function's valid x values, which is its domain.

Section 3

Characteristics of the Parent Function Graph

Property

For any real number xx and constant b>0,bβ‰ 1b > 0, b \neq 1, the graph of f(x)=log⁑b(x)f(x) = \operatorname{log}_b(x) has these characteristics:

  • one-to-one function
  • vertical asymptote: x=0x = 0
  • domain: (0,∞)(0, \infty)
  • range: (βˆ’βˆž,∞)(-\infty, \infty)
  • xx-intercept: (1,0)(1, 0) and key point (b,1)(b, 1)
  • yy-intercept: none
  • increasing if b>1b > 1
  • decreasing if 0<b<10 < b < 1

Examples

  • The graph of f(x)=log⁑4(x)f(x) = \operatorname{log}_4(x) is increasing because the base is b=4>1b=4 > 1. It has an x-intercept at (1,0)(1, 0), a key point at (4,1)(4, 1), and a vertical asymptote at x=0x=0.
  • The graph of g(x)=log⁑1/3(x)g(x) = \operatorname{log}_{1/3}(x) is decreasing since the base is b=1/3<1b=1/3 < 1. It has an x-intercept at (1,0)(1, 0), a key point at (13,1)(\frac{1}{3}, 1), and a vertical asymptote at x=0x=0.
  • The graph of h(x)=ln⁑(x)h(x) = \operatorname{ln}(x) has base eβ‰ˆ2.718e \approx 2.718, so it is increasing. It passes through the x-intercept (1,0)(1, 0) and the key point (e,1)(e, 1), with a vertical asymptote at x=0x=0.

Explanation

Every parent log graph has a vertical 'wall' (asymptote) at x=0x=0 and crosses the x-axis at (1,0)(1, 0). If the base bb is greater than 1, the graph climbs up; if bb is between 0 and 1, it slides down.

Section 4

Horizontal and Vertical Shifts

Property

For any constant cc, the function f(x)=log⁑b(x+c)f(x) = \operatorname{log}_b(x + c):

  • shifts the parent function y=log⁑b(x)y = \operatorname{log}_b(x) left cc units if c>0c > 0.
  • shifts the parent function y=log⁑b(x)y = \operatorname{log}_b(x) right cc units if c<0c < 0.
  • has the vertical asymptote x=βˆ’cx = -c.

For any constant dd, the function f(x)=log⁑b(x)+df(x) = \operatorname{log}_b(x) + d:

  • shifts the parent function y=log⁑b(x)y = \operatorname{log}_b(x) up dd units if d>0d > 0.
  • shifts the parent function y=log⁑b(x)y = \operatorname{log}_b(x) down dd units if d<0d < 0.

Examples

  • The function f(x)=log⁑2(xβˆ’3)f(x) = \operatorname{log}_2(x - 3) shifts the parent graph 3 units to the right. Its new vertical asymptote is x=3x = 3.
  • The function g(x)=log⁑5(x)+4g(x) = \operatorname{log}_5(x) + 4 shifts the parent graph 4 units up. Its vertical asymptote remains at x=0x = 0.
  • The function h(x)=log⁑7(x+1)βˆ’2h(x) = \operatorname{log}_7(x + 1) - 2 is shifted 1 unit to the left and 2 units down. Its vertical asymptote is x=βˆ’1x = -1.

Section 5

Stretches, Compressions, and Reflections

Property

The function f(x)=alog⁑b(x)f(x) = a\operatorname{log}_b(x):

  • stretches the parent function y=log⁑b(x)y = \operatorname{log}_b(x) vertically by a factor of aa if ∣a∣>1|a| > 1.
  • compresses the parent function y=log⁑b(x)y = \operatorname{log}_b(x) vertically by a factor of aa if 0<∣a∣<10 < |a| < 1.
  • reflects the parent function about the xx-axis if a<0a < 0.

The function f(x)=log⁑b(βˆ’x)f(x) = \operatorname{log}_b(-x):

  • reflects the parent function y=log⁑b(x)y = \operatorname{log}_b(x) about the yy-axis.
  • has domain (βˆ’βˆž,0)(-\infty, 0).

Examples

  • The graph of f(x)=3log⁑4(x)f(x) = 3\operatorname{log}_4(x) is a vertical stretch of its parent graph by a factor of 3. The key point (4,1)(4, 1) is transformed to (4,3)(4, 3).
  • The graph of g(x)=βˆ’log⁑2(x)g(x) = -\operatorname{log}_2(x) is a reflection of its parent graph across the x-axis. The key point (2,1)(2, 1) is transformed to (2,βˆ’1)(2, -1).
  • The graph of h(x)=log⁑5(βˆ’x)h(x) = \operatorname{log}_5(-x) is a reflection of its parent graph across the y-axis. Its domain changes to (βˆ’βˆž,0)(-\infty, 0) and its x-intercept becomes (βˆ’1,0)(-1, 0).

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 6: Exponential and Logarithmic Functions

  1. Lesson 1

    Lesson 6.1 : Exponential Functions

  2. Lesson 2

    Lesson 6.2 : Graphs of Exponential Functions

  3. Lesson 3

    Lesson 6.3 : Logarithmic Functions

  4. Lesson 4Current

    Lesson 6.4 : Graphs of Logarithmic Functions

  5. Lesson 5

    Lesson 6.5 : Logarithmic Properties

  6. Lesson 6

    Lesson 6.6 : Exponential and Logarithmic Equations

  7. Lesson 7

    Lesson 6.7 : Exponential and Logarithmic Models

  8. Lesson 8

    Lesson 6.8 : Fitting Exponential Models to Data

Lesson overview

Expand to review the lesson summary and core properties.

Expand

Section 1

πŸ“˜ Graphs of Logarithmic Functions

New Concept

Explore the graphs of logarithmic functions, the inverses of exponential functions. You'll learn to identify their domain and graph the parent function y=log⁑b(x)y = \operatorname{log}_b(x), along with its various transformations like shifts, stretches, and reflections.

What’s next

You're ready to start! Next, you will tackle a series of practice cards and interactive examples to master graphing logarithmic functions and their transformations.

Section 2

Finding the Domain of a Logarithmic Function

Property

The domain of a logarithmic function consists only of positive real numbers. The argument of the logarithmic function must be greater than zero. To find the domain:

  1. Set up an inequality showing the argument greater than zero.
  2. Solve for xx.
  3. Write the domain in interval notation.

Examples

  • To find the domain of f(x)=log⁑3(xβˆ’5)f(x) = \operatorname{log}_3(x - 5), set the argument xβˆ’5>0x - 5 > 0. Solving for xx gives x>5x > 5. The domain is (5,∞)(5, \infty).
  • For g(x)=log⁑7(4βˆ’2x)g(x) = \operatorname{log}_7(4 - 2x), the argument must be positive: 4βˆ’2x>04 - 2x > 0. This simplifies to βˆ’2x>βˆ’4-2x > -4, or x<2x < 2. The domain is (βˆ’βˆž,2)(-\infty, 2).
  • The domain of h(x)=ln⁑(3x+9)h(x) = \operatorname{ln}(3x + 9) requires 3x+9>03x + 9 > 0. Solving this gives 3x>βˆ’93x > -9, so x>βˆ’3x > -3. The domain is (βˆ’3,∞)(-3, \infty).

Explanation

Logarithms can't process zero or negative inputs. Think of the argument inside the parentheses as needing to be strictly positive. Solving the inequality argument > 0 reveals the function's valid x values, which is its domain.

Section 3

Characteristics of the Parent Function Graph

Property

For any real number xx and constant b>0,bβ‰ 1b > 0, b \neq 1, the graph of f(x)=log⁑b(x)f(x) = \operatorname{log}_b(x) has these characteristics:

  • one-to-one function
  • vertical asymptote: x=0x = 0
  • domain: (0,∞)(0, \infty)
  • range: (βˆ’βˆž,∞)(-\infty, \infty)
  • xx-intercept: (1,0)(1, 0) and key point (b,1)(b, 1)
  • yy-intercept: none
  • increasing if b>1b > 1
  • decreasing if 0<b<10 < b < 1

Examples

  • The graph of f(x)=log⁑4(x)f(x) = \operatorname{log}_4(x) is increasing because the base is b=4>1b=4 > 1. It has an x-intercept at (1,0)(1, 0), a key point at (4,1)(4, 1), and a vertical asymptote at x=0x=0.
  • The graph of g(x)=log⁑1/3(x)g(x) = \operatorname{log}_{1/3}(x) is decreasing since the base is b=1/3<1b=1/3 < 1. It has an x-intercept at (1,0)(1, 0), a key point at (13,1)(\frac{1}{3}, 1), and a vertical asymptote at x=0x=0.
  • The graph of h(x)=ln⁑(x)h(x) = \operatorname{ln}(x) has base eβ‰ˆ2.718e \approx 2.718, so it is increasing. It passes through the x-intercept (1,0)(1, 0) and the key point (e,1)(e, 1), with a vertical asymptote at x=0x=0.

Explanation

Every parent log graph has a vertical 'wall' (asymptote) at x=0x=0 and crosses the x-axis at (1,0)(1, 0). If the base bb is greater than 1, the graph climbs up; if bb is between 0 and 1, it slides down.

Section 4

Horizontal and Vertical Shifts

Property

For any constant cc, the function f(x)=log⁑b(x+c)f(x) = \operatorname{log}_b(x + c):

  • shifts the parent function y=log⁑b(x)y = \operatorname{log}_b(x) left cc units if c>0c > 0.
  • shifts the parent function y=log⁑b(x)y = \operatorname{log}_b(x) right cc units if c<0c < 0.
  • has the vertical asymptote x=βˆ’cx = -c.

For any constant dd, the function f(x)=log⁑b(x)+df(x) = \operatorname{log}_b(x) + d:

  • shifts the parent function y=log⁑b(x)y = \operatorname{log}_b(x) up dd units if d>0d > 0.
  • shifts the parent function y=log⁑b(x)y = \operatorname{log}_b(x) down dd units if d<0d < 0.

Examples

  • The function f(x)=log⁑2(xβˆ’3)f(x) = \operatorname{log}_2(x - 3) shifts the parent graph 3 units to the right. Its new vertical asymptote is x=3x = 3.
  • The function g(x)=log⁑5(x)+4g(x) = \operatorname{log}_5(x) + 4 shifts the parent graph 4 units up. Its vertical asymptote remains at x=0x = 0.
  • The function h(x)=log⁑7(x+1)βˆ’2h(x) = \operatorname{log}_7(x + 1) - 2 is shifted 1 unit to the left and 2 units down. Its vertical asymptote is x=βˆ’1x = -1.

Section 5

Stretches, Compressions, and Reflections

Property

The function f(x)=alog⁑b(x)f(x) = a\operatorname{log}_b(x):

  • stretches the parent function y=log⁑b(x)y = \operatorname{log}_b(x) vertically by a factor of aa if ∣a∣>1|a| > 1.
  • compresses the parent function y=log⁑b(x)y = \operatorname{log}_b(x) vertically by a factor of aa if 0<∣a∣<10 < |a| < 1.
  • reflects the parent function about the xx-axis if a<0a < 0.

The function f(x)=log⁑b(βˆ’x)f(x) = \operatorname{log}_b(-x):

  • reflects the parent function y=log⁑b(x)y = \operatorname{log}_b(x) about the yy-axis.
  • has domain (βˆ’βˆž,0)(-\infty, 0).

Examples

  • The graph of f(x)=3log⁑4(x)f(x) = 3\operatorname{log}_4(x) is a vertical stretch of its parent graph by a factor of 3. The key point (4,1)(4, 1) is transformed to (4,3)(4, 3).
  • The graph of g(x)=βˆ’log⁑2(x)g(x) = -\operatorname{log}_2(x) is a reflection of its parent graph across the x-axis. The key point (2,1)(2, 1) is transformed to (2,βˆ’1)(2, -1).
  • The graph of h(x)=log⁑5(βˆ’x)h(x) = \operatorname{log}_5(-x) is a reflection of its parent graph across the y-axis. Its domain changes to (βˆ’βˆž,0)(-\infty, 0) and its x-intercept becomes (βˆ’1,0)(-1, 0).

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 6: Exponential and Logarithmic Functions

  1. Lesson 1

    Lesson 6.1 : Exponential Functions

  2. Lesson 2

    Lesson 6.2 : Graphs of Exponential Functions

  3. Lesson 3

    Lesson 6.3 : Logarithmic Functions

  4. Lesson 4Current

    Lesson 6.4 : Graphs of Logarithmic Functions

  5. Lesson 5

    Lesson 6.5 : Logarithmic Properties

  6. Lesson 6

    Lesson 6.6 : Exponential and Logarithmic Equations

  7. Lesson 7

    Lesson 6.7 : Exponential and Logarithmic Models

  8. Lesson 8

    Lesson 6.8 : Fitting Exponential Models to Data