Step 1: Understanding the Concept:
This problem requires finding the particular integral (P.I.) for a second-order linear non-homogeneous DE where the right-hand side is a product of an exponential function and a trigonometric function.
Step 2: Key Formula or Approach:
We use the shift theorem for differential operators. The formula is:
\[ \frac{1}{f(D)} [e^{ax} V(x)] = e^{ax} \frac{1}{f(D+a)} [V(x)] \]
After applying the shift theorem, we will have to evaluate an operator on a trigonometric function, for which we use the rule of replacing \(D^2\) with \(-b^2\) for \(\sin(bx)\) or \(\cos(bx)\).
Step 3: Detailed Explanation:
The given differential equation in operator form is:
\[ (D^2 - 2D + 1)y = e^x \sin x \]
The operator on the left is \(f(D) = D^2 - 2D + 1 = (D-1)^2\).
The particular integral is:
\[ P.I. = \frac{1}{(D-1)^2} (e^x \sin x) \]
Here, the right-hand side is of the form \(e^{ax}V(x)\) with \(a=1\) and \(V(x)=\sin x\).
Apply the shift theorem:
\[ P.I. = e^x \frac{1}{((D+1)-1)^2} (\sin x) \]
\[ P.I. = e^x \frac{1}{D^2} (\sin x) \]
The operator \(\frac{1}{D^2}\) means integrating twice with respect to \(x\).
First integration:
\[ \frac{1}{D} (\sin x) = \int \sin x \, dx = -\cos x \]
Second integration:
\[ \frac{1}{D} (-\cos x) = \int (-\cos x) \, dx = -\sin x \]
So, \(\frac{1}{D^2}(\sin x) = -\sin x\).
Substitute this back into the expression for P.I.:
\[ P.I. = e^x (-\sin x) = -e^x \sin x \]
Alternatively, for \(\frac{1}{D^2}(\sin x)\), we can use the formula of replacing \(D^2\) with \(-a^2\). Here \(a=1\), so we replace \(D^2\) with \(-1^2 = -1\).
\[ \frac{1}{D^2} (\sin x) = \frac{1}{-1} (\sin x) = -\sin x \]
This gives the same result.
Step 4: Final Answer:
The particular integral of the given differential equation is \(-e^x \sin x\), which matches option (B).