Step 1: Understanding the Concept.
We cannot integrate \(\cos^2 x\) directly. The usual trick is to lower the power with the double angle identity, which turns the square into a plain cosine.
Step 2: Key Formula or Approach.
\[ \cos 2x = 2\cos^2 x - 1 \quad\Rightarrow\quad \cos^2 x = \frac{1+\cos 2x}{2} \]
Step 3: Rewrite and integrate.
\[ \int \cos^2 x\,dx = \frac12\int (1+\cos 2x)\,dx = \frac12\left(x + \frac{\sin 2x}{2}\right) + C \]
The integral of \(\cos 2x\) is \(\dfrac{\sin 2x}{2}\), because we divide by the derivative of the inner function \(2x\).
Step 4: Put it in the form of the options.
Since \(\sin 2x = 2\sin x\cos x\), we get \(\dfrac{\sin 2x}{2} = \sin x\cos x\). So
\[ \int \cos^2 x\,dx = \frac12\,(x + \sin x\cos x) + C \]
This is option (A). It also equals \(\dfrac{x}{2}+\dfrac{\sin 2x}{4}+C\).
Step 5: Why the other options are wrong.
Differentiate each option and compare with \(\cos^2 x\).
Option (B): the derivative is \(\dfrac12(1-\cos 2x) = \sin^2 x\), which is not \(\cos^2 x\).
Option (C): the derivative is \(\dfrac12 - \dfrac{\sin 2x}{2}\), which is not \(\cos^2 x\).
Option (D): the derivative is \(\dfrac12 + \dfrac{\sin 2x}{2}\), which is not \(\cos^2 x\).
Final Answer:
The value of the integral is \(\dfrac12(x+\sin x\cos x)+C\), option (A).
\[ \boxed{\frac12\,(x+\sin x\cos x)+C} \]