Algebra 2Exponential and Logarithmic Functions3 of 5
Exponential and Logarithmic Functions · 3
Logarithms and Logarithmic Functions
When an unknown is up in an exponent, division and roots can't get it down, so we need an operation that solves for the exponent.
1
What Is a Logarithm?
A logarithm gives an exponent. We write logb(x)=y when by=x, with b>0 and b=1. We can think of y as the number of multiplication steps from 1 to x, including negative and fractional steps.
In 23=8, the exponent 3 counts three steps of multiplying by 2 starting from 1:
1×22×24×28
When we know we are multiplying by 2 and the target is 10, we need a way to write the exact number of steps that reaches 10:
2?=10
What Is a Logarithm?
Exponential form and logarithmic form state the exact same relationship, just solving for a different number:
Stay at the starting number 1Since we always start multiplying from 1, reaching 1 takes 0 steps for any base.
log2(1)=0
Step backward by dividing to reach a fractionDividing 1 by 2 three times gives 81, which counts as 3 backward steps.
log2(81)=−3
Take a fraction of a step to stop at a rootBecause 3×3=9, multiplying by 3 is half a step of multiplying by 9.
log9(3)=log9(91/2)=21
Check whether the target can be reached from 1Repeatedly multiplying or dividing 1 by 2 stays positive and never reaches 0 or becomes negative.
log2(0) is undefined,log2(−4) is undefined
Notice the difference between a negative output and a negative input: a negative answer like log2(81)=−3 just means we divided to get a fraction between 0 and 1, whereas a negative number inside the logarithm is undefined.
Along the number line, targets to the right of 1 take positive ×2 steps, fractions between 0 and 1 take negative ÷2 steps, and 0 and negative numbers can never be reached.
Starting at 1, a base-2 log counts how many times you double to reach numbers above 1 or halve to reach fractions between 0 and 1, while 0 and negative numbers can never be reached.
3
Common and Natural Logarithms
Base 10 (from our decimal system) and base e≈2.718 (from continuous growth) come up so often that they have their own shorthand without a written base:
Count steps of 10 by counting zerosMultiplying 1 by 10 three times reaches 1000.
log(1000)=log10(1000)=3
Turn decimals into fractions of 10Dividing 1 by 10 twice gives 1001, or 0.01.
log(0.01)=log10(1001)=−2
Whenever you see log(x) with no base written at the bottom, the base is 10; whenever you see ln(x), treat it like any other logarithm, with base e.
4
How Exponents and Logarithms Undo Each Other
Next, we want to simplify expressions where an exponent and a logarithm are put together:
log2(25)log3(9x)2log2(10)=?,=?,=?
How Exponents and Logarithms Undo Each Other
log2(25)2log2(10)=?=?
When the base of the logarithm and the base of the exponent match, they undo each other in either order:
logb(bx)ln(ex)=x=xblogb(x)eln(x)=x=x
When the bases don't match right away, rewrite the inner base before canceling.
Text solution
Rewrite 9 as a power of the logarithm's base 3Since 9=32, each step of multiplying by 9 is two steps of multiplying by 3.
log3(9x)=log3((32)x)=log3(32x)
Cancel the matching base 3 and log3Counting the base-3 steps in 32x leaves the exponent 2x.
log3(32x)=2x
5
Finding Inverses of Exponential and Logarithmic Functions
Because exponentials and logarithms undo each other, we can find the inverse function f−1(x) for functions like
f(x)f(x)=2x−3+4and=ln(x+5)−1
Finding Inverses of Exponential and Logarithmic Functions
f(x)f−1(x)f(x)f−1(x)=2x−3+4=?=ln(x+5)−1=?
First, here are the steps for the exponential function f(x)=2x−3+4.
Text solution
Swap x and y and isolate the exponential termSubtract 4 from both sides so 2y−3 is by itself.
x⟹x−4=2y−3+4=2y−3
Undo base 2 with log2Rewrite in logarithmic form to bring y−3 down out of the exponent.
log2(x−4)=y−3
Finish solving for yAdd 3 outside the logarithm.
f−1(x)=log2(x−4)+3
Now the other direction, starting from the logarithmic function f(x)=ln(x+5)−1.
Text solution
Swap x and y and isolate the logarithmAdd 1 to both sides so ln(y+5) is by itself.
x⟹x+1=ln(y+5)−1=ln(y+5)
Undo ln with base eMake both sides exponents on e to undo the natural log and leave y+5.
ex+1=eln(y+5)=y+5
Finish solving for ySubtract 5 outside the exponential term.
f−1(x)=ex+1−5
6
Graphs of Logarithmic Functions
To graph y=log2(x) and y=log1/2(x), we use the fact that y=logb(x) is the inverse of y=bx: its graph is the reflection of y=bx across the line y=x, swapping every point (x,y) to (y,x).
Graphs of Logarithmic Functions
Text solution
Find the vertical asymptote, domain, and rangeThe inputs must be positive, so the domain is x>0. As x approaches 0 from the right, log2(x) decreases without bound and log1/2(x) increases without bound, giving both graphs the vertical asymptote x=0. Every real exponent gives a positive target, so both logarithms can have any real output.
Vertical asymptote x=0,domain x>0,range (−∞,∞)
Plot 0 steps and 1 step for y=log2(x)Taking 0 steps gives (1,0), one forward step doubles x to (2,1), and one backward step halves x to (21,−1), so the curve rises from left to right.
log2(21)log2(1)log2(2)=−1,=0,=1
Plot 0 steps and 1 step for y=log1/2(x)When each step multiplies by 21, one forward step gives (21,1) and one backward step gives (2,−1), flipping the curve across the x-axis so it falls from left to right.
log1/2(21)log1/2(1)log1/2(2)=1,=0,=−1
Because y=logb(x) and y=bx are reflections across y=x, the logarithm always passes through (1,0) with vertical asymptote x=0. When b>1, the 1-step point (b,1) is to the right of (1,0) and the curve rises. When 0<b<1, that point is to the left of (1,0) and the curve falls. In particular, y=log1/2(x) is the reflection of y=log2(x) across the x-axis.
For every allowed base, the logarithm graph is the reflection of the exponential graph across y=x. It passes through (1,0) and has vertical asymptote x=0, rising for b>1 and falling for 0<b<1.
7
Graphing Shifted Logarithmic Functions
When a logarithmic function is shifted horizontally and vertically, like
y=log2(x−3)+1
we sketch the graph by finding where the inside of the logarithm equals 0,1, and the base.
Graphing Shifted Logarithmic Functions
Text solution
Set the inside equal to 0 for the vertical asymptoteThe inside of the logarithm cannot reach x−3=0, which shifts the vertical asymptote to x=3 and makes the domain x>3 (with range (−∞,∞)).
x−3=0⟹x=3(domain x>3)
Set the inside equal to 1 for the 0-step pointAt x=4, the inside is 1, so log2(x−3)=0 and we get the point (4,1).
x−3y=1⟹x=4,=log2(1)+1=0+1=1
Set the inside equal to the base 2 for the 1-step pointAt x=5, the inside is 2, so log2(x−3)=1 and we get the point (5,2).
x−3y=2⟹x=5,=log2(2)+1=1+1=2
In y=log2(x−h)+k, shifting up or down by k doesn't change the vertical asymptote x=h or the domain x>h. Shifting left or right by h moves the asymptote and the 0-step point (h+1,k) together, so (h+1,k) always stays 1 unit to the right of the asymptote.
Shifting a log graph up or down slides the curve along the same vertical asymptote and keeps the domain the same, while shifting it left or right moves the asymptote, the domain boundary, and the anchor point together. The anchor point stays one unit to the right of the asymptote.
Key concepts
Everything with logarithms comes back to counting multiplication steps from 1:by=x and logb(x)=y say the same thing (23=8⟺log2(8)=3), with log(x) for base 10 and ln(x) for base e. When evaluating logb(x), compare the target x to 1 and b: staying at 1 is 0 steps (log2(1)=0), fractions between 0 and 1 take negative division steps when the base is greater than 1(log2(81)=−3), roots take fractional steps (log9(3)=21), and if the inside is 0 or negative, stop right away because the logarithm is undefined (log2(0) and log2(−4)).
When an exponential and a logarithm have the same base, they cancel in both orders: logb(bx)=x and blogb(x)=x (and ln(ex)=x,eln(x)=x). Don't cancel if the bases don't match yet. Rewrite the number as a power of the logarithm's base first (log3(9x)=log3(32x)=2x). In the same way, when finding an inverse, don't apply a logarithm or exponential right away if there is a number added or subtracted outside; isolate the exponential or logarithmic term first (x=2y−3+4⟹x−4=2y−3⟹y=log2(x−4)+3).
On a graph, y=logb(x) reflects y=bx across y=x, rising from left to right when b>1 and falling when 0<b<1. To graph any shifted logarithm like y=log2(x−3)+1, set the inside equal to 0 for the vertical asymptote (x=3, domain x>3, range (−∞,∞)), equal to 1 for the 0-step point ((4,1)), and equal to the base for the 1-step point ((5,2)).
8
Practice
1
Rewrite 43=64 in logarithmic form, and rewrite log5(1)=0 in exponential form.
The base of the power stays the base of the logarithm, and the logarithm always equals the exponent (the step count).
For 43=64, the base is 4, the target is 64, and the step count is 3 (swapping the target and the exponent gives the wrong equation log4(3)=64). For log5(1)=0, the base is 5, the exponent is 0, and the result is 1 (using 1 as the base gives 10=5 or 15=0).
log4(64)=3 and 50=1
2
Evaluate log3(271).
Forgetting the negative sign when dividing to get a fraction gives 3.Dividing 27 by 3 and then attaching a negative sign instead of counting multiplication steps gives −9.
Starting at 1, how many times do you divide by 3 to reach 271?
Since 33=27, dividing 1 by 3 three times gives 271, which is 3 backward steps (forgetting the negative sign when dividing to get a fraction gives 3, and dividing 27 by 3 and then attaching a negative sign instead of counting multiplication steps gives −9).
−3
3
Evaluate log(0.001).
Counting only the two zeros after the decimal point instead of three decimal places gives −2.Leaving off the negative sign for division gives 3.
Write 0.001 as a fraction with a power of the unwritten base 10.
Because log means log10 and 0.001=10001, we divide 1 by 10 three times (counting only the two zeros after the decimal point instead of three decimal places gives −2, and leaving off the negative sign for division gives 3).
−3
4
Evaluate log25(5).
Counting how many 5s multiply to 25 instead gives 2.Mistaking a smaller target for a backward step gives −21 or −2.
One full step of multiplying by 25 reaches 25. What fraction of a step stops at 5?
Since 5×5=25, or 251/2=5, reaching 5 takes half a step of multiplying by 25 (counting how many 5s multiply to 25 instead gives 2, and mistaking a smaller target for a backward step gives −21 or −2).
21
5
Evaluate log4(−16).
Pulling the negative sign out front gives −2.Confusing 42=16 with −16 gives 2.
Starting at 1 and multiplying or dividing by 4, can the result ever become negative?
Multiplying or dividing 1 by 4 always stays positive and can never reach a negative number (pulling the negative sign out front gives −2, and confusing 42=16 with −16 gives 2).
Undefined
6
Simplify ln(e4x−1)+10log(6).
Find the base of ln in the first term and the unwritten base of log in the second term.
In the first term, ln and base e undo each other to leave 4x−1; in the second term, base 10 and log10 undo each other to leave 6 (multiplying 10×6 to get 60, or dropping the −1 to get 4x+6, are common mistakes):
(4x−1)+6=4x+5
7
Simplify log2(8x+1).
Rewrite 8 as a power of 2 before canceling the logarithm.
Since 8=23, we rewrite 8x+1 in base 2 so the bases match (canceling log2 with 8 directly gives x+1, and forgetting to distribute the 3 to the +1 in 3(x+1) gives 3x+1):
log2((23)x+1)=log2(23x+3)=3x+3
8
Find the inverse function of f(x)=3x+2−5.
After swapping x and y, which number must move to the other side before you apply log3?
Swap x and y to get x=3y+2−5, add 5 to isolate 3y+2, and then apply log3 (putting +5 outside the logarithm instead gives log3(x)+5−2=log3(x)+3, and forgetting to undo +2 by subtracting gives log3(x+5)+2):
x+5⟹y+2⟹f−1(x)=3y+2=log3(x+5)=log3(x+5)−2
9
Find the inverse function of f(x)=ln(x−4)+2.
After swapping x and y, isolate ln(y−4) first. What base undoes ln?
Swap x and y to get x=ln(y−4)+2, subtract 2 first to isolate ln(y−4), and then use base e (using ex−2 in place of ex−2 gives ex−2+4=ex+2, and putting +4 up in the exponent instead of outside gives ex+2):
x−2⟹ex−2⟹f−1(x)=ln(y−4)=y−4=ex−2+4
10
For the graph of y=log1/3(x), give the vertical asymptote, the x-intercept, the values of y at x=91 and x=3, and whether the graph rises or falls from left to right.
Each forward step multiplies by 31. Does reaching 91 from 1 take forward (positive) or backward (negative) steps?
The inside is x, so the vertical asymptote is x=0 and 0 steps gives the x-intercept (1,0). Multiplying 1 by 31 twice reaches 91(y=2), while dividing 1 by 31 once reaches 3(y=−1), so the graph falls as you move right (treating base 31 like base 3 flips the signs to y=−2 at x=91,y=1 at x=3, and a rising graph).
Vertical asymptote x=0;x-intercept (1,0);y=2 at x=91 and y=−1 at x=3; falls from left to right
11
For the graph of y=log3(x+2)−4, find the vertical asymptote, the domain, the range, the point where the inside equals 1, and the point where the inside equals the base.
Misreading the sign of x+2 puts the asymptote at x=2, which shifts the two points to (3,−4) and (5,−3).
Set the inside x+2 equal to 0, then 1, then 3.
Setting x+2=0 gives the vertical asymptote x=−2 and domain x>−2 (misreading the sign of x+2 puts the asymptote at x=2, which shifts the two points to (3,−4) and (5,−3)). Setting x+2=1 gives x=−1 and y=log3(1)−4=0−4=−4. Setting x+2=3 gives x=1 and y=log3(3)−4=1−4=−3 (evaluating log3(3) as 0 instead of 1 leaves y=−4).
Vertical asymptote x=−2; domain x>−2; range (−∞,∞); inside equals 1 at (−1,−4); inside equals the base at (1,−3)