Teacher Guide: Graphing Logarithmic Functions
Learn to graph logarithmic functions: key points, domain, range, the vertical asymptote, the mirror image of the exponential function and shifts.
Use this lesson with your class
Free, no student accounts needed.
Share with students
Students open the lesson and practise with instant feedback.
Class quiz
10 questions on Logarithms. Students join with a name, you see everyone's score.
For Teachers
- Graph for and using the key points
- State the domain, range, vertical asymptote and intercepts of a logarithmic function
- Explain the graph of as the reflection of across
- Graph shifts and reflections of , such as
- Find the equation from an asymptote and two points
- • Definition of a Logarithm:
- • Graphs of exponential functions
- • Shifting and reflecting graphs of functions
- • Common Logarithms (Base 10) and Natural Logarithms (ln)
- 1. Why can the graph of never reach the -axis, even though it gets very close?
- 2. The curve looks almost flat for large x. Does it ever stop rising? How could you convince a friend?
- 3. What happens to the points and when you change and ?
- 4. Why does the reflection across turn a horizontal asymptote into a vertical one?
moves the graph to the left when is positive
Remediation: Have students solve to find where the graph crosses : for it is , three units to the right of .
The log graph has a horizontal asymptote because it looks flat
Remediation: Make a table with for : the y-values keep growing by each time.
A base between 0 and 1 gives a graph that is not a logarithm or is undefined
Remediation: Compute and with the definition and plot them: the curve is a decreasing mirror image of .
For Struggling Students:
- • Start with and a table of powers of 2 only
- • Use the three key points , , as a fixed routine for every graph
- • Shift one feature at a time: first , then
For On-Level Students:
- • Graph functions such as and state the domain and asymptote
- • Compare and in the grapher
- • Find the equation of a log graph from its asymptote and two points
For Advanced Students:
- • Graph and explain why its domain is
- • Investigate for different and compare with changing the base
- • Prove that is the reflection of across the -axis
- HSF.IF.C.7e (CCSS.MATH.CONTENT.HSF.IF.C.7.E)
Graph exponential and logarithmic functions, showing intercepts and end behavior
- HSF.BF.B.3 (CCSS.MATH.CONTENT.HSF.BF.B.3)
Identify the effect on the graph of replacing f(x) by f(x) + k, k f(x), f(kx) and f(x + k)
- HSF.BF.B.5 (CCSS.MATH.CONTENT.HSF.BF.B.5)
Understand the inverse relationship between exponents and logarithms
- visualLog Graph Explorer
Sliders for , and move the curve, the asymptote and the two key points live
- activityFold Along y = x
Students graph on tracing paper, fold along and trace the logarithmic graph
- worksheetAsymptote, Domain, Points
Ten transformed log functions: find the asymptote, domain and two key points, then sketch
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Definition
- because
- because
- because
- Domain: (you can only take the logarithm of a positive number)
- Range: all real numbers
- Vertical asymptote: the line (the -axis); the graph gets closer and closer to it but never touches it
- -intercept**: ; there is no -intercept
- If , the graph increases; if , it decreases
- shifts the graph units right (left if ) and units up (down if )
- vertical asymptote , domain , key points and
- reflects the graph across the -axis; reflects it across the -axis (domain )
Worked Examples
Graph and state its domain, range and asymptote.
Choose x-values that are powers of 2
, because of a power of 2 is easy to find → Six easy x-values
Find each y-value
, , , , , →
Plot the points and draw the asymptote
Plot , , , , , and draw the dashed line → Points and asymptote
Connect with a smooth curve
The curve falls steeply near the -axis without touching it and rises slowly to the right → Increasing curve through
Answer: Domain , range all real numbers, vertical asymptote , -intercept .
Common Mistakes
Shifting three units to the left
Why it's wrong: The minus sign looks like a move to the left, but the argument must be positive, which means : the whole graph lies to the right of .
Correct: moves the graph units to the right. has the asymptote .
Letting the graph touch or cross the -axis
Why it's wrong: and of a negative number do not exist, because is always positive.
Correct: The graph of comes closer and closer to but never reaches it. The domain is .
Thinking the graph levels off at some height
Why it's wrong: The curve rises slowly, so it looks flat, but it never stops rising: and .
Correct: A logarithmic graph has no horizontal asymptote. The range is all real numbers.
Keeping the domain after a horizontal shift
Why it's wrong: The domain comes from the argument, not from itself.
Correct: For the argument must be positive, so the domain is .
Why It Matters
- Sound: a sound level meter shows decibels; multiplying the intensity by adds only dB, which is why the curve is so flat.
- Chemistry: is a reflected log graph: more hydrogen ions give a smaller pH.
- Computer science: binary search needs about steps for items; doubling the list adds only one step.
- Earthquakes: the Richter scale grows by every time the amplitude is multiplied by .
Real World Applications
Sound Level in Decibels
A sound level meter shows $L = 10 \log\left(\frac{I}{I_0}\right)$ decibels, where $\frac{I}{I_0}$ tells how many times stronger the sound is than the quietest sound we can hear. The graph is a stretched log curve: very flat for large intensities.
Example:
A sound times stronger than gives dB. A sound times stronger again gives only dB.
A quiet library is times stronger than the quietest audible sound, so .
What is the sound level in decibels?
Step 1: Write the mathematical expression
Calculate :
Binary Search in Computer Science
Binary search finds a name in a sorted list by halving the list again and again. For $n$ names it needs about $\log_2 n$ halvings, so the graph of the number of steps is the graph of $y = \log_2 x$.
Example:
A list of names needs halvings: .
A sorted contact list has names. Each step of binary search halves the list.
How many halvings are needed to get down to one name?
Step 1: Write the mathematical expression
Calculate :
The pH Scale in Chemistry
Acidity is measured with $\text{pH} = -\log[H^+]$, where $[H^+]$ is the hydrogen ion concentration. The minus sign reflects the log graph across the $x$-axis, so the pH goes down when the concentration goes up.
Example:
Lemon juice has , so .
A sample of rainwater has .
What is its pH?
Step 1: Write the mathematical expression
Calculate :
Key Takeaways
- 1 is the inverse of : its graph is the reflection of across the line
- 2Key points of : , and
- 3Domain , range all real numbers, vertical asymptote , no -intercept
- 4For the graph increases; for it decreases
- 5 moves the graph right and up: asymptote , domain
- 6A minus sign in front of the log reflects the graph across the -axis; reflects it across the -axis
Frequently Asked Questions
Why does the graph never touch the -axis?
Does the log graph have a horizontal asymptote like the exponential graph?
What do the graphs of and look like?
How can I tell if a log graph increases or decreases?
Glossary
- Logarithmic function
- A function with , ; it gives the exponent to which must be raised to get
- Vertical asymptote
- A vertical line that the graph gets closer and closer to without touching it; for it is
- Domain
- All x-values for which the function is defined; for it is
- Range
- All y-values the function takes; for every logarithmic function it is all real numbers
- Inverse function
- A function that undoes another one; its graph is the reflection across , as is for
- Key points
- Easy points to plot: , and for
Formula Card
Parent function
Base $b > 0$, $b \neq 1$; domain $x > 0$, range all real numbers
Key points
Plot these three points first
Transformed function
Asymptote $x = h$, domain $x > h$, key points $(1 + h, k)$ and $(b + h, 1 + k)$
Reflections
Across the $x$-axis and across the $y$-axis (domain $x < 0$)
Inverse of the exponential
Reflection across the line $y = x$