Is Mathematics Dependent on Context?

  • I
  • Thread starter Greg Bernhardt
  • Start date
In summary, @fresh_42's Insight discusses how many common mathematical beliefs, such as 1+1=2 and 12=0, are actually based on linguistic ambiguities and the context in which they are used. The article gives examples of different number systems and how they can lead to different results, as well as how symbols can have different meanings in different contexts. The conversation also touches on how software engineering and hardware contexts can affect the use of symbols, such as using "+" to represent an exclusive or operation. Ultimately, the main point is that understanding the context is important in understanding mathematical concepts and avoiding common misconceptions.
  • #1
19,572
10,377
From @fresh_42's Insight
https://www.physicsforums.com/insights/10-math-things-we-all-learnt-wrong-at-school/

Please discuss!

This is funny because you currently read this text on a device that uses ##1+1=0.## If we switch off a light we use it because switched twice doesn't change anything, i.e. equals zero. Our clocks measure hours from ##1## to ##12## and start again after that. So obviously ##12=0## and ##3\cdot 4 = 2\cdot 6 = 0.## See, it depends on the context. There are all kinds of number systems: binary for the computer, duodecimal for clocks, the Babylonians used sexagesimal, and the Mayas used cycles of ##1,872,000## days. You won't convince your local grocery store that twice as much is actually zero, but you use it while you read those lines.

12= 0? 24=0? 60=0?​

-24_hour_analog_clock_rua_24_horas_curitiba_brasil.jpg
 
Last edited:
Mathematics news on Phys.org
  • #2
Whether modulo arithmetic is being used depends on the context and whether is has been explicitly specified.
In software engineering 1+1 normally specifies normal arithmetic - a "full add".
Of course, it can also refer to an "exclusive or".

They might as well include 16384+16384 = -32768 (normal signed 16-bit arithmetic - with overflow ignored).
 
  • #4
.Scott said:
In software engineering 1+1 normally specifies normal arithmetic - a "full add".
Of course, it can also refer to an "exclusive or".
I haven't seen "+" used to represent "exclusive or" but I have seen it used to represent "inclusive or" many times. One symbol that is sometimes used, among several others is ⊕.
See https://en.wikipedia.org/wiki/Exclusive_or
 
  • #5
Greg Bernhardt said:
There are all kinds of number systems: binary for the computer, duodecimal for clocks
In any number system, the digits used range from 0 to one less than the base indicated by the name of the system. In binary, the digits are 0 and 1; in octal, the digits are 0, 1, 2, ..., 7; in hexadecimal (base-16), the digits are 0, 1, 2, ..., 8, 9, A, B, C, D, E, F. All of these number systems are used in computers.
In a duodecimal system, the digits would run from 0 through 11, so clocks don't use a duodecimal system, at least as far as number bases are commonly used.
 
  • #6
Mark, in mod 2 math where 0 is false and 1 is true + is intrinsically an exclusive or.
 
  • #7
Greg Bernhardt said:
Please discuss!
Hi Greg:

I do not mean to criticize, but it seems to me that your "Myths" are simply an introduction of linguistic ambiguities (for example those common in English) into the language of math. As in English, an ambiguous sentence has no ambiguity if a context has been established. It is generally the case that in math a context is known to the reader, for example, that the topic is whole number arithmetic rather than a finite group theory.

Regards,
Buzz
 
  • Like
Likes aheight, atyy and PeroK
  • #8
Buzz Bloom said:
Hi Greg:

I do not mean to criticize, but it seems to me that your "Myths" are simply an introduction of linguistic ambiguities (for example those common in English) into the language of math. As in English, an ambiguous sentence has no ambiguity if a context has been established. It is generally the case that in math a context is known to the reader, for example, that the topic is whole number arithmetic rather than a finite group theory.

Regards,
Buzz
These are taken from @fresh_42's recent Insight, please read the intro :)
https://www.physicsforums.com/insights/10-math-things-we-all-learnt-wrong-at-school/
 
  • #9
  • Like
Likes PeroK, atyy and Greg Bernhardt
  • #10
Office_Shredder said:
Mark, in mod 2 math where 0 is false and 1 is true + is intrinsically an exclusive or.
The comment from @.Scott that I quoted had a context of software engineering, in which inclusive or and exclusive or are denoted with different symbols.
 
  • #11
Mark44 said:
The comment from @.Scott that I quoted had a context of software engineering, in which inclusive or and exclusive or are denoted with different symbols.

When it comes to symbols (ie, "coding"), there is no single SW context. Software Engineering is a service where the practitioners are expected to be (or become) as familiar with the application context as with the various SW and HW contexts.

If we are examining algorithms that are inherently binary such as the Hammond or CRC codes, then the syntax used certainly includes 1+1=0. For example, CRC-16-CCITT is denoted: $$x^{16}+x^{12}+x^5+1$$

If I am using C code to operate of HW registers, I might use bit-field values to read and manipulated those registers. So I might have a statement "OnlyOneReady=InRegA.ready+InRegB.ready;". And again, we have an "exclusive OR" meaning for the addition symbol.

So when the OP says "you currently read this text on a device that uses 1+1=0", I wouldn't count him as wrong. Since the "device" is probably just a display monitor, the OP's statement is likely referring to a H/W gate operation - and using a SW context for describing it. It's a mixed context, but such mixes are common in HW and SW manuals.

More generally, the OP is taking note of the fact that within many contexts, modulus arithmetic is the rule - even when it is never explicitly stated.
 
  • #12
.Scott said:
For example, CRC-16-CCITT is denoted:
The wikipedia article in your link uses the symbol ⊕ to make it explicit that the operation is exclusive or, and in the description of the algorithm, they write XOR, not OR.
 
  • #13
Mark44 said:
The Wikipedia article in your link uses the symbol ⊕ to make it explicit that the operation is exclusive or, and in the description of the algorithm, they write XOR, not OR.

The CCITT formula I specified is shown in the table about half way through their article. It, along with many other polynomials all of which use the "+" symbol, are in the "Polynomial Representations" column.

The ⊕ symbol is also used in that article - but that was not what I was referencing.

In the HW context (electronics), the plus sign is often used to indicate the operate of an OR gate. But this is not really part of the "native" SW context. For example, if you go to this site:
https://www.electronics-tutorials.ws/logic/logic_3.html
and search for "Multi-input OR Gate", you will find this equation:
Q = (A+B)+(C+D)+(E+F)
Where the plus signs indicate inclusive ORs.

It's also shown on slide 3 on this webpage:
https://fdocuments.in/document/chap...gate-basic-operations-of-boolean-algebra.html

To my knowledge, there are no general-purpose software languages that use + for inclusive OR. The plus sign indicates addition, which in some cases can be modulo-2 arithmetic - an effective exclusive OR.

In general, each language has its binary operators to indicate Boolean and bit-wise operations.
 
  • #14
.Scott said:
To my knowledge, there are no general-purpose software languages that use + for inclusive OR.
I agree. What are commonly used in programming languages, at least those that stem from C, are || for logical or, && for logical and, and ^ or xor for exclusive or.

At the hardware design level, the texts I've seen use + for or (inclusive), ⋅ or * for and, and various symbols, including ⊕, for exclusive or.
 
  • #15
What about the strange example 1+1 = 110 ?

How do you add 1 + 11?

Here,

11 = 10 + 1

101 = 100 +1

110 = 100 + 10

111 = 100 + 10 + 1 = 100 + 11

and so forth.

A question for computer experts: Can this number system be used in computers instead of the binary number system? Would it have any disadvantages or problems?
 
Last edited:
  • Like
Likes Greg Bernhardt
  • #16
lavinia said:
A question for computer experts: Can this number system be used in computers instead of the binary number system? Would it have any disadvantages or problems?
A long time ago (prior to various binary memories) the IBM 650
had a decimal number system in which each decimal digit was represented by seven bits of data. It was a bi-quinary coding method much like an abacus. The memory was a rotating disk with 2000 10 digit numbers. Each digit used the representation shown in the following.

I think the primary advantage was avoiding any undetected errors due to accidentally reversed bit values. The disadvantage was smaller memories than those which were possible with the later binary systems involving each bit represented by a tiny doughnut shaped bit memory, these bits organized in a rectangular array. Later still came electronic chip memories.
 
Last edited:
  • Like
Likes PeroK
  • #17
lavinia said:
What about the strange example 1+1 = 110 ?

How do you add 1 + 11?

Here,

11 = 10 + 1

101 = 100 +1

110 = 100 + 10

111 = 100 + 10 + 1 = 100 + 11

and so forth.

A question for computer experts: Can this number system be used in computers instead of the binary number system? Would it have any disadvantages or problems?
One reason I asked about computer application is this:

If 1+1 = 110

then 11+1 = 10 + 1 + 1 = 10 + 110 = 10(1+11) = 100(1+11) ...

One can conclude that 1+11= 0 but how by algorithm would a computer figure this out?

The usual addition algorithm I learned in school would go : 1+1 = 110, put down the zero and carry the 11. This algorithm never stops.

Question: Does this say anything about needing a principle of induction in arithmetic?

Despite all of this, this number system uses only 1's and 0's like the binary number system.
 
  • #18
Buzz Bloom said:
Hi Greg:

I do not mean to criticize, but it seems to me that your "Myths" are simply an introduction of linguistic ambiguities (for example those common in English) into the language of math. As in English, an ambiguous sentence has no ambiguity if a context has been established. It is generally the case that in math a context is known to the reader, for example, that the topic is whole number arithmetic rather than a finite group theory.

Regards,
Buzz
Ideas in mathematics often generalize to different contexts as do ideas in general. Generalization of ideas is more than linguistic ambiguity. I remember being stunned when the idea of straight line on a sphere generalized to great circles and how then there were no parallels and the sum of the angles of a geodesic triangle is greater than 180 degrees.

Historically, I would imagine that Gauss and his contemporaries were stunned when they realized that there is a model of plane geometry in which there are infinitely many parallels to a given line through a point and that the sum of the angles of a triangle is less than 180 degrees.
 

FAQ: Is Mathematics Dependent on Context?

Is it really a myth that 1+1=2 in math?

Yes, it is a common misconception that 1+1 always equals 2 in math. While this is true for basic arithmetic, there are other mathematical systems where this is not the case.

Can you give an example of when 1+1 does not equal 2 in math?

One example is in modular arithmetic, where numbers "wrap around" after a certain value. In this system, 1+1 can equal 0 or another number depending on the modulus used.

Why is it important to understand that 1+1=2 is not always true in math?

Understanding that 1+1=2 is not always true allows for a deeper understanding of mathematical concepts and systems. It also helps to avoid errors and misunderstandings when working with more complex equations.

Does this mean that basic arithmetic is incorrect?

No, basic arithmetic is still a valid and useful tool in everyday life. However, it is important to recognize that it is just one aspect of math and there are other systems and concepts that may not follow the same rules.

How can I learn more about this math myth and other mathematical concepts?

There are many resources available, such as books, online courses, and educational videos, that can help you learn more about math and its various systems and concepts. It is also helpful to engage in critical thinking and questioning when encountering new mathematical ideas.

Similar threads

Replies
142
Views
8K
Replies
5
Views
1K
Replies
4
Views
1K
Replies
4
Views
1K
Replies
14
Views
2K
Replies
2
Views
1K
Back
Top