I'm trying to solve this (not homework, if it matters), and both u-substitution and integration by parts are both yielding two different answers. Where am I going wrong?
Equation: $$\int \frac{(4x^3)}{(x^4+7)}dx$$
u-substitution answer: $$=\ln\big|(x^4+7)\big|+C$$
integration by parts answer: $$=\int4x^3*(x^4+7)^{-1}dx$$ $$=4x^3*\ln\big|x^4+7\big|-\int 12x^2*(x^4+7)^{-1}dx$$ $$=4x^3*\ln\big|x^4+7\big|-(12x^2*ln\big|x^4+7\big|-\int 24x*(x^4+7)^{-1}dx)$$ $$=4x^3*\ln\big|x^4+7\big|-(12x^2*ln\big|x^4+7\big|-24x*ln\big|x^4+7\big|-\int 24(x^4+7)^{-1}dx)$$
$$= 4x^3*\ln\big|x^4+7\big|-(12x^2*\ln\big|x^4+7\big|-(24x\ln\big|x^4+7\big|-24\ln\big|x^4+7\big|))$$ $$=(4x^3-12x^2+24x-24)(\ln\big|x^4+7\big|)$$
Just to answer your question about why using integration by parts allegedly leads to a different solution: In your work on integration by parts, you made a mistake at the start; you seem to have let $ u =4x^3$, $\,dv = (x^4 + 7)^{-1}\,dx$. The problem is in your conclusion that $uv = 4x^3 \ln(x^4+ 7)$.
It is NOT true that in integrating $dv$, we obtain $v = \ln(x^4 + 7)$. In order to integrate $dv$, you're attempting to integrate $$\int\dfrac{dx}{(x^4 +7)}\neq \ln(x^4 + 7) +c$$ We need $u = 4x^3$ to be back in the integrand to obtain $$\int \dfrac{(x^4 + 7)'}{x^4 + 7}\,dx = \ln(x^4 + 7) + c$$
In short, you're back to the original integral.