Expanding Logarithms Calculator

Split one logarithm into simpler logarithms with the log laws.

Use log(…), ln(…) or log_2(…), with + − · / ^ and sqrt.

Try

Result

You enteredlog⁡(x2yz)\log\left(\frac{x^{2}y}{z}\right)

2log⁡(x)+log⁡(y)−log⁡(z)\displaystyle 2\log\left(x\right) + \log\left(y\right) - \log\left(z\right)

Original expression

log⁡(x2yz)\displaystyle \log\left(\frac{x^{2}y}{z}\right)
Show the work
  1. Quotient rule for logarithms

    A fraction inside a logarithm splits into the logarithm of the top minus the logarithm of the bottom.

    Using log⁡bxy=log⁡bx−log⁡by\log_b\frac{x}{y} = \log_b x - \log_b y

    log⁡(x2yz)=log⁡(x2y)−log⁡(z)\log\left(\frac{x^{2}y}{z}\right) = \log\left(x^{2}y\right) - \log\left(z\right)
  2. Product rule for logarithms

    A product inside a logarithm splits into a sum of logarithms, one for each factor.

    Using log⁡b(xy)=log⁡bx+log⁡by\log_b(xy) = \log_b x + \log_b y

    log⁡(x2y)=log⁡(x2)+log⁡(y)\log\left(x^{2}y\right) = \log\left(x^{2}\right) + \log\left(y\right)
  3. Power rule for logarithms

    A power inside a logarithm comes out in front as a multiplier. A square root is the power one half.

    Using log⁡b(xn)=nlog⁡bx\log_b\left(x^n\right) = n\log_b x

    log⁡(x2)=2log⁡(x)\log\left(x^{2}\right) = 2\log\left(x\right)
  4. Result

    So log⁡(x2yz)\log\left(\frac{x^{2}y}{z}\right) expands to 2log⁡(x)+log⁡(y)−log⁡(z)2\log\left(x\right) + \log\left(y\right) - \log\left(z\right).

Worked examples