Solve the following differential equation: (1-x²) ,dy+xy ,dx=xy² ,dx
Question 703 marksMedium
Solve the following differential equation:
(1−x2)dy+xydx=xy2dx
Solution:
Concept: We collect the dx terms, separate the variables, and split y(y−1)1 into partial fractions before integrating.
Step 1 — Collect the dx terms.
We move xydx to the right and take x common.
(1−x2)dy=xy2dx−xydx
(1−x2)dy=x(y2−y)dx
Step 2 — Separate the variables.
We divide by y(y−1)(1−x2), with y=0,1 and x=±1.
y(y−1)dy=1−x2xdx
Step 3 — Use partial fractions on the left.
Over the common denominator y(y−1), the difference y−11−y1 has numerator y−(y−1). This numerator is just 1, so we can write the left side as a difference.
y(y−1)1=y−11−y1
Step 4 — Integrate both sides.
On the right, the derivative of 1−x2 is −2x, so the integral is −21log∣1−x2∣. We add one arbitrary constant c.
log∣y−1∣−log∣y∣=−21log∣1−x2∣+c
logyy−1+21log∣1−x2∣=c
Therefore, the general solution is logyy−1+21log∣1−x2∣=c, where c is an arbitrary constant.