According to a Wikipedia article on the subject, in Herbert B. Enderton's book Computability: An Introduction to Recursion Theory (2011), even if nowhere else (no other reference is given, and I've never seen the usage):

If is a partial function on and is an element of , then this is written as and is read as " is defined."

If is not in the domain of , then this is written as and is read as " is undefined".

Answer from Calum Gilhooley on Stack Exchange
🌐
Workybooks
workybooks.com › explore › resources › math vocabulary
Undefined - Definition, Examples, Quiz, FAQ, Trivia
July 22, 2025 - In mathematics, "undefined" means that an expression doesn't have a meaningful answer. It's like asking a question that can't be answered, such as "What color is Tuesday?" Some things just don't make sense in math, and that's when we say they're undefined. For example, if you try to divide a number by zero, like 5 ÷ 0, there's no possible answer.
Discussions

Listing undefined symbols of a MathNode
Hi there, I'm using mathjs to pre-compile (parse) a bunch of expressions. I'm left with a list of MathNodes. I need to get for each of them, post-simplify, what "free-standing" sy... More on github.com
🌐 github.com
1
3
May 9, 2022
What is "undefined"?
"Undefined" isn't a mathematical value. It just means the thing you're trying to work with isn't defined. This is rather like how "nobody's perfect" doesn't mean there is a perfect person out there going by the name Nobody. It means there is no such person. More on reddit.com
🌐 r/math
36
3
May 2, 2018
c - Undefined reference to sqrt (or other mathematical functions) - Stack Overflow
I have this simple code: max = (int) sqrt (number); and in the header I have: #include But application still says undefined reference to sqrt. Do you see any problem here? It looks... More on stackoverflow.com
🌐 stackoverflow.com
Does not exist vs. Undefined?
An expression is "undefined" if it's gibberish, i.e., it can't be parsed in the rules of the system we're working in. Something "does not exist" if the expression potentially referring to that something can be parsed but nothing fulfills the criteria that expression establishes. So, for example, working with decimals, "1.2.3" is undefined. It's nonsense; you can't have two decimal points in a decimal expression. That sequence of characters could be meaningful as part of an outline or a rule book, though. In that context it makes sense as a potential reference. However, if our outline ended at item 1.2.2, we would say that item 1.2.3 does not exist. Something could be there, but in this case nothing is. Similarly, in the real numbers, "1/0" is undefined as an expression and "the multiplicative inverse of 0" is something that does not exist. "The present flarnbargle of France" is undefined. The present king of France does not exist. Edited to add: if you want to explore the full range of Boolean combinations regarding definedness and existence, you may be amused by apophatic theology , which one could take to say that God exists but is undefined. As far as I know, though, there are no apophatic mathematicians. More on reddit.com
🌐 r/math
48
116
February 8, 2018
People also ask

What are the 4 undefined terms in geometry?
There are form foundational terms considered undefined in geometry. These are the point, the line, the plane, and the set. Each of these terms is of extreme importance for the construction of theorems and other concepts.
🌐
study.com
study.com › learn › lesson › undefined-terms-geometry-point.html
Undefined Terms in Geometry | Definition & Examples - Lesson | ...
What does it mean when expression is undefined?
An expression that is undefined means that the denominator of the expression is equal to zero. Therefore, the expression cannot be determined at that value.
🌐
study.com
study.com › courses › math courses › math 101: college algebra
Undefined Expressions & Numbers in Math | Functions & Examples ...
What is an example of an undefined expression?
Any expression where a fraction looks like this: x/0 is an undefined expression. Likewise, if there is a polynomial in the denominator, such as 1/x, the expression is undefined when x=0.
🌐
study.com
study.com › courses › math courses › math 101: college algebra
Undefined Expressions & Numbers in Math | Functions & Examples ...

According to a Wikipedia article on the subject, in Herbert B. Enderton's book Computability: An Introduction to Recursion Theory (2011), even if nowhere else (no other reference is given, and I've never seen the usage):

If is a partial function on and is an element of , then this is written as and is read as " is defined."

If is not in the domain of , then this is written as and is read as " is undefined".

Answer from Calum Gilhooley on Stack Exchange
🌐
Wikipedia
en.wikipedia.org › wiki › Undefined_(mathematics)
Undefined (mathematics) - Wikipedia
November 4, 2025 - Attempting to assign or use an undefined value within a particular formal system, may produce contradictory or meaningless results within that system. In practice, mathematicians may use the term undefined to warn that a particular calculation or property can produce mathematically inconsistent ...
🌐
Quora
quora.com › What-is-the-maths-symbol-for-undefined
What is the maths symbol for undefined? - Quora
Answer (1 of 6): There is no generally accepted symbol for "undefined." In math, this term refers to a value that is not assigned to any specific number. For example, if you try to calculate the value of pi using an infinite series, you will ...
Find elsewhere
🌐
Brainly
brainly.com › mathematics › high school › what is the symbol for undefined?
[FREE] What is the symbol for undefined? - brainly.com
July 2, 2023 - The term 'undefined' in mathematics describes operations without a meaningful value, commonly seen in division by zero. It is represented with symbols like 'undefined' or '∅', which indicates an empty set.
🌐
Study.com
study.com › courses › math courses › math 101: college algebra
Undefined Expressions & Numbers in Math | Functions & Examples - Lesson | Study.com
July 16, 2014 - Without going into how to factor cube equations, the equation{eq}\dfrac{1}{2x^3-8x^2-14x+20}=(x+2)(x-5)(2x-2) {/eq} results in three values that are undefined: {eq}x=-2, 5, 1 {/eq}. The graph of this function is very interesting: To unlock this lesson you must be a Study.com Member. Create your account · An undefined expression is a mathematical expression (a combination of numbers and variables with an arithmetic operation included) that has no answer or cannot be determined.
🌐
Reddit
reddit.com › r/math › what is "undefined"?
r/math on Reddit: What is "undefined"?
May 2, 2018 -

Okay, so this question came out of a question I had about how np.NaN behaves in the numpy python library. Apparently np.NaN is defined to behave like "undefined" in math, which leads to the counterintuitive - to me at least - result that np.NaN does not equal itself.

So

 undefined != undefined...

We also know things like

x/0=undefined (or maybe we can't use equality here? x/0 *is* undefined?)

That means that we know some things about it...whatever it is. What branch of math do we use to learn things about "undefined"?

What kind of formal system does "undefined" belong to? Is it a theorem in ZFC set theory? Like is it some kind of set? Its not the "null" set right?

I hope I have made my profound ignorance on this subject clear enough, maybe someone here can meet me 99% of the way and help drag me toward the light.

🌐
LabEx
labex.io › tutorials › cpp-how-to-resolve-undefined-symbol-errors-419008
How to resolve undefined symbol errors | LabEx
In this step, we'll explore how these can lead to undefined symbol errors and how to resolve them. Let's create an example that demonstrates namespace-related undefined symbol errors. Create a file named utils.h: #ifndef UTILS_H #define UTILS_H namespace Math { // Function declarations in Math namespace double multiply(double a, double b); double divide(double a, double b); } namespace Text { // Function declarations in Text namespace std::string concatenate(const std::string& a, const std::string& b); int countWords(const std::string& text); } #endif
🌐
Wolfram MathWorld
mathworld.wolfram.com › Undefined.html
Undefined -- from Wolfram MathWorld
January 31, 2000 - An expression in mathematics which does not have meaning and so which is not assigned an interpretation. For example, division by zero is undefined in the field of real numbers.
🌐
Math Wiki
math.fandom.com › wiki › Undefined
Undefined | Math Wiki | Fandom
October 29, 2024 - Undefined is a term used when a mathematical result has no meaning. More precisely, undefined "values" occur when an expression is evaluated for input values outside of its domain. − 9 {\displaystyle \sqrt{-9}} (If no complex numbers) ln ⁡ ( − 4 ) {\displaystyle \ln(-4)} (If no complex numbers) tan ⁡ ( π / 2 ) {\displaystyle \tan(\pi/2)} (Units in radians, no complex infinity) n 0 {\displaystyle \frac{n}{0}} (If no complex infinity).
🌐
Eechealth
eechealth.com › home › blog › secret facts on what does undefined mean in math that only the pros know exist
Secret Facts on What Does Undefined Mean in Math That Only the Pros Know Exist - Elaine Ellis Center of Health
November 1, 2019 - What Does Undefined Mean in Math Secrets Underclothing is necessary during your physical. So we must divide by 2! However, it is not quite that easy. Details of What Does Undefined Mean in Math In functions of one variable, such as x, the amount of a term is just the exponent. https://www.hku.edu/ The range takes
🌐
Math Forums
mathforums.com › home › high school math › algebra
What does "undefined" mean? | Math Forums
June 27, 2023 - Click to expand... Something that is "undefined" in Mathematics says that it literally has no meaning. So by saying 8/0 is undefined, we are saying that it has no value: it's not a number, it's not a symbol, it's not anything at all.
🌐
Pinterest
pinterest.com › pin › symbol-for-undefined-in-math-what-it-means--1004865735606159793
Symbol for Undefined in Math: What It Means!
November 8, 2024 - Undefined in math often arises from division by zero. Learn why this happens, its symbol representation, and how to avoid common mistakes in calculations.
🌐
Answers
math.answers.com › math-and-arithmetic › What_does_undefined_mean_explain
What does undefined mean explain? - Answers
July 30, 2025 - "Undefined" refers to a situation where a value or expression does not have a clear meaning or cannot be determined. In mathematics, for example, division by zero is considered undefined because it does not produce a unique or meaningful result.
🌐
The Philosophy Forum
thephilosophyforum.com › discussion › 2981
<the objectivity of mathematics and the undefined symbol>
March 1, 2018 - In the theory of computation (for me math at its most objective), the symbol is often left formally undefined. By 'symbol' I mean a single character like 'a' or '1.' (It is also allowable to understand '1de' as a single symbol. We'd be creating a new glyph from familiar glyphs. )Once a symbol is...
Top answer
1 of 5
128

You may find that you have to link with the math libraries on whatever system you're using, something like:

gcc -o myprog myprog.c -L/path/to/libs -lm
                                       ^^^ - this bit here.

Including headers lets a compiler know about function declarations but it does not necessarily automatically link to the code required to perform that function.

Failing that, you'll need to show us your code, your compile command and the platform you're running on (operating system, compiler, etc).

The following code compiles and links fine:

#include <math.h>
int main (void) {
    int max = sqrt (9);
    return 0;
}

Just be aware that some compilation systems depend on the order in which libraries are given on the command line. By that, I mean they may process the libraries in sequence and only use them to satisfy unresolved symbols at that point in the sequence.

So, for example, given the commands:

gcc -o plugh plugh.o -lxyzzy
gcc -o plugh -lxyzzy plugh.o

and plugh.o requires something from the xyzzy library, the second may not work as you expect. At the point where you list the library, there are no unresolved symbols to satisfy.

And when the unresolved symbols from plugh.o do appear, it's too late.

2 of 5
32

I suppose you have imported math.h with #include <math.h>

So the only other reason I can see is a missing linking information. You must link your code with the -lm option.

If you're simply trying to compile one file with gcc, just add -lm to your command line, otherwise, give some informations about your building process.