i see things along the lines of -X^n quite frequently.
is this meant to represent (-X)^n or -(X^n)
The second - -(X^n)
Precedence of Operations: "Please Excuse My Dear Aunt Sally"
First do what every is in parentheses, then exponents, then multiplication, then division, then addition, then subtraction. (Of course, you can interchange multiplication and division and interchange additon and subtraction.)
The negative in [itex]-x^n[/itex] represents multiplication by -1. Since exponents take precedenct that is [itex]-(x^n)[/itex] as Mark44 said.
Separate names with a comma.