My table of Integrals has the final scenario ##int frac dx x^2+a^2 ## as a 'conventional' integral much too, not merely the situation in which ##a=1##. But I feel this staying a Calculus research problem it is anticipated in the OP to figure out how to make it happen. Hints https://gabletoppak.com/edible-oil-in-gabletop-pak/