The Wayback Machine - https://web.archive.org/web/20260207040442/https://www.geeksforgeeks.org/maths/solving-logarithmic-equations/

Solving Logarithmic Equations

Last Updated : 23 Jul, 2025

A logarithm is a mathematical function that helps to determine the power to which a given number, called the base, must be raised to obtain another number. The logarithm of a number x to the base b is denoted as log⁡bx and logarithmic equation is an equation that involves a logarithm with a variable inside its argument. A general form of a logarithmic equation can be written as:

\log_b(f(x)) = g(x)

Where:

  • log⁡b is the logarithm with base b,
  • f(x) is a function of x inside the logarithm,
  • g(x) is another function of x.

Examples of Logarithmic Equations : Some simple examples of logarithmic equations:

  • log⁡2(x)=5
  • log⁡3(x + 1) = 2
  • log⁡4(x − 7) = 1
  • log⁡7(x2) = 1

Commonly Used Properties for Solving Logarithmic Equations.

These are some properties that are frequently used in solving logarithmic equations :

PropertyMathematical Expression
Product Rulelogb​(xy) = logb​x + logby
Quotient Rulelogb​(x/y​) = logb​x−logb​y
Power Rulelogb(xk) = klogb​x
Change of Base Formulalogb​x = logk​b/logk​x​
Logarithm of 1logb​1=0
Logarithm of the Baselogb​b=1
Identity Rulelogbb​x = x
Inverse Rule

b^{\log_bx}=x

Solving Logarithmic Equations

Some methods for solving logarithmic equation are:

  • Converting to Exponential Form
  • Using Properties of Logarithms
  • Isolating the Logarithmic Expression

Let's discuss these methods in detail.

Converting to Exponential Form

One of the most effective methods to solve logarithmic equations is to convert them into exponential form. The logarithmic equation:

\log_b(x) = y

This can be rewritten in its exponential form:

x = b^y

This transformation allows us to work with the equation in a different but equivalent format, often making it easier to solve.

Example: Solve \log_2(x) = 3.
Solution:

Convert to exponential form: x = 23
Simplify: x = 8

Using Properties of Logarithms

Using the properties of logarithms we can help break down more complex logarithmic equations into simpler forms.

Example: Solve log3​(9x) = 5.
Solution:

Use the product property: log⁡3(9) + log3(x) = 5

Simplify log3(9): log3(32) = 2 · log3(3) = 2 [log3(3) = 1]

Substitute back into the equation:
2 + log⁡3(x) = 5
log⁡3(x) = 5 - 2 = 3

Convert to exponential form: x = 33
x = 27

Isolating the Logarithmic Expression

To solve a logarithmic equation, it is often necessary to isolate the logarithmic expression first.

Example: Solve log⁡5(x − 3) + 2 = 4.
Solution:

Isolate the logarithmic expression: log5(x - 3) = 4 - 2 = 2
Convert to exponential form: x − 3 = 52
Simplify: x − 3 = 25
Solve for x: x = 25 + 3 = 28

Differences Between Logarithmic and Exponential Equations

Some of the common differences between logarithmic and exponential equations are listed in the following table:

AspectLogarithmic EquationsExponential Equations
DefinitionInvolves logarithms of variablesInvolves variables as exponents
General Formlogb​(x) = ybx = y
BaseThe base b is the number being raised to a powerThe base b is the number being raised to the exponent
Variable LocationVariable is inside the logarithmVariable is in the exponent
ConversionConvert to exponential form to solveConvert to logarithmic form to solve
Solving MethodsUse properties of logarithms, convert to exponentialUse properties of exponents, convert to logarithmic
Graph CharacteristicsInverse of exponential functions, passes through (1, 0)Rapid growth or decay, passes through (0, 1)
Examplelog2​(x)=32x = 8
ApplicationUsed in solving for exponents, growth rates, scalesUsed in modeling growth, decay, and compound interest
Inverse RelationshipLogarithmic functions are the inverses of exponential functionsExponential functions are the inverses of logarithmic functions

Applications of Logarithmic Equations

Logarithmic equations have a wide range of applications across various fields. Here are some key applications:

  • pH Calculation: The pH of a solution is calculated using the logarithmic equation:

\text{pH} = -\log_{10}[\text{H}^+]

It calculates the concentration of hydrogen ions in the solution.

  • Richter Scale: The Richter scale measures the magnitude of earthquakes using the logarithmic equation:

M = \log_{10}\left(\frac{A}{A_0}\right)

Where M is the magnitude, A is the amplitude of the seismic waves, and A0​ is a reference amplitude.

  • Population Growth: Logarithmic equations model population growth, where the growth rate decreases as the population increases:

N(t) = N_0 e^{rt}

Where N(t) is the population at time t, N0​ is the initial population, and r is the growth rate.

  • Sound Intensity: The decibel scale measures sound intensity using the logarithmic equation:

L = 10 \log_{10} \left(\frac{I}{I_0}\right)

Where L is the sound level in decibels, I is the intensity of the sound, and I0​ is the reference intensity.

Read More,

Solved Examples of Logarithmic Equations

Example 1: Solve log2 (x) = 3
Solution:

Convert the logarithmic equation to its exponential form:

23 = x
⇒ 8 = x

Therefore, the solution is: x = 8

Example 2: Solve log3 (x) + log3 (x - 2) = 1.
Solution:

Use the product property of logarithms: logb(mn) = logb(m) + logb(n)
log3(x(x - 2)) = 1

Convert the logarithmic equation to its exponential form:
31 = x(x - 2)

Simplify and solve the quadratic equation:
3 = x2 - 2x
⇒ x2 - 2x - 3 = 0

Factor the quadratic equation:
(x - 3)(x + 1) = 0

Solve for x:
x = 3 or x = -1

Since the logarithm of a negative number is undefined, the solution is:
x = 3

Example 3: Solve log5(x + 1) + log5(x - 1) = 1.
Solution:

Use the product property of logarithms:
log5 ((x + 1)(x - 1)) = 1

Convert the logarithmic equation to its exponential form:
51 = (x + 1)(x - 1)

Simplify the right-hand side:
5 = x2 - 1

Solve the quadratic equation:
x2 - 1 = 5
⇒ x2 = 6
x = ± √6

Since log5 (x + 1) and log5 (x - 1) must both be defined, x must be greater than 1. Therefore, the solution is:
x = √6

Example 4: Solve log2(x + 3) - log2 (x - 1) = 2
Solution:

Use the quotient property of logarithms: logb (m/n) = logb (m) - logb (n)
\log_2 \left(\frac{x + 3}{x - 1}\right) = 2

Convert the logarithmic equation to its exponential form:
22 = \frac{x + 3}{x - 1}

Simplify and solve the resulting equation:

4 = \frac{x + 3}{x - 1}
⇒ 4(x - 1) = x + 3
⇒ 4x - 4 = x + 3
⇒ 3x = 7
⇒ x = 7/3

Example 5: Solve log4 (2x - 1) + log4 (x + 3) = 2
Solution:

Use the product property of logarithms:
log4 ((2x - 1)(x + 3)) = 2

Convert the logarithmic equation to its exponential form:
42 = (2x - 1)(x + 3)

Simplify and solve the resulting quadratic equation:
16 = (2x - 1)(x + 3)
⇒ 16 = 2x2 + 6x - x - 3
⇒ 16 = 2x2 + 5x - 3
⇒ 2x2 + 5x - 19 = 0

Solve the quadratic equation using the quadratic formula:

x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Here, a = 2, b = 5, and c = -19:

x = \frac{-5 \pm \sqrt{25 + 152}}{4}

⇒ x = \frac{-5 \pm \sqrt{177}}{4}

Comment

Explore