Comment

Comment by jacobolus

You can add a non-zero number which squares to zero to your number system [edit: but this doesn't let you divide by zero]. This results in the "dual numbers" and is practically useful for "automatic differentiation", where we represent quantities in the form x + x'ε, and have the rule that ε² = 0.

https://en.wikipedia.org/wiki/Dual_number

https://en.wikipedia.org/wiki/Automatic_differentiation#Auto...

Quantities which square to zero are also implicit in spacetime. A "lightlike" vector which has equal displacements in space and time between two spacetime “events” (e.g. the displacement between two points along the path of a photon) has a squared length of 0, compared to "timelike" vectors with negative squared length and "spacelike" vectors with positive squared length. (conventions about signs vary from source to source)

https://en.wikipedia.org/wiki/Spacetime#Spacetime_interval

* * *

In other contexts it makes sense to define 1/0 to be the quantity ∞. There are two relevant models here, with different practical applications. One model where we add a single number ∞ which is also equal to –∞, and makes the number line "wrap around" into a circle. Another model where we add two separate numbers +∞ and –∞ at the two ends of the number line.

https://en.wikipedia.org/wiki/Projectively_extended_real_lin...

https://en.wikipedia.org/wiki/Extended_real_number_line

parent jacobolus 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton