Expanding Logarithmic Expressions

April 12, 2026

Problem

Expand log₃(x²y/z³) using product, quotient, and power rules.

Explanation

The three log rules

  • Product rule: log⁡(ab)=log⁡a+log⁡b\log(ab) = \log a + \log b
  • Quotient rule: log⁡(a/b)=log⁡a−log⁡b\log(a/b) = \log a - \log b
  • Power rule: log⁡(an)=nlog⁡a\log(a^n) = n \log a

Step-by-step: Expand log⁡3 ⁣(x2yz3)\log_3\!\left(\dfrac{x^2 y}{z^3}\right)

Step 1 — Apply the quotient rule (top minus bottom):

log⁡3(x2y)−log⁡3(z3)\log_3(x^2 y) - \log_3(z^3)

Step 2 — Apply the product rule to the first term:

log⁡3(x2)+log⁡3(y)−log⁡3(z3)\log_3(x^2) + \log_3(y) - \log_3(z^3)

Step 3 — Apply the power rule to bring exponents in front:

2log⁡3x+log⁡3y−3log⁡3z2\log_3 x + \log_3 y - 3\log_3 z

Final answer: 2log⁡3x+log⁡3y−3log⁡3z2\log_3 x + \log_3 y - 3\log_3 z.

Going the other direction (condensing)

You can also condense: 3log⁡2x−log⁡2(x+1)=log⁡2 ⁣(x3x+1)3\log_2 x - \log_2(x+1) = \log_2\!\left(\frac{x^3}{x+1}\right). Power rule first (3log⁡x=log⁡x33\log x = \log x^3), then quotient rule.

Numerical check

Let x=3,y=2,z=2x = 3, y = 2, z = 2, base = 3:

  • Original: log⁡3(9⋅2/8)=log⁡3(2.25)≈0.738\log_3(9 \cdot 2 / 8) = \log_3(2.25) \approx 0.738
  • Expanded: 2log⁡33+log⁡32−3log⁡32=2+0.631−1.893=0.7382\log_3 3 + \log_3 2 - 3\log_3 2 = 2 + 0.631 - 1.893 = 0.738 ✓

Try it in the visualization

Adjust test values for xx, yy, zz. Each rule is applied and highlighted in a different color. The numerical check verifies both sides are equal.

Interactive Visualization

Parameters

3.00
2.00
2.00
3
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Expanding Logarithmic Expressions | MathSpin