Step 1: Understanding the Concept:
The complementary function (C.F.) is the general solution of the associated homogeneous differential equation. It describes the natural response of the system and depends only on the left-hand side of the DE. The right-hand side is ignored when finding the C.F. Step 2: Key Formula or Approach:
1. Set the right-hand side of the given non-homogeneous equation to zero to get the associated homogeneous equation.
2. Write down the auxiliary equation by replacing the derivatives with powers of a variable, say \(m\).
3. Solve the auxiliary equation for its roots.
4. Write the C.F. based on the nature of the roots. For complex roots \(a \pm ib\), the solution is \(x(t) = e^{at}(c_1\cos(bt) + c_2\sin(bt))\). Step 3: Detailed Explanation:
The given differential equation is:
\[ \frac{d^2x}{dt^2} + 4x = a\sin t\cos t \]
The associated homogeneous equation is:
\[ \frac{d^2x}{dt^2} + 4x = 0 \]
Let \(D = \frac{d}{dt}\). The equation in operator form is \((D^2 + 4)x = 0\).
The auxiliary equation is obtained by replacing \(D\) with \(m\):
\[ m^2 + 4 = 0 \]
Solving for \(m\):
\[ m^2 = -4 \]
\[ m = \pm\sqrt{-4} = \pm 2i \]
The roots are a pair of pure imaginary numbers, which can be written as \(0 \pm 2i\).
This corresponds to the case of complex roots \(a \pm ib\) with \(a=0\) and \(b=2\).
The general solution (which is the C.F.) is:
\[ x(t) = e^{0 \cdot t}(c_1 \cos(2t) + c_2 \sin(2t)) \]
\[ x = c_1 \cos(2t) + c_2 \sin(2t) \]
Step 4: Final Answer:
The complementary function is \(x = c_1 \cos(2t) + c_2 \sin(2t)\), which matches option (B).