Let A,B,P positive reals with P≤A+B.
(a) Choose reals θ1,θ2 with Acosθ1+Bcosθ2=P and prove that Asinθ1+Bsinθ2≤(A+B−P)(A+B+P)
(b) Prove equality is attained when θ1=θ2=arccos(A+BP).
(c) Take A=21xy,B=21wz and P=41(x2+y2−z2−w2) with 0<x≤y≤x+z+w, z,w>0 and z2+w2<x2+y2.
Show that we can translate (a) and (b) into the following theorem: from all quadrilaterals with (ordered) sidelenghts (x,y,z,w), the cyclical one has the greatest area.