Starting from the formula cos^2(x)+ sin^2(x)=1, prove that tan^2(x)+1 =sec^2(x).

divide each term by cos^2 x and there you have it.