If the solution curve of the differential equation \[\frac{d y}{d x}=\frac{x+y-2}{x-y}\] passes through the points (2,1) and \[(\mathrm{k}+1,2), \mathrm{k}>0\], then
Solutions · 1
Official solution
dxdy=x−yx+y−2=(x−1)−(y−1)(x−1)+(y−1)
Let x−1=X,y−1=Y
\[
\frac{d Y}{d X}=\frac{X+Y}{X-Y}
\]
Let Y=tX⇒dXdY=t+XdXdtt+XdXdt=1−t1+tXdXdt=1−t1+t−t=1−t1+t2∫1+t21−tdt=∫XdX
\[
tan−1t−21ln(1+t2)=ln∣X∣+ctan−1(x−1y−1)−21ln(1+(x−1y−1)2)=ln∣x−1∣+c
\]
Curve passes through (2,1)0−0=0+c⇒c=0
If (k+1,2) also satisfies the curve
\[
tan−1(k1)−21ln(k21+k2)=lnk2tan−1(k1)=ln(1+k2)
\]