Step 1: Understand the integrand:
The integrand is a square root of a ratio, so it is not in a standard form yet.
The root is real only when \(|x| > 2\). We work with \(x > 2\), the usual case.
Our plan is to remove the root from the denominator by rationalising.
Step 2: Rationalise the integrand:
Multiply the numerator and the denominator inside the root by \((x+2)\).
\[ \sqrt{\frac{x+2}{x-2}} = \sqrt{\frac{(x+2)^2}{(x-2)(x+2)}} = \frac{x+2}{\sqrt{x^2-4}} \]
Now split the fraction into two parts.
\[ I = \int \frac{x}{\sqrt{x^2-4}}\,dx + 2\int \frac{1}{\sqrt{x^2-4}}\,dx = I_1 + 2 I_2 \]
Step 3: Find the first integral by substitution:
Put \(t = x^2 - 4\). Then \(dt = 2x\,dx\), so \(x\,dx = \tfrac{1}{2}dt\).
\[ I_1 = \frac{1}{2}\int t^{-1/2}\,dt = t^{1/2} = \sqrt{x^2-4} \]
Step 4: Find the second integral by the standard formula:
Recall \(\int \dfrac{dx}{\sqrt{x^2-a^2}} = \log\left|x+\sqrt{x^2-a^2}\right|\). Here \(a = 2\).
\[ I_2 = \log\left|x+\sqrt{x^2-4}\right| \]
Step 5: Combine the results:
Add \(I_1\) and \(2I_2\) and write one constant of integration.
\[ I = \sqrt{x^2-4} + 2\log\left|x+\sqrt{x^2-4}\right| + C \]
Differentiating this gives \(\dfrac{x+2}{\sqrt{x^2-4}}\), which matches the integrand.
Final Answer:
The integral equals the expression below. \[ \boxed{\sqrt{x^2-4} + 2\log\left|x+\sqrt{x^2-4}\right| + C} \]