Hi Bella
You are trying to find two positive x and y numbers such that
x + 4y = 120
And
xy = maximum
You can use a substitution which will give a quadratic to work with since
x + 4y = 120
Then
4y = 120 -x
Divide both sides of the equation by 4 to solve for y
y = 30 - x/4
So substituting
xy = x(30 - x/4)
xy = 30x - x2/4
You have a quadratic in standard form where c=0, c has no value so it is not shown and your maximum is for a parabola
I'll leave it to you to research that a few websites call it the tricky one but looks like this
-x2/4 + 30x + 0 =0
With it set equal to zero you can find x intercepts, you can find the x coordinate of the vertex and we can use it to find the y value and to find your two positive numbers
Now there are a couple of ways to approach this, in the standard form
-x2/4 + 30x =0
a = -1/4
b = 30
c = 0
-b/2a = the x coordinate of the vertex
-b/2a = -30/(2(-1/4))= 30/(1/2) = 60 you can use decimal if its easier for you
x = 60
You can substitute this number in
x + 4y = 120 to quickly solve for y
60 + 4(y) = 120
Subtract 60 from both sides
4y = 60
Divide both sides by 4
y = 15
So your two positive numbers are
x = 60 and y = 15
Your maximum for your quadratic we had above is xy
xy =60(15)= 900
To find the y coordinate you just plug in 60 for x in your quadratic equation
-x2/4 + 30x =y
-602/4 + 30(60) = y
-3600/4 + 1800 = y
-900 + 1800 = y
900 = y coordinate of the vertex
so (60, 900) is your maximum
Now let's check everything
x + 4y = 120
60 + 4(15) = 120
60 + 60 = 120
And
xy = maximum for the quadratic -x2/4 + 30x =y
60(15) = 900
You can graph
-x2/4 + 30x =y
at desmos.com
You can factor the equation
-x2/4 + 30x =0
x(-x/4 + 30)=0
x =0
-x/4 + 30 = 0
-x/4 = -30
Multiply both sides by -4
x = 120
x intercepts are (0,0) and (120,0)
You can use derivative tests; take the first derivative and set that equal to zero
-x2/4 + 30x
d/dx ( use the constant muliple rule and the power rule)
d/dx(cf(x)) = c(f'x)
-x/2 + 30 = 0
-x/2 = -30
Multiply both sides by -2
x = 60
Check these out you can also use the quadratic equation if you want. Do grah it to check the vertex, and x intercepts.