Two numbers add to make 1000. What would they have to be to maximise their product?

We can write the two numbers as x and 1000-x, because x+(1000-x) = 1000 for any x we pick. Now we want to maximise the product x(1000-x); expanding the brackets gives us 1000x-x2 which is easier to work with for us. I'm going to call this f(x).To maximise a function, you need to find its critical points and then check whether they are maxima or minima. Remember that critical points are points where the gradient is 0 (ie when the derivative is 0), and you can check the nature of a critical point by finding the sign of the second derivative. This means we can use the gradient function dy/dx to find our values for x.Let's differentiate f(x):
dy/dx = 1000-2xIf dy/dx = 0, then 1000-2x = 0So 2x = 1000, ie x = 500 and this is the only critical point.Checking the second derivative:d2y/dx2 = -2 < 0, so the point is a maximum.
Finally we check that the answer makes sense: 500(1000-500) = 5002 = 250000 which is very large, so our answer looks correct.You could also do this problem by completing the square, or by drawing the graph of f(x) = x(1000-x) and finding the maximum point. Try it!

AD
Answered by Ankur D. Maths tutor

6375 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Using the Trapezium rule with four ordinates (three strips), estimate to 4 significant figures the integral from 1 to 4 of (x^3+12)/4sqrt(x). Calculate the exact value of this integral, comparing it with your estimate. How could the estimate be improved?


Susan is researching the population growth of a city. She proposes that x, the number of people in the city, t years after 2017 is given by x=250,000e^(0.012t) A.population in 2017 B.population in 2020 C.During which year would the population have doubled


https://1drv.ms/w/s!Ajvn5XL_gYTXgaZeAS-K7z62VSxjYw?e=lnAZLx


Simple binomial: (1+0.5x)^4


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning