SOLUTION: A farmer decides to enclose a rectangular garden using the side of a barn as one side of the rectangle. What is the maximum area that the farmer can enclose with 100ft of fence? W

Algebra ->  Quadratic Equations and Parabolas  -> Quadratic Equation Customizable Word Problems -> SOLUTION: A farmer decides to enclose a rectangular garden using the side of a barn as one side of the rectangle. What is the maximum area that the farmer can enclose with 100ft of fence? W      Log On


   



Question 178406: A farmer decides to enclose a rectangular garden using the side of a barn as one side of the rectangle. What is the maximum area that the farmer can enclose with 100ft of fence? What should the dimensions of the garden be to give this area?
Answer by EMStelley(208) About Me  (Show Source):
You can put this solution on YOUR website!
Let's pretend that the barn side is one of the "lengths". So the perimeter of fencing would be 2 times the width plus one length. Let's call the width w and the length l. Then the amount of fencing needed is
P=2w%2Bl
We were told in the problem that there is 100 ft of fencing available, so we have
100=2w%2Bl
The question is to maximize area, which is A=lw. Now, currently we have too many variables to be able to solve anything. Can we fix this? Yes, using our perimeter equation, we can solve for one of the variables in terms of the other. Let's try solving for l (length). Then
l=100-2w
Now we can replace l with this new expression in the area equation,
A=%28100-2w%29w
Ok, now we're down to only one variable, which is good. Let's distribute through on the right hand side so we can get a better idea of what we are looking at:
A=100w-2w%5E2=-2w%5E2%2B100w
So, we have a quadratic equation. Notice, that since the coefficient of the w^2 term is negative, it's upside down. Just to get a visual, I will graph it for you.
graph%28300%2C200%2C-50%2C60%2C-1000%2C1500%2C-2x%5E2%2B100x%29
So where is the maximum on this graph? It's the vertex. Now, to find the x coordinate of a quadratic equation of the form ax^2+bx+c, you have to calculate -b/2a. In this problem, a=-2 and b=100. So the x-coordinate (w) of the vertex is -100/(2(-2))=25. To find the y-coordinate (A), you plug in the x-coordinate back into the equation:
A=-2%2825%29%5E2%2B100%2825%29=-1250%2B2500=1250
So the vertex is (25,1250).
This means that the maximum area is 1250 ft^2 and the dimensions giving this area are a width of 25 ft and a length of 50.