-x+-x

Replace all occurrences of +- with a single -. A plus sign followed by a minus sign has the same mathematical meaning as a single minus sign because 1⋅-1=-1

-x-x

Subtract x from -x.

-2x

Add -x+-x

Skip to content
# Add -x+-x

-x+-x

Replace all occurrences of +- with a single -. A plus sign followed by a minus sign has the same mathematical meaning as a single minus sign because 1⋅-1=-1

-x-x

Subtract x from -x.

-2x

Add -x+-x