Primitive of Arccotangent Function/Proof 2

Theorem

$\ds \int \arccot x \rd x = x \arccot x + \frac {\map \ln {x^2 + 1} } 2 + C$


Proof

With a view to expressing the primitive in the form:

$\ds \int u \frac {\d v} {\d x} \rd x = u v - \int v \frac {\d u} {\d x} \rd x$

let:

\(\ds u\) \(=\) \(\ds \arccot x\)
\(\ds \leadsto \ \ \) \(\ds \frac {\d u} {\d x}\) \(=\) \(\ds \frac {-1} {x^2 + 1}\) Derivative of $\arccot \dfrac x a$, setting $a := 1$


and let:

\(\ds \frac {\d v} {\d x}\) \(=\) \(\ds 1\)
\(\ds \leadsto \ \ \) \(\ds v\) \(=\) \(\ds x\) Primitive of Constant


Then:

\(\ds \int \arccot x \rd x\) \(=\) \(\ds x \arccot x - \int x \paren {\frac {-1} {x^2 + 1} } \rd x + C\) Integration by Parts
\(\ds \) \(=\) \(\ds x \arccot x + \int \frac {x \rd x} {x^2 + 1} + C\) Primitive of Constant Multiple of Function
\(\ds \) \(=\) \(\ds x \arccot x + \paren {\frac 1 2 \map \ln {x^2 + 1} } + C\) Primitive of $\dfrac x {x^2 + a^2}$, setting $a := 1$
\(\ds \) \(=\) \(\ds x \arccot x + \frac a 2 \map \ln {x^2 + 1} + C\) simplifying

$\blacksquare$