Solve (x2−1)dydx+2xy=1x2−1
Given differential equation is
(x2−1)dydx+2xy=1x2−1
⇒dydx+(2xx2−1)y=1(x2−1)2
which is a linear differential equation,
On comparing it with dydx+Py=Q, we get
P=2xx2−1,Q=1(x2−1)2IF=e∫Pdx=e∫(2xx2−1)dx
Put x2−1=t⇒2xdx=dt∴IF=e∫dtt=elogt=t=(x2−1)
The complete solution is
y.IF=∫Q.IF+K⇒y.(x2−1)=∫1(x2−1)2.(x2−1)dx)+K⇒y.(x2−1)−∫dx(x2−1)+K⇒y.(x2−1)=12log(x−1x+1)+K