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.
Step 1 — Make a perfect square.
Adding 2ab to both sides makes the left side (a+b)2.
a2+b2+2ab(a+b)2(5a+b)2=25ab=25ab=ab
Step 2 — Take logs of both sides.
The power law brings down the 2; then we divide by 2.
2log5a+blog5a+b=loga+logb=21(loga+logb)
Watch out: Note that (a+b)2 is a2+2ab+b2, so we add 2ab, which turns 23ab into 25ab.
Therefore, log5a+b=21(loga+logb). Hence proved.