$$ ∫udv=(u)(v)-∫vdu $$


General Notes:

Example:

$$ ∫sin(x)cos(x)dx $$

  1. let u=sin(x) then dv=cos(x)dx
  2. therefore we get:

$$ (sin(x))(-sin(x))-∫-sin(x)cos(x) $$

  1. Taking out the negative gets you:

$$ (sin(x))(-sin(x))+∫sin(x)cos(x) $$

  1. We can now add this new integral to our original, as they are the same:

$$ 2∫sin(x)cos(x)=(sin(x))(-sin(x))=sin^2(x)/2 $$

I just added the right same integral to our original to get 2 of them, then solving you divide by 2 and multiply the sin together which gets you $sin^2(x)$ all over 2