Particular solution of the differential equation \( (x-1)\displaystyle\frac{dy}{dx}=2xy \), when \( y(2)=1 \) is:- (consider \( \log_e x=\log x \))
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \( \log|y|-\log(x-1)^2=2x-4 \)
The variables separate:
\( \displaystyle \frac{dy}{y}=\frac{2x}{x-1}\,dx \)
Since the numerator is not of lower degree, divide 2x by (x − 1):
\( \displaystyle \frac{2x}{x-1}=\frac{2(x-1)+2}{x-1}=2+\frac{2}{x-1} \)
Integrating,
\( \log|y|=2x+2\log|x-1|+C \)
\( \log|y|-\log(x-1)^2=2x+C \)
Put x = 2, y = 1 (so log 1 = 0 and log 12 = 0):
\( 0-0=4+C \)
\( C=-4 \)
Hence \( \log|y|-\log(x-1)^2=2x-4 \).