Problem
A post office regulation once stated that no parcel is to be of such a size that its height plus its girth exceeds 6 feet. What is the greatest volume that can be sent by post for a package of circular cross-section?
Volume of a cylinder
[MATH]f(r,h) = \pi r^2 h[/MATH]
Constraint
[MATH] height + girth = 6\\ girth\,of\,a\,cylinder= 2 \pi r\\ h + 2 \pi r = 6 \Longrightarrow h = 6 - 2 \pi r [/MATH]
[MATH]f(r,6 - 2 \pi r) = 6 \pi r^2 - 2 \pi^2 r^3[/MATH]The function becomes a single variable derivative problem. Set [MATH]f' = 0[/MATH] yields [MATH]r=\frac{2}{\pi}[/MATH], and the volume is [MATH]\frac{8}{\pi}[/MATH] cubic feet. Easy enough.
This problem was meant to be solved as a partial derivative. How to work in the constraint and keep both independent variables?
A post office regulation once stated that no parcel is to be of such a size that its height plus its girth exceeds 6 feet. What is the greatest volume that can be sent by post for a package of circular cross-section?
Volume of a cylinder
[MATH]f(r,h) = \pi r^2 h[/MATH]
Constraint
[MATH] height + girth = 6\\ girth\,of\,a\,cylinder= 2 \pi r\\ h + 2 \pi r = 6 \Longrightarrow h = 6 - 2 \pi r [/MATH]
[MATH]f(r,6 - 2 \pi r) = 6 \pi r^2 - 2 \pi^2 r^3[/MATH]The function becomes a single variable derivative problem. Set [MATH]f' = 0[/MATH] yields [MATH]r=\frac{2}{\pi}[/MATH], and the volume is [MATH]\frac{8}{\pi}[/MATH] cubic feet. Easy enough.
This problem was meant to be solved as a partial derivative. How to work in the constraint and keep both independent variables?