If the solution curve of dxdy=x−yx+y−2 passes through (2,1) and (k+1,2), k>0, then:
Solutions · 1
Official solution
With X=x−1,Y=y−1: Y=tX⟹tan−1t−21ln(1+t2)=lnX+c.
Through (2,1): c=0. Through (k+1,2): t=1/k, X=k:
\[\tan^{-1}\frac1k-\frac12\ln\left(1+\frac{1}{k^2}\right) = \ln k \implies 2\tan^{-1}\frac1k = \ln(k^2+1).\]