Step 1: Recognize the complementary angle relationship.
Let θ = tan⁻¹(x/(x²+1)). Then tan θ = x/(x²+1). The other term is tan⁻¹((x²+1)/x) = tan⁻¹(1/tan θ) = π/2 – θ when tan θ>0, and –π/2 – θ when tan θ<0.
Step 2: Sum simplifies directly.
The sum = π/2 for x>0, and –π/2 for x<0.
Step 3: Integrate over the interval [–1, 2].
∫₋₁² = ∫₋₁⁰ (–π/2)dx + ∫₀² (π/2)dx = (–π/2)(0–(–1)) + (π/2)(2–0) = –π/2 + π = π/2.
Step 4: Final Answer:
π/2.