For the thin-walled cylinder, the radial component is negligible, thus the stress evaluation is based on longitudinal and hoop direction, and using Mohr's circle the equation can be derived.