Primitive of Reciprocal of p plus q by Tangent of a x/Proof 1

Proof
First, let $\arctan \dfrac p q = \phi$.

Let $z = a x + \phi$.

Then: