Maximizing area word problem WITHOUT LP formula

Click For Summary
A farmer aims to maximize the area of a rectangular pen using a barn wall as one side and 100 feet of fencing for the remaining sides. The problem requires using calculus without linear programming techniques. The initial attempt to find critical points led to incorrect results due to miscalculating the fencing constraints. The correct approach involves analyzing two cases based on the fencing usage, ultimately leading to a function that needs to be maximized while respecting the boundaries set by the barn wall and fencing limits. The maximum area can be determined by examining the behavior of the area function within the defined constraints.
csc2iffy
Messages
74
Reaction score
0
Homework Statement
We have to solve this problem using only what we learned in calculus (no linear programming)
I attached a picture to help :)

A farmer wants to build a rectangular pen. He has a barn wall 40 feet long, some or all of which must be used for all or part of one side of the pen. In other words, with f feet of of fencing material, he can build a pen with a perimeter of up to f+40 feet, and remember he isn't required to use all 40 feet.
What is the maximum possible area for the pen if 100 feet of fencing is available?The attempt at a solution
I attempted to solve by finding the critical points of the derivative:
2x+y=100 --> y=100-2x
x(100-2x)=100x-2x^2
f'(x)=100-4x
100-4x=0 --> x=25
2(25)+y=100 --> y=50
A=1250

BUT I realize this is wrong because if y=50, then the side of the barn needs an extra 10 feet, but all of the fencing material has been used by the other 3 sides. Help please?
 

Attachments

  • Untitled.png
    Untitled.png
    1.5 KB · Views: 556
Last edited:
Physics news on Phys.org
csc2iffy said:
Homework Statement
We have to solve this problem using only what we learned in calculus (no linear programming)
I attached a picture to help :)

A farmer wants to build a rectangular pen. He has a barn wall 40 feet long, some or all of which must be used for all or part of one side of the pen. In other words, with f feet of of fencing material, he can build a pen with a perimeter of up to f+40 feet, and remember he isn't required to use all 40 feet.
What is the maximum possible area for the pen if 100 feet of fencing is available?


The attempt at a solution
I attempted to solve by finding the critical points of the derivative:
2x+y=100 --> y=100-2x
x(100-2x)=100x-2x^2
f'(x)=100-4x
100-4x=0 --> x=25
2(25)+y=100 --> y=50
A=1250

BUT I realize this is wrong because if y=50, then the side of the barn needs an extra 10 feet, but all of the fencing material has been used by the other 3 sides. Help please?

You can write this problem as
maximize x*y
subject to
x + 2*y <= 100,
x <= 40,
x,y >= 0.

It is a nonlinear programming problem, because of the inequality constraints. If you haven't studied such problems yet, you should note that you can reduce it to 2 cases: (1) x + 2y < 100; (2) x + 2y = 100. In case (1) the constraint 2x+y <= 100 is not active, so it is like an unconstrained problem (but with a bound on x). In this case the y-derivative of A = x*y should be zero at an optimum, and doing that gives x = 0. This is obviously not a maximum, since we can do better than area = 0. So, we need to be in case (2): use all the available fencing. Thus, y = 50 - x/2, and putting that into A = x*y we have a function f(x) = x*(50 - x/2) to be maximized over 0 <= x <= 40.

As you have realized, you can't just set f'(x) = 0 because that violates the bound of 40. But *think about it*: why would you want to set the derivative of f to zero? You would want to to that because for x less than the critical point f is increasing, and after the critical point f is decreasing. In this case the critical point lies outside the allowed region, so what does that tell you about the max allowed value? Think about plotting a graph of the function f(x).

RGV
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K