Laws of Logarithms
The laws of logarithms turn products into sums, quotients into differences and powers into multiples.
Free · no credit card · in your study plan in 2 minutes
Formula
\log_{b}(x \cdot y) = \log_{b} x + \log_{b} y, \quad \log_{b}(x^{r}) = r \cdot \log_{b} xVariables & units – Laws of Logarithms
| Symbol | Meaning | Unit |
|---|---|---|
| log_b | Logarithm with base b (b > 0, b ≠ 1) | dimensionless |
| x, y | Positive arguments | dimensionless |
| r | Exponent, moves in front of the logarithm as a factor | dimensionless |
Derivation & background – Laws of Logarithms
John Napier published the first logarithm tables in 1614; they turned multiplications into additions and revolutionized computation in astronomy and navigation. The three laws: log(x·y) = log x + log y, log(x/y) = log x − log y, log(x^r) = r·log x. Additionally the change of base log_b x = ln x/ln b. Important: there is no law for log(x + y).
Exam blueprint
Validity range
Hold for positive arguments x, y > 0 and bases b > 0, b ≠ 1, in every base (ln, lg, log₂). There is no law for log(x + y).
Derivation steps
Logarithms translate the laws of exponents: log_b x is the exponent for x.
- 1With x = b^m and y = b^n, x·y = b^(m+n) (law of exponents).
- 2Taking logarithms gives log(x·y) = m + n = log x + log y; quotient and power analogously.
Rearrangements
Quotient
Division becomes subtraction.
Change of base
Makes every base accessible with the calculator.
Solve exponential equation
Taking logarithms brings x down from the exponent.
Task variant
Simplify ln(8) + ln(2) − ln(4).
ln(8·2/4) = ln 4 ≈ 1.386. Alternatively: 3·ln 2 + ln 2 − 2·ln 2 = 2·ln 2 = ln 4.
After how many years does a stock double at 3% growth per year?
1.03ᵗ = 2, so t = ln 2/ln 1.03 ≈ 0.693/0.0296 ≈ 23.4 years.
Common mistakes
Splitting log(x + y) into log x + log y.
The law holds only for products: log(x·y) = log x + log y.
Confusing (log x)² with log(x²).
log(x²) = 2·log x; (log x)² is the square of the logarithm.
Taking logarithms of negative numbers.
log is defined only for positive arguments.
Swapping numerator and denominator in the change of base.
log_b x = ln x/ln b, the base goes below.
Exam context
- Exponential equations (decay, growth), manipulations in calculus and stochastics.
These mistakes cost points in real exams. The set drills them until they stick.
Formula cluster
Exponential and logarithm
Laws of exponents, laws of logarithms and the exponential function form one system.
Worked example
2ˣ = 10: x = log₂ 10 = ln 10/ln 2 ≈ 2.303/0.693 ≈ 3.32. Check: 2^3.32 ≈ 9.98 ≈ 10 ✓. And: lg(1000·100) = lg 1000 + lg 100 = 3 + 2 = 5.
Applications
Solving exponential equations (half-life, doubling time), pH and decibel scales, compound interest, complexity analysis in computer science
Quanta exam set
Curated exam set for "Laws of Logarithms":
Question (front)
Which formula describes Laws of Logarithms?
Answer in your set
Question (front)
How do you rearrange log(x·y) = log x + log y for Quotient?
Answer in your set
Question (front)
Which common mistake happens with Laws of Logarithms?
Answer in your set
+ 7 more cards: units, variables, derivation, example, exam task
These 10 cards are ready. One click and they sit in your deck, FSRS schedules the reviews until exam day.
Scientific sources
Common notations & search queries
Related formulas
More Mathematics formulas
Frequently asked questions about Laws of Logarithms
What are the three laws of logarithms?+
Product rule: log(x·y) = log x + log y, a product in the argument becomes a sum. Quotient rule: log(x/y) = log x − log y, a fraction becomes a difference. Power rule: log(x^r) = r·log x, the exponent moves in front of the logarithm as a factor. All three hold in every base (ln, lg, log₂) and for positive arguments. Number example with the base-10 logarithm: lg(1000·100) = lg 1000 + lg 100 = 3 + 2 = 5, and indeed 10⁵ = 100000 = 1000·100 ✓. The laws are the translation of the laws of exponents into the logarithm world: because exponents add when powers are multiplied, logarithms add, since a logarithm IS an exponent.
How do I solve an exponential equation like 2^x = 10?+
Take logarithms on both sides, because the power rule brings the x down from the exponent: 2ˣ = 10 becomes x·ln 2 = ln 10, so x = ln 10/ln 2 ≈ 2.303/0.693 ≈ 3.32. Check: 2^3.32 ≈ 9.98 ≈ 10 ✓. Which base you choose does not matter, ln and lg give the same x; you can also write the result directly as log₂ 10. The same pattern solves all growth and decay tasks: 1.03ᵗ = 2 (doubling at 3% interest) gives t = ln 2/ln 1.03 ≈ 23.4 years. Important: first isolate the power, then take logarithms. For 5·2ˣ = 40, first divide by 5 (2ˣ = 8, x = 3) rather than pulling apart log(5·2ˣ) without respecting the rules.
What is the change-of-base formula and when do I need it?+
The change-of-base formula reads log_b x = ln x/ln b (or with lg instead of ln, the quotient is the same). You need it whenever your calculator does not offer the desired base: you enter log₂ 10 as ln 10/ln 2 ≈ 3.32. It can be derived in two lines: from b^y = x, taking logarithms gives y·ln b = ln x, so y = ln x/ln b. The formula also shows that all logarithm systems differ only by a constant factor; that is why logarithm curves of different bases look like vertically stretched copies of each other. Most common error: swapping numerator and denominator. Mnemonic: the base goes at the bottom of the fraction, just as it sits at the bottom in the symbol log_b.
Why is log(x + y) not log x + log y?+
Because the product law only translates products into sums, not sums into sums. The logarithm answers the question about the exponent, and exponents add when powers are MULTIPLIED (b^m·b^n = b^(m+n)), not when they are added. A number test destroys the misconception immediately: lg(10 + 10) = lg 20 ≈ 1.301, but lg 10 + lg 10 = 2. There simply is no general simplification law for log(x + y); such expressions stay as they are or require other techniques like factoring (lg(50 + 50) = lg 100 = 2 only because you add first). The same warning applies to log(x − y). In exams, wrongly splitting sums is one of the most frequent point losses in logarithm tasks.
What is the difference between ln, lg and log₂?+
They are logarithms to different bases. ln is the natural logarithm with base e ≈ 2.718; it is the standard in calculus, because only it has the clean derivative 1/x. lg is the base-10 logarithm; it fits orders of magnitude and sits inside pH (pH = −lg[H₃O⁺]), decibels and earthquake magnitudes. log₂ is the base-2 logarithm of computer science: memory sizes, search trees, the number of halving steps in binary search. All three obey the same laws of logarithms and differ only by constant factors, convertible via change of base: log₂ x = ln x/ln 2 ≈ 1.443·ln x. Beware of notation: a bare "log" means lg (engineering), ln (university mathematics) or log₂ (computer science) depending on the field; when in doubt state the base.
Retain Laws of Logarithms for exams
Create a curated FSRS exam set for log(x·y) = log x + log y: formula recall, variables, derivation, rearrangement, worked example, common mistakes and exam context.
Free · curated formula set · LaTeX · FSRS spaced repetition
How do you calculate with Laws of Logarithms?
Here is how to work through a typical Laws of Logarithms (log(x·y) = log x + log y) task step by step:
- 1
Task
Simplify ln(8) + ln(2) − ln(4).
Solution path
ln(8·2/4) = ln 4 ≈ 1.386. Alternatively: 3·ln 2 + ln 2 − 2·ln 2 = 2·ln 2 = ln 4.
- 2
Task
After how many years does a stock double at 3% growth per year?
Solution path
1.03ᵗ = 2, so t = ln 2/ln 1.03 ≈ 0.693/0.0296 ≈ 23.4 years.