Integrals dont always ask for certain conditions to compute the integral right
Example:
I was finding the electric potential due to a sphere of uniform charge
and it only gave me the constant potential within the sphere.
The answer is right, provided sqrt(x^2+y^2+z^2) is less than r
but the correct answer is (r^2)p/((E0)sqrt(x^2+y^2+z^2)) for when sqrt(x^2+y^2+z^2) is greater than r
whoops i was integrating over the coordinates im trying to find the function for lol nevermind
Not a bug, per comment by OP.