
I've been reading The Art Of Computer Programming Volume 1, and I am having difficulty in solving this problem. Since Maths is Greek to me, can you please help?
At the back, there are hints to the solutions, for this problem below is the picture.Hint to the solution



Assume $y,x>1$. The shaded region has area $\ln x$ (if we define $\ln x=\int_1^x\frac1x\,\mathrm dx$). Note that if we scale the hyperbola horizontally by a factor $a$ and vertically by a factor $\frac1a$, we end up with the original hyperbola. Thus if we scale our shaded region vertically by $\frac1y$ and horizontally by $y$, we obtain a region of the same area, bounded above by the same hyperbola, bounded below by the $x$-axis, bounded on the right by the vertical line segment from $(xy,0)$ to $(xy,\frac1{xy})$, and on the left by the vertical line from $(y,0)$ to $(y,\frac1y)$. Together with the region defining $\ln y$ (i.e., ananlogous as in the image, but with all $x$ replaced by $y$), we obtain the region defining $\ln xy$. We conclude $$\ln xy=\ln x+\ln y. $$