Let X be the first number and (40 - X) be the second number. We write the quadratic equation: Y = X(40 - X) --> Y = 40X - X^2. Now, since we will find the maximum, we find the vertex of the equation (h, k). (h, k) is given by (-b/2a, f(-b/2a)): where h is -b/2a and k is f(-b/2a) = the value given when (-b/2a) is substituted in the equation. We are looking for K; but we still don't have any value for h, so we will solve for H first: h = -(40)/2(-1) = 20. We now substitute the value of H in the equation to find the maximum (K): K = 40(20) - (20)^2 = 400. To find the two numbers, we use H since it is the x value: X = 20 and 12 - X = 20. So, the 2 numbers are 20 and 20.
1 4 1