# Integrate ignores Assumptions [closed]

Integrate[
Module[{r = {-x, -y, z}}, r/Norm[r]^3],
{x, -a/2, a/2},
Assumptions -> Elements[y, Reals] && z > 0 && a > 0]


But the result seems to completely ignore my assumptions (I also tried Assuming):

What am I doing wrong?

• It's Element, not Elements. You can tell you've mistyped the command because it's color coded blue. Jul 4, 2019 at 14:30
• I knew it was something incredibly obvious! Thanks a lot for help. Jul 4, 2019 at 14:50

Module[{r = {-x, -y, z}},Integrate[r/Norm[r]^3, {x, -a/2, a/2},Assumptions -> Element [y, Reals] && z > 0 && a > 0]]