$$\eqalign{\tan^2\theta-\sec^2\theta &=\tan^2\theta-\dfrac1{\cos^2\theta}\\&=\dfrac{\sin^2\theta}{\cos^2\theta}-\dfrac1{\cos^2\theta}\\&=-\dfrac{\cos^2\theta}{\cos^2\theta}\\&=-1.}$$ note:$\theta≠ (2k+1)\frac{\pi}{2}$, $k$ : integer number
May i know if my answer is correct or not..
You seem to have a penchant for expressing everything in terms of sines and cosines when simplifying trigonometric expressions. I used to do the same (because that's the way that Teacher did it), but I soon found it to be too cumbersome.
After a while, I started using 3 different triangles to help me out. Please note that I didn't draw the 3 triangles to scale. Also, I always expressed "$1$" as "$1^2$" to remind me that I'm using the Pythagorean theorem.
By using the second triangle we have $$\tan^2\theta - \sec^2\theta = (\sec^2\theta - 1^2) - \sec^2\theta = -1^2 = -1$$