Logarithm-- Inverse of an Exponential Function

Key Questions

  • Definition

    logbx=y if and only if by=x

    Logarithmic functions are the inverse of the exponential functions with the same bases.


    Example

    If you wan to find the value of

    log28=?,

    then convert the question in terms of exponential function

    2?=8=23?=3.

    Hence, log28=3.


    I hope that this was helpful.

  • Answer:

    See explanation, where I show how to find log2(7)2.8

    Explanation:

    Since you were not specific as to what base of logarithm you wanted, I will take the liberty of showing you how to calculate logarithms base 2 in binary. They are perhaps the easiest to do by hand. Elsewhere I have shown a method to calculate common (base 10) logarithms, but that involves a lot of raising numbers to the 10th power so is rather tedious.

    Let us calculate log27.

    From now on express numbers in binary...

    We want to calculate log1021112

    101022=1002<1112<10002=101122

    So the digits before the binary point are 10

    Next divide 1112 by 101022=1002 to get 1.112

    Square 1.112 to get 11.00012

    Since this is greater than 102, the first digit after the binary point is 1

    Divide by 102 to get 1.100012

    Square 1.100012 to get 10.01011000012

    Since this is greater than 102, the second digit after the binary point is 1

    Divide by 102 to get 1.001011000012

    Square 1.001011000012 to get 1.01011111110110110000012

    Since this is less than 102, the third digit after the binary point is 0

    Square 1.01011111110110110000012 to get 1.111000111001101001010000010101111101100000012

    Since this is less than 102, the fourth digit after the binary point is 0

    To cut down on the arithmetic, I will approximate this as 1.111000111001101001012

    Square 1.111000111001101001012 to get 11.10010001100011111010011011100100010110012

    Since this is greater than 102, the fifth digit after the binary point is 1

    Divide by 102 to get 1.110010001100011111010011011100100010110012

    I'll stop here, but I hope you get the idea.

    Putting the digits we have found together we get:

    log102111210.110012=2+25322.8

    Actually log2(7)2.80735

  • The logarithm base b of a number n is the number x that when b is raised to xth power, the resulting value is n

    logbn=xbx=n

    Example:

    log28=x

    2x=8
    2x=23
    x=3

    log51=x
    5x=1
    5x=50
    x=0

  • Logarithms of negative numbers are not defined in the real numbers, in the same way that square roots of negative numbers aren't defined in the real numbers. If you are expected to find the log of a negative number, an answer of "undefined" is sufficient in most cases.

    It is possible to evaluate one, however, the answer will be a complex number. (a number of the form a+bi, where i=1)

    If you're familiar with complex numbers and feel comfortable working with them, then read on.

    First, let's start with a general case:

    logb(x)=?

    We will use the change-of-base rule and convert to natural logarithms, to make things easier later:

    logb(x)=ln(x)lnb

    Note that ln(x) is the same thing as ln(1x). We can exploit the addition property of logarithms, and separate this part into two separate logs:

    logb(x)=lnx+ln(1)lnb

    Now the only problem is figuring out what ln(1) is. It might look like an impossible thing to evaluate at first, but there is a pretty famous equation known as Euler's Identity that can help us.

    Euler's Identity states:

    eiπ=1

    This result comes from power series expansions of sine and cosine. (I won't explain that too in-depth, but if you are interested, there is a nice page here which explains a bit more)

    For now, let us simply take the natural log of both sides of Euler's Identity:

    lneiπ=ln(1)

    Simplified:

    iπ=ln(1)

    So, now that we know what ln(1) is, we can substitute back into our equation:

    logb(x)=lnx+iπlnb

    Now you have a formula for finding logs of negative numbers. So, if we want to evaluate something like log210, we can simply plug in a few values:

    log2(10)=ln10+iπln2

    3.3219+4.5324i

  • Log base "a" of "x" is the same quotient of log base"b" of "x" and log base "b" of "a".

    This allows us to convert a base that is not easily solvable into the division of of logs with common base that is easy to solve.

    loga(x)=logb(x)logb(a)

    log10(100)=loge(100)loge(10)=ln(100)ln(10)=2

Questions