Expand logarithms with steps

Type or scan a logarithm. MathBuddy splits it into simpler logarithms and names each rule it applies.

Loading math input...

What this page covers

  • The product rule, log⁡(ab)=log⁡a+log⁡b\log(ab) = \log a + \log b, and the quotient rule, log⁡ab=log⁡a−log⁡b\log\frac{a}{b} = \log a - \log b.
  • The power rule, including roots written as fractional powers: log⁡a=12log⁡a\log\sqrt{a} = \frac{1}{2}\log a.
  • Writing the log of a number in terms of given logs, such as log⁡b72\log_b 72 from log⁡b2\log_b 2 and log⁡b3\log_b 3.
  • Not covered here: combining logs into one (use Condense logarithms calculator) and changing the base (use Change of base calculator).

How to enter the problem

  • Type the logarithm with its argument in brackets, for example log_2(8x) or ln(e^3 sqrt(x) / 4).
  • 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

Problem

Expand log⁡2(8x)\displaystyle \log_2(8x).

Answer

Verified

The answer is

3+log⁡2x3 + \log_{2} x

Explanation

  1. Apply the product rule
    log⁡2(8x)=log⁡28+log⁡2x\log_2(8x) = \log_2 8 + \log_2 x
  2. Evaluate the number
    23=82^3 = 8, so log⁡28=3\log_2 8 = 3.

Example 2

Problem

Expand ln⁡(e3x4)\displaystyle \ln\left(\frac{e^3\sqrt{x}}{4}\right).

Answer

Verified

The answer is

3+12ln⁡x−ln⁡43 + \frac{1}{2}\ln x - \ln 4

Explanation

  1. Apply the quotient rule
    ln⁡(e3x)−ln⁡4\ln\left(e^3\sqrt{x}\right) - \ln 4.
  2. Apply the product rule
    ln⁡e3+ln⁡x−ln⁡4\ln e^3 + \ln\sqrt{x} - \ln 4.
  3. Use the power rule
    ln⁡e3=3\ln e^3 = 3, and ln⁡x=ln⁡x1/2=12ln⁡x\ln\sqrt{x} = \ln x^{1/2} = \frac{1}{2}\ln x.

Example 3

Problem

Expand log⁡3(9(x2+1)4x+2)\displaystyle \log_3\left(\frac{9(x^2+1)^4}{\sqrt{x+2}}\right).

Answer

Verified

The answer is

2+4log⁡3(x2+1)−12log⁡3(x+2)2 + 4\log_{3}(x^2+1) - \frac{1}{2}\log_{3}(x+2)

Explanation

  1. Apply the quotient rule
    log⁡3(9(x2+1)4)−log⁡3x+2\log_3\left(9(x^2 + 1)^4\right) - \log_3\sqrt{x + 2}.
  2. Apply the product rule
    log⁡39+log⁡3(x2+1)4−log⁡3x+2\log_3 9 + \log_3 (x^2 + 1)^4 - \log_3\sqrt{x + 2}.
  3. Use the power rule and evaluate
    log⁡39=2\log_3 9 = 2, log⁡3(x2+1)4=4log⁡3(x2+1)\log_3 (x^2 + 1)^4 = 4\log_3(x^2 + 1) and log⁡3x+2=12log⁡3(x+2)\log_3\sqrt{x + 2} = \frac{1}{2}\log_3(x + 2).

Common mistakes

  • Splitting the log of a sum: ln⁡(x2+1)\ln(x^2 + 1) is not ln⁡x2+ln⁡1\ln x^2 + \ln 1. Only products, quotients and powers expand.
  • Confusing the power of the argument with the power of the log: log⁡3(x2+1)4=4log⁡3(x2+1)\log_3 (x^2 + 1)^4 = 4\log_3(x^2 + 1), but (log⁡3(x2+1))4\left(\log_3(x^2 + 1)\right)^4 is something else.
  • Treating a root as a root of the log: ln⁡x=12ln⁡x\ln\sqrt{x} = \frac{1}{2}\ln x, not ln⁡x\sqrt{\ln x}.
  • Reversing a quotient: ln⁡ab=ln⁡a−ln⁡b\ln\frac{a}{b} = \ln a - \ln b, not ln⁡b−ln⁡a\ln b - \ln a.

Checks, assumptions and limits

  • Condense the expanded answer with the same rules; the original logarithm must come back.
  • Compare values at one point. At x=4x = 4, ln⁡2e34≈2.307\ln\frac{2e^3}{4} \approx 2.307, and 3+12ln⁡4−ln⁡4≈2.3073 + \frac{1}{2}\ln 4 - \ln 4 \approx 2.307.
  • The rules need positive arguments, so an expansion holds where every argument is positive, such as x>0x > 0 for ln⁡x\ln\sqrt{x}.
  • MathBuddy can make mistakes. Double check important steps.

Frequently asked questions

Writing one logarithm as a sum and difference of simpler ones, using the product, quotient and power rules, until no argument is a product, quotient or power.

Yes. The rules are the same for ln, log and any positive base other than 1. A number such as log_2 8 is evaluated when it comes out whole.

Yes. State the given logs, for example log_b 2 = p and log_b 3 = q, then ask to expand log_b 72. Since 72 = 2^3 · 3^2, the answer is 3p + 2q.

1 math question to try today without signing in, 3 a day signed in, unlimited with Pro.

Ready to solve your next math problem?

Try one problem free in your browser. Create a free account for 3 math questions a day.

Last updated: · MathBuddy