I have tried many times to get the way to proof the below identity using trigonometric substitution but i can't , Then Is there any simple way to know why $(1)$ is defined by this form ?
$$\int\frac{dx}{a^2+x^2}= \frac 1a \tan^{-1}(\frac x a )\tag{1}$$ ?
Note: For the specific question why exactly : $\int\frac{dx}{1+x^2}= \tan^{-1} x$ ?
I would substitute $x=a\tan \theta$ and use the identity $1+\tan^2\theta=\sec^2\theta$. Then
\begin{align} \int\frac{dx}{a^2+x^2}&=\int\frac{a\sec^2\theta}{a^2+a^2\tan^2\theta}\,d\theta \\ &=\int\frac{a\sec^2\theta}{a^2(1+\tan^2\theta)}\,d\theta \\ &=\frac{1}{a}\int\frac{\sec^2\theta}{\sec^2\theta}\,d\theta \\ &=\frac{1}{a}\int d\theta \\ &=\frac{1}{a}\theta+C \\ &=\frac{1}{a}\arctan\left(\frac{x}{a}\right)+C \end{align} Since, from our substitution, $$\theta=\arctan\left(\frac{x}{a}\right)$$