Solution:
Key idea: We use the law logm+logn=logmn to combine the left side into one logarithm. Then we work out f at 1+aba+b and show it gives the same logarithm. (For the logarithms to be defined we take −1<a<1 and −1<b<1.)
Step 1 — Combine the left side.
We write out f(a) and f(b) from the rule and add them using the product law of logarithms.
f(a)+f(b)=log1+a1−a+log1+b1−b=log(1+a)(1+b)(1−a)(1−b)
Step 2 — Find 1−x for the new input.
Let x=1+aba+b. We put 1 over the same denominator and subtract, then factorise the numerator.
1−x=1+ab1+ab−a−b=1+ab(1−a)(1−b)
Step 3 — Find 1+x for the new input.
We do the same for 1+x, this time adding, and factorise again.
1+x=1+ab1+ab+a+b=1+ab(1+a)(1+b)
Step 4 — Form the right side.
We divide the result of Step 2 by the result of Step 3; the common factor 1+ab cancels.
f(1+aba+b)=log[1+ab(1−a)(1−b)÷1+ab(1+a)(1+b)]=log(1+a)(1+b)(1−a)(1−b)
Step 5 — Compare the two sides.
The result of Step 4 is exactly the result of Step 1, so the two sides are equal.
Therefore, f(a)+f(b)=f(1+aba+b), as required.