“To what exponent must a specific base be raised to get a certain number?”
If:
ax=b
Then:
logab=x
So, logarithm is just an exponent.
Example:
23=8⇒log28=3
It tells us that 2 must be raised to 3 to get 8.
When Are Logs Used?
Whenever exponential growth or repeated multiplication is involved — like population growth, compound interest, computer science (algorithms), or time complexity.
Logarithms "reverse" exponential growth.
Logarithmic and Exponential Relationship
ax=N⇔logaN=x
This equivalence is the core identity. Every log can be transformed into an exponential, and vice versa.
Types of Logarithms
1. Common Logarithm
Base = 10
Written as logN
2. Natural Logarithm
Base = e≈2.718
Written as lnN
Domain and Range
Domain of logbx: x>0 (logs of negative numbers or 0 are undefined in real numbers)
Range: All real numbers (−∞,∞)
Key Logarithmic Formulas
These are essential and frequently used in aptitude and competitive exams:
Basic Laws
Product Rule
logb(xy)=logbx+logby
Quotient Rule
logb(yx)=logbx−logby
Power Rule
logb(xn)=n⋅logbx
Root Rule
logb(nx)=n1logbx
Conversion Formulas
Change of Base Formula
logbx=logkblogkx(for any base k, typically 10 or e)
Base-Exponent Swap
alogax=xandloga(ax)=x
Special Values to Remember
Expression
Value
logaa
1
loga1
0
logaax
x
alogax
x
Conceptual Tips and Common Mistakes
Mistake
Correction
log(x+y)=logx+logy
Only true for multiplication: log(xy)=logx+logy
Forgetting domain
Remember: x>0 always
Using wrong base
Base should be consistent unless you convert it
Ignoring brackets
Parentheses define scope — log2(32)=log232
Overusing calculator
Mental simplification is often faster in exams
Visual Understanding
Graph of y=logbx:
Passes through (1, 0)
Increases slowly
Approaches −∞ as x→0+
Defined only for x>0
As base b increases, the graph flattens.
Real-World Applications
pH Scale: pH=−log10[H+]
Decibels: dB=10log10(P0P1)
Complexity in CS: O(logn), log2 often used in binary search.