Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Maximize Volume of a Rectangular Box

  1. Nov 6, 2008 #1
    1. The problem statement, all variables and given/known data
    Find the dimensions of the rectangular box of largest volume that can be inscribed in a sphere of radius 1.

    2. Relevant equations
    v=w*l*h, Set the partials equal to 0, then solve a system, etc.

    3. The attempt at a solution
    I'm really just unsure of the constraints that might arise when inscribing a box in a sphere, I'm fairly confident about the rest of the process.
  2. jcsd
  3. Nov 6, 2008 #2


    User Avatar
    Science Advisor

    One thing students seem to have trouble realizing is that applications don't typically come with coordinate systems attached! You have a sphere, sittin there in space, with a rectangle inscribed in it. You can't write equations until you have set up a coordinate system. The obvious thing, I think, is to choose your coordinate system so that (0,0,0) is at the center of the sphere and then the equation of the sphere is [itex]x^2+ y^2+ z^2= 1[/itex].

    That still leaves the orientation of the axes- again, it would strike me as simplest to choose the axes parallel to the edges of the box. Now, one corner of the box will be in the first octant, (x, y, z) with x, y, and z positive, and, of course, [itex]x^2+ y^2+ z^2= 1[/itex]. It should be easy, using the fact that the edges of the are parallel to the axes, and using the symmetry of the sphere, to write down the coordinates of the other 7 corners and so find the lengths of the edges and the volume as a function of x, y, and z.
    Last edited by a moderator: Nov 6, 2008
  4. Nov 6, 2008 #3


    Staff: Mentor

    For the sphere of radius 1, with center at (0, 0, 0), the equation is x^2 + y^2 + z^2 = 1.

    To simplify things, you can work with just the portion of the sphere in the first octant (i.e., x, y, z >= 0) and the one-eighth of the rectangular box that is in this octant.

    For this box, the vertex opposite the one at the origin is at (x0, y0, z0) on the sphere. No other corners of the box touch the sphere.

    You want to find the max. value of V = xyz, subject to the constraint that x^2 + y^2 + z^2 = 1. From the latter equation you can solve for z to make your volume a function of x and y alone. Then you can take partials wrt x and y and use them to find the max. volume.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook