So, let's define a monster function:
Let f(x) equal the integral of csc(x) from 1 to f(x). Find f(pi).
f(x) =
1∫
f(x)csc(x)dx = ln(|tan(f(x)/2)|) - ln(tan(0.5)), let f(x) = y
y = ln(|tan(y/2)|) - ln(tan(0.5)) = ln(|tan(y/2)|/tan(0.5))
|tan(y/2)|/tan(0.5) = e^(y)
|tan(y/2)| = tan(0.5)*e^(y)
for π*n < y/2 < π/2 + π*n ⇔ 2π*n < y < π + 2π*n :
tan(y/2) = tan(0.5)*e^(y)
for π*n - π/2 < y/2 < π*n ⇔ 2π*n - π < y < 2π*n :
tan(y/2) = -tan(0.5)*e^(y)
Now solve for the roots, which I can only do numerically. However, since the tangent function is periodic, there will be an infinite number of roots. Notice though that the negative root pairs per period will be spaced closer to each other as the exponential function goes to zero, while the positive root pairs will be spaced further from each other as the exponential function goes to infinity. Thus we could approximate the negative roots to be a number close to 2π*n (but never equal) for negative integer n, and the positive roots to be a number close to π + 2π*n (but never equal) for positive integer n.
Because of that, I'll focus on the roots closer to 0.
1. Let z(y) = tan(y/2) - tan(0.5)*e^(y). z'(y) = (tan
2(y/2) + 1)/2 - tan(0.5)*e^(y)
Newton's method: y
n+1 = y
n - z(y
n)/z'(y
n), 0 < y
n < π
y
0 = 2
y ≈ 2.95069
2. Let w(y) = tan(y/2) + tan(0.5)*e^(y). w'(y) = (tan
2(y/2) + 1)/2 + tan(0.5)*e^(y)
y
n+1 = y
n - w(y
n)/w'(y
n), -π < y
n < 0
y
0 = -2
y ≈ -0.58878
Now you might think I'm finished, but there's one itty bitty problem. Cosecant is undefined for 2π*n for any integer n. y = 2.95069 is currently the only root that doesn't cross that singularity point. At the moment, I can for certain say that root is valid. Other roots need to be examined. However, approximating the original problem for y = f(x) = -0.58878:
1∫
-0,58878csc(x)dx = -
-0,58878∫
1csc(x)dx ≈ -
-0,58878∫
-0.00001csc(x)dx -
0.00001∫
1csc(x)dx ≈ -0.58878
Thus it should hold approximately for f(x) = -0.58878, possibly for all roots, but that is left for the reader.
So, through this crazy analysis, I would say that f(x) is multivalued (although the value of x doesn't matter), but f(x) = 2.95069 can probably be seen as the principal value. Thus f(π) = 2.95069