Solution:
Concept: The laws of logarithms (same base, positive numbers): logmn=logm+logn; lognm=logm−logn; logmk=klogm. Also, logaa=1 and loga1=0. When no base is written, the base is 10; so log10=1.
If logA=logB, then A=B. To remove the logs, first collect each side into a single logarithm, writing any plain number as a log (for example 1=log10 and 2=log100).
A logarithm is defined only for a positive number, and a base must be positive and not 1. So every value we find must keep each log's argument positive; any other value is rejected.
Step 1 — Collect the logs on one side.
We move log5(x−1) to the left and the numbers to the right; then 2=log525.
log5(x+1)−log5(x−1)log5x−1x+1x−1x+1=2=log525=25
Step 2 — Solve.
We cross-multiply and collect the x terms.
x+126x=25x−25=24x=1213
Step 3 — Check the logs are defined.
With x=1213, x−1=121, which is positive.
Watch out: The base is 5, so 2=log525, not log5100.
Therefore, x=1213, or 1121.