Analyzing the Setup
We are tasked with evaluating the integral:
given the boundary condition
g(1)=0. The radical term
1+x1−x is a classic indicator for a trigonometric substitution.
Phase 1
The Strategic Substitution
We choose the substitution x=cos2θ. This allows us to invoke the half-angle identities:
1−cos2θ=2sin2θand1+cos2θ=2cos2θ
Substituting these into the radical, we obtain:
1+cos2θ1−cos2θ=2cos2θ2sin2θ=tanθ Next, we transform the differential dx. Differentiating x=cos2θ with respect to θ yields:
Phase 2
The Algebraic Dance
Assembling the components, the integral becomes:
I=∫cos2θ1(tanθ)(−2sin2θ)dθ
Using the identities sin2θ=2sinθcosθ and tanθ=cosθsinθ, the expression simplifies:
I=∫cos2θ1(cosθsinθ)(−4sinθcosθ)dθ=∫cos2θ−4sin2θdθ
Applying 2sin2θ=1−cos2θ, we transform the integral into:
I=−2∫(cos2θ1−cos2θ)dθ=−2∫(sec2θ−1)dθ
Phase 3
The Final Integration
Integrating the terms, we get:
I=−2(21ln∣sec2θ+tan2θ∣−θ)+c=−ln∣sec2θ+tan2θ∣+2θ+c
Using the property −ln∣u∣=ln∣1/u∣, we rewrite this as:
g(x)=ln∣sec2θ−tan2θ∣+2θ+c
Since
cos2θ=x, we have
sec2θ=x1 and
tan2θ=x1−x2. Substituting these back:
g(x)=lnx1−1−x2+cos−1x+c Final Calculation
Applying the condition g(1)=0:
g(1)=ln∣1−0∣+cos−1(1)+c=0+0+c=0⇒c=0
Evaluating at x=21:
g(21)=ln1/21−3/4+cos−1(21)=ln∣2−3∣+3π The final result is
ln(2−3)+3π.