How do you translate into symbols: The difference between n and 14?

2 Answers

|n-14||n14|

Dec 11, 2015

I'd say abs(n-14)|n14|

Explanation:

It depends on how exactly you interpet the idea of "difference".

If you speak in a merely numeric sense, then the difference between two numbers aa and bb is simply a-bab, and so the answer would be n-14n14

Anyway, in a more general sense, maybe the absolute value is more adequate, since it computes "how far" two numbers are from each other, giving always a positive result. It seems more logic, because it says that aa is far from bb exactly as much as bb is far from aa, while using the "standard" difference, you have that a-bab and b-aba have opposite signs.

So, I'd say that the most proper answer is abs(n-14)|n14|