I had my first integration test today. There, I met up with a integrand that gives two different functions as a whole.
Taking $t=\tan x$:-
$$\int \sec^2x\tan x dx = \int t \ dt=\frac{t^2}{2}+C=\frac{\tan^2x}{2}+C$$
Taking $t=\sec x$:- $$\int \sec^2x\tan x dx = \int t \ dt=\frac{t^2}{2}+C=\frac{\sec^2x}{2}+C$$
Which is the correct answer to the question?
Are there any other examples except $\csc^2x\cot x$ and this one?