General solution of tan2x+1−3tanx−3=0 is
nπ+π6
nπ+π4
nπ+π2
nπ+π3,nπ−π4
We have tan2x+1−3tanx−3=0
⇒tanx=3 or tanx=−1
⇒x=nπ+π3or x=nπ−π4