Solution
Let x m be the side of the square and y m be the radius of the circle.
The total length of the wire is equal to the perimeter of the square plus the circumference of the circle.
4x+2πy=28
Dividing by 2,
2x+πy=14
Therefore,
y=π14−2x....(1)
The area of the square is
x2
and the area of the circle is
πy2.
Let A be the combined area.
A=x2+πy2
Using equation (1),
A=x2+π(π14−2x)2
A=x2+π(14−2x)2
A=x2+π4(7−x)2
Differentiating with respect to x,
dxdA=2x−π8(7−x)
Also,
dx2d2A=2+π8
For minimum area,
dxdA=0
Therefore,
2x−π8(7−x)=0
2x=π8(7−x)
2πx=56−8x
(2π+8)x=56
x=2π+856
x=π+428
Since
dx2d2A=2+π8>0,
the combined area is minimum when
x=π+428.
The length of wire required to form the square is its perimeter:
4x=4(π+428)
4x=π+4112 m
The length of wire required to form the circle is
2πy=28−4x
2πy=28−π+4112
2πy=π+428(π+4)−112
2πy=π+428π m
Therefore, the wire should be cut into two pieces of lengths
π+4112 m
for the square and
π+428π m
for the circle.