I was reading a textbook on integration where I came across suggested substitutions for certain types of integrals. These were as follows:
For evaluating integrals of the form $$\int\frac{\mathrm dx}{(ax+b)\sqrt{px^2+qx+r}}$$ Put $ax+b=\dfrac 1t$
For evaluating integrals of the form $$\int\frac{\mathrm dx}{(ax^2+b)\sqrt{cx^2+d}}$$ Put $x=\dfrac 1t$
I cannot understand the intuition/motivation behind these substitutions. I know that these work (I had tried them with a few examples). However, these substitutions would never strike me logically.
Typically, we use substitutions which would simplify the integral. However, until actually transforming the integrand, I cannot understand why these substitutions are useful; thus, they do not feel intuitive to me and would never strike me ad hoc.
Could somebody please explain to me the logic behind using these substitutions? As in without first modifying the integrand and seeing whether the modified integral is easier, how could it be understood that these substitutions would actually work and simplify the integrand?
P.S. Perhaps the integrals above are meant to be converted into the following integrals (whose closed forms are known to me):
$\displaystyle\int \frac{\mathrm dx}{x^2\pm a^2},\displaystyle\int \frac{\mathrm dx}{\sqrt{x^2\pm a^2}},\displaystyle\int \frac{\mathrm dx}{\sqrt{a^2-x^2}},\displaystyle\int\sqrt{x^2\pm a^2}\,\mathrm dx,\displaystyle\int\sqrt{a^2-x^2}\,\mathrm dx$