Question 575820
It's sort of a trick problem.
If your numbers are x and y.
{{{x+y=640}}} --> {{{y=640-x}}}
The product can be written as a function of x alone:
{{{p(x)=x(640-x)=640x-x^2}}}
You want to find the maximum value for that product.
{{{p(x)}}} is a quadratic function.
You may be studying quadratic functions, which graph as parabolas.
Do you know all about them and how to find the x for the maximum? If not, read on.
The book probably says that the general form is {{{ax^2+bx+c}}}, and in your case a=-1, b=640 and c=0.
If the term in {{{x^2}}} has a positive coefficient (a>0), the parabola looks like a smile, opening up, and going through a minimum at its vertex, somewhere in the middle, like this: {{{graph(200,200,-6,14,-10,60,(x-3)^2-4)}}},
but a minus sign in front of the {{{x^2}}} (a<0) makes it frown like this {{{graph(200,200,-6,14,-10,60,-(x-3)^2+55)}}}
and then there is a maximum at the vertex.
Where is the maximum for {{{p(x)=-x^2+640x}}}?
If you are studying quadratic functions, you may be expected to invoke a formula that says that the axis of symmetry and x coordinate of the vertex/maximum is given by
{{{x=-b/2a}}} where b is the coefficient of x and a is the coefficient of {{{x^2}}}.
In this case it would be {{{x=-640-(2*(-1))=-640/(-2)=320}}}
Otherwise, you may be expected to transform the function like this:
{{{p(x)=640x-x^2=-x^2+640x-320^2+320^2=-(x^2-640x+320^2)+320^2 = -(x-320)^2+320^2}}}
and then say that since the square will be positive or zero, and it has that minus sign in front, the function will be {{{320^2}}} when xthe parenthesis is zero (x=320), and it will be less for any other x value.
Either way, you show that to make the product greatest one of the numbers has to be {{{highlight(320)}}},
and since they add up to 640, the other number is 320 too.
{{{y=640-x}}}, so {{{y=640-320=320}}}
When the problem said "two positive numbers" you probably assumed they were two different numbers. The problem did not say they were different. That's the trick.
If two numbers have to add up to some constant, their product will be maximum when they are the same number. 
Similar problems talk about the perimeter of a rectangle, which is the sum of length plus width, doubled. If the perimeter of a rectangle has to be a certain number, the area will be maximum when length and width are the same, meaning that the rectangle is a square.