prove that tan^2x+ sec^2x =1

check for typos. what you have written is not correct.

sin^2x + cos^2x = 1
divide by cos^2
tan^2x + 1 = sec^2x