Is 'no solution' the same as 'undefined'?

Solution 1:

To answer your question directly: The equation $6^x = 0$ has no solution for $x$, and therefore $\log_6 0$ is undefined.


To expand on the whole "no solution" vs. "undefined" thing, both "no solution" and "infinitely many solutions" (and in general anything other than "exactly one solution") mean that the expression representing the equation is undefined. For example, your example of $\frac 00$ can be represented as "the solution to $0x = 0$", which is any real or complex number (or in general any number in the field you're working in regardless of what that field is); therefore $\frac 00$ is undefined.

It is not always the case, however, that an undefined value will always stay that way. Take the case of the square roots. The equation $x^2 = 4$ has two roots, $2$ and $-2$, so technically $\sqrt{4}$ is "undefined". But because it suits our uses, we define the square root of a number to be its positive square root, and things work out.

In fact, the equation $x^2 + 1 = 0$ has no solution in the real numbers, so $\sqrt{-1}$ is also "undefined". But then we defined $i$, the imaginary unit, just to cover this case, and again, things worked out. Of course, by doing so we lost the property of ordering (Is $1$ or $i$ greater? There is no answer).

In general when you try and invent numbers to satisfy certain properties, you lose some properties that the previous system had. For example, extending the natural numbers to the integers to satisfy closure of subtraction means you lose well-ordering. Extending the integers to the rational numbers to satisfy division means you lose the existence of prime numbers, the division algorithm, and in general the possibility of numbers not being divisible by one another. Extending the rational numbers to the real numbers to satisfy the least-upper-bound property means that you lose finite representability (and maybe some other property that I don't know about), as some irrational numbers really do require an infinite, arbitrarily generated Cauchy sequence to define them.

In the case of your example of $\frac 00$, we could simply define $\frac 00$ to be $1$. However, by doing this, as you saw, we lose a lot of the properties that the real numbers give us, like multiplication being consistent. If we do this, then $1 = \frac 00 = \frac {2 \times 0}{0} = 2 \times \frac 00 = 2 \times 1 = 2$, meaning that things don't work out. In other words, by defining $\frac 00$, we lose too much other stuff for it to be useful. So we simply leave $\frac 00$ undefined and disallow it in most uses. (There are some cases in, say, calculus, where the form $\frac 00$ really is useful, but it's always in the context of limits and what value something takes as an expression approaches $\frac 00$.)

In short, the reason some things are undefined is simply because defining them causes trouble.

For more interesting reading on the subject of definitions and undefined numbers, try looking up the debate on whether $0^0 = 1$, or even the history of rational and irrational numbers. There have even been squabbles over whether negative numbers exist, and sometimes that makes for fun reading.

Solution 2:

I think the distinction is one of proper (English) usage.

An equation can have no solution(s). You do not say that an equation is undefined. Being undefined is not a property an equation can have.

For example, the equation $x^2 = -1$ has no (real) solutions. It (the equation) isn't "undefined".

An expression can be undefined. You do not say that an expression has no solution.

For example, $\lim_{x \to \infty} \sin x$ is undefined. You do not say that this limit has "no solutions". (Nor should you write, as I sometimes see, ``$\lim_{x \to \infty} \sin x = \emptyset$''.)

Solution 3:

This problem has no solution. The word ``undefined'' is being misused.

Solution 4:

An equation's solution is a set. That set can be empty, or it can consist of a single unique solution, some bounded number of solutions, or an infinite number of solutions.

An empty set is not undefined in any sense. The solution for an equation which has no solutions is perfectly well defined: it is the empty set object: $\emptyset$.

If an equation is formed using this pattern:

$$f(x) = C$$

and if that equation has no solutions, then it means that the inverse relation $f^{-1}(C)$ is undefined at $C$. This is a different concern. (Note that the inverse relation is is not necessarily a function.)

The equation not having solutions means that there exists no value of $x$ such that $f(x)$ makes $C$. We can say that $C$ lies outside of the range of the function $f$. And since $C$ lies outside of the range of $f$, it means that $C$ lies outside of the domain of the inverse relation $f^{-1}$. A relation is only defined for values inside its domain by, ahem, the definition of what it means to be defined.

Solution 5:

For the sake of variety....

The actual practice of mathematics tends to implicitly use more flexible semantics than is actually explicitly described. One interpretation is that semantics not based on functions but on partial functions.

For example, if you've ever really thought through questions like

What is the domain of the function $f(x) = \sqrt{1 - x^2}$?

you'd see that they are very poor questions when taken at face value, when interpreted in the usual way. There are two problems:

  • The domain of $f$ is, by definition, the set of values that the variable $x$ ranges over. So there's nothing to prove.
  • $1-x^2$ isn't an expression known to be limited to the domain of $\sqrt{}$, so the equation is nonsense anyways.

However, when interpreted in terms of partial functions, the question both makes sense and is meaningful. The function $f$ so defined assigns a value to every $x$ such that $1-x^2$ is in the domain of $\sqrt{}$, and it does not assign a value to any other $x$.

This is a special case of composition of relations.

To resolve ambiguity, when considering a partial function $f:X \to Y$, I will call $X$ and $Y$ the "source" and "target" respectively. The "domain" of $f$ is defined to be the subset of $X$ of values that $f$ assigns a value to.

So if $x$ is a real variable, then the function $f(x) = \sqrt{1-x^2}$ has source $\mathbb{R}$ (the set of real numbers), target $\mathbb{R}$, and domain $[-1,1]$.

Let $I$ denote a set with one element. Recall the notion of "element of a set $S$" is equivalent to the notion of "function $I \to S$". Keeping in the spirit that notation should be more along the lines of partial functions than functions, this means that there should be an idea of a "partial element".

The set of all partial functions from $I \to S$ consists of all ordinary functions and one new partial function: the one whose whose domain is empty.

Switching back to the notion of element, it is not unreasonable to call the partial element of $S$ corresponding to the partial function with empty domain "the undefined element of $S$".

And this matches conventional usage. Recall that if $a$ is a partial element of $S$, $i$ is the corresponding partial function, and $f$ is a partial function $S \to T$, then $f(a)$ is the element of $T$ corresponding to the composite $f \circ i$.

So continuing our example of $f(x) = \sqrt{1-x^2}$, if we follow the above rule to plug in the value $2$, we get that $f(2)$ is the undefined real number.

One awkwardness of this notation is that there's an ambiguity of what "$=$" should mean. Specifically, while $f(2)$ is the undefined real number, it would be reasonable to insist that $f(2) = undefined$ is not a true statement; instead, it is the undefined truth value. I haven't thought through the specifics of this notation enough to have decided how to treat "$=$".


Another feature that comes up in practice is generalized elements, e.g. in the form of indeterminate variables and expressions involving them.

If I define the variable $x$ to be the general real solution to the equation $6^x = 0$, this definition makes sense in terms of generalized elements; it is more or less equivalent to the "undefined real number" described above. And interpreted in the context of generalized elements, it does make sense to say $x \in \emptyset$.