Solution:
Key idea: The laws of logarithms turn the inputs into sums and differences: logx1=−logx, logyx=logx−logy and logxy=logx+logy; we also use cos(−θ)=cosθ and cos(A−B)+cos(A+B)=2cosAcosB. Throughout, x>0 and y>0 so that the logarithms exist.
Step 1 — Name the two logarithms.
To keep the working short we write A=logx and B=logy.
Step 2 — Find f(x1) and f(y1).
Since logx1=−A and cosine is an even function, the minus sign disappears.
f(x1)=cos(−A)
f(x1)=cosA
In the same way:
f(y1)=cosB
Step 3 — Find f(yx) and f(xy).
The quotient and product laws give the logarithms A−B and A+B.
f(yx)=cos(A−B)
f(xy)=cos(A+B)
Step 4 — Simplify the bracket.
We add the two cosines using cos(A−B)+cos(A+B)=2cosAcosB and then halve.
21[f(yx)+f(xy)]=21[cos(A−B)+cos(A+B)]=21×2cosAcosB=cosAcosB
Step 5 — Put the left side together.
We subtract the result of Step 4 from the product of the two values in Step 2.
f(x1)f(y1)−21[f(yx)+f(xy)]=cosAcosB−cosAcosB=0
Therefore, f(x1)⋅f(y1)−21[f(yx)+f(xy)]=0, as required.