Condensing Logarithms Calculator

Squeeze several logarithms into one.

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

Try

Result

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

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

    A number in front of a logarithm moves inside as a power, so each term becomes a single logarithm with coefficient 1.

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

    2log⁡(x)=log⁡(x2)2\log\left(x\right) = \log\left(x^{2}\right)
  2. Product rule for logarithms

    A sum of logarithms with the same base is the logarithm of the product, so add up the terms of the same sign first.

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

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

    A difference of logarithms is the logarithm of a quotient: the subtracted terms go on the bottom.

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

    log⁡(x2y)−log⁡(z)=log⁡(x2yz)\log\left(x^{2}y\right) - \log\left(z\right) = \log\left(\frac{x^{2}y}{z}\right)
  4. Result

    So the sum condenses to the single logarithm log⁡(x2yz)\log\left(\frac{x^{2}y}{z}\right).

Worked examples