Primitive of x by Cosine of a x

Theorem

 * $\displaystyle \int x \cos a x \ \mathrm d x = \frac {\cos a x} {a^2} + \frac {x \sin a x} a + C$

where $C$ is an arbitrary constant.

Proof
With a view to expressing the primitive in the form:
 * $\displaystyle \int u \frac {\mathrm d v}{\mathrm d x} \ \mathrm d x = u v - \int v \frac {\mathrm d u}{\mathrm d x} \ \mathrm d x$

let:

and let:

Then:

Also see

 * Primitive of $x \sin a x$
 * Primitive of $x \tan a x$
 * Primitive of $x \cot a x$
 * Primitive of $x \sec a x$
 * Primitive of $x \csc a x$