The given differential equation isdxdy=(1+x+x2)(1−y+y2),y(0)=21.
Separate the variables:1−y+y2dy=(1+x+x2)dx.
Integrate both sides:∫1−y+y2dy=∫(1+x+x2)dx.
Left integral
Write the quadratic in completed-square form:1−y+y2=y2−y+1=(y−21)2+43.
Use the standard formula ∫u2+a2du=a1tan−1(au)+C.
Here u=y−21,a=23,du=dy. Thus
∫1−y+y2dy=32tan−1(32(y−21))+C1.
Right integral
∫(1+x+x2)dx=x+2x2+3x3+C2.
Combining the two antiderivatives and absorbing constants into a single constant C, we obtain
32tan−1(32(y−21))=x+2x2+3x3+C.
Use the initial condition
At x=0,y=21, the left side is 32tan−1(0)=0. Hence C=0.
Therefore the relation between x and y is
32tan−1(32(y−21))=x+2x2+3x3.(1)
Find y(1)
Substitute x=1 in (1):
Right side: 1+21+31=611.
Left side: 32tan−1(32(y(1)−21)).
Hence32tan−1(32y(1)−1)=611.
Multiply by 23:
tan−1(32y(1)−1)=12113.
Take the tangent of both sides:
32y(1)−1=tan(12113).
Therefore2y(1)−1=3tan(12113).
Hence (2y(1)−1)=3tan(12113). This matches Option C.