Step 1: Understanding the Question:
Recognize that integrating a standalone inverse trigonometric function requires Integration by Parts with an implicit second function of 1.
Step 2: Key Formula or Approach:
The standard Integration by Parts formula is $\int u\,dv = uv - \int v\,du$. For $\int \tan^{-1}x\,dx$, set $u = \tan^{-1}x$ and $dv = dx$, giving $du = \frac{1}{1+x^2}dx$ and $v = x$.
Step 3: Detailed Explanation:
Applying the formula: $\int \tan^{-1}x\,dx = x\tan^{-1}x - \int \frac{x}{1+x^2}dx$. The remaining integral solves via substitution $w = 1+x^2$, yielding $-\frac{1}{2}\ln(1+x^2) + C$. The leading term always features $x$ multiplied directly by the inverse function, which uniquely matches option (D) among the given choices.
Step 4: Final Answer:
The result must contain $x$ times the inverse function as its first term, confirming option (D).