Let's start by recalling the definition of a .
logba=c⇔a=bc
The above means that
c is the to which the base
b must be raised to obtain
a. If we want an output of a to be
-4, we need to find two numbers
a and
b such that
a=b-4. There are infinitely many numbers that satisfy this. One possible pair is
a=16 and
b=21.
log1/216=-4⇔16=(21)-4
A logarithmic function has the form
f(x)=logbx. Therefore, to write a logarithmic function with
-4 as one of its outputs, we can substitute
f(x) for
-4 and
x for
16.
f(x)=log1/2x
For the function above, the output for
x=16 is
-4. To graph the logarithmic function, we will first find its . To do so, we will first replace
f(x) with
y, exchange the
x- and
y-variables, and solve for
y.
f(x)=log1/2x
y=log1/2x
x=log1/2y
Let's finally isolate
y by applying the definition of a logarithm.
x=log1/2y⇔y=(21)x
The inverse function is
f-1(x)=(21)x. Let's make a table of values to graph it.
x
|
(21)x
|
f-1(x)=(21)x
|
-4
|
(21)-4
|
16
|
-2
|
(21)-2
|
4
|
0
|
(21)0
|
1
|
1
|
(21)1
|
21
|
2
|
(21)2
|
41
|
By plotting and connecting the ordered pairs, we can graph f-1(x). Then, we can reflect it in the line y=x to have the graph of f(x).
As we can see, f(x)=log1/2x has an output of -4 at x=16.