Separate the variables:
y2−y+1dy=(x2+x+1)dx
Complete the square in the denominator:
(y−21)2+(23)2dy=(x2+x+1)dx
Integrate both sides:
32tan−1(23y−21)=3x3+2x2+x+C
32tan−1(32y−1)=3x3+2x2+x+C
Using y(0)=21: 0=0+0+0+C⇒C=0. So
32tan−1(32y−1)=3x3+2x2+x
Put x=1:
32tan−1(32y(1)−1)=31+21+1=62+3+6=611
tan−1(32y(1)−1)=12113
32y(1)−1=tan(12113)
⇒2y(1)−1=3tan(12113)
Hence the answer is option (C).