I would like to understand how would the original identity of $$ \sin^2 \theta + \cos^2 \theta = 1$$ derives into
$$ 1 + \cot^2 \theta = \csc^2 \theta $$
This is my working:
a) $$ \frac{\sin^2 \theta}{ \sin^2 \theta } + \frac{\cos^2 \theta }{ \sin^2 \theta }= \frac 1 { \sin^2 \theta } $$
b) $$1 + \cot^2 \theta = \csc^2 \theta $$ How did the $ \tan^2 \theta + 1 = \sec^2 \theta$ comes into the picture?