If ∫tanx1+tanx+tan2xdx=x−K√Atan−1(Ktanx+1√A)+C, (C is a constant of integration), then the ordered pair (K, A) is equal to.
∫tanx+1+tan2xtanx+1+tan2xdx−∫(1+tan2x)1+tan+tan2xdx
=x−∫sec2+dx1+tanx+tan2x
=x−∫dtt2+t+14+1−14
=x−∫dt(t+12)2+(32)2
=x−2c3tan−(t+112c3/2)+c
x−2c3tan−(2tanx+1√3)+c
A=3
K=2.
Thus the answer is (2,3)