Given the differential equation xdy=(2x2+1)dx, where x=0, with the initial condition y=1 when x=1.
Divide both sides by x:
dy=x2x2+1dx
Split the fraction:
dy=(x2x2+x1)dx
dy=(2x+x1)dx
Integrate both sides:
∫dy=∫(2x+x1)dx
y=x2+log∣x∣+C
where C is the constant of integration.
Using the initial condition y=1 when x=1:
1=(1)2+log∣1∣+C
1=1+0+C
C=0
Therefore, the particular solution is:
y=x2+log∣x∣