Consider the two numbers be and
.
The difference between two numbers is .
Consider the function be the product of two numbers is .
When product is minimum then its first derivative becomes zero.
\Apply derivative on each side with respect to .
Equate to zero.
Substitute in
.
Therefore the numbers are and
.
The numbers are and
.