Concept:
We use the half-angle trigonometric identity to simplify the square root: \( 1 + \cos x = 2 \cos^2 \left( \frac{x}{2} \right) \). This transforms the radical into a simple trigonometric function.
Step 1: Apply the identity.
\[ \int \sqrt{2 \cos^2 \left( \frac{x}{2} \right)} \, dx = \int \sqrt{2} \left| \cos \left( \frac{x}{2} \right) \right| \, dx \]
Assuming the integration is within an interval where cosine is positive:
\[ \sqrt{2} \int \cos \left( \frac{x}{2} \right) \, dx \]
Step 2: Integrate.
Using the basic integration rule \( \int \cos(ax) \, dx = \frac{\sin(ax)}{a} \), where \( a = 1/2 \):
\[ \sqrt{2} \cdot \left[ \frac{\sin(x/2)}{1/2} \right] + C \]
\[ = \sqrt{2} \cdot 2 \sin \left( \frac{x}{2} \right) + C \]
Step 3: Simplify.
\[ 2\sqrt{2} \sin \left( \frac{x}{2} \right) + C \]