$$\int x^2(x-3)^{11}\,dx$$
By substituting (let $t=(x-3)$), it results in one answer and integration by parts (let $u=x^2$ and $v=(x-3)^{11}$), results in something that is totally different from the first.
by substitution method
let $t=(x-3)$ then $x^2=(t^2+6t+9)$
$\int x^2(x-3)^{11}\,dx=\int (t^2+6t+9)t^{11}\,dt$
$=\frac{t^{14}}{14}+\frac{6t^{13}}{13}+\frac{3t^{12}}4 +C$
$=\frac{(x-3)^{14}}{14}+\frac{6(x-3)^{13}}{13}+\frac{3(x-3)^{12}}4 +C$
and by Integration by parts
$\int x^2(x-3)^{11}\,dx$
$=\frac{x^2(x-3)^{12}}{12}-\int\frac{(x-3)^{12}}{12}(2x)dx$
$=\frac{x^2(x-3)^{12}}{12}-\frac{x(x-3)^{13}}{78}+\frac{(x-3)^{14}}{1092} +C$
these two solutions are different from each other.