A method for using a negative base in a logarithm

You can download a spreadsheet to accompany this explanation into which you can enter your own values (lines 8 =  10) here

Common wisdom says you can’t use a negative base in a logarithm if you’re working with real numbers

i.e. Y=log-b(X) is not valid, where –b is a negative number

However, consider this

For every integer a, there is some negative number –p, such that

1) (-p)(2a+1) = -b : because 2a+1 is an odd number and a negative number to an odd power is a negative number.

P(2a + 1) = b : (the relationship between positive p and positive b)

P = b1/(2a+1) (spreadsheet line 14 solves for –p)

There is some z, such that

Pz = X  (z solved for on spreadsheet line 16)

If  c = int(z/2) (c is on line 18 of the spreadsheet) then

X = p(z-2c) * p2c

Because the exponent of p2c is even, we can rewrite it as (-p)2c

2) Let W = (-p)2c , (spreadsheet line 22) therefore

X = p(z-2c) * W

we know that (-p)2c is positive because the exponent 2c is an even integer

Taking log-b of expression 1) yields

(2a+1) log-b(-p) = log-b(-b) : since the log of a number to its base is 1, we have

3) Log-b(-p) = 1/(2a+1)

Taking log-b of expression 2 yields

Log-b(W) = log-b[(-p)2c] = 2c * log-b(-p)

Substituting 1/(2a+1) for log-b(-p) from equation 3 yields

Log-b(W) = 2c/(2a+1)

As a approaches infinity, p approaches one, p2 approaches 1, W approaches X and log-b(W) approaches log-b(X), so

Log-b(X) = 1/(2a+1) * 2c

4) Log-b(X) = 1/(2a+1) * [2 * int( logb(X) * (2a+1)/2)]

You can see this formula implemented step by step in the spreadsheet starting on line 27

The answer can be checked (starting on spreadsheet line 37) by the following process

Log-2(X) = 1/(2a+1) * 2c is

X =((-b) 1/(2a + 1)) 2c

First, take the (2a + 1) root of –b which is the same as minus the (2a+1) root of b.

Then take that number to the 2c power.

3 Responses to “A method for using a negative base in a logarithm”

  1. Alex Gordon says:

    Ничего подобного….

    However, consider this
    For every integer a, […….

  2. Kylie Batt says:

    Вы абсолютно правы. В этом что-то есть и мысль хорошая, согласен с Вами….

    However, consider this
    For every integer a, […….

  3. Kylie Batt says:

    Должен Вам сказать это – заблуждение….

    Common wisdom says you can’t use a negative base in a logarithm if you’re working with real numbers
    i.e…..

Leave a Reply