Given equations yx=xy ....(1) and x=2y ...(2) Taking log on both sides of eqn (1), we get xlogy=ylogx (∵logxm=mlogx) 2ylogy=ylog2y (by (2)) ⇒2ylogy=ylog2+ylogy (∵logmn=logm+logn ⇒ylogy−ylog2=0 ⇒y(logy−log2)=0 ⇒y=0 or logy=log2 ⇒y=0 or y=2 But y=2 is only possible as y>0 for log to be defined. Hence, x=2(2)=4