Question
Mathematics Question on Differential Equations
The particular solution of the differential equation (y−x2)dy=(1−x3)dx with y(0)=1, is:
A
y2=x2+2loge∣1+x∣+1
B
y2=1+x2+2loge21+x
C
y2=x2+2x−3
D
y2=x2+2x+1
Answer
y2=x2+2loge∣1+x∣+1
Explanation
Solution
Rewrite the given differential equation as:
dxdy=y−x2y1−x3.
Factor y in the denominator:
dxdy=y(1−x2)1−x3.
Separate variables:
y(1−x2)dy=(1−x3)dx.
Integrate both sides:
∫ydy=∫1−x21−x3dx.
The left-hand side integrates to:
∫ydy=2y2.
Simplify the right-hand side using partial fractions:
1−x21−x3=1+x.
Thus:
∫(1+x)dx=x+2x2.
Equating both sides:
2y2=x+2x2+C.
Multiply through by 2:
y2=x2+2x+2C.
Using the initial condition y(0)=1:
12=0+0+2C⟹C=21.
Thus, the solution is:
y2=x2+2x+1.