A wire of length 20 m is cut into two pieces. Piece of length ℓ1 forms a square, and piece of length ℓ2 forms a circle, where ℓ1+ℓ2=20.
Area of the square: A1=(4ℓ1)2=16ℓ12
Area of the circle: Circumference = ℓ2=2πr, so r=2πℓ2 and A2=πr2=4πℓ22
Minimize: f=2A1+3A2=8ℓ12+4π3ℓ22
Substituting ℓ2=20−ℓ1 and differentiating:
f′(ℓ1)=4ℓ1−2π3(20−ℓ1)=0
4πℓ1=23(20−ℓ1)
2πℓ1=3(20−ℓ1)=60−3ℓ1
πℓ1+6ℓ1=120
ℓ1=π+6120,ℓ2=20−π+6120=π+620π
The ratio:
ℓ2πℓ1=π+620ππ×π+6120=20120=6
Therefore, πℓ1:ℓ2=6:1.