Exercise 1: The method on a divided pasture: constraint, objective, domain, global maximum
Every optimization problem is solved in the same five moves: name the variables on a figure; write the CONSTRAINT that links them; write the OBJECTIVE function in one variable; give its DOMAIN, read from the situation; then find the absolute extremum AND justify that it is absolute. The derivative only supplies candidates. The last move is where marks are lost.
A farmer has m of fencing to enclose a rectangular pasture along a straight river, and to split it into two pens by one fence perpendicular to the river, as in the figure. No fence is needed along the river. Let be the length of each of the three fences perpendicular to the river and the length of the side parallel to it, in metres.
- a) Write the constraint, the total area as a function of alone, and the domain of . Explain why the two endpoints of the domain may be included.
- b) Find the critical number of and use the closed interval method to find the dimensions of the pasture of largest area, and that area.
- c) The farmer's land only extends m back from the river, so . Find the dimensions of the largest pasture now.
- d) A classmate answers b) with: , so is a maximum. What exactly does this prove, and why is the maximum global here anyway?
- e) With metres of fencing and pens (so fences perpendicular to the river), prove that the optimal side parallel to the river is always .
Show the solution
Answers
- a) , , domain
- b) m, m, m (two pens of by m)
- c) on : m, m, m
- d) only gives a LOCAL maximum; it is global because it is the only critical number in and .
- e) , so
a) Counting the fence on the figure: three pieces of length and one of length , so the constraint is , that is . The objective is the total area , and substituting the constraint, . The domain comes from the geometry, not from the formula: and , and gives . So . The endpoints are degenerate pastures of area (no depth, or all the fence used across the river), and including them costs nothing: it makes the domain a CLOSED interval, on which the continuous polynomial is guaranteed an absolute maximum by the Extreme Value Theorem. That is the licence for the closed interval method.
b) , which is for , inside . There is no point where fails to exist. Closed interval method: compare the values at the critical number and at BOTH endpoints: , , . The absolute maximum is m, reached for m and m. The answer the question asks for is the DIMENSIONS and the AREA: a pasture m along the river and m deep, split into two pens of m by m, total area m. Writing only answers a question nobody asked.
c) The domain is now . The only critical number, , is OUTSIDE it and is not a candidate. On , , so is increasing and its maximum is at the right endpoint: m, m, m. The closed interval method gives the same answer: . Reporting the unconstrained answer here designs a pasture that does not fit on the land, and costs the whole question. The optimum of a constrained problem is often ON the boundary, with a derivative that is not there.
d) is the second derivative test: it proves that is a LOCAL maximum, that is, larger than the nearby values, and nothing about far away values. Two arguments make it global here, and one of them must be written. Either the closed interval method of b), which compares with the endpoints; or the fact that is the ONLY critical number on the interval and is a local maximum, so increases before it and decreases after it, and no other value can beat it. A local maximum with no justification of this kind is worth part of the marks only, because the next exercise with a larger endpoint will make the same sentence false.
e) Now , so on . gives , inside the interval, and vanishes at both endpoints, so this is the absolute maximum. Then . Check with b): , gives and . Whatever the number of pens, half the fence runs along the river side: a result worth remembering to check a numerical answer in two seconds.
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks from one visit to the next and tells you which chapter to tackle next. Create your space, an email is enough.