I'm trying to solve the following integral:
Integral of: $\int\frac{1}{1+ax^2}dx$
Where $a$ is some positive constant.
We can't of course use basic U Substitution as the derivative of $1 + ax^2$ is $2ax$, which isn't found elsewhere in the expression. I tried to use fractional decomposition to integrate this but ran into the issue outlined below.
I'd like to divide this into two related questions:
My first approach was to try and use fractional decomposition to integrate this. However, I wasn't able to factor the expression $1 + ax^2$ to a product of two linear expressions. Can this be done?
If we can't do fractional decomposition, how can this integral be solved?
This is an immediate integral of a composition of function. Since $a>0$,
$$ \int \frac{dx}{1+ax^2} = \frac{1}{\sqrt{a}}\int\frac{\sqrt{a}}{1+(\sqrt{a}x)^2}dx = \frac{1}{\sqrt{a}}\arctan(\sqrt{a}x)+c $$