To evaluate the definite integral:
I=∫0π1+sinxxdx— (1)
Step 1: Apply Property
Using the property ∫0af(x)dx=∫0af(a−x)dx:
I=∫0π1+sin(π−x)π−xdx
Since sin(π−x)=sinx:
I=∫0π1+sinxπ−xdx— (2)
Step 2: Add Equations (1) and (2)
2I=∫0π1+sinxx+(π−x)dx
2I=π∫0π1+sinx1dx
Step 3: Simplify the Denominator
Rationalize the integrand by multiplying the numerator and denominator by (1−sinx):
1+sinx1⋅1−sinx1−sinx=1−sin2x1−sinx=cos2x1−sinx
cos2x1−sinx=sec2x−secxtanx
Substitute this back into 2I:
2I=π∫0π(sec2x−secxtanx)dx
Step 4: Integrate and Apply Limits
Integrating term by term:
2I=π[tanx−secx]0π
Substitute the upper limit x=π and lower limit x=0:
- At x=π: tanπ−secπ=0−(−1)=1
- At x=0: tan0−sec0=0−1=−1
2I=π(1−(−1))=2π
Dividing both sides by 2:
I=π
Final Answer
∫0π1+sinxxdx=π