Step 1: Understanding the Concept:
The integral cannot be done by a direct substitution. Instead we use a property of definite integrals that replaces \( x \) by \( a - x \). The new integrand looks different, and adding it to the old one simplifies everything.
Step 2: Key Formula or Approach:
\[ \int_0^a f(x)\, dx = \int_0^a f(a - x)\, dx \]
Step 3: Detailed Explanation:
Let
\[ I = \int_0^a \frac{\sqrt{x}}{\sqrt{x} + \sqrt{a - x}} \, dx \quad \cdots (1) \]
Replace \( x \) by \( a - x \). Then \( a - x \) becomes \( x \):
\[ I = \int_0^a \frac{\sqrt{a - x}}{\sqrt{a - x} + \sqrt{x}} \, dx \quad \cdots (2) \]
Add (1) and (2). The denominators are the same:
\[ 2I = \int_0^a \frac{\sqrt{x} + \sqrt{a - x}}{\sqrt{x} + \sqrt{a - x}} \, dx = \int_0^a 1 \, dx \]
\[ 2I = a \]
\[ I = \frac{a}{2} \]
Step 4: Why the other options are wrong.
The integrand is a fraction between 0 and 1, so \( I \) must be less than the interval length \( a \). So option (1), \( a \), and the larger values \( 2a \) and \( 3a \) in options (3) and (4) are impossible.
Final Answer:
The integral equals \( \frac{a}{2} \), which is option (2).
\[ \boxed{\frac{a}{2}} \]