50
$\begingroup$

I have read many articles on many sites and in many books to understand what undefined means? On some sites of Maths, I read that it could be any number. and on some sites, I read that it may be some undefined thing; and there are more definitions. But they all have clashes with each other that all are defining the term "undefined" in different ways. So which concept is right for the word "undefined" in criteria of Maths among the following five?

1-A number divided by zero may be any number (real or imaginary)

2-A number divided by zero may be an entity which is not defined yet.

3-Division of a number by zero does not make sense.

4-If $x=a/0$, then no solution exists!

5-It may give a third type of number other than real or imaginary [I have not read this definition in any book or site but it's my thought.]

This query popped up into my mind while my teacher was solving a question from my book, I am showing it to you along with my teacher's work.

Q- Prove that the roots of the following equation are real.

$x^2-2x(m+\frac{1}{m})+3=0$ where, $m$ is any real number.

Teacher's attempt:

For roots to be real,

$b^2-4ac>0$

$\implies 4(m^2+\frac{1}{m^2}-1)>0$

$\implies 4(m^2+\frac{1}{m^2}-2+1)>0$

$\implies 4[ (m-\frac{1}{m})^2+1 ]>0$.

My teacher let us write that inequality is satisfied for all $m$ belongs to real number however if $m=0$, $\frac{1}{m}$ is undefined. So if "undefined" means that "a number divided by zero may be any real or imaginary number" so then I can confess only for real numbers that inequality is satisfied for all $m$ belonging to real numbers and not for imaginary numbers since we can't make sense of a statement like this $i>0$ but if the term "undefined", in Maths, is defined as "Senseless" or "something else not known" then I strongly apprehend that why my teacher let us write that Inequality is satisfied for all $m$ belonging to real numbers?

$\endgroup$
9
  • 20
    $\begingroup$ if "undefined" means that "a number divided by zero may be any real number" then... It doesn't mean that. Every answer below is telling you that is not what "undefined" means. Before you try to understand what "undefined" means, perhaps you should try to understand what "defined" means because "undefined" means nothing more or less than "not defined." $\endgroup$ Apr 10, 2015 at 17:56
  • 4
    $\begingroup$ Don't make a confusion between $a/0$ where $a$ is a nonzero value (this quotient is not a real number) and the notation $0/0$ which is indeterminate (usually this quotient does not appear as such but as a limit of some function). I have never heard that "a number divided by zero can be any real number" - on the opposite, it is no real number. $\endgroup$
    – user65203
    Apr 10, 2015 at 18:58
  • 2
    $\begingroup$ I see this is related to this earlier question of yours. I would have recommended linking to the other question (while explaining the relationship) rather than just cutting and pasting. That question seems to be caused by imprecision in the statement of a fact (which is said to be true for all real $m$ when it is only true for $m \neq 0$). If there is some doubt or confusion that is not based on such an imprecise statement then it would be better to have an example that is not based on such an imprecise statement. $\endgroup$
    – David K
    Apr 10, 2015 at 22:07
  • 2
    $\begingroup$ I believe the recommended way to handle duplication of your own question is to flag one of the questions and request that a moderator merge it with the other. $\endgroup$
    – David K
    Apr 11, 2015 at 14:55
  • 6
    $\begingroup$ Do not make edits unless absolutely necessary. In particular, changing "mathematics" to "maths" is not absolutely necessary! $\endgroup$
    – Pedro
    Apr 13, 2015 at 2:52

14 Answers 14

94
$\begingroup$

Saying that 1 divided by 0 is undefined, does not mean that you can carry out the division and that the result is some strange entity with the property “undefined”, but simply that dividing 1 by 0 has no defined meaning. That is just like when you ask whether the number 1.9 is odd or even: That is not defined. Or when you ask what colour the number 7 has.

$\endgroup$
11
  • 2
    $\begingroup$ @SufyanSheikh If you want to be precise, you should specify right at the beginning that $m\neq 0$, since $\frac1m$ is not defined when $m=0$. It would be better if the question read something like this "Prove [...] $x^2-2x(m+\frac1m)+3 = 0$, where $m$ is any real number except $0$." Or perhaps "Prove [...], where $m$ is any real number where the expression is defined." $\endgroup$
    – Eff
    Apr 10, 2015 at 14:42
  • 11
    $\begingroup$ @SufyanSheikh You can't drastically modify your question and then expect people to make commensurate modifications on their answers. $\endgroup$ Apr 10, 2015 at 17:51
  • 6
    $\begingroup$ @SufyanSheikh, thank you, I think I read the answer before the edit from top to bottom. $\endgroup$
    – Carsten S
    Apr 10, 2015 at 17:52
  • 60
    $\begingroup$ As a programmer, I like to think of the operation as undefined, not the result. The result is not undefined, as there is no result. You can't even get to a result other than to say, "I can't do what you want me to do, so I stopped." 1 / 0? The operation is undefined, so there is no result. In a computer, it generates an exception, since there is no defined algorithm (or set of instructions) for dividing by 0. Such an exception prevents the computer from trying to check the result, which has no representation. $\endgroup$
    – phyrfox
    Apr 10, 2015 at 21:59
  • 2
    $\begingroup$ @goblin, I have treated this as a beginner's question. $\endgroup$
    – Carsten S
    Apr 10, 2015 at 22:33
64
$\begingroup$

To put matters straight: Division is a function $$q:\quad{\mathbb R}\times{\mathbb R}^*, \qquad(a,b)\mapsto q(a,b)=:{a\over b}\ ,$$ whereby $q(a,b)$ is the unique number $x\in{\mathbb R}$ such that $b \>x=a$.

When we say that $\displaystyle{a\over0}$ is undefined then this means no more and no less than that the pair $(a,0)$ is not in the domain of the function $q(\cdot,\cdot)$.

Now to your three ways of understanding "undefined" in the realm of division by $0$:

  1. If $\displaystyle{a\over0}$ could be any number, say $=13$, then this would enforce $13\cdot0=a$, which is wrong when $a\ne0$.

  2. This is even worse. Why should $\displaystyle{7\over0}$ be the Eiffel tower?

  3. There are circumstances where division by zero makes sense, e.g. in connection with maps of the Riemann sphere, or with meromorphic functions. There one has $\infty$ as an additional point in the universe of discourse. But these circumstances require special exception handling measures, and the "usual rules of algebra" are not valid when dealing with $\infty$.

$\endgroup$
3
  • 4
    $\begingroup$ This is of course a more useful answer than mine. $\endgroup$
    – Carsten S
    Apr 11, 2015 at 12:19
  • 7
    $\begingroup$ Note that in particular $0/0$ is undefined. The literal division of $0$ by $0$ is not a defined number; it is not indeterminate. What is indeterminate, in the sense "it could be anything", is a limit of the form $\lim_{n\to\infty}\frac{a_n}{b_n}$ where $\lim_{n\to\infty}a_n=\lim_{n\to\infty}b_n=0$ - the statement "$0/0$ is indeterminate" is a (slightly misleading) abbreviation of this claim. $\endgroup$ Apr 11, 2015 at 22:15
  • $\begingroup$ @SufyanSheikh This could be interesting. $\endgroup$ Apr 12, 2015 at 5:37
8
$\begingroup$

What does the term "undefined" actually mean?

In light of the already great answers provided by Carsten and Christian, I thought a more linguistic analysis of "undefined" may be in order. The following two terms are explained in the book Origins of Mathematical Words by Anthony Lo Bello:

indeterminate$\quad$ The Latin noun terminus means the end of something. From it was formed the denominative verb termino, terminare, terminavi, terminatus meaning to set bounds to. The addition of the prefix de- emphasizes that the separation is from something else and produced the compound verb determino, determinare, determinavi, determinatus meaning to fix the limits of. The addition of the negating prefix in- to the past participle of this verb resulted in the Latin adjective indeterminatus meaning undefined, unlimited.

Now to the analysis of the word originally in question:

undefined $\quad$ The Germanic negative prefix un- has been added to the word defined of Latin origin to produce the hybrid undefined. It would have been better to say indefined as we say indefinite, but it is too late now. Defined is from the verb definio, definere, definivi, definitus, which means to set the boundaries. The plural noun finus in Latin means enclosed area, territory. The force of the prefix de- is to add the sense of thoroughness to the action.

Both of these terms, especially the mentioning of "to set the boundaries" in the analysis of the term undefined, should make Christian's answer even more lucid, especially his response to your third way of understanding "undefined."

$\endgroup$
0
8
$\begingroup$

From the algebraic point of view, the Real numbers form a field under multiplication and addition. If we look at the Reals as a field, there is no separate operation of "division", instead we multiply by the reciprocal. Since $0$ has no reciprocal in $\mathbb{R}$ (in fact the additive identity in a field never does), there exists no element available to multiply by to perform what would be commonly called "division by zero".

We know $0$ has no reciprocal in $\mathbb{R}$ because there is no real number $z$ that makes the following equation true: $$0z=1$$

If there were such a $z$, then we could multiply by that number and obtain an answer for "dividing by zero", but since there is no $z$, we have no way to "divide by zero".

To expand on user38858's answer, it would be like "dividing by orange". "Orange" is not a Real number, so the idea that we could perform any mathmatics with "Orange" in the context of Real numbers makes no sense. There is no real number that represent the reciprocal of $0$, so it also makes no sense to attempt to perform any mathematics on such an object.

From the algebraic standpoint, I would say that "Division by zero does not make sense" is the closest of your three concepts. Maybe I would change it slightly to say "Division by zero is not even possible".

$\endgroup$
6
$\begingroup$

On some site of Mathematics, I read that it could be any number. and on some sites, I read that it may be anything. These are two major meanings of undefined but I think, they have a clash.

I just wanted to address this because it looked like none of the other (very good) answers have.

It looks like you're seeing two different definitions on those various websites:

  1. Undefined = not yet defined. As in, this may have a value or meaning or definition, but we haven't gotten there yet. A lot of sites may do this with a variable X, saying it hasn't yet been defined, or we haven't found the value yet, but we can make some statements.

  2. Undefined = not defined; we have not given an explanation for what this means. This is how I typically see undefined used. Undefined means there does not exist an answer in the way we defined it.

For example, if we define a function $f$ $|$ $\mathbb R \mapsto \mathbb R$ by $f(x) = 2x$, then $f(x)$ is "defined" for $x$ a real number. $x = 1$, $f(x) = 2$. $f(4) = 8$.

However, $f(orange)$ makes no sense. It's undefined since orange is not an element of $\mathbb R$.

We could start out the problem by saying $f$ $|$ $\mathbb R$ $U$ $(orange) \mapsto \mathbb R$ where $f(x) = 2x$ for $x$ in $\mathbb R$, and $f(orange) = 0$, then $f(orange)$ is not undefined. I've given it an answer.

Similarly, you could start out your problem by giving an output for $\frac{1}{m}$, for $m = 0$, maybe by saying $\frac{1}{m} = 0$. Whether or not you'd find that construction very useful is altogether another matter, but it is possible.

$\endgroup$
3
  • $\begingroup$ If I didn't get you wrong, you are saying that the right definition for the term"undefined" is that "A number divided by zero may be any number". Isn't it? $\endgroup$ Apr 10, 2015 at 17:36
  • 3
    $\begingroup$ Sort of, but not really. Sorry this was confusing. In math, for me, there isn't "right" and "wrong" definitions. There's "useful" and "less useful" definitions. "A number divided by zero may be any number" is not a useful definition for me. You can choose to use that definition if you like, but you may find in your career that it is "less useful" than you may have initially thought. I can't come up with a good reason to use such a definition. If you want a concrete way to think about I would consider this more useful: "undefined" = "has no meaning". "orange + 6 = New York" "has no meaning" $\endgroup$
    – user38858
    Apr 10, 2015 at 17:56
  • $\begingroup$ I do know one useful application of defining $1/0$: in doing so, you get a total division function, which is often easier to work with in compound operations, esp. in symbolic manipulation algorithms. A meadow is a particular kind of field where the division operator is total and satisfies $a/0=0$. This has a nice equational theory, and has been studied by J. Bergstra and others. $\endgroup$ Feb 11, 2016 at 9:41
5
$\begingroup$

Something is undefined because none has defined it (yet). It is easy to define addition and multiplication of real numbers.

One can then show the theorem that for arbitrary $a,b\in\mathbb R$, the equation $a+x=b$ has exactly one solution. By virtue of this theorem, one can define $b-a$ as this unique solution.

One can also show that theorem that for $b\in \mathbb R$ and $a\in\mathbb R\setminus\{0\}$, the equation $ax=b$ has a unique solution. By virtue of this theorem, one can define $\frac ba$ as this unique solution under these circumstances. In principle, none could prevent you from defining $\frac ba$ as something completely different, for example $\frac ba:=a^2+b^2-7$. However, this makes little sense as one cannot express nice theorems with this (well, you'd have that this "division" is commutative and there'd we funny equations such as $\frac55=\frac71$). At any rate, such a definition, though feasible, would not be related to multiplication.

So what if we consider only definitions of division $\frac ab$ that coincide with our usual division (unique solution of $bx=a$) as long as we divide by something nonzero? Whatever you define $\frac 10$ to be (say, $\frac 10:=\star$), you'd lose nice properties of division (i.e., this modified notion of division is less helpful to express general statements succinctly). For example, following general rules we should have $\frac10=\frac1{2\cdot 0}=\frac12\cdot \frac10$, so $\star=\frac12\star$. So either we no longer have "$\frac a{2b}=\frac12 \frac ab$ whenever $\frac ab$ is defined"; or we no longer have "the unique solution of $x=\frac12 x$ is $x=0$"; or the symbol $\star$ is actually just $0$ and we no longer have "$\frac ab=c$ implies $a=bc$". Some of these options would be especially awful because the uniqueness of solutions of similar equations was what motivated the introduction of "division" in the first place!

So the more complete answer is: Division by zero is undefined, and is left undefined on purpose because whatever custom extended definition someone might want to introduce, it would not be useful (let alone meaningful) in the sense of an inverse of multiplication.

$\endgroup$
0
3
$\begingroup$

"a number divided by zero may be any real number" is a wrong statement and is never said.

A number divided by zero is just not a real number.

"zero divided by zero may be any real number" is an informal way to express that certain indeterminate expressions have a limit.

$\endgroup$
2
  • $\begingroup$ Hey I have copied it from there. Let me show it to you that from where I got concept of that "dividing by zero may give us any number". Here it is, taken from mathsisfun.com/numbers/dividing-by-zero.html >$0/0$ is like asking "how many $0s$ in $0$?" Are there no zeros in zero at all? Or perhaps there is exactly one zero in zero? Or many zeros? So 0/0 is indeterminate (it could be any value). $\endgroup$ Apr 11, 2015 at 11:51
  • 1
    $\begingroup$ Exactly what I said. You didn't read that post carefully nor my answer. $1/0$ is undefined and $0/0$ is indeterminate. $\endgroup$
    – user65203
    Apr 11, 2015 at 17:31
3
$\begingroup$

When referring to the result of a mathematical operation, undefined means there is no meaningful result.

When referring to a mathematical object which satisfies some mathematical relationship, undefined means no object satisfies that relationship.

The operation $f$(🍊) has no meaningful result.

There is no $x$ that satisfies the relationship $x=\frac{a}{0}$; equivalently, there is no $x$ that satisfies the relationship $x \cdot 0 = a$.

$\endgroup$
5
  • 1
    $\begingroup$ I don't understand your question. Maybe it's better to put it as @phyrfox did: "I like to think of the operation as undefined, not the result. The result is not undefined, as there is no result." $\endgroup$ Apr 14, 2015 at 0:21
  • $\begingroup$ Your original question may be conflating two questions: "what does 'undefined' mean?" and "why is division by zero undefined?". These are not the same question. I aimed to answer the question in the title. $\endgroup$ Apr 14, 2015 at 0:27
  • 1
    $\begingroup$ The grammar in some of your comments suggests that english is not your first language; it might be easier to understand if you could get someone to explain it in your first language. $\endgroup$ Apr 14, 2015 at 0:30
  • 1
    $\begingroup$ @SufyanSheikh When I explain something to somebody else and they repeat it back to me, I have to listen carefully to find exactly where the disconnect is (if exists). When I'm listening to them speak to me and they can't express all angles of a concept, it's sometimes because they don't know the concept, and other times because they don't know the words. You use phrases which signal ESL, which indicates more strongly a disconnect in words rather than concepts. This isn't meant to be insulting: confronting a disconnect is, in my experience, the swiftest way to learn. $\endgroup$
    – user38858
    Apr 16, 2015 at 15:38
  • $\begingroup$ "English is not my first language but also not the last" I like your attitude. I didn't respond to your last comment on my answer only because I had nothing to say. As for "grumbles about your English"; there are none. Not from me, and presumably not from Polyergic. Carefully reread what I wrote. I wasn't talking about you specifically until I used the word "you". It seems like you're struggling more with the words than the concepts; your very question here is one of language. As such, I thought I would reinforce Polyergic's suggestion to see help from an expert in your first language. $\endgroup$
    – user38858
    Apr 16, 2015 at 17:43
3
$\begingroup$

In this case, undefined means "not in the domain." The division operator, $div(numerator, denominator)$ is defined over the domain of real numbers except that y=0 is not in the domain.

Now, that very specific wording aside, I think you might get an intuitive grasp of the meaning if I can draw from a non-mathematics topic, programming languages. Programming language specifications have two terms which are highly related to your query: unspecified behavior and undefined behavior

  • Unspecified behavior - the exact result of an operation is not specified, but the general behavior is bounded to some reasonable results. If you're writing software that uses unspecified behavior, you cannot rely on its exact behavior to be the same from compiler to compiler (example: there's a feature in C++ called a "null pointer," which is often represented with the symbol 0. Its actual value is unspecified. On most machines, its value is 0, but on some microcontrollers, a value of 65535 turns out to be surprisingly more useful, so those compilers use that.)
  • Undefined behavior - The behavior can be absolutely anything. The compiler is allowed to give you an error. You may get an error at runtime. You may get an error before you even execute the command that has undefined behavior. You may silently get really weird and obtuse behavior, or it may even work exactly like you think it should do. Undefined behavior is truly undefined in every way shape and form. The presence of undefined behavior invalidates the entire program, just like using an undefined value in mathematics invalidates your entire proof.

Now there is some room for undefined behavior to be defined. As a classic example, taking the square root of a negative number is undefined behavior when you're considering the set of real numbers. The square root of -1 simply has no definition if you're only looking at reals. However, if you extend your interest to not only real numbers, but complex numbers, the square root of -1 becomes defined (its value is $i$), but only as long as your concerned with complex numbers.

You could define division by 0 to result in an unspecified value. In fact, there are schools of thought that do. However, it turns out that doing so causes all sorts of problems with the rules of arithmetic that we are so used to. For example math on a Riemann sphere allows the statement $1/0=\infty$. However, they pay a dark price in doing so: the normal rules of arithmetic you are used to do not apply to arithmetic done on Riemann spheres. In particular, you lose a guarantee of a multiplicative inverse for equations that result in $\infty$. $0/0$ and $\infty/\infty$ remain undefined.

Generally speaking though, people do not use such number systems unless they explicitly call them out. For normal every day use, undefined is simply undefined.

$\endgroup$
2
$\begingroup$

The answer by user38858 is very much to the point:

It looks like you're seeing two different definitions on those various websites:

  1. Undefined = not yet defined. As in, this may have a value or meaning or definition, but we haven't gotten there yet. A lot of sites may do this with a variable X, saying it hasn't yet been defined, or we haven't found the value yet, but we can make some statements.

  2. Undefined = not defined; we have not given an explanation for what this means. This is how I typically see undefined used. Undefined means there does not exist an answer in the way we defined it.

I want to stress here that this is really relevant. After reading the answer by Christian Blatter, I can't help but wonder Why is mathematics fond of infinity, but dismissive towards partially (un)defined operations? Here are contrast answers for Christian Blatter comments on your three ways of understanding "undefined" for division by zero

1-A number divided by zero may be any number (real or imaginary)

In Meadows and the equational specification of division, Jan Bergstra et al rediscover among others the fact that one of the most useful way to define division by zero is that the result is zero. Now that I write this answer, I begin to appreciate why he introduced the new name zero totalized field for a field where division by zero is defined as zero. I'm still not convinced that introducing the name meadows for commutative inverse rings (which are also known as strongly von Neuman regular rings) was a good idea.

2-A number divided by zero may be any thing.

Even so Jan Bergstra should know that a number divided by zero is zero, he introduced common meadows where $0^{-1}=a$.

3-Division of a number by zero does not make sense.

Yes, in the most common context, division of a number by zero simply does not make sense.

$\endgroup$
1
$\begingroup$

Suppose you have a function $f:A \to C$, but you regard $A$ as a subset of some other set $i:A \hookrightarrow B$, and you do all your work from $B$. It is natural to ask if the function $f$ extends to a function $\tilde f:B \to C$ such that $f = \tilde f \circ i$.

Now, when dealing with subsets, we like to abuse notation and talk about $x \in i(A)$ and talk about $f(x)$. But $f$ is not a function on $B$, so in a rigorous sense, this is nonsense. A type error in the first place, and this is where our errors are coming from. This undefined notion comes in when we try to take $x \not \in i(A)$ and ask what $f(x)$ is. We can't pull $x$ back to an element on $x' \in A$ and then compute $f(x')$, so we say that $f(x)$ is undefined.

For example, let $A = \mathbb R^*$, $C = \mathbb R$, and $f: \mathbb R^* \to \mathbb R$ with $f(x) = 1/x$, and $B = \mathbb R$. In this case, we can't extend $f$ to a continuous function $\tilde f$ on $B = \mathbb R$. If $x \ne 0$, then we can pull $x$ back to A and compute $f(x)$, but if $x=0$, then we can't, so we say $f(x)$ is "undefined".

$\endgroup$
0
1
$\begingroup$

In general, an expression $x$ is undefined iff there is no $y$ such that $y=x$, or

$$x\text{ is undefined}\Longleftrightarrow\neg\exists y:y=x$$

For example, let $f$ be a function with the set of natural numbers as its domain and codomain. $f$ consists of a set of ordered pairs representing the inputs and outputs, as follows:

$$f=\{(1,0),(2,1),(3,2),(4,3),(5,4),(6,5),\ldots\}$$

Hence $f(1)=0$, $f(2)=1$, $f(3)=2$, $f(4)=3$, etc.

You may recognize this as the predecessor function on the natural numbers. The expression is undefined for $0$ in the sense that there is no ordered pair in $f$ such that the first element of the pair is $0$, hence (trivially) there is no $n$ in the codomain of $f$ such that there is an ordered pair in $f$ such that the first element of the pair is $0$ and the second element of the pair is $n$.

One could, of course, naturally extend the definition of $f$ to include $0$ (introducing the negative integers). One could do the same with $\frac{a}{0}$ for nonzero $a$, introducing a point at infinity. In doing so you may lose certain algebraic properties, such as $0\cdot a=a\cdot0=0$ for all $a$.

$\endgroup$
0
$\begingroup$

I think what you need to understand is that not everything that your teacher says should be taken ex cathedra. 0/0 not only can but has been defined in various ways in various contexts. The limit of x/y as x and y go to zero could be defined as infinity if, say, x converges linearly, while y converges exponentially. If the converse is the case, then we might choose (Note that it is a choice. It is not written in stone that 0/0 is undefined!) to define 0/0 as zero. If x and y both converge factorially, we might for some purpose at hand define 0/0 as being equal to 1. Sometimes the limit can even oscillate between two values and in such a case it has been found convenient to define the limit as being half-way between them! It all depends on what works for you in the case at hand.

$\endgroup$
0
$\begingroup$

I'd like to suggest another approach to explaining what an "undefined term" is in the context of term-rewriting systems.

Given an alphabet $A$ (i.e. $A$ is a non-empty, finite set), denote by $A^*$ the set consisting of all finite strings over $A$. Suppose you are given a set $T \subseteq A^*$ of terms over $A$, and a relation $R \subseteq T\times T$, which determines whether a term $s$ can be reduced to a term $t$ in a single step. Denote by $R^*$ the reflexive-transitive closure of $R$, i.e. $s\ R^*\ t$ iff $s = t$, or $s\ R\ t$, or there is a sequence of terms $r_1, \dots, r_n \in T$ ($n \in \{2, 3, \dots\}$) with $r_1 = s$, $r_n = t$, and for every $i \in {1, \dots, n-1}$ $r_i\ R\ r_{i+1}$. Suppose, additionally, you are given a subset of values (or terminals) $V \subseteq T$. Then the set of undefined terms, $U$, is the set of all terms that cannot be reduced to a value, i.e. $U := \{t \in T: \forall v\in V.\neg(t\ R^*\ v)\}$.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .