Algebra & Logarithm Identities

Logarithm Product Rule Calculator

Expand logarithmic products into sums, condense matching-base log additions back into single arguments, solve missing multiplicative factors, and visualize horizontal scaling shifts interactively.

Reviewed by Sanjay Samanta & Academic Review Board
Last Updated:
Verified Accurate: IEEE-754 Identity Check & Domain Validation
Examples:

Product Rule Parameters

M, N > 0
Exact Logarithm
3
M * N = 1000
Rule Breakdown
1.39794 + 1.60206 = 3
|LHS - RHS| = 0
Step-by-Step Derivation

    Multiplicative Shift on y = log_b(x)

    Multiplying M by N shifts height horizontally from M to M*N and adds log_b(N) vertically.

    b = 10
    log_b(M)
    1.39794
    + log_b(N)
    1.60206
    log_b(M*N)
    3
    Direct Answer & Overview
    Verified Educational Guide

    The logarithm product rule states that the logarithm of a product equals the sum of the logarithms of its positive factors under the same base: log_b(M * N) = log_b(M) + log_b(N), converting multiplicative relationships into linear addition.

    Primary Mathematical Formula Standard Mathematical Model
    Standard Equation
    ƒ(x)
    Q.E.D.
    logb(McdotN)=logb(M)+logb(N)quad(b>0,beq1,M>0,N>0)log_b(M cdot N) = log_b(M) + log_b(N) quad (b > 0, b eq 1, M > 0, N > 0)
    Evaluated with exact mathematical formulation • Rigorously verified
    Exact Formula
    Input Parameters
    Required
    1
    Logarithm Base (b) — Positive real base not equal to 1 (e.g., 10, e, 2)
    2
    Positive Factors (M, N) — Strictly positive real numbers M > 0 and N > 0
    3
    Operating Mode — Expand log_b(M*N), Condense sum (+), or Solve missing factor N
    Expected Outputs
    Calculated
    Expanded / Condensed Result — Exact IEEE-754 value and rewritten symbolic identity
    Additive Decomposition — Individual component heights log_b(M) and log_b(N)
    Identity Parity Check — Residual error |LHS - RHS| confirming numerical exactness
    Worked Numerical Example
    Instant Verification
    Evaluate log_10(25 * 40) by expanding into components
    → log_10(25) + log_10(40) = 1.397940 + 1.602060 = log_10(1000)
    Result: 3 (exact integer)

    Formal Product Rule Statement and Algebraic Proof

    The Product Rule of Logarithms is the foundational isomorphism bridging the multiplicative group of positive real numbers (R+,⋅)(\mathbb{R}^+, \cdot) and the additive group of all real numbers (R,+)(\mathbb{R}, +). Formally, for every base b>0, b≠1b > 0,\ b \neq 1 and every pair of strictly positive factors M>0M > 0 and N>0N > 0:

    log⁡b(M⋅N)=log⁡b(M)+log⁡b(N)\log_b(M \cdot N) = \log_b(M) + \log_b(N)

    Because every logarithm directly represents an exponent, proving this identity follows immediately from the laws of indices. Let u=log⁡b(M)u = \log_b(M) and v=log⁡b(N)v = \log_b(N). By definition of the inverse relationship between exponentiation and logarithms on an arbitrary base b:

    bu=Mandbv=Nb^u = M \qquad \text{and} \qquad b^v = N

    Multiplying the left-hand sides and right-hand sides together and combining matching exponential bases adds the two exponents:

    M⋅N=bu⋅bv=bu+vM \cdot N = b^u \cdot b^v = b^{u + v}

    Applying log⁡b\log_b to both sides cancels the exponential base bb cleanly, giving log⁡b(M⋅N)=u+v=log⁡b(M)+log⁡b(N)\log_b(M \cdot N) = u + v = \log_b(M) + \log_b(N). Notice how effortlessly multiplication inside the argument transforms into addition outside.

    Multi-Factor Products and Combining with Power & Quotient Laws

    Because multiplication is associative, the two-term product law generalizes by induction to any finite sequence of nn positive factors M1,M2,…,Mn>0M_1, M_2, \dots, M_n > 0:

    log⁡b ⁣(∏i=1nMi)=∑i=1nlog⁡b(Mi)\log_b\!\left(\prod_{i=1}^{n} M_i\right) = \sum_{i=1}^{n} \log_b(M_i)

    Even more importantly, applying this generalization to pp identical copies M1=M2=⋯=Mp=xM_1 = M_2 = \dots = M_p = x directly motivates the logarithm power rule: summing log⁡b(x)\log_b(x) with itself pp times yields p⋅log⁡b(x)p \cdot \log_b(x). Together with the logarithm quotient rule, these three laws simplify compound rational expressions in a single structural sweep:

    log⁡b ⁣(x3yz2)=3log⁡b(x)+12log⁡b(y)−2log⁡b(z)\log_b\!\left(\frac{x^3 \sqrt{y}}{z^2}\right) = 3\log_b(x) + \frac{1}{2}\log_b(y) - 2\log_b(z)

    In probability theory, statistics, and machine learning optimization, this product-to-sum transformation is indispensable for computing log-likelihood. A joint probability over NN independent samples multiplies tiny probabilities ∏i=1NP(xi)\prod_{i=1}^N P(x_i) that quickly underflow IEEE-754 floating-point precision toward zero. Taking logarithms transforms that fragile product into a numerically stable sum ∑i=1Nln⁡P(xi)\sum_{i=1}^N \ln P(x_i) whose maximum occurs at the exact same model parameters.

    Expanding vs. Condensing and Domain Restrictions

    Read left-to-right, the identity expands a single compact product into simpler additive terms—essential for calculus differentiation and prime-factor approximation. Read right-to-left, it condenses a sum of separate logarithms back into one logarithm—an essential precursor inside our logarithmic equation solver.

    Direction Domain of LHS Algebraic Watchpoint
    Expand log⁡b(xy)\log_b(xy) All x,yx, y with xy>0xy > 0 (both positive OR both negative) Splitting into log⁡b(x)+log⁡b(y)\log_b(x) + \log_b(y) discards the third-quadrant region x<0,y<0x<0, y<0 unless written with ∣x∣,∣y∣|x|, |y|.
    Condense log⁡b(x)+log⁡b(x−3)\log_b(x) + \log_b(x-3) Strictly x>3x > 3 Merging to log⁡b(x(x−3))\log_b(x(x-3)) widens domain artificially to x<0x < 0, creating extraneous roots like x=−2x = -2.
    Scalar Coefficients Matching bases bb Any leading factor alog⁡b(M)+clog⁡b(N)a \log_b(M) + c \log_b(N) must move inside as exponents before multiplying: log⁡b(MaNc)\log_b(M^a N^c).

    Always record the domain of the unsimplified original expression first before combining terms. Whenever two expressions share different domains, equality holds strictly on the intersection where every individual logarithm argument remains greater than zero.

    Real-World Applications: Slide Rules, Decibels, and Joint Entropy

    For more than three centuries after John Napier (1614) and Henry Briggs (1617) published their first base-10 logarithm tables, the product rule served as humanity's primary high-speed computing engine. Astronomers, navigators, and structural engineers multiplied massive multi-digit numbers simply by looking up log⁡10(M)\log_{10}(M), adding it on paper or sliding two logarithmic scales on a mechanical slide rule, and reading back the result with an antilogarithm base-10 lookup.

    • RF Link Budgets and Audio Gain Staging: Cascading two amplifiers with power gains G1G_1 and G2G_2 multiplies signal amplitude ratio G1⋅G2G_1 \cdot G_2. Converted to decibels via 10log⁡10(G1G2)=10log⁡10(G1)+10log⁡10(G2)10\log_{10}(G_1 G_2) = 10\log_{10}(G_1) + 10\log_{10}(G_2), engineers simply add dB gains across every antenna, cable loss, and amplifier stage.
    • Information Theory and Independent Random Variables: If two independent events occur with probabilities pAp_A and pBp_B, their joint surprise in bits is additive: −log⁡2(pApB)=−log⁡2(pA)+(−log⁡2(pB))-\log_2(p_A p_B) = -\log_2(p_A) + (-\log_2(p_B)).
    • Scientific Notation Arithmetic: Expressing two astronomical numbers as (a×10m)(c×10n)(a \times 10^m)(c \times 10^n) separates cleanly under base-10 logarithms into integer powers m+nm + n plus decimal mantissa logs log⁡10(a)+log⁡10(c)\log_{10}(a) + \log_{10}(c).

    Step-by-Step Worked Product Rule Examples

    Example 1: Condensing Non-Integer Factors into an Exact Power

    Simplify log⁡10(25)+log⁡10(40)\log_{10}(25) + \log_{10}(40) without a calculator.

    log⁡10(25)+log⁡10(40)=log⁡10(25⋅40)=log⁡10(1000)=log⁡10(103)=3\log_{10}(25) + \log_{10}(40) = \log_{10}(25 \cdot 40) = \log_{10}(1000) = \log_{10}(10^3) = 3

    Neither log⁡10(25)≈1.39794\log_{10}(25) \approx 1.39794 nor log⁡10(40)≈1.60206\log_{10}(40) \approx 1.60206 is rational, yet their product collapses directly to a clean power of 10.

    Example 2: Binary Expansion Using Prime Factorization

    Evaluate log⁡2(24)\log_2(24) given log⁡2(3)≈1.58496\log_2(3) \approx 1.58496.

    log⁡2(24)=log⁡2(8⋅3)=log⁡2(23)+log⁡2(3)=3+1.58496=4.58496\log_2(24) = \log_2(8 \cdot 3) = \log_2(2^3) + \log_2(3) = 3 + 1.58496 = 4.58496

    Example 3: Solving for a Missing Factor When Sum is Known

    Find NN if log⁡3(6)+log⁡3(N)=4\log_3(6) + \log_3(N) = 4.

    log⁡3(6N)=4  ⟹  6N=34=81  ⟹  N=816=13.5\log_3(6N) = 4 \implies 6N = 3^4 = 81 \implies N = \frac{81}{6} = 13.5

    Example 4: Calculus Derivative Simplification via Product Expansion

    Suppose a calculus problem asks you to differentiate f(x)=ln⁡ ⁣(x4e2x(x+1))f(x) = \ln\!\left(x^4 e^{2x} (x + 1)\right). Rather than juggling a triple product inside the chain rule denominator, expand immediately with the product rule first:

    f(x)=4ln⁡(x)+2x+ln⁡(x+1)  ⟹  f′(x)=4x+2+1x+1f(x) = 4\ln(x) + 2x + \ln(x + 1) \implies f'(x) = \frac{4}{x} + 2 + \frac{1}{x + 1}

    Notice how turning nested multiplication into a clean sum transforms a tedious quotient-chain derivative into three elementary reciprocal terms.

    Quick Reference: Common Prime Factorization Log Shortcuts

    Composite Value Factor Split Expanded Base-10 Value (Given log⁡102≈0.3010, log⁡103≈0.4771\log_{10} 2 \approx 0.3010,\ \log_{10} 3 \approx 0.4771)
    log10(6) 2⋅32 \cdot 3 0.30103 + 0.47712 = 0.77815
    log10(12) 4⋅3=22⋅34 \cdot 3 = 2^2 \cdot 3 2(0.30103) + 0.47712 = 1.07918
    log10(15) 3⋅(10/2)3 \cdot (10 / 2) 0.47712 + 1 - 0.30103 = 1.17609
    log10(50) 5⋅10=(10/2)⋅105 \cdot 10 = (10/2) \cdot 10 0.69897 + 1 = 1.69897

    Common Mistakes: Sums Inside Logs and Multiplying Logs

    False Identity 1
    log⁡b(M+N)≠log⁡b(M)+log⁡b(N)\log_b(M + N) \neq \log_b(M) + \log_b(N)

    Logarithms do NOT distribute over addition. Counterexample: log⁡10(10+10)=log⁡10(20)≈1.301\log_{10}(10 + 10) = \log_{10}(20) \approx 1.301, whereas log⁡10(10)+log⁡10(10)=2\log_{10}(10) + \log_{10}(10) = 2.

    False Identity 2
    log⁡b(M⋅N)≠log⁡b(M)⋅log⁡b(N)\log_b(M \cdot N) \neq \log_b(M) \cdot \log_b(N)

    Multiplying two log values multiplies exponents rather than adding them: log⁡2(4⋅8)=5\log_2(4 \cdot 8) = 5, while log⁡2(4)⋅log⁡2(8)=2⋅3=6\log_2(4)\cdot\log_2(8) = 2 \cdot 3 = 6.

    Always check base compatibility too. You cannot simplify log⁡2(M)+log⁡3(N)\log_2(M) + \log_3(N) directly to log⁡(M⋅N)\log(M \cdot N); you must first rewrite one logarithm via our base-10 conversion tool or general change-of-base formula.

    Interactive Verification and Shift Geometry Visualizer

    Above the calculator results, our interactive HTML5 <canvas> plot renders the continuous curve y=log⁡b(x)y = \log_b(x) alongside the three defining points (M,log⁡bM)(M, \log_b M), (N,log⁡bN)(N, \log_b N), and (M⋅N,log⁡b(M⋅N))(M\cdot N, \log_b(M\cdot N)). Geometrically, scaling any positive input MM horizontally by a factor N>1N > 1 shifts the curve height strictly upward by the constant vertical increment +log⁡b(N)+\log_b(N).

    Internally, both sides of the equation—the direct combined evaluation ln⁡(M⋅N)/ln⁡(b)\ln(M \cdot N) / \ln(b) and the expanded additive sum ln⁡(M)/ln⁡(b)+ln⁡(N)/ln⁡(b)\ln(M)/\ln(b) + \ln(N)/\ln(b)—are evaluated independently in IEEE-754 double precision and compared via |LHS - RHS| to guarantee numerical consistency alongside domain safety checks.

    Fact-Checked & Verified • Computational Accuracy Standards
    Updated November 2026 • Editorial Policy
    Authored By
    Sanjay Samanta

    Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.

    Reviewed & Verified By
    Academic Review Board

    Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.

    Found an error or have an improvement suggestion? Report a calculation issue

    Frequently Asked Questions

    What is the logarithm product rule formula?
    For any valid positive base b (b != 1) and positive real factors M > 0 and N > 0, the product rule states that log_b(M * N) = log_b(M) + log_b(N). Multiplication inside a single logarithm expands into the sum of individual logarithms with the same base.
    Why do logarithms turn multiplication into addition?
    Logarithms are exponents. Because multiplying two powers with the same base adds their exponents (b^u * b^v = b^(u + v)), taking log_b of M * N recovers the combined exponent u + v = log_b(M) + log_b(N).
    Does the product rule work when the arguments are negative but their product is positive?
    Exercise extreme domain caution: log_b((-4) * (-9)) = log_b(36) is defined in real numbers, whereas log_b(-4) + log_b(-9) is undefined over the reals. Expanding log_b(x * y) into log_b(x) + log_b(y) is valid over R strictly when both factors are positive, or with absolute values log_b(|x|) + log_b(|y|) if xy > 0.
    Can I apply the product rule to three or more multiplied terms?
    Yes. Applying associativity repeatedly extends the identity to any finite product: log_b(A * B * C) = log_b(A) + log_b(B) + log_b(C), and in general log_b(prod a_i) = sum log_b(a_i).
    Is log_b(M + N) equal to log_b(M) + log_b(N)?
    No. That is one of the most frequent algebraic mistakes. Addition inside a logarithm cannot be split: log_b(M + N) != log_b(M) + log_b(N). Only multiplication inside the argument becomes addition outside.
    Does log_b(M * N) equal log_b(M) * log_b(N)?
    No. Multiplying two separate logarithms is completely different from taking the logarithm of a product. For example, log10(100 * 1000) = 2 + 3 = 5, whereas log10(100) * log10(1000) = 2 * 3 = 6.
    How does condensing logarithms with the product rule solve equations?
    When solving equations like log_b(x) + log_b(x - 3) = 1, the product rule merges the left-hand sum into a single logarithm log_b(x(x - 3)) = 1, which then converts into the algebraic quadratic x(x - 3) = b^1.
    Why must both summed logarithms share the exact same base before condensing?
    Just as b^u * b^v = b^(u+v) only merges exponents on matching bases, log_b(M) + log_c(N) cannot be merged directly as log(M * N) unless b = c or one term is first rewritten using Change of Base.