How to Minimize the Sum of Squares of Three Numbers That Add Up to 12?

ScienceGeek24
Messages
164
Reaction score
0

Homework Statement



Find three positive numbers whose sum is 12 and the sum of whose squares is as small as possible.

Homework Equations


The Attempt at a Solution



I don;t even know how to start this one, this is a section from partial derivatives on the max and mins. Please i need guidance through this exercise. Thank you!
 
Physics news on Phys.org
Hi ScienceGeek24! :smile:

Start by calling the three numbers x y and z, and putting f(x,y,z) = x2 + y2 + z2 :wink:
 
In addition to tiny-tim's good first idea, how about using the fact that you know that x+y+z=12, so you know what z is in terms of x and y - then you only have a 2D problem to solve.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top