I read through some of the previous posts on imaginary answers popping up due to integrals, but I was unable to find a solution to my similar problem. I have the following integral (reduced to its simplest form) and I'm only getting an imaginary solution. I've tried plotting it and even assigned values to my variables to produce an overall function that looks continuous so it should be able to integrate.
Either way here is the function and any help would be greatly appreciated.
Integrate[(b (m y + d))/((b^2 + (y - y0)^2) Sqrt[b^2 + (-y + y0)^2 + (-m y - d)^2]),y]
All the variables are real and I've even tried using Assumptions but without success.