Integral of $$$\frac{\sqrt{9 - x^{2}}}{x^{2}}$$$
Related calculator: Definite and Improper Integral Calculator
Your Input
Find $$$\int \frac{\sqrt{9 - x^{2}}}{x^{2}}\, dx$$$.
Solution
Let $$$x=3 \sin{\left(u \right)}$$$.
Then $$$dx=\left(3 \sin{\left(u \right)}\right)^{\prime }du = 3 \cos{\left(u \right)} du$$$ (steps can be seen »).
Also, it follows that $$$u=\operatorname{asin}{\left(\frac{x}{3} \right)}$$$.
Integrand becomes
$$$\frac{\sqrt{9 - x^{2}}}{x^{2}} = \frac{\sqrt{9 - 9 \sin^{2}{\left( u \right)}}}{9 \sin^{2}{\left( u \right)}}$$$
Use the identity $$$1 - \sin^{2}{\left( u \right)} = \cos^{2}{\left( u \right)}$$$:
$$$\frac{\sqrt{9 - 9 \sin^{2}{\left( u \right)}}}{9 \sin^{2}{\left( u \right)}}=\frac{\sqrt{1 - \sin^{2}{\left( u \right)}}}{3 \sin^{2}{\left( u \right)}}=\frac{\sqrt{\cos^{2}{\left( u \right)}}}{3 \sin^{2}{\left( u \right)}}$$$
Assuming that $$$\cos{\left( u \right)} \ge 0$$$, we obtain the following:
$$$\frac{\sqrt{\cos^{2}{\left( u \right)}}}{3 \sin^{2}{\left( u \right)}} = \frac{\cos{\left( u \right)}}{3 \sin^{2}{\left( u \right)}}$$$
So,
$${\color{red}{\int{\frac{\sqrt{9 - x^{2}}}{x^{2}} d x}}} = {\color{red}{\int{\frac{\cos^{2}{\left(u \right)}}{\sin^{2}{\left(u \right)}} d u}}}$$
Rewrite in terms of the cotangent:
$${\color{red}{\int{\frac{\cos^{2}{\left(u \right)}}{\sin^{2}{\left(u \right)}} d u}}} = {\color{red}{\int{\cot^{2}{\left(u \right)} d u}}}$$
Let $$$v=\cot{\left(u \right)}$$$.
Then $$$dv=\left(\cot{\left(u \right)}\right)^{\prime }du = - \csc^{2}{\left(u \right)} du$$$ (steps can be seen »), and we have that $$$\csc^{2}{\left(u \right)} du = - dv$$$.
So,
$${\color{red}{\int{\cot^{2}{\left(u \right)} d u}}} = {\color{red}{\int{\left(- \frac{v^{2}}{v^{2} + 1}\right)d v}}}$$
Apply the constant multiple rule $$$\int c f{\left(v \right)}\, dv = c \int f{\left(v \right)}\, dv$$$ with $$$c=-1$$$ and $$$f{\left(v \right)} = \frac{v^{2}}{v^{2} + 1}$$$:
$${\color{red}{\int{\left(- \frac{v^{2}}{v^{2} + 1}\right)d v}}} = {\color{red}{\left(- \int{\frac{v^{2}}{v^{2} + 1} d v}\right)}}$$
Rewrite and split the fraction:
$$- {\color{red}{\int{\frac{v^{2}}{v^{2} + 1} d v}}} = - {\color{red}{\int{\left(1 - \frac{1}{v^{2} + 1}\right)d v}}}$$
Integrate term by term:
$$- {\color{red}{\int{\left(1 - \frac{1}{v^{2} + 1}\right)d v}}} = - {\color{red}{\left(\int{1 d v} - \int{\frac{1}{v^{2} + 1} d v}\right)}}$$
Apply the constant rule $$$\int c\, dv = c v$$$ with $$$c=1$$$:
$$\int{\frac{1}{v^{2} + 1} d v} - {\color{red}{\int{1 d v}}} = \int{\frac{1}{v^{2} + 1} d v} - {\color{red}{v}}$$
The integral of $$$\frac{1}{v^{2} + 1}$$$ is $$$\int{\frac{1}{v^{2} + 1} d v} = \operatorname{atan}{\left(v \right)}$$$:
$$- v + {\color{red}{\int{\frac{1}{v^{2} + 1} d v}}} = - v + {\color{red}{\operatorname{atan}{\left(v \right)}}}$$
Recall that $$$v=\cot{\left(u \right)}$$$:
$$\operatorname{atan}{\left({\color{red}{v}} \right)} - {\color{red}{v}} = \operatorname{atan}{\left({\color{red}{\cot{\left(u \right)}}} \right)} - {\color{red}{\cot{\left(u \right)}}}$$
Recall that $$$u=\operatorname{asin}{\left(\frac{x}{3} \right)}$$$:
$$- \cot{\left({\color{red}{u}} \right)} + \operatorname{atan}{\left(\cot{\left({\color{red}{u}} \right)} \right)} = - \cot{\left({\color{red}{\operatorname{asin}{\left(\frac{x}{3} \right)}}} \right)} + \operatorname{atan}{\left(\cot{\left({\color{red}{\operatorname{asin}{\left(\frac{x}{3} \right)}}} \right)} \right)}$$
Therefore,
$$\int{\frac{\sqrt{9 - x^{2}}}{x^{2}} d x} = \operatorname{atan}{\left(\frac{3 \sqrt{1 - \frac{x^{2}}{9}}}{x} \right)} - \frac{3 \sqrt{1 - \frac{x^{2}}{9}}}{x}$$
Simplify:
$$\int{\frac{\sqrt{9 - x^{2}}}{x^{2}} d x} = \operatorname{atan}{\left(\frac{\sqrt{9 - x^{2}}}{x} \right)} - \frac{\sqrt{9 - x^{2}}}{x}$$
Add the constant of integration:
$$\int{\frac{\sqrt{9 - x^{2}}}{x^{2}} d x} = \operatorname{atan}{\left(\frac{\sqrt{9 - x^{2}}}{x} \right)} - \frac{\sqrt{9 - x^{2}}}{x}+C$$
Answer
$$$\int \frac{\sqrt{9 - x^{2}}}{x^{2}}\, dx = \left(\operatorname{atan}{\left(\frac{\sqrt{9 - x^{2}}}{x} \right)} - \frac{\sqrt{9 - x^{2}}}{x}\right) + C$$$A