Skip to main content
edited tags
Link
matheorem
  • 17.4k
  • 8
  • 49
  • 118
Tweeted twitter.com/#!/StackMma/status/204440407562653696
added 20 characters in body
Source Link

I want to define an algebra, where there are three elements: 0, 1 and $\infty$ and two operations, addition and multiplication defined, both commutative:

$$0+0=0$$ $$0+1=1$$ $$0+\infty=\infty$$ $$1+1=1$$ $$1+\infty=\infty$$ $$\infty+\infty=\infty$$ $$0\times0=0$$ $$1\times0=0$$ $$1\times1=1$$ $$0\times\infty=1$$ $$1\times\infty=\infty$$ $$\infty\times\infty=\infty$$$$\begin{align*} 0+0&=0\\ 0+1&=1\\ 0+\infty&=\infty\\ 1+1&=1\\ 1+\infty&=\infty\\ \infty+\infty&=\infty\\ 0\times0&=0\\ 1\times0&=0\\ 1\times1&=1\\ 0\times\infty&=1\\ 1\times\infty&=\infty\\ \infty\times\infty&=\infty \end{align*}$$

I want Mathematica to simplify expressions in this system.

I want to define an algebra, where there are three elements: 0, 1 and $\infty$ and two operations, addition and multiplication defined, both commutative:

$$0+0=0$$ $$0+1=1$$ $$0+\infty=\infty$$ $$1+1=1$$ $$1+\infty=\infty$$ $$\infty+\infty=\infty$$ $$0\times0=0$$ $$1\times0=0$$ $$1\times1=1$$ $$0\times\infty=1$$ $$1\times\infty=\infty$$ $$\infty\times\infty=\infty$$

I want Mathematica to simplify expressions in this system.

I want to define an algebra, where there are three elements: 0, 1 and $\infty$ and two operations, addition and multiplication defined, both commutative:

$$\begin{align*} 0+0&=0\\ 0+1&=1\\ 0+\infty&=\infty\\ 1+1&=1\\ 1+\infty&=\infty\\ \infty+\infty&=\infty\\ 0\times0&=0\\ 1\times0&=0\\ 1\times1&=1\\ 0\times\infty&=1\\ 1\times\infty&=\infty\\ \infty\times\infty&=\infty \end{align*}$$

I want Mathematica to simplify expressions in this system.

edited title
Link
rm -rf
  • 89.3k
  • 21
  • 296
  • 478

How to define a non-atandardstandard algebra in Mathematica?

Source Link
Anixx
  • 3.7k
  • 1
  • 20
  • 34
Loading