$$\int \frac{x^3}{1+x^2}dx$$
what I did was,
$t = x^4$
$\displaystyle \frac{dt}{dx} = 4x^3$
$4 \displaystyle \int \frac{1}{1+\sqrt t}dt$
$4[2(\sqrt t - \ln(\sqrt t +1)]$
$8x^2 - 8\ln(x^2 +1)$
The answer given in my book is,
$\displaystyle \frac{x^2}{2} - \frac{\ln(x^2 + 1)}{2}$
Any help would be appreciated.
apanpapan3's comment explains your error, but Piano Land's recommendation also works. Since $u=x^2\implies du = 2x dx$, your integral is $$\frac{u du}{2(1+u)}=\frac{1}{2}\int(1-\frac{1}{1+u})du=\frac{u-\ln (1+u)}{2}+C=\frac{x^2-\ln (1+x^2)}{2}+C.$$