Let h be the height and R be the radius of the base of the inscribed cylinder. Let V be the volume of the cylinder. Then, V=πR2h...(i)
From ΔOCA, we have r2=(2h)2+R2 ⇒R2=r2−4h2 ∴V=π(r2−4h2)h ⇒V=πr2h−4πh3 ⇒dhdv=πr2−43πh2 and dh2d2V=−23πh
For maximum or minimum values of V, we must have dhdV=0 ⇒πr2−43πh2=0 ⇒h2=34r2 ⇒h=32r [neglectingh=3−2r∵dh2d2V∣∣h=3−2r>0]
Now, (dh2d2V)h=32r=−3πr<0.
Thus, V is maximum when h=32r .
Putting h=32r in R2=r2−4h2, we obtain R=32r. [neglecting -ve value ofR] ∴ The maximum volume of the cylinder is given by V=πR2h=π(32r2)(32r)=334πr2