(i) Use 1−cos2x=2sin2x, 1+cos2x=2cos2x and sin2x=2sinxcosx.
1+sin2x−cos2x=2sin2x+2sinxcosx=2sinx(sinx+cosx)
1+sin2x+cos2x=2cos2x+2sinxcosx=2cosx(cosx+sinx)
Cancel the common factor 2(sinx+cosx). It is not zero wherever the left side is defined.
1+sin2x+cos2x1+sin2x−cos2x=cosxsinx=tanx
Hence proved.
(ii) At x=15∘, 2x=30∘, with sin30∘=21 and cos30∘=23.
LHS=1+21+231+21−23=3+33−3
=9−3(3−3)2=612−63=2−3
For the RHS, use tan(A−B) with tan45∘=1 and tan30∘=31.
tan15∘=tan(45∘−30∘)=1+311−31=3+13−1
=3−1(3−1)2=2−3
Both sides equal 2−3, so the identity holds at x=15∘.