Exercise 1: A garden with two fence prices: a budget, then a fixed area
Thomas solves every applied optimization problem in the same order: read the problem, draw a picture, introduce variables, write the quantity to optimize as a function of ONE variable using the constraint, find its domain, then test the critical numbers AND justify that the extreme value found is absolute. The derivative is the easy line. The algebra before it and the justification after it are where the marks go.
A rectangular vegetable garden is fenced on its four sides. The front side, along the street, gets a decorative fence at dollars per metre; the back and the two sides get wire mesh at dollars per metre. Let be the length of the front (and of the back) and the depth of the garden, in metres, as in the figure.
- a) The budget is dollars. Write the cost constraint, the area as a function of alone, and the domain of .
- b) Find the dimensions of the garden of largest area, and that area, with the Closed Interval Method.
- c) Reverse problem: the garden must have an area of m and cost as little as possible. Write the cost , rewrite it with a negative exponent, differentiate, and write as ONE factored fraction. Justify that the critical number gives the absolute minimum on the whole domain.
- d) A classmate writes, in c), , concludes that is increasing and that the cheapest garden has as small as possible. Find the algebra error, compute the correct , and explain why the conclusion was absurd anyway.
- e) Compare the answers of b) and c), and show that at the optimum of b) the budget is split exactly in half between the front and back on one side and the two sides on the other.
Show the solution
Answers
- a) , so ; on
- b) m, m, m
- c) , : m, m, dollars
- d) ; ; as
- e) The same garden answers both; dollars and dollars.
a) The front and the back together cost dollars, the two sides dollars. The constraint is ; dividing by first keeps the numbers small: , so . The area is . Domain: and , so . Both endpoints are flat gardens of area ; including them makes the interval closed, and , a polynomial, is continuous on it: the Closed Interval Method applies.
b) , zero for , inside . Values: , , . The largest garden is m along the street and m deep, with an area of m. The answer is the pair of dimensions AND the area: alone answers nothing.
c) Now the constraint is the area, , so , and the cost is , on the domain : any positive front works, and there is no endpoint. Power rule on the negative exponent: . Over the common denominator : . This ONE factored fraction does all the work. On , and , so the sign of is the sign of : negative on , positive on . decreases then increases on the WHOLE domain, so is the absolute minimum (the root is not in the domain). Then m and dollars.
d) The error is in the derivative of . Rewritten as , the power rule gives : the exponent comes down as a factor and carries its MINUS sign. The classmate lost it. Correctly, . The conclusion was absurd before any derivative: as , , a garden cm wide and km deep needs an enormous amount of mesh. A sign check at one convenient point, here , catches the lost minus in five seconds.
e) Both problems give the same garden, m by m, with area m and cost dollars. It is not a coincidence: if a garden of area could be fenced for less than dollars, the leftover money would enlarge it beyond m, contradicting b). At the optimum, the front and back cost dollars and the two sides dollars: half of the budget each. In general, has for , whatever the budget .
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.