Hello, Mads,
John has the correct answer (rather, I should say I got the same answer as he did, so I'm encouraged enough to include my own derivation). Perhaps my outline will help in some way.
Let L = Lenght, and W = Width. Area is L*W
The 300 feet of fencing must be 2W + 1L, since the second L is the river. Furthermore, the total is = 300 feet:
2W + L = 300
We can aslo say L = 300 - 2W, or even W = (300-L)/2 . One of these expressions will come in handy later. These equations set the constraint of how much fencing can be used for maximizing the area.
Area = L*W, and we want as large a value we can find with the limited fencing. Let's first eliminate one of the variables by substituting one of the expressions above. I'll choose to eliminate the W (Width).
Area = L*W
Area = L*(300-L)/2)
Area = (300L - L2)/2
Area = 150L - (1/2)L2
Written in standard form, we quikly see that this is a parabola:
Area = - (1/2)L2 + 150L
We want to maximize the area, so let's take the first derivative and set it equal to 0, which will tell us where on this parabola we can find a zero slope. For a parabola, this will be the apex, the coordiantes of which will be the values of L and W that provide the greatest area possible.
Area' = -L + 150
0 = -L + 150
L = 150
The length of one side of the rectangle is 150 feet. that leaves 150 feet of fencing, so each edge (the Width) would be 75 feet.
The area is 150ft*75feet = 11250 ft2, the maximum area taht can be made under the conditions provided.
Tey Desos graphing software and plot the area function, using x and y:
y = -(1/2)x2+ 150x
You'll see the parabala that tells us the area of the rectangle as a function of x, the Length. The apex is (150, 1125), [(Length, Area)].
Bob