Optimization, multivariable calculus

  • Thread starter miglo
  • Start date
  • #1
97
0

Homework Statement


the base of an aquarium with given volume V is made of slate and the sides are made of glass. if slate costs five times as much (per unit area) as glass, find the dimensions of the aquarium that minimize the cost of the materials.


Homework Equations





The Attempt at a Solution


so this problem fall under finding max, min and saddle points of a function
i think that lagrange multipliers can also be used but id like to first solve it by finding critical points and then the minimum
so first i know that V=xyz and and the total area of the glass will be 2xz+2yz while the area of the base slate will be xy
then the cost function will be C(x,y,z)=the cost of the slate + the cost of the glass
so then C(x,y,z)=5(2xz+2yz)+(2xz+2yz)= 12xz+12yz=z(12x+12y)(?)
im not really sure what to do next, but what i though of doing was to solve for z in V=xyz, then using that z by replacing it for the z in C(x,y,z) then i would only have a function of 2 variables C(x,y) and then i can just go ahead and find partial derivatives and use the second derivative test to find the minimum
is this the correct way to go about finding the dimensions?
 

Answers and Replies

  • #2
Ray Vickson
Science Advisor
Homework Helper
Dearly Missed
10,706
1,728

Homework Statement


the base of an aquarium with given volume V is made of slate and the sides are made of glass. if slate costs five times as much (per unit area) as glass, find the dimensions of the aquarium that minimize the cost of the materials.


Homework Equations





The Attempt at a Solution


so this problem fall under finding max, min and saddle points of a function
i think that lagrange multipliers can also be used but id like to first solve it by finding critical points and then the minimum
so first i know that V=xyz and and the total area of the glass will be 2xz+2yz while the area of the base slate will be xy
then the cost function will be C(x,y,z)=the cost of the slate + the cost of the glass
so then C(x,y,z)=5(2xz+2yz)+(2xz+2yz)= 12xz+12yz=z(12x+12y)(?)
im not really sure what to do next, but what i though of doing was to solve for z in V=xyz, then using that z by replacing it for the z in C(x,y,z) then i would only have a function of 2 variables C(x,y) and then i can just go ahead and find partial derivatives and use the second derivative test to find the minimum
is this the correct way to go about finding the dimensions?
Try it and see! The only real way to learn is to go ahead and do it. (Note: an alternative would be to use a Lagrange multiplier method.)

RGV
 
  • #3
97
0
i actually did try right at after posting my question
heres what i got
C(x,y,z)=z(12x+12y)
solving for z in V=xyz gives me z=V/(xy)
then C(x,y)=V/(xy)(12x+12y)=12V/y+12V/x
C_x(partial derivative)=-12V/x^2 and C_y=-12V/y^2
this leads to a problem because then i have no critical points
any suggestions?
 
  • #4
Ray Vickson
Science Advisor
Homework Helper
Dearly Missed
10,706
1,728
i actually did try right at after posting my question
heres what i got
C(x,y,z)=z(12x+12y)
solving for z in V=xyz gives me z=V/(xy)
then C(x,y)=V/(xy)(12x+12y)=12V/y+12V/x
C_x(partial derivative)=-12V/x^2 and C_y=-12V/y^2
this leads to a problem because then i have no critical points
any suggestions?
You made a error writing down the cost. Cost = 2xz+2yz + 5xy [=cost of 2 sides + cost of 2 ends + cost of bottom---assuming no top]. When you use the volume constraint to eliminate z, you get an expression C(x,y) that does have a stationary point in x>0,y>0.

RGV
 
  • #5
97
0
ohh sweet thanks!
i left a question mark after writing down the cost function because i wasnt quite sure i had the right function for the cost
 

Related Threads on Optimization, multivariable calculus

Replies
0
Views
9K
Replies
7
Views
935
  • Last Post
Replies
3
Views
14K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
2
Views
3K
  • Last Post
Replies
7
Views
2K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
1
Views
972
  • Last Post
Replies
1
Views
1K
Top