
In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, when a mathematical phenomenon runs counter to some intuition, then the phenomenon is sometimes called pathological. On the other hand, if a phenomenon does not run counter to intuition, it is sometimes called well-behaved or nice. These terms are sometimes useful in mathematical research and teaching, but there is no strict mathematical definition of pathological or well-behaved.
In analysis
A classic example of a pathology is the
Weierstrass function, a function that is
continuous everywhere but
differentiable nowhere.
The sum of a differentiable
function and the Weierstrass function is again continuous but nowhere differentiable; so there are at least as many such functions as differentiable functions. In fact, using the
Baire category theorem, one can show that continuous functions are
generically nowhere differentiable.
Such examples were deemed pathological when they were first discovered. To quote
Henri Poincaré:
Since Poincaré, nowhere differentiable functions have been shown to appear in basic physical and biological processes such as
Brownian motion and in applications such as the
Black-Scholes model in finance.
''Counterexamples in Analysis'' is a whole book of such counterexamples.
Another example of pathological function is
Du-Bois Reymond continuous function, that can't be represented as a
Fourier series.
In topology
One famous counterexample in topology is the
Alexander horned sphere, showing that topologically embedding the sphere ''S''
2 in R
3 may fail to separate the space cleanly. As a counterexample, it motivated mathematicians to define the ''tameness'' property, which suppresses the kind of ''wild'' behavior exhibited by the horned sphere,
wild knot, and other similar examples.
Like many other pathologies, the horned sphere in a sense plays on infinitely fine, recursively generated structure, which in the limit violates ordinary intuition. In this case, the topology of an ever-descending chain of interlocking loops of continuous pieces of the sphere in the limit fully reflects that of the common sphere, and one would expect the outside of it, after an embedding, to work the same. Yet it does not: it fails to be
simply connected.
For the underlying theory, see
Jordan–Schönflies theorem.
''
Counterexamples in Topology'' is a whole book of such counterexamples.
Well-behaved
Mathematician
A mathematician is someone who uses an extensive knowledge of mathematics in their work, typically to solve mathematical problems. Mathematicians are concerned with numbers, data, quantity, mathematical structure, structure, space, Mathematica ...
s (and those in related sciences) very frequently speak of whether a
mathematical
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
object—a
function, a
set, a
space
Space is a three-dimensional continuum containing positions and directions. In classical physics, physical space is often conceived in three linear dimensions. Modern physicists usually consider it, with time, to be part of a boundless ...
of one sort or another—is "well-behaved". While the term has no fixed formal definition, it generally refers to the quality of satisfying a list of prevailing conditions, which might be dependent on context, mathematical interests, fashion, and taste. To ensure that an object is "well-behaved", mathematicians introduce further axioms to narrow down the domain of study. This has the benefit of making analysis easier, but produces a
loss of generality of any conclusions reached.
In both pure and applied mathematics (e.g.,
optimization
Mathematical optimization (alternatively spelled ''optimisation'') or mathematical programming is the selection of a best element, with regard to some criteria, from some set of available alternatives. It is generally divided into two subfiel ...
,
numerical integration,
mathematical physics
Mathematical physics is the development of mathematics, mathematical methods for application to problems in physics. The ''Journal of Mathematical Physics'' defines the field as "the application of mathematics to problems in physics and the de ...
), ''well-behaved'' also means not violating any assumptions needed to successfully apply whatever analysis is being discussed.
The opposite case is usually labeled "pathological". It is not unusual to have situations in which most cases (in terms of
cardinality or
measure) are pathological, but the pathological cases will not arise in practice—unless constructed deliberately.
The term "well-behaved" is generally applied in an absolute sense—either something is well-behaved or it is not. For example:
*In
algorithmic inference, a
well-behaved statistic is monotonic, well-defined, and
sufficient.
*In
Bézout's theorem, two
polynomials are well-behaved, and thus the formula given by the theorem for the number of their intersections is valid, if their
polynomial greatest common divisor is a constant.
*A
meromorphic function is a ratio of two well-behaved functions, in the sense of those two functions being
holomorphic.
*The
Karush–Kuhn–Tucker conditions are first-order necessary conditions for a solution in a well-behaved
nonlinear programming problem to be optimal; a problem is referred to as well-behaved if some regularity conditions are satisfied.
*In
probability
Probability is a branch of mathematics and statistics concerning events and numerical descriptions of how likely they are to occur. The probability of an event is a number between 0 and 1; the larger the probability, the more likely an e ...
, events contained in the
probability space's corresponding
sigma-algebra are well-behaved, as are
measurable functions.
Unusually, the term could also be applied in a comparative sense:
*In
calculus
Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations.
Originally called infinitesimal calculus or "the ...
:
**
Analytic functions are better-behaved than general
smooth functions.
**Smooth functions are better-behaved than general differentiable functions.
**Continuous
differentiable functions are better-behaved than general continuous functions. The larger the number of times the function can be differentiated, the more well-behaved it is.
**
Continuous functions are better-behaved than
Riemann-integrable functions on compact sets.
**Riemann-integrable functions are better-behaved than
Lebesgue-integrable functions.
**Lebesgue-integrable functions are better-behaved than general functions.
*In
topology:
**
Continuous functions are better-behaved than discontinuous ones.
**
Euclidean space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
is better-behaved than
non-Euclidean geometry.
**Attractive
fixed points are better-behaved than repulsive fixed points.
**
Hausdorff topologies are better-behaved than those in arbitrary
general topology.
**
Borel set
In mathematics, a Borel set is any subset of a topological space that can be formed from its open sets (or, equivalently, from closed sets) through the operations of countable union, countable intersection, and relative complement. Borel sets ...
s are better-behaved than arbitrary
sets of
real number
In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
s.
**Spaces with
integer
An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
dimension are better-behaved than spaces with
fractal dimension.
*In
abstract algebra
In mathematics, more specifically algebra, abstract algebra or modern algebra is the study of algebraic structures, which are set (mathematics), sets with specific operation (mathematics), operations acting on their elements. Algebraic structur ...
:
**
Groups are better-behaved than
magmas and
semigroups.
**
Abelian groups are better-behaved than non-Abelian groups.
**
Finitely-generated Abelian groups are better-behaved than non-finitely-generated Abelian groups.
**
Finite-
dimensional vector space
In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
s are better-behaved than
infinite-dimensional ones.
**
Fields are better-behaved than
skew fields or general
rings.
**Separable
field extensions are better-behaved than non-separable ones.
**
Normed division algebras are better-behaved than general composition algebras.
Pathological examples
Pathological examples often have some undesirable or unusual properties that make it difficult to contain or explain within a theory. Such pathological behaviors often prompt new investigation and research, which leads to new theory and more general results. Some important historical examples of this are:
*
Ranked-choice voting is commonly described as a pathological
social choice function, because of its tendency to eliminate candidates for
winning too many votes.
*The discovery of
irrational numbers by the school of
Pythagoras in ancient Greece; for example, the length of the diagonal of a
unit square, that is
.
*The discovery of
complex numbers in the 16th century in order to find the roots of
cubic and
quartic polynomial functions.
*Some
number fields have
rings of integers that do not form a
unique factorization domain
In mathematics, a unique factorization domain (UFD) (also sometimes called a factorial ring following the terminology of Bourbaki) is a ring in which a statement analogous to the fundamental theorem of arithmetic holds. Specifically, a UFD is ...
, for example the
extended field .
*The discovery of
fractal
In mathematics, a fractal is a Shape, geometric shape containing detailed structure at arbitrarily small scales, usually having a fractal dimension strictly exceeding the topological dimension. Many fractals appear similar at various scale ...
s and other "rough" geometric objects (see
Hausdorff dimension).
*
Weierstrass function, a
real-valued function on the
real line, that is
continuous everywhere but
differentiable nowhere.
*
Test functions in
real analysis and distribution theory, which are
infinitely differentiable functions on the real line that are 0 everywhere outside of a given limited
interval. An example of such a function is the test function,