Hi, I have a calculus question:
A right circular cylinder is placed inside a sphere of radius 5cm. Find the largest possible surface area of the cylinder.
If anyone is able to help with this, then thank you very much!
Firstly, draw a 2D cross section diagram:

Now, consider the red triangle. From pythagoras,
^2 = 5^2)
^2)
^2})
Note that only positive square root is chosen since r>0
The surface area of the cylinder is given by:

From the previous equation linking r and h,
^2) + 2\pi \sqrt{25-(\frac{h}{2})^2} h)
)
by collecting like terms.
To find the maximum value of SA, differentiate. Note I have replace SA with A for simplicity.

Solving for stationary points,

})
Reject obviously, since h>0

Substituting this value of h back into SA,
^2) + 2\pi \sqrt{25-(\frac{h}{2})^2} h = 25 (1+\sqrt{5}) \pi \text{ at } h = \sqrt{50-10 \sqrt{5}})
You can prove this is a minimum if you want, but there is a graph just in case you don't believe me


Hence, the largest possible value surface area of the cylinder is
 \pi cm^2)
provided I didn't make a mistake somewhere of course
