Step 1: Write the given integral:
\[
\int \frac{\sqrt{\tan x}}{\sin x \cos x} \, dx
\]
Step 2: Express \(\tan x\) in terms of sine and cosine:
\[
\tan x = \frac{\sin x}{\cos x}
\Rightarrow \sqrt{\tan x} = \frac{\sqrt{\sin x}}{\sqrt{\cos x}}
\]
Step 3: Substitute into the integral:
\[
\int \frac{\frac{\sqrt{\sin x}}{\sqrt{\cos x}}}{\sin x \cos x} \, dx
\]
Step 4: Simplify:
\[
= \int \frac{1}{\sin^{1/2} x \cos^{3/2} x} \, dx
\]
Step 5: Use substitution:
Let \( t = \tan x \Rightarrow dt = \sec^2 x \, dx = \frac{1}{\cos^2 x} dx \)
So, \( dx = \cos^2 x \, dt \)
Step 6: Substitute everything:
\[
\int \frac{\sqrt{t}}{\sin x \cos x} \cdot \cos^2 x \, dt
\]
Since \( \sin x = t \cos x \), substitute:
\[
= \int \frac{\sqrt{t} \cdot \cos^2 x}{t \cos^2 x} \, dt
\]
\[
= \int \frac{1}{\sqrt{t}} \, dt
\]
Step 7: Integrate:
\[
\int t^{-1/2} dt = 2\sqrt{t} + C
\]
Step 8: Substitute back \( t = \tan x \):
\[
= 2\sqrt{\tan x} + C
\]
Step 9: Final Answer:
\[
\boxed{2\sqrt{\tan x} + C}
\]