How abt assuming four points (a cos\theta , b sin \theta), (a cos\theta ,-b sin \theta),(-a cos\theta , b sin \theta),(-a cos\theta ,-b sin \theta)
to be the vertices of that rectangle...then area =4absin\theta cos\theta=2absin 2\theta
and then maximizing the area ? So 2ab ?