Declaring 2x2=0+2+2, 2x1=0+2, 2x0=0 while 2xx2=1x2x2, 2xx1=1x2, 2xx0=1 seemed arbitrary.
What helped was learning about negative exponentiation and exponentiation simplification, so 2xx0 = 2xx2 x 2xx(-2) = 2xx2 / 2xx2 = 1.
That said, I clearly still take issue with unintuitive interpretations of "nothing" https://stackoverflow.com/questions/852414/how-to-dynamicall...
Or if I were using latex:
2 \times 0 = 1_{+}
Because multiplication, being repeated addition and exponentiation repeated multiplication both behave the same way. When asked to repeat the operation zero times, they return the unit or 1 of the underlying group, which is typically denoted as 1_{whatever}However, the 1 of addition is 0 when using the standard notation for integers
Your teacher didn't tell you (or told you, but you didn't recognize it as something valuable and forgot it) that exponentiation to zero is a new definition over exponentiation to positive integers. Exponentiation to positive integers is defined somehow, and that definition says nothing about exponentiation to zero. It is a new definition, not something that you deduce.
The same holds for 0^0 or 0/0 (with some amounts of confusion, lies, and hypocriticism).
Which I found incredibly silly once I leaned about negative exponentiation and could now deduce the pattern.
Similarly, 0/0 became much more tractable to me once I learned L'Hôpital's rule https://en.wikipedia.org/wiki/L'H%C3%B4pital's_rule
2x0 = 2x1 + 2x(-1) = 2-2 = 0
and 2xx0 = 2xx1 x 2xx(-1) = 2/2 = 1
Inverting the concept and having those patterns stem from a fundamental identity can wait until its not seen as the mathematical equivalent of "Because I said so".This has to do with rings and the relationship between the two identities of the two underlying groups. It ultimately stems from the distributive property between multiplication and addition
I think we invent abstractions because they allow us to reason about patterns in reality in a consistent way. The fact that division by zero is undefined is (to my mind) because it doesn't correspond to any useful pattern in the parts of reality we typically apply arithmetic to (accounting, estimation, etc).
What I like about this point of view is that it encourages thinking about what you are trying to accomplish, rather than fixating on formal rules. In some contexts "division by zero" can correspond to a meaningful pattern - look up the geometry of the projective line, for instance. In such cases you might want to include it in your model, rather than declaring it to be undefined as a convention!
> it doesn't correspond to any useful pattern in the parts of reality we typically apply arithmetic to (accounting, estimation, etc).
You can of course re-define it, but then we aren't talking about the same thing any more. The operation of inverting multiplication, is not defined for zero.
Similarly the fact that multiplication and division are inverses is a property of this model. Conceptually you can imagine splitting and copying groups of objects quite independently of one another (and which one you view as fundamental is really a post-hoc choice).
In general these days we mostly see clean mathematical abstractions because all the scaffolding has already been removed by mathematicians past. And as a result people come to believe that this is how mathematics is done. But always there is an initial period of exploration (which eventually gets forgotten) as people try to work out how to axiomatise the various systems they are interested in.
Contrast 0^0 with 0/0. Both of them are considered undefined, but the former is often defined "locally", e.g in a given textbook or article to have the value 1. That's not true for 0/0 because it's not been found to be useful.
In measure theory it's often useful to augment your reals with positive/negative infinity. In projective geometry it's sometimes meaningful to allow division by zero (to counter one detail of your comment). In nonstandard analysis you would consider infinitesmals to be valid numbers, and in game theory you might consider stuff like the surreals which are yet another to view the familiar numbers, with different laws.
You can say we're talking about many different systems here, and that's true in a formal sense. I'm just pointing out that these formal systems come from somewhere, and mathematics is really about the thought-stuff underlying them. You should be willing to bend a rule here and there if it is truer to the concepts you care about - statements like "division by zero is undefined" should never be taken as absolutes.
(but of course this is just my personal philosophy of mathematics, take it with a pinch of salt)
(1) abs(y_i - x_i) <= delta * abs(x_i) for each i.
This number can be computed as
(2) delta = max (abs(y_i - x_i) / abs(x_i)) over each i.
If you wish to allow zero entries in your vectors while keeping the equivalence between (1) and (2), you have to define 0 / 0 = 0.
Take out a scientific calculator and start doing division by smaller and smaller units:
1/0.9
1/0.09
1/0.009
...
1/0.000000000000000000009
So we can then ask what happens if we do this more and more with incremental steps? It seems that we go toward infinity.
thus the more you do this the higher the returned number and I think we just discovered (I think I have to refresh my memory and hope not say something very wrong) the concept of calculus. Then we can use a new concept: limits - what happens when that 0.000000000............N is as close to zero as possible.
It actually tends towards 1 no matter how small the divisor
It doesn't always go to 0, hence why it is undefined