1

My class 12 maths textbook says addition is a binary function. But I had this experiment which caused a doubt.

Addition is explained as a binary function because if you add more than two numbers you will have to do it in pairs of two. Now say you have 3 blue balls 7 black balls and 4 green balls. You're asked the total no. of balls. Instead of doing binary addition what if you mix them all up in a bag and randomly count each ball out. It will then no more be binary. How do we resolve this conflict??

Thomas Andrews
  • 177,126
  • 11
    There is no conflict. You just take the next ball and add it to the first - a binary operation. The colours don't matter. We only want to add. – Dietrich Burde Mar 18 '22 at 16:14
  • Please state your definition of binary function. – Chickenmancer Mar 18 '22 at 16:17
  • 4
    You can do your arlternate approach because binary addition is commutative and associative. – Thomas Andrews Mar 18 '22 at 16:24
  • From a previous question of mine, which unfortunately got deleted, mathematicians often don't think of addition as a strictly binary function. One can define addition as a binary function for a formal system, though possibly Wuestenfux's recursive definition of n-ary addition might get preferred. – Doug Spoonwood Mar 18 '22 at 16:35
  • 2
    I agree with your point: it is very ordinary to think of addition as operating on an entire list of numbers, rather than on two at a time. The usual pencil-and-paper algorithm for adding several numbers adds them all at once, not in pairs. – MJD Mar 18 '22 at 16:36
  • 1
    The ordinary colum addition algorithm does add numbers in pairs: you add the first two digits in the first column, then that result and the next digit, then that result and the next digit, until the column is complete, with the overall result's first digit recorded. The remainder is transferred and the same process repeated. This is all done until all columns are complete. The use of addition within each column is still binary even if the practised brain is performing multiple binary operations extremely quickly. – Nij Mar 19 '22 at 01:52

3 Answers3

7

Elaborating a bit on Wuestenfux’ answer, we can certainly regard addition as an $n$-ary operation for all $n\ge2$. The only reason we don’t talk about it, is because any addition can be broken down into a sequence of binary additions, basically by associativity.

From this viewpoint, associativity should be strengthened to $$ a+(b+c)=(a+b)+c=a+b+c, $$ and something similar for $n>3$, to guarantee that the binary and $n$-ary definitions agree. For example Wuestenfux’ recursive definition does the job.

In general, any reasonable associative binary operation will be the same situation.

Milten
  • 7,031
6

Addition can be defined as an $n$-ary operation in a recursive manner

  1. $f_2(x,y) = x+y$

  2. $f_{n+1}(x_1,\ldots,x_{n+1}) = f_n(x_1,\ldots x_n) + x_{n+1}$, for $n\geq 2$.

Then $f_n(x_1,\ldots,x_n)= x_1+\ldots +x_n$ for each $n\geq 2$.

Wuestenfux
  • 20,964
2

The issue is you're comparing a physical encoding of the abstract concept of addition to the mathematical description of it.

Here's an example which will really mess your intuition of binary operation. Suppose I gave you a basket of balls, and I myself have a basket of some number of balls.

If I ask add three balls in my basket, then without looking inside my basket you can simply throw balls into my basket.

But what if I ask multiply the number of balls in my basket by three? Then you can not do this unless you have some way of knowing how many balls there are in my basket.

Now does this mean multiplication is some way beyond a binary operation ( in math sense)? Well... no. Its just that this physical realization of the addition comes with more properties than the mathematical description of it.

The thing is mathematical objects and descriptions of them don't neccesarily need to conform to our intuition or a particular model in real life.

We don't go from the physical world to mathematics but rather try to explain mathematics as a thing itself using logic. That's the whole idea of axiomatic systems and proofs. One more point is that this is also a hint that the teaching mathematics by extrapolating physical intuition of a small set of scenario to a mathematical description which works anywhere is problematic.