Exponential and Logarithmic Functions
Exponential and Logarithmic Functions
Exponential and Logarithmic Functions
Exponential functions
Definition
f : R -> R : x -> ax
The domain is R
The range is the set of strictly positive real numbers
The function is continuous in its domain
The function is increasing if a > 1 and decreasing if 0 < a < 1
The x-axis is a horizontal asymptote
Logarithmic functions
Definition and basic properties
f : R -> R : x -> ax
are either increasing or decreasing, the inverse function is defined. This inverse function is called
the logarithmic function with base a. We write
loga (x)
So,
loga(x) = y <=> ay = x
From this we see that the domain of the logarithmic function is the set of strictly positive real
numbers, and the range is R.
Example:
and
for all x we have loga(ax) = x
Graph
Let f(x) = a logarithmic function with a > 1.
Let g(x) = a logarithmic function with 0 < a < 1.
The range is R
The domain is the set of strictly positive real numbers
The function is continuous in its domain
The function is increasing if a > 1 and decreasing if 0 < a < 1
The y-axis is a vertical asymptote
Properties
In the next 3 properties, all logarithmic functions have base a > 0. For convenience, I don't write
this base a.
au = av . aw
=> au = av + w
=> u = v + w
So,
log(x.y) = log(x) + log(y)
log(xr ) = r.log(x)
1
loga(x) =( -------) . logb(x)
logb(a)
Proof:
We'll prove that
av = bw
Using (1)
bu.v = bw
So,
u.v = w
f(x) = ax
(f(x+h)-f(x))
f'(x) = lim ---------------
h->0 h
ax+h - ax
= lim ------------
h->0 h
ax (ah - 1)
= lim -----------
h->0 h
(ah - 1)
= a x
. lim -----------
h->0 h
Now,
(ah - 1)
lim ----------- is a constant depending on the value of the base a.
h->0 h
It can be proved that there is a unique value of a, such that this limit is 1. This very special value
of a is called e.
So,
(eh - 1)
lim ----------- = 1
h->0 h
The expression
(eh - 1)
lim ----------- = 1
0 h
eh - 1 is approximately h
<=> eh is approximately h +1
So,
Definition of ln(x)
loge(x) = ln(x)
In this section, all logarithmic functions have base a. For convenience, I don't write this base
number.
(f(x+h)-f(x))
f'(x) = lim ---------------
h->0 h
(log(x+h)-log(x))
<=> f'(x) = lim -------------------
h->0 h
log( (x+h)/x )
<=> f'(x) = lim -------------------
h->0 h
1
<=> f'(x) = lim --- . log( (x+h)/x )
h->0 h
1
<=> f'(x) = ----------
x. ln(a)
Important cases
d 1
-- loga(x) = ----------
dx x. ln(a)
d 1
-- loga(u) = ---------- . u'
dx u. ln(a)
d 1
-- ln(x) = ---
dx x
d 1
-- ln(u) = ---.u'
dx u
1
---------- .(ax )' = 1
ax .ln(a)
d
<=> ---(ax ) = ax .ln(a)
dx
Important corollaries
d
---(ax ) = ax .ln(a)
dx
d
--(ex ) = ex
dx
d
--(au ) = au .ln(a).u'
dx
d
--(eu ) = eu .u'
dx
Derivative of a real power of x
xr = er.ln(x)
=>
d
--(xr) = er.ln(x).(r.ln(x))'
dx
= xr.r.(1/x)
= r.xr-1
Thus,
Derivative of uv
Let u = f(x) and v = g(x), then
uv = ev.ln(u)
d
--(uv) = ev.ln(u).(v.ln(u))'
dx
d
--(uv) = v uv-1 u' + uv.ln(u).v'
dx
logarithmic functions
IN OTHER WORDS - AND I CAN NOT STRESS THIS ENOUGH- A LOG IS
ANOTHER WAY TO WRITE AN EXPONENT.
This definition can work in both directions. In some cases you will have an equation
written in log form and need to convert it to exponential form and vice versa.
So, when you are converting from log form to exponential form, b is your base, Y IS
YOUR EXPONENT, and x is what your exponential expression is set equal to.
Note that your domain is all positive real numbers and range is all real numbers.
We want to use the definition that is above: if and only
if .
First, let's figure out what the base needs to be. What do you think? It looks
like the b in the definition correlates with 5 in our problem - so our base is
going to be 5.
Next, let's figure out the exponent. This is very key, again remember that
logs are another way to write exponents. This means the log is set equal to
the exponent, so in this problem that means that the exponent has to be 3.
That leaves 125 to be what the exponential expression is set equal to.
*Rewriting in exponential form
Hopefully, when you see it written in exponential form you can tell that it is a
true statement. In other words, when we cube 5 we do get 125. If you had
written as 5 raised to the 125th power, hopefully you would have realized
that was not correct because it would not equal 3.
We want to use the definition that is above: if and only
if .
First, let's figure out what the base needs to be. What do you think? It looks
like the b in the definition correlates with 7 in our problem - so our base is
going to be 7.
Next, let's figure out the exponent. This is very key, again remember that
logs are another way to write exponents. This means the log is set equal to
the exponent, so in this problem that means that the exponent has to be y.
*Rewriting in exponential form
This time I have you going in the opposite direction we were going in
examples 1 and 2. But as mentioned above, you can use the log definition in
either direction. These examples are to get you use to that
definition: if and only if .
First, let's figure out what the base needs to be. What do you think? It looks
like the b in the definition correlates with 6 in our problem - so our base is
going to be 6.
Next, let's figure out the exponent. In this direction it is easy to note what the
exponent is because we are more used to it written in this form, but when we
write it in the log form we have to be careful to place it correctly. Looks like
the exponent is -2, don't you agree?
The value that the exponential expression is set equal to is what goes inside
the log function. In this problem that is 1/36.
*Rewriting in log form
Again we are going in the opposite direction we were going in examples 1
and 2. But as mentioned above, you can use the log definition in either
direction. These examples are to get you use to that definition:
if and only if .
First, let's figure out what the base needs to be. What do you think? It looks
like the b in the definition correlates with 81 in our problem - so our base is
going to be 81.
Next, let's figure out the exponent. In this direction it is easy to note what the
exponent is because we are more used to it written in this form, but when we
write it in the log form we have to be careful to place it correctly. Looks like
the exponent is 1/2, don't you agree?
The value that the exponential expression is set equal to is what goes inside
the log function. In this problem that is x.
Evaluating Logs
Step 1: Set the log equal to x.
Step 2: Use the definition of logs shown above to write the equation in exponential form.
This will give you a form that you are more familiar with.
Step 3: Find x.
Whenever you are finding a log, keep in mind that logs are another way to write exponents. You can
always use the definition to help you evaluate.
When we are looking for the log itself, keep in mind that logs are another
way to write exponents.
The thought behind this is, we are wanting the power that we would need
to raise 4 to to get 64.
Step 1: Set the log equal to x
AND
Step 2: Use the definition of logs shown above to write the equation in exponential form
AND
Step 3: Find x.
So the exponent we were looking for is 3.
When we are looking for the log itself, keep in mind that logs are another
way to write exponents.
The thought behind this is, we are wanting the power that we would need
to raise 9 to to get 1.
Step 1: Set the log equal to x
AND
Step 2: Use the definition of logs shown above to write the equation in exponential form
AND
Step 3: Find x.
*Setting the log = to x
So the exponent we were looking for is 0.
When we are looking for the log itself, keep in mind that logs are another
way to write exponents.
The thought behind this is, we are wanting the power that we would need
to raise 7 to to get 7.
Step 1: Set the log equal to x
AND
Step 2: Use the definition of logs shown above to write the equation in exponential form
AND
Step 3: Find x.
*Setting the log = to x
So the exponent we were looking for is 1.
When we are looking for the log itself, keep in mind that logs are another
way to write exponents.
The thought behind this is, we are wanting the power that we would need
to raise 5 to get square root of 5.
Step 1: Set the log equal to x
AND
Step 2: Use the definition of logs shown above to write the equation in exponential form
AND
Step 3: Find x.
*Setting the log = to x
So the exponent we were looking for is 1/2.
Graphing Log Functions
Step 1: Use the definition of logs shown above to write the equation in exponential form.
You have to be careful that you note that the log key on your calculator is
only for base 10 and your ln key is only for base e. So if you have any
other base, you would not be able to use your calculator. But, if you
have it written in exponential form, you can enter in any base in your
calculator - that is why we do step 1.
Step 2: Plug in values for y (NOT x) to find some ordered pairs.
Note that this is what we call an inverse function of the exponential function.
If you need a review of exponential functions feel free to go to Tutorial 42:
Exponential Functions. They are inverses because there x and y values are
switched. In the exponential functions the x value was the exponent, but in
the log functions, the y value is the exponent. The y value is what the
exponential function is set equal to, but in the log functions it ends up being
set equal to x. So that is why in step 2, we will be plugging in for y instead of
x.
Step 3: Plot points.
This is done exactly the same way you plot points for any other graph.
Step 4: Draw a curve.
The basic curve of a log function looks like the following:
OR
Step 1: Use the definition of logs shown above to write the equation in exponential form.
First, we need to write in exponential form, just like we practiced in examples
1 and 2.
Looks like the base is 3, the exponent is y, and the log will be set = to x:
Step 2: Plug in values for y (NOT x) to find some ordered pairs.
I have found that the best way to do this is to do it the same each time. In
other words, put in the same values for y each time and then find it's
corresponding x value for the given function.
The first two columns just show what values we are going to plug in for y.
The last three columns show the corresponding values for x and y for the
given function.
x y y (x, y)
0 0 (1, 0)
1 1 (3, 1)
2 2 (9, 2)
Step 3: Plot points.
AND
Step 4: Draw a curve.
Step 1: Use the definition of logs shown above to write the equation in exponential form.
First, we need to write in exponential form, just like we practiced in examples
1 and 2.
Looks like the base is 3, the exponent is y, and the log will be set equal to
x + 1:
Step 2: Plug in values for y (NOT x) to find some ordered pairs.
I have found that the best way to do this is to do it the same each time. In
other words, put in the same values for y each time and then find it's
corresponding x value for the given function.
The first two columns just show what values we are going to plug in for y.
The last three columns show the corresponding values for x and y for the
given function.
x y y (x, y)
0 0 (0, 0)
1 1 (2, 1)
2 2 (8, 2)
Step 3: Plot points.
AND
Step 4: Draw a curve.
Step 1: Use the definition of logs shown above to write the equation in exponential form.
Setting this up to be able to use the definition we get:
Looks like the base is 3, the exponent is -y, and the log will be set equal to
x:
*Rewriting in exponential form
Step 2: Plug in values for y (NOT x) to find some ordered pairs.
I have found that the best way to do this is to do it the same each time. In
other words, put in the same values for y each time and then find it's
corresponding x value for the given function.
The first two columns just show what values we are going to plug in for y.
The last three columns show the corresponding values for x and y for the
given function.
x y y (x, y)
-2 -2 (9, -2)
-1 -1 (3, -1)
0 0 (1, 0)
1 1 (1/3, 1)
2 2 (1/9, 2)
Step 3: Plot points.
AND
Step 4: Draw a curve.
Based on the definition of logs, the inside of the log has to be positive.
Since x is part of the inside of the log on this problem we need to find a value
of x, such that the inside of the log, 5 - x, is positive.
*Inside of log must be positive
*Solve the inequality
The domain is x < 5.
That means that if we put in any value of x that is less than 5, we will end up
with a positive value inside our log.
Based on the definition of logs, the inside of the log has to be positive.
Note how on this problem the inside of the log is squared. So no matter what
we plug in for x, the inside will always be positive or zero. Since we can only
have positive values inside the log, our only restriction is where the inside
would be 0.
*Inside of log cannot equal 0
*Domain of this function
The domain is all real numbers except -2.
Inverse Properties of Logarithms
Inverse Property I
,
Basically, what we are saying here is, whenever the base of your log matches
with the base of the inside of your log, then the log will equal the exponent of
the inside base - but only if the bases match!!!
Boy, the definition of logs sure does come in handy to explain these
properties - applying that definition you would have b raised to the r power
which equals b raised to the r power.
Inverse Property II
,
Basically, what we are saying here is, whenever you have a base raised to a
log with the SAME base, then it simplifies to be whatever is inside the log.
This one is a little bit more involved and weird looking huh? Going back to
our favorite saying - a log is another way to write exponents - what we have
here is the log is the exponent we need to raise b to get m, well if we turn
around an raise our first base b to that exponent, it stands to reason that we
would get m.
Common Log
In other words, if no base is written for the log, it is understood to be base 10, which
is called the common log.
When using common log (base 10), use the form log x to write it.
Natural Log
In other words, if the log is written with ln, instead of log in front of the x, then it is
understood to be a log of base e, which is called the natural log.
When using the natural log (base e), use the form ln x to write it.
: Evaluate
Example 14 without the use of a calculator.
We can either use the definition of logs, as shown above, or the inverse
properties of logs to evaluate this.
*Rewrite .001 as 10 to the -3rd power
: Evaluate
Example 15 without the use of a calculator.
I'm going to use the second inverse property shown above:
: Simplify
Example 16 without the use of a calculator.
I'm going to use the second inverse property shown above:
*log has a base of 10
: Simplify
Example 17 without the use of a calculator.
I'm going to use the first inverse property shown above:
Exponential Growth
We saw an example of an exponential growth graph (showing how invested money grows over
time) at the beginning of the chapter.
The exponential curve is especially important in mathematics. Exponential growth and decay are
common events in science and engineering and it is valuable if you know and recognise the
shape of these curves.
Example
Answer
Loading...
LIVEMath
Exponential Decay
100 g of radioactive material decays
to about 12 g after 20 minutes.
Radioactive decay is the most common example of exponential decay. Here we have 100 g of
radioactive material decaying over time.
Notice that the function value (the y-values) get smaller and smaller as x gets larger (but the
curve never cuts through the x-axis.). Also notice that the slope of the curve is always negative,
but gets closer to 0 as x increases.
Since the amount of radioactive material becomes less over time, and the amount we are talking
about becomes meaningless, we normally talk about the half life, that is, the amount of time it
takes for the substance to reduce to half of its original mass. In our example, it takes about 6.5
minutes for the 100 g of stuff to to decay to 50 g.
You can see another application of exponential decay in the differential equations section
Application: Series RC Circuit. As the capacitor becomes fully charged, the current drops to
zero. (Don't be scared by the complicated-looking mathematics in that section...)
Answer
We could take some typical values and join the dots to graph the log function, as follows:
x 0.01 0.1 0.5 1 2 3 4
f(x) -2 -1 -0.30 0 0.30 0.48 0.60
Notice that we cannot take negative values for x. Can you figure out why not?
LIVEMath
If we plot them on the same axes, we see that they are just reflections of each other in the line
y=x
In this graph, f(x) = 10x is in green and f(x) = log x is in blue, and we can see that they are
reflections of each other in y=x(plottedinred)
Let's see how the same thing works in this LiveMath document:
Exercises
1. The velocity of a certain falling object (which is being affected by air resistance) is given by:
answer:
_____________________
| x | 0 | 1 | 2 | 3 |
---------------------
| y | 1 | 2 | 4 | 8 |
---------------------
x = log2 8
2-3 = x
x = (1/8)
There are five special rules that you ought to always have in mind
when working with logarithms. They will help you in such tasks as
simplifying expressions containing logarithms and solving equations
containing logarithms. They are outlined below.
Solution: log2 (x * 6)
2. For any positive numbers x and p, loga xp = p * loga x. Example:
Solution: -x * logb 9
3. For any positive numbers x and y, loga (x/y) = loga x - loga y.
Example:
loga (x/y5)
4. loga a = 1
5. loga 1 = 0
log 3x = log 8
x * log 3 = log 8
x = (log 8/log 3)
5x + 7 = 32
5x + 7 = 9
Solve for x.
5x = 2
x = (2/5)