Solution:
Concept: From sin2θ+cos2θ=1, we get sin2θ−1=−cos2θ, and 1+tan2θ=sec2θ; also secθ=cosθ1.
To prove: (sin2θ−1)(tan2θ+1)+1=0
Method: We start from the left-hand side and change it, one step at a time, until it becomes the other side.
LHS=(sin2θ−1)(tan2θ+1)+1
Step 1 — Simplify the first bracket.
Since sin2θ+cos2θ=1, the bracket sin2θ−1 equals −cos2θ.
=(−cos2θ)(tan2θ+1)+1
Step 2 — Simplify the second bracket.
We use the identity 1+tan2θ=sec2θ.
=(−cos2θ)(sec2θ)+1
Step 3 — Write sec²θ as a reciprocal.
We replace sec2θ by cos2θ1.
=−cos2θ×cos2θ1+1
Step 4 — Cancel cos²θ.
The cos2θ above and below cancel, so the product is −1.
=−1+1
Step 5 — Add.
Finally −1+1=0, which is the RHS.
=0
Watch out: sin2θ−1 is −cos2θ (negative), not +cos2θ.
Therefore, LHS = RHS, so the identity is proved.