PrecalculusExponential and Logarithmic Functions1 of 3
Exponential and Logarithmic Functions · 1
Exponential Functions and Logarithms
Linear functions add the same amount on every step to the right, while exponential functions multiply by the same amount on every step.
1
The Graph of y=2x
To see what repeated multiplication looks like on a graph, we start at (0,1) and double our height with every step to the right.
The Graph of y = 2ˣ
Reading an integer exponent x as the number of whole steps from (0,1) shows why raising 2 to the zero power gives 1 and why negative integer exponents give fractions rather than negative numbers:
y20=multiplier2xsteps,=1,2−3=231=81
Each step to the right doubles the height of y=2x, while each step to the left cuts the height in half so that it gets closer and closer to the horizontal asymptote y=0 without ever reaching it.
Each step right doubles the height and each step left cuts it in half, getting closer and closer to zero without ever reaching it.
2
Changing the Base: Growth, Decay, and e
Changing the base b in y=bx changes the multiplier on each whole step, which controls whether the curve climbs to the right or falls toward the horizontal asymptote. We use positive bases with b=1 so these functions have inverses.
Changing the Base: Growth, Decay, and e
When the base is a fraction like 21, stepping right cuts the height in half while stepping left doubles it, which is the exact same graph as y=2x reflected horizontally:
In calculus, we often use the base e≈2.718 to model continuous growth. Because e is between 2 and 3, you can sketch y=ex without a calculator by placing it between y=2x and y=3x.
Every basic exponential curve y=bx passes through (0,1) and has height b at x=1: bases above 1 grow to the right (with ex sitting between 2x and 3x), while bases between 0 and 1 decay toward y=0.
Every exponential curve stays above the x-axis and passes through the same y-intercept, while its height one step to the right decides whether it grows or decays.
3
Graphing Transformed Exponential Functions
To sketch a shifted or reflected exponential function like y=2x−3+1, we track where the horizontal asymptote and the zero-step anchor point move instead of plotting a long table of points.
Graphing Transformed Exponential Functions
Text solution
Shift the horizontal asymptoteLifting the entire graph up by 1 moves the horizontal asymptote from y=0 to y=1.
y=1
Set the exponent to zero for the anchor pointThe exponent x−3 equals 0 at x=3, placing the anchor point 1 unit above the horizontal asymptote.
x−3y=0⟹x=3,=20+1=2⟶(3,2)
Step one unit to the rightPlugging in x=4 makes the exponent 1, giving a second clean point to show how steep the curve is.
x=4⟹y=21+1=3⟶(4,3)
A number multiplying in front of the base changes how far the anchor point starts from the horizontal asymptote, and a negative sign flips the curve across the asymptote:
For y=3⋅2x−3+1:x=3⟹y=3⋅20+1=4(3 units above y=1)For y=−2x−3+1:x=3⟹y=−20+1=0(1 unit below y=1)
4
What a Logarithm Means
A logarithm is an exponential function run in reverse: instead of taking a number of steps and finding the height, it starts with the height and asks how many steps of multiplying by the base b it took to get there.
What a Logarithm Means
23=?
log2(8)=?
Reading logb(number) as "how many steps of base b does it take to reach this number?" turns logarithm problems into counting steps from 1:
Whole and zero steps: Reaching 16 by doubling takes 4 steps, while staying at the starting value 1 takes 0 steps in any base.
log2(16)log3(9)logb(1)=4,=2,=0
A negative exponent: For base 2, reaching 41 from 1 takes 2 halving steps backward.
log2(41)=−2
Roots mean fractional steps: Rewriting a root as a fractional exponent lets us read the fraction of a step right off the power.
Because a positive base raised to any real power is positive, expressions like log2(0) and log2(−4) have no real answer.
5
Exponential and Logarithmic Forms
Because exponential and logarithmic equations state the exact same relationship between a base, an exponent, and a result, we can translate any equation back and forth between the two forms.
Exponential and Logarithmic Forms
23=8
log?(?)=?
In both forms, the base b stays the base, and the logarithm itself equals the exponent y:
Rewrite exponential form in logarithmic formKeep the base as the base of the logarithm, and put the exponent on the other side of the equals sign.
52=2510−1=0.1⟹log5(25)=2,⟹log10(0.1)=−1
Rewrite logarithmic form in exponential formTake the base of the logarithm, raise it to the exponent that the logarithm equals, and set it equal to the inside.
log4(64)=3logb(w)=k⟹43=64,⟹bk=w
6
Common Logs, Natural Logs, and Inverse Properties
Base 10 and base e come up so often that they have their own shorthand notations, and nesting any base with its matching logarithm undoes the steps.
Common Logs, Natural Logs, and Inverse Properties
log(x)=log?(x)
ln(x)=log?(x)
When no base is written on log(x), the base is 10, and ln(x) always means base e:
When an exponential and a logarithm with the same base are nested inside each other, one does the steps and the other immediately undoes them:
logb(bx)blogb(x)=x(x∈R),=x(x>0)
Rewriting fractions as negative exponents lets us apply the inverse property in one move:
ln(e21)5log5(7)=ln(e−2)=−2,=7,eln(3)=3
7
The Graph of y=log2(x)
Because y=log2(x) is the inverse of y=2x, we get its graph by swapping the x- and y-coordinates of every feature on y=2x.
The Graph of y = log₂(x)
Trading inputs and outputs reflects the curve across the line y=x, turning the horizontal asymptote into a vertical asymptote and flipping every anchor point:
Because the two graphs swap x and y, the steep upward climb of y=2x becomes a slow rise to the right on y=log2(x).
Swapping inputs and outputs flips the exponential curve across the diagonal into the log curve, turning its horizontal asymptote into a vertical one.
8
Graphing Transformed Logarithmic Functions
To sketch a transformed logarithm like y=log3(x+2)−1, we find its vertical asymptote first and then choose two inputs that make the inside of the logarithm equal to 1 and the base 3.
Graphing Transformed Logarithmic Functions
Text solution
Set the inside equal to zero for the vertical asymptoteAs x+2 approaches 0 from above, the logarithm decreases without bound. The vertical asymptote is where x+2 equals 0.
x+2=0⟹x=−2
Make the inside equal to 1Stepping 1 unit right of the asymptote to x=−1 makes the inside 1, where log3(1)=0.
x=−1⟹y=log3(−1+2)−1=log3(1)−1=−1⟶(−1,−1)
Make the inside equal to the base 3Stepping 3 units right of the asymptote to x=1 makes the inside 3, where log3(3)=1.
x=1⟹y=log3(1+2)−1=log3(3)−1=0⟶(1,0)
9
Domain and Range of Exponential and Logarithmic Functions
For the shifted exponential and logarithmic graphs we have drawn, we can read the domain and range from the graph. To find the domain of a logarithm, we require its inside to be strictly positive.
Domain and Range of Exponential and Logarithmic Functions
A basic exponential and its inverse logarithm trade inputs and outputs, so their domains and ranges trade places. For the shifted and reflected forms below, the ranges follow from their graphs:
Exponential y=a⋅bx−h+k(a=0):Domain: (−∞,∞),Range: (k,∞) if a>0,or (−∞,k) if a<0Shifted logarithm y=logb(x−h)+k:Domain: (h,∞),Range: (−∞,∞)
Text solution
Linear inside with a negative sign, y=log2(3−x)Forcing the inside 3−x to be positive shows that the graph is reflected to the left of its vertical asymptote x=3.
3−x>0⟹x<3⟶Domain: (−∞,3)
Quadratic inside, f(x)=ln(x2−9)Factoring the inequality x2−9>0 gives boundary points at the vertical asymptotes x=−3 and x=3, with positive intervals outside the roots.
x2−9>0⟹(x−3)(x+3)>0⟶Domain: (−∞,−3)∪(3,∞)
Rational inside, g(x)=log(x+4x−1)Marking the boundary values x=−4 and x=1 on a number line and testing each interval shows where the fraction is strictly positive.
x+4x−1>0⟶Domain: (−∞,−4)∪(1,∞)
On f(x)=ln(x2−9), the graph drops down along the vertical asymptotes at x=−3 and x=3 as x2−9 gets close to 0 from above. There is no graph from −3 through 3, where x2−9 is zero or negative.
A log graph only exists where the expression inside the log stays positive, leaving an empty gap anywhere the inside hits zero or goes negative.
Key concepts
An exponential bx counts steps of multiplying by b starting from (0,1), while a logarithm logb(x) asks how many steps of b it takes to reach x. Because they are inverses, by=x⟺logb(x)=y: the base stays the base, and the logarithm is the exponent.
Evaluating logarithms without a calculator
Translate into steps from 1. Staying at 1 takes 0 steps (log9(1)=0), fractions mean walking backwards with negative exponents (log2(81)=−3), and roots mean fractional exponents (log5(35)=31). When a base and its own log are nested, they undo each other (ln(e−2)=−2 and 10log(23)=23, where log means base 10 and ln means base e).
Graphing transformed exponentials
For y=−2x−3+1, draw the horizontal asymptote y=1 from the vertical shift first, then set the exponent x−3=0 to find the anchor point at x=3 and take one step right to x=4. Watch the sign in front: −2x−3+1 flips below y=1 with range (−∞,1).
Graphing transformed logarithms
For y=log3(x+2)−1, draw the vertical asymptote first by setting the inside x+2=0, then find two clean points by setting the inside equal to 1 and 3.
Finding domains
For the shifted exponentials in this lesson, the domain is (−∞,∞). For a logarithm, solve inside>0 rather than assuming the domain goes to the right of the vertical asymptote. In log2(3−x), solving 3−x>0 gives the domain (−∞,3).
10
Practice
1
Rewrite 5−2=251 in logarithmic form, and rewrite log4(64)=3 in exponential form.
Identify the base first, and remember which side of the logarithmic equation holds the exponent. Warning: Putting the exponent −2 inside the logarithm gives log5(−2)=251, and raising the base 4 to the inside number 64 gives 464=3. Remember that the logarithm itself equals the exponent, so −2 goes alone on the right side of the equals sign and 3 is the exponent on 4.
log5(251)=−2 and 43=64
2
Evaluate log2(321) and log9(1) without a calculator.
Answering 51 for log2(321) confuses a fraction from walking backwards (2−5=321) with a fifth root (21/5), and answering 1 for log9(1) confuses log9(1)=0 with log9(9)=1.
Ask how many steps of dividing by 2 it takes to get from 1 to 321, and how many steps of 9 it takes to stay at 1.Warning: Answering 51 for log2(321) confuses a fraction from walking backwards (2−5=321) with a fifth root (21/5), and answering 1 for log9(1) confuses log9(1)=0 with log9(9)=1.
−5 and 0
3
Evaluate log7(47) without a calculator.
Rewriting 47 as 7−4 gives −4; a fourth root is a fourth of a step (71/4), not 4 backward steps.
Rewrite the fourth root of 7 as 7 raised to a fractional exponent first. Warning: Rewriting 47 as 7−4 gives −4; a fourth root is a fourth of a step (71/4), not 4 backward steps.
41
4
Evaluate ln(e61) and 10log(23) without a calculator.
Dropping the fraction without a negative sign gives 6 (or −61) instead of rewriting e61=e−6 to get −6, and multiplying 10⋅23=230 forgets that base 10 and log10 undo each other directly.
Rewrite e61 as a power of e, and remember what base the common log log(23) uses. Warning: Dropping the fraction without a negative sign gives 6 (or −61) instead of rewriting e61=e−6 to get −6, and multiplying 10⋅23=230 forgets that base 10 and log10 undo each other directly.
−6 and 23
5
For f(x)=−2x−1+3, find the horizontal asymptote, the anchor point where the exponent is 0, one additional point 1 step to the right, and the domain and range.
Find the horizontal asymptote from the vertical shift +3, then plug in the x-value that makes the exponent x−1 equal to 0, watching the negative sign in front of 2x−1.Warning: Ignoring the negative sign in front (or reading −20 as (−2)0=1 instead of −1) puts the anchor point above the asymptote at (1,4) and gives the wrong range (3,∞). Because of the negative sign in front, the graph flips below y=3.
For f(x)=log4(x−1)−2, find the vertical asymptote, the two points where the inside of the logarithm equals 1 and 4, and the domain and range.
Set the inside x−1 equal to 0 for the vertical asymptote, then solve x−1=1 and x−1=4 to get the two x-coordinates. Warning: Plugging in x=1 and x=4 directly without accounting for x−1 gives an undefined log4(0) and log4(3)−2; you need the whole inside x−1 to equal 1 and 4. Also, don't use the vertical shift −2 for the domain, which would give (−2,∞) instead of starting at the vertical asymptote x=1.
Find the vertical asymptote and the domain of f(x)=log3(5−x).
Set the inside 5−x equal to 0 for the vertical asymptote, and set 5−x>0 to see which side of the asymptote keeps the inside positive. Warning: Assuming the domain always goes to the right of the asymptote gives (5,∞), where plugging in x=6 produces log3(−1). Because x is subtracted inside the logarithm, solving 5−x>0 flips the inequality to x<5.
Vertical asymptote: x=5; domain: (−∞,5)
8
Find the domain of f(x)=ln(x2−25).
Set the inside x2−25>0, factor it into (x−5)(x+5)>0, and check which intervals on a number line make the product positive. Warning: Solving x2>25 by only taking the positive square root gives (5,∞) and misses the entire negative branch (−∞,−5), while using square brackets (−∞,−5]∪[5,∞) includes x=±5 where ln(0) is undefined.
(−∞,−5)∪(5,∞)
9
Find the domain of g(x)=log(x−6x+2).
Set the fraction x−6x+2>0, mark the boundary numbers from both the numerator and denominator on a number line, and test the sign of each interval. Warning: Only checking where the numerator is positive gives (−2,∞) (which includes x=0, where log(−31) is undefined), or only excluding the denominator zero gives x=6. Both x+2 and x−6 must have the same sign so that the whole fraction is strictly positive.