You can also use the "Lagrange multiplier" method. In order to minimize f(x,y,z), while subject to the condition g(x,y,z)= constant, then the gradients must be in the same direction- [itex]\nabla f[\itex] must be a multiple of [itex]\nabla g[/itex] or [itex]\nabla f= \lambda\nabla g[/itex] ([itex]\lambda[/itex] is the "Lagrange multiplier")- so you differentiate <b>both</b> functions. <br />
<br />
Here, f(x,y,z)= 2xy+ 2yz+ 2xz and g(x,y,z)= xyz= 256. [itex]\nabla f= (2y+ 2z)\vec{i}+ (2x+2z)\vec{j}+ (2y+ 2x)\vec{k}[/itex] and [itex]\nabla g= yz\vec{i}+ xz\vec{j}+ xy\vec{k}[/itex] so [itex]2y+ 2z= \lambda yz[/itex], [itex]2x+ 2z= \lambda xz[/itex], [itex]2y+ 2x= \lambda xy[/itex]. Since we don't really need to determine [itex]\lambda[/itex] one method I like to solve equations like these is to divide one equation by another: <br />
[tex]\frac{2y+ 2z}{2x+ 2z}= \frac{y}{x}[/tex]<br />
and <br />
[tex]\frac{2x+ 2y}{2y+ 2x}= \frac{x}{z}[/tex]<br />
<br />
Those can be written as [itex]y^2+ zy= xy+ yz[/itex] or y= x and [itex]xz+ yz= xy+ x^2[/itex] or z= x. That is, x= y= z (which is reasonable from symmetry considerations). Putting x= y= z into xyz= 256, we have x<sup>3</sup>= 256= 2<sup>8</sup>= 4<sup>3</sup>(4) so [itex]x= y= z= 4\sqrt[4]{4}[/itex].[/itex]