I was working on trig homework and came across a question that I didn't understand how to even begin to approach. It asked us to use trigonometric identities to write $\csc(x)$ in terms of $\sec(x)$.
I'm not sure what I can do. I had though the cofunction identity $\sec \left(\frac{\pi}{2} - x \right) = \csc x$ was the answer, but I was told I was wrong, with no explanation. This identity was on a handout provided by the teacher.
How would I go about solving this problem and problems like it? Also, why was my initial answer wrong? Any help would be greatly appreciated.