HexMathv1.0.4

Condense logarithms with steps

This condense logarithms calculator combines a sum or difference of logarithms into a single logarithm. Type the expression or scan it. HexMath returns the condensed form and names the rule used at each step: the power rule for coefficients, the product rule for sums and the quotient rule for differences, with constants rewritten as logarithms where needed.

Loading math input...

What this page covers

  • The power rule, which moves a coefficient into the exponent: kln⁡a=ln⁡akk\ln a = \ln a^k.
  • The product and quotient rules, which turn sums into products and differences into quotients.
  • Constants rewritten as logarithms, such as 2=ln⁡e22 = \ln e^2 or 1=log⁡221 = \log_2 2, so they combine too.
  • Not covered here: the reverse direction (see the expand logarithms calculator) and solving logarithmic equations (see the inverse natural log calculator).

How to enter the problem

  • Type ln, log or log_2 with each argument in brackets, for example 2ln(3) + 1/2 ln(x) − ln(x + 1).
  • Scan it. Fit the one problem in the frame.
  • Choose a photo. Several problems in one photo are solved as a list.
  • Then tap Solve.

Worked examples

Example 1: Condense 2 ln 3 + (1/2) ln x - ln(x + 1) into a single logarithm.

Problem

Condense 2ln⁡3+12ln⁡x−ln⁡(x+1)\displaystyle 2\ln 3 + \frac{1}{2}\ln x - \ln(x + 1) into a single logarithm.

Answer

Verified

The answer is

ln⁡(9xx+1)\ln\left(\frac{9\sqrt{x}}{x + 1}\right)

Explanation

  1. Move the coefficients inside as powers
    2ln⁡3=ln⁡32=ln⁡92\ln 3 = \ln 3^2 = \ln 9 and 12ln⁡x=ln⁡x1/2=ln⁡x\frac{1}{2}\ln x = \ln x^{1/2} = \ln\sqrt{x}.
  2. Turn the sum into a product
    ln⁡9+ln⁡x=ln⁡(9x)\ln 9 + \ln\sqrt{x} = \ln(9\sqrt{x})
  3. Turn the difference into a quotient
    ln⁡(9x)−ln⁡(x+1)=ln⁡9xx+1\ln(9\sqrt{x}) - \ln(x + 1) = \ln\frac{9\sqrt{x}}{x + 1}
  4. State the domain
    The original expression needs x>0x > 0, and the condensed form is valid on the same set.

Example 2: Condense (1/2) ln(x + 4) + ln 3 - 2.

Problem

Condense 12ln⁡(x+4)+ln⁡3−2\displaystyle \frac{1}{2}\ln(x + 4) + \ln 3 - 2.

Answer

Verified

The answer is

ln⁡(3x+4e2)\ln\left(\frac{3\sqrt{x+4}}{e^2}\right)

Explanation

  1. Apply the power rule
    12ln⁡(x+4)=ln⁡x+4\frac{1}{2}\ln(x + 4) = \ln\sqrt{x + 4}
  2. Write the constant as a logarithm
    2=ln⁡e22 = \ln e^2
  3. Combine
    ln⁡x+4+ln⁡3−ln⁡e2=ln⁡3x+4e2\ln\sqrt{x + 4} + \ln 3 - \ln e^2 = \ln\frac{3\sqrt{x + 4}}{e^2}

Example 3: Condense 3 log₂(x² + 1) - (1/2) log₂ x + 1.

Problem

Condense 3log⁡2(x2+1)−12log⁡2x+1\displaystyle 3\log_2(x^2 + 1) - \frac{1}{2}\log_2 x + 1.

Answer

Verified

The answer is

log⁡2(2(x2+1)3x)\log_2\left(\frac{2(x^2+1)^3}{\sqrt{x}}\right)

Explanation

  1. Apply the power rule to both terms
    log⁡2(x2+1)3−log⁡2x\log_2 (x^2 + 1)^3 - \log_2 \sqrt{x}.
  2. Write 1 in base 2
    1=log⁡221 = \log_2 2
  3. Combine
    The added logs multiply and the subtracted one divides: log⁡22(x2+1)3x\log_2\frac{2(x^2 + 1)^3}{\sqrt{x}}.

Common mistakes

  • Turning a sum of logs into the log of a sum: ln⁡(x2+1)+ln⁡4=ln⁡(4x2+4)\ln(x^2 + 1) + \ln 4 = \ln(4x^2 + 4), not ln⁡(x2+5)\ln(x^2 + 5).
  • Combining before applying the power rule. The coefficient goes into the exponent first: 2ln⁡3=ln⁡92\ln 3 = \ln 9.
  • Putting a subtracted logarithm in the numerator. A minus sign sends its argument to the denominator.
  • Combining logs with different bases. log⁡2x+ln⁡x\log_2 x + \ln x cannot become one logarithm without a change of base.

Checks, assumptions and limits

  • Expand the single logarithm with the same rules in reverse; the original expression should come back term by term.
  • Compare values at one point. At x=4x = 4, 2ln⁡3+12ln⁡4−ln⁡5≈1.2812\ln 3 + \frac{1}{2}\ln 4 - \ln 5 \approx 1.281, and ln⁡9⋅25=ln⁡3.6≈1.281\ln\frac{9 \cdot 2}{5} = \ln 3.6 \approx 1.281.
  • The log rules assume positive arguments, so the condensed form matches the original where x>0x > 0.
  • HexMath can make mistakes. Double check important steps.

Frequently asked questions

The power rule, the product rule and the quotient rule. Each step is titled with the rule it applies, so you can follow the order.

Yes, as long as every term has the same base. Constants are rewritten in that base before they are combined.

It is good practice. The rules assume positive arguments, so the condensed form equals the original only where every argument is positive. Ask a follow-up if you want that worked out.

Expanding: writing one logarithm as a sum or difference of simpler ones. Use the expand logarithms calculator for that direction.

Ready to solve your next math problem?

Create a free account for 3 math questions a day in your browser. No card.

Get HexMath on your phone

The same solver and camera scan on iPhone and Android.

Last updated: · HexMath