In the $xy$ plane, there are two circles, a larger one of radius 1 unit and a smaller one of radius $r$. The two circle intersect such that the two points of intersection are on a diameter of the smaller circle. Find the value of $r$ which maximizes the area that is inside the smaller circle, but is outside the larger circle.