If I were to try and take $$\int{\mathrm{sin}(t)\mathrm{cos}(t)dt} $$ I would either take $u=\mathrm{sin}(t) $, yeilding a result of $\frac{1}{2} \mathrm{sin}^2(t) + C$, or I would take $u=\mathrm{cos}(t) $, yeilding a result of $-\frac{1}{2} \mathrm{cos}^2(t)+ C$.
These two results are not equivalent. What just happened?