Primitive of Reciprocal of p squared by square of Sine of a x plus q squared by square of Cosine of a x/Proof 1

Proof
Let $u = p^2 + q^2$ and $v = q^2 - p^2$.

Then:

Also:

Therefore: