8

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?

2 Answers2

4

The answers are not equal, but they are equivalent. Remember, as Artem said, that the two answers differ by a constant. And antiderivatives are always defined up to a constant.

DonAntonio
  • 211,718
  • 17
  • 136
  • 287
Ted Shifrin
  • 115,160
3

If you evaluate the definite integral of $$ \int_{a}^{b} \sin(t)\cos(t) dt$$, then you get:$$\frac{1}{2}\left(\sin^2(b)-\sin^2(a)\right)=\frac{1}{2}\left(1-\cos^2(b)-1+\cos^2(a)\right)$$ $$=-\frac{1}{2}\left(\cos^2(b)-\cos^2(a)\right).$$ So while the indefinite integral might seem off, the definite integral has the same values.

Joseph G.
  • 1,217