Question 13 Marks
Solve the following differential equation :
$
\left(x^2-1\right) \frac{d y}{d x}+2 x y=\frac{1}{x^2-1},|x| \neq 1
$
$
\left(x^2-1\right) \frac{d y}{d x}+2 x y=\frac{1}{x^2-1},|x| \neq 1
$
Answer
View full question & answer→From the given differential equation
$
\begin{aligned}
\left(x^2-1\right) \frac{d y}{d x}+2 x y & =\frac{1}{x^2-1} \\
\Rightarrow \quad \frac{d y}{d x}+\frac{2 x}{x^2-1} y & =\frac{1}{\left(x^2-1\right)^2}
\end{aligned}
$
Comparing equation (1) with $\frac{d y}{d x}+ P y= Q$,
$
P=\frac{2 x}{x^2-1} \text { and } Q=\frac{1}{\left(x^2-1\right)^2}
$
Integrating factor I.F. $=e^{\int \frac{2 x}{x^2-1} d x}$
Let$
x^2-1=t
$
$
\begin{array}{ll}
\therefore & 2 x d x=d t \\
\therefore & \text { I.F. }=e^{\int \frac{d t}{t}}=e^{\int \log t}=t=\left(x^2-1\right)
\end{array}
$
Hence the solution of this differential equation will be :
$
\begin{array}{rlrl}
& y . I . F . =\int(I . F .)(Q) d x \\
\Rightarrow & y\left(x^2-1\right) =\int\left(x^2-1\right) \cdot \frac{1}{\left(x^2-1\right)^2} d x+C \\
\Rightarrow & y\left(x^2-1\right) =\int \frac{d x}{x^2-1}+C \\
\Rightarrow & y\left(x^2-1\right) =\frac{1}{2} \log \left|\frac{x-1}{x+1}\right|+C \\
\therefore & y =\frac{1}{2\left(x^2-1\right)} \log \left|\frac{x-1}{x+1}\right|+\frac{C}{x^2-1}
\end{array}
$
$
\begin{aligned}
\left(x^2-1\right) \frac{d y}{d x}+2 x y & =\frac{1}{x^2-1} \\
\Rightarrow \quad \frac{d y}{d x}+\frac{2 x}{x^2-1} y & =\frac{1}{\left(x^2-1\right)^2}
\end{aligned}
$
Comparing equation (1) with $\frac{d y}{d x}+ P y= Q$,
$
P=\frac{2 x}{x^2-1} \text { and } Q=\frac{1}{\left(x^2-1\right)^2}
$
Integrating factor I.F. $=e^{\int \frac{2 x}{x^2-1} d x}$
Let$
x^2-1=t
$
$
\begin{array}{ll}
\therefore & 2 x d x=d t \\
\therefore & \text { I.F. }=e^{\int \frac{d t}{t}}=e^{\int \log t}=t=\left(x^2-1\right)
\end{array}
$
Hence the solution of this differential equation will be :
$
\begin{array}{rlrl}
& y . I . F . =\int(I . F .)(Q) d x \\
\Rightarrow & y\left(x^2-1\right) =\int\left(x^2-1\right) \cdot \frac{1}{\left(x^2-1\right)^2} d x+C \\
\Rightarrow & y\left(x^2-1\right) =\int \frac{d x}{x^2-1}+C \\
\Rightarrow & y\left(x^2-1\right) =\frac{1}{2} \log \left|\frac{x-1}{x+1}\right|+C \\
\therefore & y =\frac{1}{2\left(x^2-1\right)} \log \left|\frac{x-1}{x+1}\right|+\frac{C}{x^2-1}
\end{array}
$