Lesson LOGARITHMS AND EXPONENTIAL AND LOGARITHMIC EQUATIONS

Algebra ->  Logarithm Solvers, Trainers and Word Problems -> Lesson LOGARITHMS AND EXPONENTIAL AND LOGARITHMIC EQUATIONS      Log On


   


This Lesson (LOGARITHMS AND EXPONENTIAL AND LOGARITHMIC EQUATIONS) was created by by Theo(13342) About Me : View Source, Show
About Theo:

This lesson covers an overview of LOGARITHMS AND EXPONENTIAL AND LOGARITHMIC EQUATIONS

REFERENCES

http://www.themathpage.com/aPreCalc/logarithms.htm#laws
http://www.sosmath.com/algebra/logs/log1/log1.html
http://www.themathpage.com/aPreCalc/logarithms.htm
http://www.purplemath.com/modules/logs.htm
http://people.hofstra.edu/Stefan_Waner/Realworld/calctopic1/logs.html
http://www.themathpage.com/aPreCalc/logarithmic-exponential-functions.htm
http://www.purplemath.com/modules/solvexpo2.htm
http://www.occc.edu/maustin/exp_log_equations/exponential%20and%20logarithmic%20equations.htm
http://www.wtamu.edu/academic/anns/mps/math/mathlab/col_algebra/col_alg_tut46_logeq.htm
http://tutorial.math.lamar.edu/Classes/Alg/SolveLogEqns.aspx
http://www.purplemath.com/modules/solvexpo.htm
http://www.wtamu.edu/academic/anns/mps/math/mathlab/col_algebra/col_alg_tut45_expeq.htm

Logarithmic Equations and Exponential Equations are two sides of the same coin. Logarithms are used to solve exponential equations and exponents are used to solve logarithmic equations.

For more information on exponents, see the lesson on EXPONENTS.

BASIC DEFINITION OF LOGARITHMS

log%28b%2Cx%29+=+y if and only if b%5Ey+=+x

This means that the log of x to the base b equals y if and only if the base b raised to the power of the exponent y = x.

Example:
let b = 2 and x = 8 and y = 3

log%282%2C8%29+=+3 if and only if 2%5E3+=+8

This means that the log of 8 to the base 2 = 3 if and only if 2 raised to the third power = 8.

Since 2%5E3+=+8, this is confirmed to be true.

RULES OF LOGARITHMS

There are three major rules of logarithms.

LOGARITHM RULE NUMBER 1

log%28b%2C%28x%2Ay%29%29+=+log%28b%2C%28x%29%29+%2B+log%28b%2C%28y%29%29

This means that the log of (x*y) to the base b equals the log of (x) to the base b plus the log of (y) to the base b.

Example:
log%282%2C%288%2A16%29%29+=+log%282%2C%288%29%29+%2B+log%282%2C%2816%29%29

This means that the log of (8*16) to the base 2 = log of 8 to the base 2 plus the log of 16 to the base 2.

log%282%2C%288%2A16%29%29 = log%282%2C%28128%29%29+=+7 because 2%5E7+=+128.
log%282%2C%288%29%29+=+3 because 2%5E3+=+8.
log%282%2C%2816%29%29+=+4 because 2%5E4+=+16.
log%282%2C%288%29%29+%2B+log%282%2C%2816%29%29 = %283%2B4%29+=+7 = log%282%2C%288%2A16%29%29 confirming the rule.

LOGARITHM RULE NUMBER 2

log%28b%2C%28x%2Fy%29%29+=+log%28b%2C%28x%29%29+-+log%28b%2C%28y%29%29

This means that the log of (x/y) to the base b equals the log of (x) to the base b minus the log of (y) to the base b.

Example:
log%282%2C%2816%2F8%29%29+=+log%282%2C%2816%29%29+-+log%282%2C%288%29%29

This means that the log of (16/8) to the base 2 = log of 16 to the base 2 minus the log of 8 to the base 2.

log%282%2C%2816%2F8%29%29 = log%282%2C%282%29%29+=+1 because 2%5E1+=+2.
log%282%2C%2816%29%29+=+4 because 2%5E4+=+16.
log%282%2C%288%29%29+=+3 because 2%5E3+=+8.
log%282%2C%2816%29%29 - log%282%2C%288%29%29 = %284-3%29+=+1 = log%282%2C%2816%2F8%29%29 confirming the rule.

LOGARITHM RULE NUMBER 3

log%28b%2C%28x%5En%29%29+=+n%2Alog%28b%2C%28x%29%29

This means that the log of (x^n) to the base b equals n times the log of (x) to the base b.

Example:
log%282%2C%288%5E5%29%29+=+5%2Alog%288%29

This means that the log of (8^5) to the base 2 = 5 times the log of 8 to the base 2.

log%282%2C%288%5E5%29%29 = log%282%2C%2832768%29%29+=+15 because 2%5E15+=+32768.
log%282%2C%288%29%29+=+3 because 2%5E3+=+8.
5%2Alog%282%2C%288%29%29 = 5%2A3+=+15 = log%282%2C%288%5E5%29%29 confirming the rule.

USING YOUR CALCULATOR TO SOLVE LOGARITHMS

Since most commonly sold scientific calculators can solve common logarithms (base 10) or natural logarithms (base e), it make sense to use these bases as often as possible.

If you are given a problem in logarithms taken to a base other than 10 or e, you can convert that logarithm to a base 10 or a base e by using the conversion formula to be discussed next.

CHANGING THE BASE OF A LOGARITHM

You can change the base of a logarithm from any base to any other base using the following conversion formula:

log%28b%2C%28x%29%29+=+log%28c%2C%28x%29%29%2Flog%28c%2C%28b%29%29

This means that the log of x to the base b equals the log of x to the base c divided by the log of b to the base c.

Example:

Let b = 2 and let c = 10 and let x = 8.

log%282%2C%288%29%29+=+log%2810%2C%288%29%29%2Flog%2810%2C%282%29%29

We know that log%282%2C8%29%29 = 3 because 2%5E3 = 8 so we didn't really need to convert in this case but it serves to demonstrate that the conversion formula works as shown below:

Converting to the base 10 allows us to solve this directly using the LOG function of the calculator.

log%2810%2C%288%29%29+=+.903089987
log%2810%2C%282%29%29+=+.301029996

log%2810%2C%288%29%29%2Flog%2810%2C%282%29%29 = .903089987%2F.301029996+=+3

since log%282%2C%288%29%29%29 = 3 and log%2810%2C%288%29%29%2Flog%2810%2C%282%29%29 = 3 the two equations are equivalent confirming that the formula for changing the base of a logarithm is valid.

For more information on changing the base of a logarithm, see the lesson on CHANGING THE BASE OF A LOGARITHM.

BASIC RULES OF ALGEBRAIC AND ARITHMETIC OPERATIONS AS THEY APPLY TO LOGARITHMS

If a = b, then log%28%28a%29%29+=+log%28%28b%29%29

This means that if a = b, then log of a = log of b.

Example:
let a = 5 and b = 5

If 5 = 5, then log(5) = log(5)

Taking the log of both sides of an equality does not change the equality.

This fact alone is used to solve many exponential equations.

SOLVING PROBLEMS USING LOGARITHMS

Logarithms are commonly used to solve problems where the unknown value is the exponent. These would be called exponential equations.

EXAMPLE NUMBER 1

e%5Ex+=+5000

It appears that the easiest way to solve this is to use the basic definition of logarithms that states the following:

e%5Ex+=+5000 is true if and only if log%28e%2C%285000%29%29+=+x

Since log%28e%2C%285000%29%29 is the same as ln%285000%29, we can solve this directly using the LN function of our scientific calculator.

Our answer is ln%285000%29+=+8.517193191.

This answer is confirmed because e%5E%288.517193191%29+=+5000.

The other way to solve this would have been to take the log of both sides of the equation. Natural log appears to be the best way since this equation is already in base e format.

The equation of e%5Ex+=+5000 becomes log%28e%2C%28e%5Ex%29%29+=+log%28e%2C%285000%29%29 which becomes ln%28e%5Ex%29+=+ln%285000%29.

This is because natural log (ln) of a number means the same thing as the log to the base e of a number.

We would use the LN function of the scientific calculator.

By rule number 3, ln%28e%5Ex%29 is the same as x%2Aln%28e%29 so our equation becomes x%2Aln%28e%29+=+ln%285000%29.

Since ln%28e%29+=+1 and ln%285000%29+=+8.517193191, our equation becomes x+=+8.517193191 and we need go no further.

Our answer is x+=+8.517193191

This answer is confirmed because e%5E%288.517193191%29+=+5000.

EXAMPLE NUMBER 2

You are given the equation of 2%5Ex+=+5%5Ey and told to solve for y.

It appears that the easiest way to solve this is to take the common or natural log of both sides of the equation and solve using the LOG function of the calculator or the LN function of the calculator.

We'll use the LOG function of the scientific calculator this time.

Our equation of 2%5Ex+=+5%5Ey becomes log%2810%2C%282%5Ex%29%29+=+log%2810%2C%285%5Ey%29%29 which becomes log%28%282%5Ex%29%29+=+log%28%285%5Ey%29%29.

This is because the log of a number means the same thing as the log to the base 10 of a number.
If the base of a log is not mentioned, it is assumed to be 10.

by rule number 3, this equation becomes x%2Alog%28%282%29%29+=+y%2Alog%28%285%29%29

Solving for y, we get y+=+%28x%2Alog%28%282%29%29%29%2F%28log%28%285%29%29%29 which becomes y+=+%28%28.301029996%29%2F%28.698970004%29%29%2Ax%29 which becomes y+=+%28.430676558%29%2A%28x%29

Solving for x, we get x+=+%28y%2Alog%28%285%29%29%29%2F%28log%28%282%29%29%29 which becomes x+=+%28%28.698970004%29%2F%28.301029996%29%29 which becomes x+=+%282.321928095%29%2A%28y%29

What this says is that if we know the value of x we can find the value of y and, conversely, if we know the value of y we can find the value of x.

assume y = 1
if y+=+1, then x+=+2.321928095
2%5Ex+=+5%5Ey becomes 2%5E2.321928095 = 5%5E1 = 5 confirming that the ratio between y and x is correct.

assume x = 1
if x+=+1, then y+=+.430676558
2%5Ex+=+5%5Ey becomes 2%5E1 = 5%5E.430676558 = 2 confirming that the ratio between x and y is correct.

EXAMPLE NUMBER 3

You are given log%283%2C%283486784401%29%29+=+y and asked to solve for y.

You can't use the LOG function of the calculator because the base is not 10.
You can't use the LN function of the calculator because the base is not e.

It appears that the easiest way to solve this is to use the CHANGE OF BASE formula.

That formula is log%28b%2C%28x%29%29+=+log%28c%2C%28x%29%29%2Flog%28c%2C%28b%29%29

You have:
b = 3
x = 3486784401
You let:
c = 10 because that can be solved using the LOG function of your calculator.

Your equation of log%283%2C%283486784401%29%29 becomes log%2810%2C%283486784401%29%29%2Flog%2810%2C%283%29%29 which becomes log%28%283486784401%29%29%2Flog%28%283%29%29 because the log without the base indicated means the log to the base 10.

log%28%283486784401%29%29%2Flog%28%283%29%29 = 9.542425094+%2F+.477121255 = 20.

Your answer is 20.
This is confirmed because 3%5E20+=+3486784401

The other way to solve this would have been to convert it to exponential form and then take the common log of both sides of the equation or the natural log of both sides of the equation.

Your original equation of log%283%2C%283486784401%29%29+=+y is true if and only if 3%5Ey+=+3486784401 by the basic definition of logarithms.

We'll take the natural log of both sides of 3%5Ey+=+3486784401 this time.
Either common or natural logs will work.

3%5Ey+=+3486784401 becomes log%283%2C%283%5Ey%29%29+=+log%283%2C%283486784401%29%29 which becomes ln%28%283%5Ey%29%29+=+ln%28%283486784401%29%29 because natural log (ln) of a number means the same thing as taking the log of that number to the base e.

By rule number 3, ln%28%283%5Ey%29%29+=+y%2Aln%28%283%29%29 so our equation becomes y%2A%28ln%28%283%29%29%29+=+ln%28%283486784401%29%29

Using our calculator, y%2A%28ln%28%283%29%29%29+=+ln%28%283486784401%29%29 becomes y%2A1.098612289+=+21.97224577.

Solving for y, this equation becomes y+=+21.97224577%2F1.098612289 which becomes y+=+20.

Our answer is y = 20

This is confirmed because 3%5E20+=+3486784401

SOME ADDITIONAL EXAMPLES

Most of the following examples are from the wtamu website mentioned as one of the major references for this lesson.

One example is from their section on exponential equations and some more examples are from their section on logarithmic equations.

The difference between exponential equations and logarithmic equations is as follows:

Exponential equations are equations where the unknown value is in the exponent.
Logarithmic equations are equations where the unknown value is in the logarithm.
The difference will be apparent as we go through the next series of examples.

EXAMPLE NUMBER 4

Given the equation e%5E2x+-+2e%5Ex+-+8+=+0 solve for x

The trick according to the folks at wtamu is to isolate the exponential expression on one side of the equation and then solve using log functions of your calculator. LN or LOG will do, but they used LN in their example so I will continue along those lines.

We can factor the left side of this equation to get %28e%5Ex-4%29%2A%28e%5Ex%2B2%29+=+0
This makes e%5Ex+=+4%29 or e%5Ex+=+-2
We can use the LN function of our calculator to solve each of these in turn. We'll look at e%5Ex+=+4%29 first.
We do that by taking the natural log of both sides of this equation to get:

ln%28%28e%5Ex%29%29+=+ln%28%284%29%29

Since ln%28%28e%5Ex%29%29 becomes x%2Aln%28%28e%29%29 by rule number 3, our equation becomes x%2Aln%28%28e%29%29+=+ln%28%284%29%29 which becomes x+=+ln%28%284%29%29 because ln%28%28e%29%29+=+1.

One answer for x is ln%28%284%29%29+=+1.386294361

This is confirmed because e%5E%281.386294361%29+=+4

We now look at e%5Ex+=+-2
Since anything to a positive base has to be greater than 0, this answer is invalid.
If we didn't recognize this, we would have tried to take the natural log of both sides of this equation to get:
ln%28%28e%5Ex%29%29+=+ln%28%28-2%29%29
As soon as we tried to get ln%28%28-2%29%29 we would have gotten an error because you can't take the log of any number that is negative or 0. It has to be positive.

The only good answer here is therefore x+=+1.386294361

Up to now we've been solving exponential equations using logarithms.
Now we'll solve logarithmic equations using exponents.
The difference is in where the unknown value is. If the unknown value is in the exponent, it's an exponential equation. If the unknown value is in the logarithm, it's a logarithmic equation.

EXAMPLE NUMBER 5

Given the equation log%285%2C%28x%2B2%29%29+=+3 solve for x

The trick according to the folks at wtamu is to isolate the logarithmic expression on one side of the equation and then solve using exponential functions of your calculator.

Note that the unknown value is in the logarithmic form of the equation and not in the exponential form of the equation as you will see shortly.

Since the logarithmic expression is already isolated in this example, we can convert this to the exponential form by using the basic definition of logarithms.

Our equation of log%285%2C%28x%2B2%29%29+=+3 is true if and only if 5%5E3+=+%28x%2B2%29
Since 5%5E3 = 125 then our equation becomes 125+=+x%2B2 which becomes x+=+123

Our answer is x = 123

This is confirmed because log%285%2C%28123%2B2%29%29 = log%285%2C%28125%29%29 = 3 which is true because 5%5E3+=+125.

EXAMPLE NUMBER 6

Given log%28%28x%2B21%29%29+%2B+log%28%28x%29%29+=+2 then solve for x

We'll be dealing with common logs here because log%28%28number%29%29 means log%2810%2C%28%28number%29%29%29.

In this equation, rule number 1 of logarithms will be used.

Rule number 1 states that log%28b%2C%28x%2Ay%29%29+=+log%28b%2C%28x%29%29+%2B+log%28b%2C%28y%29%29

Our equation of log%28%28x%2B21%29%29+%2B+log%28%28x%29%29+=+2 becomes log%28%28%28x%2B21%29%2A%28x%29%29%29+=+2 which becomes log%28%28x%5E2+%2B+21x%29%29+=+2

By the basic definition of logarithms, this can only be true if 10%5E2+=+x%5E2+%2B+21x

Since 10%5E2+=+100 we can subtract 100 from both sides of this equation to get x%5E2+%2B+21x+-+100+=+0

This factors out to be %28x%2B25%29%2A%28x-4%29+=+0 which makes x = 4 or x = (-25).

If x = 4, then our original equation of log%28%28x%2B21%29%29+%2B+log%28%28x%29%29+=+2 becomes log%28%284%2B21%29%29+%2B+log%28%284%29%29+=+2 which becomes log%28%2825%29%29+%2B+log%28%284%29%29+=+2 which becomes 1.397940009+%2B+.602059991+=+2 which becomes 2 = 2 so the value of x = 4 is confirmed to be good.

If x = -25, then our original equation of log%28%28x%2B21%29%29+%2B+log%28%28x%29%29+=+2 becomes log%28%28-4%29%29+%2B+log%28%28-25%29%29+=+2.

since you can't take the log of a negative number (or zero) then x = -25 is not a valid answer so it is discarded.

Our answer is x = 4 which has already been confirmed to be true.

EXAMPLE NUMBER 7

Given the equation log%283%2C%28x%2B24%29%29+-+log%283%2C%28x%2B2%29%29+=+2 solve for x.

Once again, the trick is to isolate the logarithms on one side of the equation and then convert the equation to the exponential form to solve.

In this equation, rule number 2 for logarithms will be used.

That rule states that log%28b%2C%28x%2Fy%29%29+=+log%28b%2C%28x%29%29+-+log%28b%2C%28y%29%29.

Our original equation of log%283%2C%28x%2B24%29%29+-+log%283%2C%28x%2B2%29%29+=+2 becomes log%283%2C%28%28x%2B24%29%2F%28x%2B2%29%29%29+=+2

By the basic definition of logarithms log%283%2C%28%28x%2B24%29%2F%28x%2B2%29%29%29+=+2 is true if and only if 3%5E2+=+%28x%2B24%29%2F%28x%2B2%29 which becomes 9+=+%28x%2B24%29%2F%28x%2B2%29.

If we multiply both sides of the equation by (x+2) then we get 9%2A%28x%2B2%29+=+%28x+%2B+24%29 which becomes 9x+%2B+18+=++x+%2B+24.

If we subtract x from both sides of the equation and we subtract 18 from both sides of the equation we get 8%2Ax+=+6 which becomes x+=+%283%2F4%29 after we divide both sides of the equation by 8 and simplify.

Our answer is x = (3/4).

We substitute in the original equation of log%283%2C%28x%2B24%29%29+-+log%283%2C%28x%2B2%29%29+=+2 to get log%283%2C%28%283%2F4%29%2B24%29%29+-+log%283%2C%28%283%2F4%29%2B2%29%29+=+2 which becomes log%283%2C%2899%2F4%29%29+-+log%283%2C%2811%2F4%29%29+=+2.

log%283%2C%2899%2F4%29%29+-+log%283%2C%2811%2F4%29%29+=+2 becomes log%283%2C%28%2899%2F4%29%2F%2811%2F4%29%29%29+=+2 by rule number 2 of logarithms.
This becomes log%283%2C%28%2899%2F4%29%2A%284%2F11%29%29%29+=+2 by the rules of division which state that %28a%2Fb%29%2F%28c%2Fd%29 is the same as %28a%2Fb%29%2A%28d%2Fc%29.
This becomes log%283%2C%28%2899%29%2F%2811%29%29%29+=+2 after eliminating the common factors.
This becomes log%283%2C%289%29%29+=+2 after simplifying.
This is confirmed to be true because log%283%2C%289%29%29+=+2 if and only if 3%5E2+=+9 from the basic definition of logarithms.

Our answer is x = (3/4) which has been confirmed to be true.

EXAMPLE NUMBER 8

Since we covered rule number 1 and 2 of logarithms, we might as well round it up by covering rule number 3.

Given the equation 3%2Alog%284%2C%28x%29%29+=+12 solve for x

Since the x is in the logarithmic form of the equation and not in the exponential form of the equation, this is a logarithmic equation.

Rule number 3 of logarithms states that log%28b%2C%28x%5En%29%29+=+n%2Alog%28b%2C%28x%29%29

This seems to fit our example, so we take the original equation of 3%2Alog%284%2C%28x%29%29+=+12 and convert it to log%284%2C%28x%5E3%29%29+=+12.

We use the basic definition of logarithms to transform this equation into the exponential form.

log%284%2C%28x%5E3%29%29+=+12 is true if and only if 4%5E12+=+x%5E3

Since 4%5E12 = 16777216, this means that x%5E3+=+16777216 which means that x+=+root%283%2C16777216%29 which means that x = 256.

If we substitute x = 256 in our original equation of 3%2Alog%284%2C%28x%29%29+=+12 then we get 3%2Alog%284%2C%28256%29%29+=+12 which becomes log%284%2C%28256%5E3%29%29+=+12 which becomes log%284%2C%2816777216%29%29+=+12 which is confirmed because we already know that 4%5E12+=+16777216.


DERIVATION OF RULE NUMBER 1

rule number 1 states that log%28b%2C%28x%2Ay%29%29+=+log%28b%2C%28x%29%29+%2B+log%28b%2C%28y%29%29

let b%5Ed+=+x%2Ay
let b%5Ee+=+x
let b%5Ef+=+y

x%2Ay = b%5Ed = %28b%5Ee%29%2A%28b%5Ef%29

by the rules of exponents, %28b%5Ee%29%2A%28b%5Ef%29 = b%5E%28e%2Bf%29

this means that b%5Ed = b%5E%28e%2Bf%29 which can only be true if d+=+e+%2B+f

by the basic definition of logarithms:
b%5Ed+=+%28x%2Ay%29 if and only if d+=+log%28b%2C%28x%2Ay%29%29
b%5Ee+=+%28x%29 if and only if e+=+log%28b%2C%28x%29%29
b%5Ef+=+%28y%29 if and only if f+=+log%28b%2C%28y%29%29

The equation of d+=+e+%2B+f becomes:
log%28b%2C%28x%2Ay%29%29+=+log%28b%2C%28x%29%29+%2B+log%28b%2C%28y%29%29 confirming the rule.

DERIVATION OF RULE NUMBER 2

rule number 2 states that log%28b%2C%28x%2Fy%29%29+=+log%28b%2C%28x%29%29+-+log%28b%2C%28y%29%29

let b%5Ed+=+x%2Fy
let b%5Ee+=+x
let b%5Ef+=+y

x%2Fy = b%5Ed = %28b%5Ee%29%2F%28b%5Ef%29

by the rules of exponents, %28b%5Ee%29%2F%28b%5Ef%29 = b%5E%28e-f%29

this means that b%5Ed = b%5E%28e-f%29 which can only be true if d+=+e+-+f

by the basic definition of logarithms:
b%5Ed+=+%28x%2Fy%29 if and only if d+=+log%28b%2C%28x%2Fy%29%29
b%5Ee+=+%28x%29 if and only if e+=+log%28b%2C%28x%29%29
b%5Ef+=+%28y%29 if and only if f+=+log%28b%2C%28y%29%29

The equation of d+=+e+-+f becomes:
log%28b%2C%28x%2Ay%29%29+=+log%28b%2C%28x%29%29+-+log%28b%2C%28y%29%29 confirming the rule.

DERIVATION OF RULE NUMBER 3

rule number 3 states that log%28b%2C%28x%5En%29%29+=+n%2Alog%28b%2C%28x%29%29

let b%5Ed+=+x
let b%5Ee+=+x%5En

since b%5Ed+=+x we can substitute for x in the equation of b%5Ee+=+x%5En to get:
b%5Ee+=+%28b%5Ed%29%5En

by the rules of exponents, %28b%5Ed%29%5En is the same as b%5E%28d%2An%29

this means that b%5Ee+=+b%5E%28d%2An%29 which can only be true if e+=+d%2An

by the basic definition of logarithms:
b%5Ed+=+%28x%29 if and only if d+=+log%28b%2C%28x%29%29
b%5Ee+=+%28x%5En%29 if and only if e+=+log%28b%2C%28x%5En%29%29

The equation of e+=+d%2An becomes:
log%28b%2C%28x%5En%29%29+=+log%28b%2C%28x%29%29%2An which is the same as:
log%28b%2C%28x%5En%29%29+=+n%2Alog%28b%2C%28x%29%29 confirming the rule.


This lesson has been accessed 61661 times.