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)=loga+logb\log(ab) = \log a + \log b
  • Quotient rule: log(a/b)=logalogb\log(a/b) = \log a - \log b
  • Power rule: log(an)=nloga\log(a^n) = n \log a

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

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

log3(x2y)log3(z3)\log_3(x^2 y) - \log_3(z^3)

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

log3(x2)+log3(y)log3(z3)\log_3(x^2) + \log_3(y) - \log_3(z^3)

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

2log3x+log3y3log3z2\log_3 x + \log_3 y - 3\log_3 z

Final answer: 2log3x+log3y3log3z2\log_3 x + \log_3 y - 3\log_3 z.

Going the other direction (condensing)

You can also condense: 3log2xlog2(x+1)=log2 ⁣(x3x+1)3\log_2 x - \log_2(x+1) = \log_2\!\left(\frac{x^3}{x+1}\right). Power rule first (3logx=logx33\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: log3(92/8)=log3(2.25)0.738\log_3(9 \cdot 2 / 8) = \log_3(2.25) \approx 0.738
  • Expanded: 2log33+log323log32=2+0.6311.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