Logarithms are algebraic concepts that complete the "exponential circle" (depicted to right), a metaphor for the three variables in a generic exponential expression.
With the use of logarithms, it is possible to solve for any one variable in terms of the other two.
Note how the blue text and arrows indicate exponentiation, while the red indicates the typical reverse of that — roots. The logarithmic relationship, in green, illustrates how one may be resolved in terms of the others.
This is what logarithms do, algebraically. It is a highly useful tool in rearranging and manipulating algebraic expressions.
The subscripted number is the base of the logarithm, because it is also the base of the exponential.
Example[]
Knowing that , and therefore that , allows us to express the same three numbers with a single exponential relationship in two different ways, one solved for 9 and the other solved for 3.
But if you wanted to solve for the 2, or any such exponent, you must do so with logarithms:
Likewise, as the image above illustrates, if then and .
It is now possible to solve equations in the form without having to guess and check, there is now a systematic and algebraic method of arriving at the proper solution explicitly.
Restrictions[]
Logarithms with the base of 0 or 1 are undefined.
Logarithms of negative values are non-real complex numbers. (see complex analysis).
Approximations[]
To get started with logarithmic approximations, approximate logarithm of primes like this:
Then check out Logarithmic scale approximations for more information.
A note on logarithms[]
Logarithms require a base number, because, after all, the function has two inputs which are related to one another in a specific way, producing a single output. It would be impossible to arrive at a single solution knowing only the input or the base but not both. Therefore, all logarithms require both the inputted value and its base subscript. Logarithms are a dual-input, single-output function.
However, it is a commonly accepted convention to neglect writing a subscripted base when referring to base ten logarithms. Logarithms of base ten can be written in one of three ways, and is specially named the common logarithm.
- (Common to Engineers)
Furthermore, another exception to the rule is the natural logarithm, which uses Euler's number (denoted ) as the base. It, too, can be written in two ways:
Graphing logarithmic functions[]
All logarithms pass through the point and have an asymptote of . In addition,
Inverse exponentiation[]
The logarithm is also the inverse function of an exponential function having the same base.
Given the two functions:
Each is the inverse of the other. On a graph they will be perfect reflections of one another across the line .
Exponentiation, being the reverse operation of finding the logarithm, is sometimes referred to as the antilog operation.