Write both functions in terms of sinx and cosx.
x→0lim(cosecx−cotx)=x→0lim(sinx1−sinxcosx)
=x→0limsinx1−cosx
Use 1−cosx=2sin22x and sinx=2sin2xcos2x.
=x→0lim2sin2xcos2x2sin22x
Cancel 2sin2x, which is not zero for x close to 0 but x=0.
=x→0limtan2x
=tan0
=0
∴ The limit is 0.