Step 5: Substitute the values of \(A, B, C,\) and \(D\) back into the partial fraction decomposition. Integrate each term separately. For terms like \(\frac{Ax}{x^2 + 1}\), use substitution, and for terms like \(\frac{B}{x^2 + 1}\), recognize the derivative of \(\tan^{-1}(x)\). Combine the results to write the final solution, including the constant of integration \(C\).