The roots must satisfy the condition x>0, x≠1
The equation can be written as
[logaa+logax][logxa+logxx]=loga2a−1
or (1+logax)(1logax+1)=−12
Now put logax=y Then
(1+y)2y=−12or2y2+5y+2=0
or (y+2)(2y+1)=0
This gives y=−2or−12, that is,
logax=−2or−12
Hence x=a−2ora−12