Is it correct to say that this reduction formula is valid for all $n$ except $n=1$?
$$I_n=\int\sec^n(x)dx=\frac{1}{n-1}(\sec^{n-2}x\tan x)+\frac{n-2}{n-1}I_{n-2}+C$$
Which means that it would even work for $n\le0$?
Based on the proof using Integration by Parts I can find no reason to believe it is not valid for any value except $n=1$ (because of division by zero). But since I am just a beginner in math I am not sure. Help would be appreciated!
As an example; filling out the reduction formula for $n=0$ we get:
$$I_0=-\sin x\cos x+2I_{-2}$$ $$I_0=-\sin x\cos x+2\int \sec^{-2}{x}dx$$ $$I_0=-\sin x\cos x+2\int\cos^2xdx$$ $$I_0=-\sin x\cos x+x+\frac{1}{2}\sin{2x}$$ $$I_0=x$$
Which of course corresponds with:
$$I_0=\int\sec^0(x)dx=\int{1}dx=x$$
This question is closely related to this question: Why is the reduction-formula for $\int\sec^n(x)dx$ only valid for $n\ge3$?
Bonus-question: what is the deeper reason it breaks down at $n=1$?