Concept:Use the substitution x=atanθ to simplify the integral.Explanation:Let x=atanθ, so dx=asec2θdθ. Then x2+a2=a2tan2θ+a2=asecθ. The integral becomes: ∫x2+a2dx=∫asecθasec2θdθ=∫secθdθ. We know ∫secθdθ=ln∣secθ+tanθ∣+C. Back-substitute: tanθ=ax, secθ=1+tan2θ=ax2+a2. Thus secθ+tanθ=ax2+a2+x. Therefore, ∫x2+a2dx=lnax+x2+a2+C.Answer:Option A: lnax+x2+a2+C