$$\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.
Those two results are actually the same, as you can see here:
http://www.wolframalpha.com/input/?i=%28x-3%29%5E14%2F14%2B6%28x-3%29%5E13%2F13%2B3%28x-3%29%5E12%2F4
http://www.wolframalpha.com/input/?i=x%5E2%28x-3%29%5E12%2F12-x%28x-3%29%5E13%2F78%2B%28x-3%29%5E14%2F1092
in the "Expanded form" entry.