Mathwords logoMathwords

Logarithm Rules — Formulas, Table & Examples

Logarithm Rules

Algebra rules used when working with logarithms.

 

For the following, assume that x, y, a, and b are all positive. Also assume that a ≠ 1, b ≠ 1.

 

Definitions

1. loga x = N means that aN = x.

2. log x means log10 x. All loga rules apply for log. When a logarithm is written without a base it means common logarithm.

3. ln x means loge x, where e is about 2.718. All loga rules apply for ln. When a logarithm is written "ln" it means natural logarithm.
    Note: ln x is sometimes written Ln x or LN x.

 

Rules

1. Inverse properties:   loga ax = x   and   a(loga x) = x

2. Product:  loga (xy) = loga x + loga y

3. Quotient:  log base a of (x/y) = log base a of x minus log base a of y

4. Power:   loga (xp) = p loga x

5. Change of base formula: Formula showing log base a of x equals (log base b of x) divided by (log base b of a)

 

Careful!!

loga (x + y) ≠ loga x + loga y

loga (x – y) ≠ loga x loga y

Key Formula

Product: loga(xy)=logax+logay\text{Product: } \log_a(xy) = \log_a x + \log_a y Quotient: loga ⁣(xy)=logaxlogay\text{Quotient: } \log_a\!\left(\frac{x}{y}\right) = \log_a x - \log_a y Power: loga(xp)=plogax\text{Power: } \log_a(x^p) = p\,\log_a x Change of Base: logax=logbxlogba\text{Change of Base: } \log_a x = \frac{\log_b x}{\log_b a} Inverse Properties: loga(ax)=xandalogax=x\text{Inverse Properties: } \log_a(a^x) = x \quad\text{and}\quad a^{\log_a x} = x
Where:
  • aa = The base of the logarithm (must be positive and not equal to 1)
  • bb = A new base used in the change of base formula (positive, not equal to 1)
  • xx = A positive real number (the argument of the logarithm)
  • yy = A positive real number (a second argument)
  • pp = Any real number (the exponent in the power rule)

Worked Example

Problem: Use logarithm rules to expand and simplify: log2 ⁣(8x34)\log_2\!\left(\dfrac{8x^3}{4}\right)
Step 1: Simplify the fraction inside the logarithm.
log2 ⁣(8x34)=log2(2x3)\log_2\!\left(\frac{8x^3}{4}\right) = \log_2(2x^3)
Step 2: Apply the product rule to split the logarithm of a product into a sum.
log2(2x3)=log22+log2(x3)\log_2(2x^3) = \log_2 2 + \log_2(x^3)
Step 3: Evaluate log22\log_2 2 using the inverse property (logaa=1\log_a a = 1).
log22=1\log_2 2 = 1
Step 4: Apply the power rule to bring the exponent 3 in front of the logarithm.
log2(x3)=3log2x\log_2(x^3) = 3\log_2 x
Step 5: Combine all parts to write the final expanded form.
1+3log2x1 + 3\log_2 x
Answer: log2 ⁣(8x34)=1+3log2x\log_2\!\left(\dfrac{8x^3}{4}\right) = 1 + 3\log_2 x

Another Example

This example works in the opposite direction — condensing separate logarithms into one — and uses common logarithms (base 10) instead of base 2.

Problem: Condense the expression 2log5+log42\log 5 + \log 4 into a single logarithm and evaluate.
Step 1: Use the power rule in reverse to move the coefficient 2 back inside as an exponent.
2log5=log(52)=log252\log 5 = \log(5^2) = \log 25
Step 2: Apply the product rule in reverse to combine the two logarithms into one.
log25+log4=log(25×4)=log100\log 25 + \log 4 = \log(25 \times 4) = \log 100
Step 3: Evaluate log100\log 100. Since log\log means log10\log_{10} and 102=10010^2 = 100:
log100=2\log 100 = 2
Answer: 2log5+log4=22\log 5 + \log 4 = 2

Frequently Asked Questions

What is the difference between log, ln, and log base a?
logx\log x (with no base written) means log10x\log_{10} x, the common logarithm. lnx\ln x means logex\log_e x, the natural logarithm, where e2.718e \approx 2.718. logax\log_a x is the general form with any valid base aa. All three obey the same set of logarithm rules — only the base differs.
Can you distribute a logarithm over addition or subtraction?
No. A very common error is writing log(x+y)=logx+logy\log(x + y) = \log x + \log y, but this is wrong. The product rule says log(xy)=logx+logy\log(xy) = \log x + \log y — multiplication inside becomes addition outside. There is no rule that simplifies log(x+y)\log(x + y) further.
When do you use the change of base formula?
You use it when you need to evaluate a logarithm whose base is not available on your calculator. Most calculators only have log\log (base 10) and ln\ln (base ee) buttons. The change of base formula lets you convert any base: logax=lnxlna\log_a x = \frac{\ln x}{\ln a} or logxloga\frac{\log x}{\log a}.

Product Rule vs. Power Rule

Product RulePower Rule
Formulaloga(xy)=logax+logay\log_a(xy) = \log_a x + \log_a yloga(xp)=plogax\log_a(x^p) = p\,\log_a x
What it doesSplits a logarithm of a product into a sum of logarithmsMoves an exponent from inside the log to a coefficient outside
Reverse useCombines logax+logay\log_a x + \log_a y into loga(xy)\log_a(xy)Converts plogaxp\,\log_a x into loga(xp)\log_a(x^p)
Common confusionStudents misapply it to sums: log(x+y)logx+logy\log(x+y) \neq \log x + \log yStudents confuse (logx)p(\log x)^p with log(xp)=plogx\log(x^p) = p\log x

Why It Matters

Logarithm rules appear throughout Algebra 2, Precalculus, and Calculus whenever you solve exponential equations, differentiate logarithmic functions, or work with scientific scales like pH or decibels. They are essential on the SAT, ACT, and AP exams. Mastering these rules also builds the foundation for understanding exponential growth, compound interest, and data transformations in statistics.

Common Mistakes

Mistake: Writing loga(x+y)=logax+logay\log_a(x + y) = \log_a x + \log_a y, incorrectly distributing the logarithm over addition.
Correction: The product rule applies to multiplication, not addition. logax+logay=loga(xy)\log_a x + \log_a y = \log_a(xy). There is no simplification rule for loga(x+y)\log_a(x + y).
Mistake: Treating logaxlogay\frac{\log_a x}{\log_a y} as loga ⁣(xy)\log_a\!\left(\frac{x}{y}\right).
Correction: The quotient rule says loga ⁣(xy)=logaxlogay\log_a\!\left(\frac{x}{y}\right) = \log_a x - \log_a y (subtraction, not division). Dividing two logarithms does not simplify using the quotient rule; it relates to the change of base formula instead.

Related Terms