Question Statement
Solve the differential equation:
dxdy=1+xx2y2
Background and Explanation
This is a separable differential equation, where we can rearrange the equation to isolate all y terms on one side and all x terms on the other. The key challenge here is integrating the rational function 1+xx2, which requires polynomial long division or algebraic manipulation to simplify before integration.
Solution
We begin by dividing both sides by y2 and multiplying by dx to separate the variables:
y2dy=1+xx2dx
To integrate 1+xx2, we perform polynomial division. Notice that:
x2=(x−1)(x+1)+1=x2−1+1
Therefore:
1+xx2=1+x(x−1)(1+x)+1=x−1+1+x1
Now we integrate both sides of the separated equation:
∫y21dy=∫(x−1+1+x1)dx
Breaking this into individual integrals:
∫y−2dy=∫xdx−∫1dx+∫1+x1dx
Left side:
∫y−2dy=−2+1y−2+1=−1y−1=−y1
Right side:
∫xdx−∫1dx+∫1+x1dx=2x2−x+ln(1+x)+c1
Note: We assume x>−1 so that ln(1+x) is defined. If x<−1, we would write ln∣1+x∣.
Equating both sides:
−y1=2x2−x+ln(1+x)+c1
Multiply both sides by −1:
y1=−2x2+x−ln(1+x)−c1
Redefining the constant c=−c1 (since an arbitrary constant remains arbitrary regardless of sign):
y1=−2x2+x−ln(1+x)+c
Or equivalently:
y=−2x2+x−ln(1+x)+c1
- Separation of variables: dxdy=f(x)g(y)⟹g(y)dy=f(x)dx
- Polynomial long division: x+1x2=x−1+x+11
- Power rule for integration: ∫xndx=n+1xn+1+C (for n=−1)
- Logarithmic integration: ∫u1du=ln∣u∣+C
- Constant absorption: −c1 can be rewritten as +c where c is an arbitrary constant
Summary of Steps
- Separate variables: Rearrange to get y2dy=1+xx2dx
- Simplify: Use polynomial division to write 1+xx2=x−1+1+x1
- Integrate: Compute ∫y−2dy=∫(x−1+1+x1)dx
- Evaluate: Obtain −y1=2x2−x+ln(1+x)+c1
- Solve: Multiply by −1 and redefine constants to get y1=−2x2+x−ln(1+x)+c