Writing out the Equations:
So, I believe you're working with two equations: x+y=75 and x*y2=z.
By using the first equation mentioned above, you can solve for x or y in terms of the other. If I solve for y, for instance, I get y=75-x.
Now, I can substitute y in terms of x into the second equation mentioned above. This gives me x*(75-x)2=z.
Since I want to know the largest value for x*(75-x)2, I'll need take the derivative of this equation and set it equal to 0 in order to find it's maximum value between x=0 and x=75.
(Side Note: I know that I am bounded by 0 and 75 because any number greater than 75 or less than 0 will produce a negative integer for either my x value or my y value. I'm only dealing with positive integers in this problem.)
Finding the Derivative:
I can use the power rule and the product rule to take the derivative of x*(75-x)2.
This leaves me with x*2*(75-x)*-1+(75-x)2*1=dz/dt. If I simplify this equation, I get
-150x+2x2+5625-150x+x2=dz/dt. Further simplification will give me 1875-100x+x2=dz/dt (combine all of the like terms from the previous equation together, then divide by 3).
Finding the max. and min. values:
Since I want to find the max and min. values of z, I'll need to set dz/dt equal to 0 and solve for x. If I use the quadratic formula, I can convert 1875-100x+x2=0 to (x-25)(x+75)=0. This lets me know that my max and min values from [0,75] are x=25 and x=75.
Now, all I need to do is figure out which of those two x-values is the max and which one is the min. I do that by plugging in both x values into the original equation x*(75-x)2=z. If I plug in x=75, z=0 (min.), but when I plug in x=25, z=62,500 (max.)
Conclusion:
So, therefore, if two integers sum up to 75, one integer times the square of the other can only be as large as 62,500.
Stephen L.
I wrote the factored version of dz/dt wrong earlier. It should read (x-25)*(x-75) NOT (x-25)*(x+75). Also, make sure you set dz/dt equal to 0 before you simplify -150x+2x^2+5625-150x+x^2 . I divided the LHS of the equation by three too early in my explanation.08/18/19