\mp

The \mp operator represents the 'minus-plus' symbol, which is used to indicate a pair of values, one obtained by adding and the other by subtracting a certain quantity. It is often used in mathematical expressions where two possible values are considered, such as in solutions to equations or in error margins.

Examples

Represents two possible values for x: 5 + 2 and 5 - 2.

x = 5 \mp 2

Indicates two potential values for y: 10 + sqrt(3) and 10 - sqrt(3).

y = 10 \mp \sqrt{3}

Shows that z can be either a + b or a - b, depending on the context.

z = a \mp b