Given,
dxdy+x2−1y=(x+1x−1)21 is a linear differential equation.
Here I.F.=e∫x2−1dx=e21ln(x+1x−1)=x+1x−1
General solution will be yx+1x−1=∫x+1x−1dx+C
⇒yx+1x−1=x−2ln(x+1)+c
Given y(2)=31
⇒c=2ln3−35
So, the equation of the curve is yx+1x−1=x−2ln(x+1)+2ln3−35
Now putting x=8, we get
37y(8)=8−4ln3+2ln3−35
⇒7y(8)=19−6ln3