What is Log (Logarithm)?
Log is the inverse of the mathematical operation of exponentiation and is also known as the logarithm. Exponentiation is raising a base number to a power, while logarithm determines the exponent needed to reach a given number.
In simpler words, the log or logarithm tells what power we must raise on a specific base to get a given number. If “b” raised to power “y” that gives resultant “x”, then the logarithm of “x” with base “b” is equal to “y”. It is mathematically represented as:
If by = x ⟺ logb(x) = y
Where:
- “b” is the base of logarithm (which must be greater than 1)
- “x” is the required number (must be positive)
- “y” is the exponent of the log.
Logarithm Types
There are two basic types of logarithms due to their different bases which are named as:
- Common Logarithm
- Natural Logarithm
Common Logarithm
The log of any number with base 10 is known as the common logarithm or log base 10 and represented as log10 or log. Common logarithm simply defines how many times multiply the number 10 to get the required result.
I.e., log10(100)=2, it means we multiply the number “10” twice to get “100”.
Natural Logarithm
The logarithm of any number with base “e” is known as the natural logarithm or base e logarithm. It shows by ln or loge, here “e” is euler’s constant, whose value is equal to 2.71828.