Want the reason behind every step, the basics and the checks?
The one idea this problem is built on
1+x22x is the double-angle formula sin2θ=1+tan2θ2tanθ with x=tanθ. On [0,1] the angle θ runs over [0,4π], so 2θ stays in [0,2π], inside the principal range of sin−1, and the integrand collapses to 2θ. What is left, ∫2θsec2θdθ, is done by parts.
Given, to find, and the plan
Given
The integrand sin−1(1+x22x) on [0,1].
To find
The exact value of the integral, and a decimal.
Plan
(1) Check the integrand is defined and continuous. (2) Put x=tanθ, change the limits, and simplify sin−1(sin2θ) after checking the range. (3) Integrate 2θsec2θ by parts. (4) Evaluate. (5) Check with an antiderivative in x, and numerically.
sin−1 needs an input in [−1,1]. For every real x,(1−x)2≥0 and (1+x)2≥0 give 1+x2≥2x and 1+x2≥−2x, so
−1≤1+x22x≤1.
The inner function is continuous (denominator ≥1), and sin−1 is continuous on [−1,1], so the composite is continuous on [0,1].
Before integrating we must know the integrand exists at every point. The inequality shows the input to sin−1 never leaves [−1,1]; on [0,1] it actually runs from 0 up to 1 (reached at x=1).
New limits. When x=0,θ=tan−10=0. When x=1,θ=tan−11=4π.
Why it is valid on the whole interval. On [0,4π],x=tanθ has the continuous derivative sec2θ and is increasing, and it takes every value in [0,1] exactly once. So as θ runs from 0 to 4π,x runs once from 0 to 1.
The expression 1+x22x is the tell-tale shape of 1+tan2θ2tanθ. Using the principal value θ=tan−1x fixes which θ we mean.
Since 0≤θ≤4π, we have 0≤2θ≤2π, which lies inside [−2π,2π]. Therefore
sin−1(1+x22x)=sin−1(sin2θ)=2θ.
The integral becomes
∫01sin−1(1+x22x)dx=∫04π2θsec2θdθ.
sin−1(siny)=y is true only when y is in the principal range. Here it is, because ∣x∣≤1. For x>1 we would have 2θ>2π and sin−1(sin2θ)=π−2θ instead (the figure shows the split).
Take u=θ (algebraic) and dv=sec2θdθ (trigonometric), so du=dθ and v=tanθ. ILATE puts Algebraic before Trigonometric, so θ is the one we differentiate.
∫θsec2θdθ=θtanθ−∫tanθdθ=θtanθ−log∣secθ∣+C.
On [0,4π],secθ≥1>0, so log∣secθ∣=logsecθ.
Differentiating θ gives 1, which removes the awkward factor, while sec2θ has the simple integral tanθ. The leftover ∫tanθdθ is a standard result.
Put θ=tan−1x back: θtanθ=xtan−1x and secθ=1+tan2θ=1+x2. So an antiderivative of the integrand on [0,1] is
F(x)=2xtan−1x−log(1+x2).
Check: differentiate.
F′(x)=2tan−1x+1+x22x−1+x22x=2tan−1x,
and Step 3 showed 2tan−1x=2θ=sin−11+x22x for 0≤x≤1. Then F(1)−F(0)=2⋅4π−log2−0=2π−log2.
The product rule on 2xtan−1x gives 2tan−1x+1+x22x, and the second term cancels the derivative of log(1+x2). The check holds on [0,1], exactly where we need it.
Solid: y=sin−11+x22x. Dashed: y=2tan−1x. They agree on [0,1] and both reach 2π at x=1; after that the solid curve turns down (it equals π−2tan−1x there). The shaded area is 2π−log2≈0.878.
The figure shows why the range check in Step 3 matters: the simplification to 2θ is right on our interval and wrong beyond x=1. The shaded region fits under the line y=2π (rectangle area 1.571) and above the triangle with corners (0, 0), (1, 0), (1, 2π) (area 0.785), consistent with 0.878.
A numerical integration of sin−11+x22x over [0,1] gives 0.8776491, matching 1.5707963−0.6931472. Spot check of the identity at x=0.5:1.252(0.5)=0.8, sin−10.8≈0.9272952, and 2tan−10.5≈2×0.4636476=0.9272952.
Common mistakes
Using sin−11+x22x=2tan−1x without a range check. It holds only for ∣x∣≤1. Here the interval is [0,1], so it is fine, but say why.
Keeping the x-limits. After x=tanθ the limits are 0 and 4π.
Forgetting dx=sec2θdθ. Writing ∫0π/42θdθ=16π2 is wrong: the factor sec2θ is part of dx.
Choosing u=sec2θ in the parts step. Then v=2θ2 and the new integral is harder.
What to take away
1+x22x,1+x21−x2 and 1−x22x signal x=tanθ.
Every sin−1(siny)=y step needs y in [−2π,2π]: find the range of θ from the limits first.
After a trigonometric substitution, θ⋅(trig) is a job for integration by parts with u=θ.
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →