So yeah as the question says, how does one find this: $$\int | -1 | \ dx$$ Now according to my understanding, the absolute value $ | -1 | $ would evaluate to 1 which then is basically just an integral of $1$. And it comes out as: $$\int 1 \ dx= x \ + \ C$$
Is my reasoning correct? If not why?
Yes of course it is absolutely correct, usually we also add a constant $C$
$$\int 1 \ dx= x+C$$
to recall that antiderivatives differ by a constant, but this is not strictly necessary.