Foundations · Foundations
Logarithms: Definition, Laws, and Equation Solving
Explanation
Intuition: The "Why" behind the Logarithm
Exponentiation describes exponential growth (e.g., population doubling). The logarithm is essentially the inverse operation: it asks "how much time" it will take to reach a certain amount given a specific growth rate. In discrete mathematics and computer science, logarithms frequently illustrate the number of steps required to divide a problem down to its base case (such as in binary search algorithms), hence their immense importance.
Formal Definition
Let such that and . For any , the logarithm of to base , denoted as , is the unique real number that satisfies:
Domain Restrictions and Edge Cases:
The logarithmic function is defined and continuous strictly for . It is undefined for zero or negative numbers. If the base is (Euler's number), it is denoted as .
Laws of Logarithms
1. Product Rule:
2. Quotient Rule:
3. Power Rule:
4. Change of Base:
Proof Sketch for the Product Rule:
Let and . From the definition of the logarithm, it follows that and .
Multiplying the equations gives: (by the laws of exponents).
By definition, if , then necessarily .
Substituting and back yields: .
Interactive Visualization
Loading visualization
Worked Examples
Practice
Exercise 1 of 5
1
What is the domain of the function ?
★Quiz
Test your knowledge from this lesson
A mix of questions from the lesson — each attempt varies slightly
Answer at least 4 out of 5 questions correctly to pass (70%)