@anuttarasammyak We are going to need to look over your two partial derivative expressions carefully, because your solution is incorrect and not even in the right ballpark. I got, doing it all by hand with no computer that ## (x_1,y_1)=(1.43,1.96)##, and ##(x_2,y_2)=(1.57,2.04) ## for a minimum distance of ## L=0.16 ##. These are approximate coordinates, and only accurate to the two decimals.
Edit: and I looked over your partial derivative expressions=they look like they may be correct. The values for the real solution might also be correct, but I don't have a computer that can compute them. It looks like you did get ## x_1=1.42366 ## and ## x_2=1.57634 ## which is close enough to what I got that they are most likely correct and even exact in the form Wolfram has them. I think your error may be when you finished up.
Try computing ## L ## again, but use ## (x_1,y_1) ## and ## (x_2,y_2) ##. I don't know where your expression for ## L ## using ## a ## came from. Note: ## L=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2} ##.
With that one correction, I think everything else you did may be correct. :)
and I see you have now edited your post and made the correction. Very good=excellent. :)