Answer:
The maximum volume of a box inscribed in a sphere of radius r is a cube with volume .
Step-by-step explanation:
This is an optimization problem; that means that given the constraints on the problem, the answer must be found without assuming any shape of the box. That feat is made through the power of derivatives, in which all possible shapes are analyzed in its equation and the biggest -or smallest, given the case- answer is obtained. Now, 'common sense' tells us that the shape that can contain more volume is a symmetrical one, that is, a cube. In this case common sense is correct, and the assumption can save lots of calculations, however, mathematics has also shown us that sometimes 'common sense' fails us and the answer can be quite unintuitive. Therefore, it is best not to assume any shape, and that's how it will be solved here.
The first step of solving a mathematics problem (after understanding the problem, of course) is to write down the known information and variables, and make a picture if possible.
The equation of a sphere of radius is . Where , and are the distances from the center of the sphere to any of its points in the border. Notice that this is the three-dimensional version of Pythagoras' theorem, and it means that a sphere is the collection of coordinates in which the equation holds for a given radius, and that you can treat this spherical problem in cartesian coordinates.
A box that touches its corners with the sphere with arbitrary side lenghts is drawn, and the distances from the center of the sphere -which is also the center of the box- to each cartesian axis are named , and ; then, the complete sides of the box are measured , and . The volume of any rectangular box is given by the product of its sides, that is, .
Those are the two equations that bound the problem. The idea is to optimize in terms of , therefore the radius of the sphere must be introduced into the equation of the volumen of the box so that both variables are correlated. From the equation of the sphere one of the variables is isolated: , so it can be replaced into the other: .
But there are still two coordinate variables that are not fixed and cannot be replaced or assumed. This is the point in which optimization kicks in through derivatives. In this case, we have a cube in which every cartesian coordinate is independent from each other, so a partial derivative is applied to each coordinate independently, and then the answer from both coordiantes is merged into a single equation and it will hopefully solve the problem.
The coordinate is treated first: , in a partial derivative the other variable(s) is(are) treated as constant(s), therefore the product rule is applied: (careful with the chain rule) and now the expression is reorganized so that a common denominator is found .
Since it cannot be simplified any further it is left like that and it is proceed to optimize the other variable, the coordinate . The process is symmetrical due to the equivalence of both terms in the volume equation. Thus, .
The final step is to set both partial derivatives equal to zero, and that represents the value for and which sets the volume to its maximum possible value.
so that the non-trivial answer is selected, then . Similarly, from the other variable it is obtained that . The last equation is multiplied by two and then it is substracted from the first, . Similarly, .
Steps must be retraced to the volume equation .