I'm trying to model a system as being inside an infinite potential well with $V(x)=-ax^v$ where $a$ and $v$ are some positive real numbers.
However I'm a bit confused: if I take the - sign inside another constant, say $b=-a$, then $p(x)=\sqrt{2m(E-bx^v)}$ and if I do this integral I get quite a different answer than by having $p(x)=\sqrt{2m(E+ax^v)}$. $E>V(x)$ inside the well. What is the way to proceed here so that I get a correct answer? I know I could just "shift" my potential so that it becomes positive but I'm trying to be consistent with some previous work.