i've been asked to integrating $2 x^3 \sqrt{x^2+1}$ and i did this by trig subtitution $ x= \tan{o} $ it turn
$$ \int 2 \tan^3{ o} \sqrt{\tan^2 {o} +1} do$$ by identity of trig and some customize
$$ \int 2 (\sec^2 o - 1) \sec o \tan o do $$ merge things up
$$ \int 2 ( \sec^2 o \sec o \tan o - \sec o \tan o do) $$ here i change $\sec o$ in front part with $u$ and $\sec o \tan o $ with $ du $ and doing power rule
$$ 2(\frac{1} {3} \sec^3 o - \sec o) $$ in tangent expression
$$ 2(\frac{1} {3} (1 + \tan^2 o) \sqrt {1 + \tan^2 o} - \sqrt {1 + \tan^2 o)} $$ and brings x back
$$ 2(\frac{1} {3} (1 + x^2) \sqrt {1 + x^2} - \sqrt {1 + x^2})$$
but my answer seems wrong when i checked it , so please tell me where did i go wrong
$$ \int 2 x^3 \sqrt{x^2+1} dx = 2 (\tan^3 t)\sqrt{\tan ^2 t+1}(1+\tan ^2 t) dt $$
You have ignored the $dx = (1+\tan ^2 t) dt $ part in your integral.