Step 1: Standard form
Convert each equation to $\frac{dy}{dx}+Py=Q$ and compute $\int P\,dx$.
Step 2: Compute
(1) $\int(-1)dx=-x$. (2) $\int1\,dx=x$. (3) $\int(-x)dx=-\frac{x^{2}}{2}$. (4) $\int\frac{2}{x}dx=2\log x$.
Step 3: Compare the options
Options 1, 2 and 4 match the given factors. In option 3 the correct factor has a negative exponent, so it is the incorrect pair.
Final Answer:
Only the third pair has a wrong integrating factor.
\[ \boxed{\text{(C) }\text{Linear differential equation }\frac{dy}{dx}=x+xy,\text{ Integrating factor }=e^{\frac{x^{2}}{2}}} \]