Singularity at the upper limit
I need to solve this integral from a physical model
which is singular at the upper limit. The reason for the singularity is that the function reaches a maximum at u=1. The model is completely physically based so the integral must have a solution. I was thinking about using Cauchy's theorem but I don't know how to find a proper contour. Even if I get complex numbers in the solution I think I still can interpret them somehow (or make some simplification like dropping the imaginary part).