My desk of Integrals has the final scenario ##int frac dx x^2+a^2 ## as a 'standard' integral too, not merely the situation wherever ##a=1##. But I think this being a Calculus research challenge it is anticipated in the OP to figure out how to make it happen. Hints got previously https://gabletoppak.com/white-labeling-services/