Problem:
Let B be the set of rectangular boxes with surface area 54 and volume 23. Let r be the radius of the smallest sphere that can contain each of the rectangular boxes that are elements of B. The value of r2 can be written as qpβ, where p and q are relatively prime positive integers. Find p+q.
Solution:
Consider a rectangular box with dimensions aΓbΓc from B. From the given conditions ab+bc+ca=27 and abc=23. The diagonal of the box is a2+b2+c2β. The maximum value of a2+b2+c2β among all possible values is the diameter of the smallest sphere that can contain each box from B. This is equivalent to maximizing s=a+b+c, because (a+b+c)2=(a2+b2+c2)+2(ab+bc+ca)=a2+b2+c2+54.
Consider f(x)=(xβa)(xβb)(xβc)=x3βsx2+27xβ23. The problem is then equivalent to finding the maximum possible s for which this cubic has three positive real roots (allowing multiplicity). Because uv+vw+wuβ€u2+v2+w2 for all real numbers u,v, and w, it follows that (u+v+w)2β₯3(uv+vw+wu) and thus
which together imply that 9β€sβ€23243β. When s=9 or s=23243β, equality must hold in the above inequalities, implying both a=b=c=3 and abc=23. Thus the cubic does not have three real roots (allowing multiplicity) for s at or near 9 or 23243β.
As s increases across the interval (9,23243β), the graph of the cubic curve moves down. There are two limiting cases with three positive real roots. When s is the greatest possible, the local maximum will be a double root (which will be less than the third root). When s is the least possible, the local minimum will be a double root (which will be greater than the third root). If the three roots are a,b,b, then b2+2ab=27 and ab2=23. Hence b2+b46β=27, and b is a root of b3β27b+46=(bβ2)(b2+2bβ23), so b=2 and b=β1Β±26β.
The double root β1β26β is not positive, so consider two boundary cases with roots
The former triple of roots yields the greatest value for s because the value of the double root is less than the third root. Thus the maximum of a2+b2+c2 occurs when a=423β and b=c=2. In that case r2=41ββ (a2+b2+c2)=64657β. The requested sum is 657+64=721β.
OR
A box in B has dimensions (x,y,z), where x,y,z are positive real numbers satisfying
xyz2xy+2yz+2zxβ=23and=54.β(1)(2)β
As in the first solution, it is sufficient to find (x,y,z) that maximizes x+y+z. Because 2xy+2yz+2zx=54, the dimensions cannot all be less than 3, so assume xβ₯3. The value of x determines both yz and y+z:
This system has positive solutions for y and z if P and S are both positive and satisfy S2β4Pβ₯0. When xβ₯3, both P and S are positive, so x is the dimension of a box in B if and only if
(x27ββx223β)2β4(x23β)β₯0,β
which is equivalent to
g(x)=β92x3+272x2β(2β 23β 27)x+232β₯0.β
Note that g(21β)>0,g(1)<0,g(3)>0, and g(10)<0. It follows that this cubic has three real roots, all in the interval (21β,10). The Rational Root Theorem suggests that 1 and 423β might be roots in the interval (21β,10), and indeed, 423β is a root. It follows that g(x)β₯0 when xβ[3,423β], and these are the values of x that correspond to boxes in B.
To find the value of x in [3,423β] that maximizes