Concept Applied:
Use partial fraction to separate the terms.
Solution:
The given differential equation is:
dxdy=x(1+x2)1
Integrating both sides:
∫dy=∫x(1+x2)dx
Let us break down the right-hand side using partial fractions.
x(1+x2)1=xA+1+x2Bx+C
Now, multiply both sides by x(1+x2):
1=A(1+x2)+(Bx+C)x
Expanding and simplifying:
1=A(1+x2)+Bx2+Cx
Equating coefficients:
A+B=0,C=0,A=1
Thus, A=1, B=−1, and C=0.
Substitute these values back into the equation:
x(1+x2)1=x1−1+x2x
Now, integrating both sides:
y=∫(x1−1+x2x)dx
This simplifies to:
y=∫x1dx−∫1+x2xdx
Now, solving each integral:
y=log∣x∣−21log(1+x2)+C
Thus, the general solution is:
y=log(1+x2∣x∣)+C