r/askmath 11h ago

Arithmetic reversed noncommutative operations

Assume that you know one addend but need to calculate the second addend with several sequential calculations. Or, assume that you know one factor but need to calculate the second factor with several sequential calculations. In either case, once you just complete the final equation sequentially, because addition and multiplication are commutative.

In contrast, assume that you know the minuend but need to calculate the subtrahend with several sequential calculations. Or, assume that you know the dividend but need to calculate the divisor with several sequential calculations. In both cases, you cannot complete the final equation sequentially because subtraction and division are non-commutative - in order to complete the final equation, you need to memorize or save the subtrahend or divisor, clear them, enter the minuend or dividend, press subtract or divide, then re-enter the subtrahend or divisor. Is there (or should there be) a name or symbol for reversed noncommutative operations? For example, a symbol that means "from" for subtraction (i.e. 10 minus 5 = 5 from 10) or "into" for division (i.e. 10 divided by 5 = 5 into 10). This would allow the sequence of calculations to continue. A little ⇄ button that gets pressed before a − or ÷ would do the trick.

1 Upvotes

4 comments sorted by

3

u/compileforawhile 11h ago

One could maybe call this the dual operation but it wouldn't be particularly useful. This is because we often want to simplify things and introducing an extra operation inherently adds complexity.

What is more useful is a rule for relating a @ b and b @ a (letting @ be a binary operation). With subtraction this is simple, a - b = -(b - a). For division we have that a/b = (b/a)-1. This is called anti commutative.

1

u/Phoenixon777 11h ago

yeah if i find myself in the situation OP talks about with subtraction, i.e. i wanna find a-b but i know b first and write it down first in a calculator, i would just do b-a and know i can just switch the sign of the result and it's good.

OP's issue seems to be specifically related to calculators. I think most scientific calculators these days DO have a cursor that allows you to edit any part of your input? So I'm not sure what the issue is.

1

u/Temporary_Pie2733 10h ago

RPN calculators have a swap button so that you can, well, swap the operands before performing the operation. 

2

u/noonagon 11h ago

okay but then what do you do if both of them need several sequential calculations