A and T factors

Compute the integral: ∫xcos⁡xdx

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 cos⁡x is Trig, more “v”.)

Remaining factor must be v′=cos⁡x.


(2) Compute u′ and v:

u=x≫≫u′=1v′=cos⁡x≫≫v=sin⁡x

Key chart:

u=xv′=cos⁡xu′=1v=sin⁡x⟶∫u⋅v′original⟶∫u′⋅vfinal

(3) Evaluate IBP formula:

∫u′vdx=uv−∫uv′dx≫≫∫xcos⁡xdx=xsin⁡x−∫1⋅sin⁡xdx≫≫xsin⁡x+cos⁡x+C

Why IBP?

The rationale of IBP is that ∫1⋅sin⁡xdx is easier to compute than ∫xcos⁡xdx.

Hidden A

Compute the integral:

∫ln⁡xdx