Integral Calculus, Adding Logs

Adding Logs

Given two positive reals a and b, the log of a/b is the integral of 1/t as t runs from 1 to a/b. Integrate by substitution, replacing t with u/b. This gives the integral of 1/u from b to a, or log(a)-log(b). Verify that log(1/b) = -log(b). Do this by substitution; replace x with 1/u. Then replace b with 1/b in log(a/b), and show that log(a×b) = log(a)+log(b).

If you know about continuous groups, the log function is a continuous group homomorphism from the positive reals under multiplication to the reals under addition. In fact it is a group isomorphism, since the map is reversible via the exponential function. As groups, or even metric spaces, the positive reals under multiplication are indistinguishable from the reals under addition.

If a is positive and b is real, define ab as exp(b×log(a)). Verify a1 = a, and a0 = 1. Since n×log(a) is log(a) added to itself n times, equals log(a×a×…×a), we see that an agrees with a to the nth power, in the traditional sense. since -log(x) = log(1/x), a-n is indeed the inverse of an. The analytic definition agrees with the traditional definition even for negative exponents. But what about rational and real exponents? First let's prove some properties of exponentiation.

Verify that ab×ac = ab+c. Take logs of both sides, remembering that log(xy) = log(x)+log(y), and get b+c = b+c. Now let c = -b and we have ab×a-b = ab-b = a0 = 1. Thus a-b is the inverse of ab. Finally, abc = exp(bc×log(a)). Group b with log(a), or c with log(a), as you prefer. If b is folded into log(a), this formula becomes xc, where the log of x is b times the log of a. This means x = ab, and a to the bc is a to the b to the c. By symmetry, a to the bc is also a to the c to the b. These properties hold for all real exponents b and c, and a > 0.

Verify that a1/n is the nth root of a. This because a to the 1/n to the n is a1 = a. In other words, a to the 1/n is that number x such that xn = a. This agrees with the traditional definition of a to the 1/n. Combine these results to describe rational exponents. That is, ap/q is a to the p to the 1/q, is the qth root of ap, as expected. The two formulations of ab, one from iterative multiplication and the other from integral calculus, agree on all rational exponents. Since they are both continuous functions, they agree on all real exponents. We have simply defined exponentiation in another way.

We expect the derivative of xb to be bxb-1, just as it was before. Verify this using our new exponential formula and the chain rule. In addition, we can now differentiate ax, giving log(a)×ax.

Let E = exp(1). Now we see that exp(x) and Ex are synonymous. Sometimes the exponential notation Ex is clearer. Exp(x) = Ex is the irrational number E raised to the x power. E is approximately 2.71828.