Step 1: Write the equation in standard linear form:
A first-order linear equation has the form \( \frac{dy}{dx} + Py = Q \), and its integrating factor is \( e^{\int P\,dx} \).
The given equation is \( (1+x^2)\frac{dy}{dx} + y = e^{\tan^{-1}x} \). The coefficient of \( \frac{dy}{dx} \) must be 1, so we divide every term by \( 1 + x^2 \).
\[ \frac{dy}{dx} + \frac{1}{1+x^2}\,y = \frac{e^{\tan^{-1}x}}{1+x^2} \]
Comparing, \( P = \frac{1}{1+x^2} \).
Step 2: Integrate P:
\[ \int P\,dx = \int \frac{dx}{1+x^2} = \tan^{-1}x \]
No constant is needed here, since any one integrating factor is enough.
Step 3: Write the integrating factor:
\[ \text{I.F.} = e^{\int P\,dx} = e^{\tan^{-1}x} \]
Step 4: Check the options:
Option (B) \( e^{\sin^{-1}x} \) would come from \( P = \frac{1}{\sqrt{1-x^2}} \), which is not our P.
Options (C) and (D) are plain functions, but an integrating factor is always an exponential \( e^{\int P\,dx} \). They also leave out the exponential.
So only option (A) fits.
Final Answer:
The integrating factor is \( e^{\tan^{-1}x} \), option (A).
\[ \boxed{e^{\tan^{-1}x}} \]