A and T factors

Compute the integral: xcosxdx

Solution

(1) Choose u and v:

Set u(x)=x because x simplifies when differentiated.

(By the trick: x is Algebraic, i.e. more “u”, and cosx is Trig, more “v”.)

Remaining factor must be v=cosx.


(2) Compute u and v:

u=xu=1v=cosxv=sinx

Key chart:

u=xv=cosxu=1v=sinxuvoriginaluvfinal

(3) Evaluate IBP formula:

uvdx=uvuvdxxcosxdx=xsinx1sinxdxxsinx+cosx+C

Why IBP?

The rationale of IBP is that 1sinxdx is easier to compute than xcosxdx.

Hidden A

Compute the integral:

lnxdx