Concept:Use the identity sec2θ−tan2θ=1 to simplify sec2(tan−1x) into 1+x2, then integrate.Explanation:Let I=∫sec2(tan−1x)dx. We know sec2θ=1+tan2θ. So sec2(tan−1x)=1+tan2(tan−1x)=1+x2. Hence I=∫1+x2dx. The standard integral ∫1+x2dx=tan−1x+C. Thus I=tan−1x+C. Alternate substitution: set tan−1x=θ, then x=tanθ, dx=sec2θdθ. Then I=∫sec2θsec2θdθ=∫dθ=θ+C=tan−1x+C.Answer:tan−1x+C, which is option B.