Take x = pi/4x=π4:
Left Hand Side = sin^2(pi/4)+4sin(pi/4)+3/cos^2(pi/4)=sin2(π4)+4sin(π4)+3cos2(π4)
= (sqrt(2)/2)^2+4(sqrt(2)/2)+3/(sqrt(2)/2)^2=(√22)2+4(√22)+3(√22)2
=1/2 + 2sqrt(2) + 6=12+2√2+6
= 13/2+2sqrt(2)=132+2√2
Right Hand Side = sin(pi/4)+3/(1-sin(pi/4))=sin(π4)+31−sin(π4)
=sqrt(2)/2 + 3/(1-sqrt(2)/2)=√22+31−√22
=sqrt(2)/2 + (3(1+sqrt(2)/2))/(1/2)=√22+3(1+√22)12
=sqrt(2)/2 + (12+6sqrt(2))/2=√22+12+6√22
=6+7/2sqrt(2)=6+72√2
As the let hand side does not equal the right hand side at x=pi/4x=π4, the given equality is not an identity.