I have a problem:
1. Find two positive numbers whose sum is 300 and whose product is a maximum.
What I don't understand is that last constraint: ''is a maximum''. What do they mean by a product being a maximum? Thanks.
We have x + y = 300 and want to maximize x*y. From the first condition we get y = 300 - x. Now substitute.
x(300 - x) = -x^2 + 300x
This is a parabola that opens DOWNWARD therefore the maximum occurs at the vertex. The x co-ordinate of the vertex is given by
Can you continue?
Ah, I understand now what they mean.
Can't I simply take the derivative of the substitution and set it to 0 to come to a conclusion? (That's what the class is all about at the moment).
As so:
Which would imply that the largest number is given by
? (btw can someone tell me why the first part of these spaces always has an indent?)
Just one more question if this all checks out: Don't I have some specific range as well? I can't seem to put my finger on that range.
Yes you can use derivative, wasn't sure if this was a calculus or pre-calculus question. The positive values for both x and y occur between the 2 roots of the parabola and nowhere else as a quick sketch will show so,
and
That range for y is a bit sneaky... if you pick x to range between 0 and 300 then y will range between 0 and 150 but i suppose the roles of x and y can be reversed without fear so technically you get both between 0 and 300.
The indent may have something to do with your settings but i don't know what, i'm using the same code as you but i don't get that indent.
P.S. If you're going to use calculus you will need to prove x = 150 gives the maximum by using the 1st derivative test.