Logarithm Properties Calculator

Build a logarithm from linear factors or condense a weighted sum into one logarithm. Track which x values the original expression allows before using the result in an equation.

Algebra

Expand or condense a logarithm

Expression builder

Enter e or a positive decimal other than 1.

Optional decimal point check.

Use a row for each factor ax + c. A negative power puts the factor in the denominator.

Factor 1
Factor 2
Factor 3

Rewrite and domain

Rewritten expression

ln(|x − 1|) + ln(|x + 1|) − 2 · ln(|x|)

Entered expression ln(((x − 1) · (x + 1)) / (x^2))

Entered domain
(−∞, −1) ∪ (1, ∞)
Rewritten domain
(−∞, −1) ∪ (−1, 0) ∪ (0, 1) ∪ (1, ∞)

The rewrite has extra inputs. Use the entered domain to keep the expressions equivalent.

Real domain comparison

Filled marks are defined. Open marks are undefined. Bars are open intervals and dots are boundary points, arranged from left to right without a distance scale. The range ledger gives each exact value.

At x = 2

Entered value
−0.28768207
Rewritten value
−0.28768207

Numeric values are approximate.

Range ledger and CSV
Exact intervals and boundary points
x rangeEnteredRewritten
(−∞, −1)DefinedDefined
{−1}UndefinedUndefined
(−1, 0)UndefinedDefined
{0}UndefinedUndefined
(0, 1)UndefinedDefined
{1}UndefinedUndefined
(1, ∞)DefinedDefined

How to use this calculator

  1. Choose Expand for one logarithm of a factored product or quotient. Choose Condense for a sum or difference of logarithms with the same base.
  2. Enter each factor or logarithm argument as a slope and constant in ax + c. Use a slope of 0 for a constant.
  3. Give each row a signed power in Expand, or a coefficient in Condense. Negative powers move factors to the denominator and negative coefficients subtract logarithms.
  4. Read the rewritten form together with the entered domain. In the domain diagram, open the range ledger to see exact intervals and individual boundary points.
  5. Enter a point to see whether each form has a real value there. Open the ledger to download the exact domain classification.

The Formula

The mathematical logic powering this calculation is:

For b > 0 with b ≠ 1, the real logarithm log_b(u) requires u > 0. Positive factors obey log_b(uv) = log_b(u) + log_b(v), log_b(u/v) = log_b(u) − log_b(v), and log_b(u^k) = k log_b(u).

An entered integer-power product can be positive even with some negative bases. On its original domain, log_b of the product equals the sum of k log_b(|ax + c|). Absolute values preserve valid negative factors. Every entered factor must be nonzero and the signed product must be positive. Duplicate linear factors combine by adding exponents. Cancelled factors can disappear from the displayed rewrite but their original restrictions still apply.

Condense requires each entered ax + c to be strictly positive. On that domain, a coefficient p/q becomes the exponent p/q of the corresponding factor. The worksheet reduces rational powers before checking the natural domain of the rewritten product. Negative bases need an odd denominator, and their resulting signs depend on whether the numerator is even or odd. The logarithm of the whole rewritten product still needs a positive argument.

The domain calculation sorts exact rational roots −c/a. It checks every boundary and one exact interior point in each interval. Affine signs stay constant throughout each open interval. Point values are approximate and use change of base with a sum of weighted logarithms of magnitudes, avoiding large intermediate products.

Use one through eight rows, integer slopes and constants with magnitude up to 10,000, and a nonzero affine expression in each row. Expand accepts nonzero integer powers with magnitude up to 12. Condense accepts those integers or nonzero p/q with |p| ≤ 12 and 1 ≤ q ≤ 12. The base can be e or a decimal from 0.000001 to 1,000,000 other than 1. An optional x check accepts a decimal with magnitude up to 1,000,000. The base and the check point accept up to six decimal places.

Worked Example

If you input:

  • Mode: Expand
  • Log base: e
  • Factor 1: x − 1, power 1
  • Factor 2: x + 1, power 1
  • Factor 3: x, power −2
  • Check x: 2

Result:

The rewrite is ln(|x − 1|) + ln(|x + 1|) − 2 · ln(|x|). The entered quotient is positive only on (−∞, −1) ∪ (1, ∞). At x = 2 both forms give ln(3/4), approximately −0.28768207.

Frequently Asked Questions

Why does the expansion use absolute values?

A positive product can contain negative factors. For example, ln(x²) agrees with 2 ln(|x|) whenever x is nonzero, including negative x. The original product restriction still applies to a general expansion.

Can I use the rewritten expression wherever it is defined?

Use the entered domain when solving with the original expression. Condensing 2 ln(x + 1) gives ln((x + 1)²), which also exists to the left of −1. Those extra values are outside the original domain.

What happens when two copies cancel?

Their combined exponent is zero and the pair disappears from the rewrite. A cancelled denominator or a cancelled log argument can still exclude points from the entered domain.

Why does a fractional power sometimes allow a negative factor?

The reduced denominator is the root index. Odd roots of negative numbers are real. Even roots of negative numbers are outside the real domain. The final argument of the logarithm must still be positive.

Can I combine logarithms with different bases?

Each worksheet uses one shared base. Change each logarithm to the same base first, and include any change-of-base multipliers in the coefficients if these fit the supported fractions.

Does the worksheet factor expressions for me?

Enter the linear factors or logarithm arguments yourself. The worksheet combines identical affine forms and analyzes their signs. It also accepts nonzero constant rows.

Similar Calculators