Use dimensional analysis to find $\displaystyle \int_0^∞ \mathrm{e}^{-ax} \,\mathrm{d}x$ and $\displaystyle \int\frac{\mathrm{d}x}{x^2 + a^2}$. A useful result is$$ \int \frac{\mathrm{d}x}{x^2 + 1} = \arctan x + C. $$
I am using the the book called street mathematics to learn more about dimensional analysis. I am trying to understand a problem in the book. The question is to use dimensional analysis to find the solutions to two integrals. both are in the attached photo.
I tried to understand the question and how to best tackle it but I did not succeed.
Start by giving simple dimensions to $x$, say $[x] = L$, length (the author uses $[x]$ to denote the dimension of $x$). Functions like the exponential and sine/cosine take dimensionless quantities as input and give dimensionless quantities as output. This means $[a][x]=1$ (dimensionless), or $[a] = \dfrac{1}{L}$, $[e^{-ax}]=1$ (dimensionless), and $[dx]=L$.
Since $a$ is a parameter in $\displaystyle \int_0^{\infty} e^{-ax}dx$, the value of the integral depends on $a$. The integral has dimensions of $L$, which leads us to try to build an answer out of $a$ with those dimensions. The only choice with the correct dimensions is $\dfrac{1}{a}$:
$$\int_0^{\infty} e^{-ax}dx =\dfrac{C}{a}$$
where $C$ is a dimensionless number.