In mathematical analysis, the smoothness of a function is a property measured by the number of continuous derivatives it has over some domain, called differentiability class. At the very minimum, a function could be considered smooth if it is differentiable everywhere (hence continuous). At the other end, it might also possess derivatives of all orders in its domain, in which case it is said to be infinitely differentiable and referred to as a C-infinity function (or function).
Differentiability class is a classification of functions according to the properties of their derivatives. It is a measure of the highest order of derivative that exists and is continuous for a function.
Consider an open set on the real line and a function defined on with real values. Let k be a non-negative integer. The function is said to be of differentiability class if the derivatives exist and are continuous on . If is -differentiable on , then it is at least in the class since are continuous on . The function is said to be infinitely differentiable, smooth, or of class , if it has derivatives of all orders on . (So all these derivatives are continuous functions over .) The function is said to be of class , or analytic, if is smooth (i.e., is in the class ) and its Taylor series expansion around any point in its domain converges to the function in some neighborhood of the point. is thus strictly contained in . Bump functions are examples of functions in but not in .
To put it differently, the class consists of all continuous functions. The class consists of all differentiable functions whose derivative is continuous; such functions are called continuously differentiable. Thus, a function is exactly a function whose derivative exists and is of class . In general, the classes can be defined recursively by declaring to be the set of all continuous functions, and declaring for any positive integer to be the set of all differentiable functions whose derivative is in . In particular, is contained in for every , and there are examples to show that this containment is strict (). The class of infinitely differentiable functions, is the intersection of the classes as varies over the non-negative integers.
Example: Continuous (C0) But Not Differentiable
Example: Finitely-times Differentiable (Ck)
For each even integer k, the function
Example: Differentiable But Not Continuously Differentiable (not C1)
Because oscillates as x → 0, is not continuous at zero. Therefore, is differentiable but not of class C1.
Example: Differentiable But Not Lipschitz Continuous
Example: Analytic (Cω)
The exponential function is analytic, and hence falls into the class Cω. The trigonometric functions are also analytic wherever they are defined as they are linear combinations of complex exponential functions and .
Example: Smooth (C∞) but not Analytic (Cω)
The bump function
Multivariate differentiability classes
A function , defined on an open set of , is said to be of class on , for a positive integer , if all of its components
The space of Ck functions
The set of functions over also forms a Fréchet space. One uses the same seminorms as above, except that is allowed to range over all non-negative integer values.
The above spaces occur naturally in applications where functions having derivatives of certain orders are necessary; however, particularly in the study of partial differential equations, it can sometimes be more fruitful to work instead with the Sobolev spaces.
The terms parametric continuity (Ck) and geometric continuity (Gn) were introduced by Brian Barsky, to show that the smoothness of a curve could be measured by removing restrictions on the speed, with which the parameter traces out the curve.
Parametric continuity (Ck) is a concept applied to parametric curves, which describes the smoothness of the parameter's value with distance along the curve. A (parametric) curve is said to be of class Ck, if exists and is continuous on , where derivatives at the end-points and are taken to be one sided derivatives (from the right at and from the left at ).
As a practical application of this concept, a curve describing the motion of an object with a parameter of time must have C1 continuity and its first derivative is differentiable—for the object to have finite acceleration. For smoother motion, such as that of a camera's path while making a film, higher orders of parametric continuity are required.
Order of parametric continuity
The various order of parametric continuity can be described as follows:
- : zeroth derivative is continuous (curves are continuous)
- : zeroth and first derivatives are continuous
- : zeroth, first and second derivatives are continuous
- : 0-th through -th derivatives are continuous
The concept of geometrical continuity or geometric continuity (Gn) was primarily applied to the conic sections (and related shapes) by mathematicians such as Leibniz, Kepler, and Poncelet. The concept was an early attempt at describing, through geometry rather than algebra, the concept of continuity as expressed through a parametric function.
The basic idea behind geometric continuity was that the five conic sections were really five different versions of the same shape. An ellipse tends to a circle as the eccentricity approaches zero, or to a parabola as it approaches one; and a hyperbola tends to a parabola as the eccentricity drops toward one; it can also tend to intersecting lines. Thus, there was continuity between the conic sections. These ideas led to other concepts of continuity. For instance, if a circle and a straight line were two expressions of the same shape, perhaps a line could be thought of as a circle of infinite radius. For such to be the case, one would have to make the line closed by allowing the point to be a point on the circle, and for and to be identical. Such ideas were useful in crafting the modern, algebraically defined, idea of the continuity of a function and of (see projectively extended real line for more).
Order of geometric continuity
- : The curves touch at the join point.
- : The curves also share a common tangent direction at the join point.
- : The curves also share a common center of curvature at the join point.
In general, continuity exists if the curves can be reparameterized to have (parametric) continuity. A reparametrization of the curve is geometrically identical to the original; only the parameter is affected.
Equivalently, two vector functions and have continuity if and , for a scalar (i.e., if the direction, but not necessarily the magnitude, of the two vectors is equal).
While it may be obvious that a curve would require continuity to appear smooth, for good aesthetics, such as those aspired to in architecture and sports car design, higher levels of geometric continuity are required. For example, reflections in a car body will not appear smooth unless the body has continuity.
A rounded rectangle (with ninety degree circular arcs at the four corners) has continuity, but does not have continuity. The same is true for a rounded cube, with octants of a sphere at its corners and quarter-cylinders along its edges. If an editable curve with continuity is required, then cubic splines are typically chosen; these curves are frequently used in industrial design.
Relation to analyticity
While all analytic functions are "smooth" (i.e. have all derivatives continuous) on the set on which they are analytic, examples such as bump functions (mentioned above) show that the converse is not true for functions on the reals: there exist smooth real functions that are not analytic. Simple examples of functions that are smooth but not analytic at any point can be made by means of Fourier series; another example is the Fabius function. Although it might seem that such functions are the exception rather than the rule, it turns out that the analytic functions are scattered very thinly among the smooth ones; more rigorously, the analytic functions form a meagre subset of the smooth functions. Furthermore, for every open subset A of the real line, there exist smooth functions that are analytic on A and nowhere else.
It is useful to compare the situation to that of the ubiquity of transcendental numbers on the real line. Both on the real line and the set of smooth functions, the examples we come up with at first thought (algebraic/rational numbers and analytic functions) are far better behaved than the majority of cases: the transcendental numbers and nowhere analytic functions have full measure (their complements are meagre).
The situation thus described is in marked contrast to complex differentiable functions. If a complex function is differentiable just once on an open set, it is both infinitely differentiable and analytic on that set.
Smooth partitions of unity
Smooth functions with given closed support are used in the construction of smooth partitions of unity (see partition of unity and topology glossary); these are essential in the study of smooth manifolds, for example to show that Riemannian metrics can be defined globally starting from their local existence. A simple case is that of a bump function on the real line, that is, a smooth function f that takes the value 0 outside an interval [a,b] and such that
Given a number of overlapping intervals on the line, bump functions can be constructed on each of them, and on semi-infinite intervals and to cover the whole line, such that the sum of the functions is always 1.
From what has just been said, partitions of unity don't apply to holomorphic functions; their different behavior relative to existence and analytic continuation is one of the roots of sheaf theory. In contrast, sheaves of smooth functions tend not to carry much topological information.
Smooth functions on and between manifolds
Given a smooth manifold , of dimension and an atlas then a map is smooth on if for all there exists a chart such that and is a smooth function from a neighborhood of in to (all partial derivatives up to a given order are continuous). Smoothness can be checked with respect to any chart of the atlas that contains since the smoothness requirements on the transition functions between charts ensure that if is smooth near in one chart it will be smooth near in any other chart.
If is a map from to an -dimensional manifold , then is smooth if, for every there is a chart containing and a chart containing such that and is a smooth function from
Smooth maps between manifolds induce linear maps between tangent spaces: for , at each point the pushforward (or differential) maps tangent vectors at to tangent vectors at : and on the level of the tangent bundle, the pushforward is a vector bundle homomorphism: The dual to the pushforward is the pullback, which "pulls" covectors on back to covectors on and -forms to -forms: In this way smooth functions between manifolds can transport local data, like vector fields and differential forms, from one manifold to another, or down to Euclidean space where computations like integration are well understood.
Preimages and pushforwards along smooth functions are, in general, not manifolds without additional assumptions. Preimages of regular points (that is, if the differential does not vanish on the preimage) are manifolds; this is the preimage theorem. Similarly, pushforwards along embeddings are manifolds.
Smooth functions between subsets of manifolds
There is a corresponding notion of smooth map for arbitrary subsets of manifolds. If is a function whose domain and range are subsets of manifolds and respectively. is said to be smooth if for all there is an open set with and a smooth function such that for all
- Discontinuity – Mathematical analysis of discontinuous points
- Hadamard's lemma
- Non-analytic smooth function – Mathematical functions which are smooth but not analytic
- Quasi-analytic function
- Singularity (mathematics) – Point where a function, a curve or another mathematical object does not behave regularly
- Sinuosity – Ratio of arc length and straight-line distance between two points on a wave-like function
- Smooth scheme – type of scheme
- Smooth number – Integer having only small prime factors (number theory)
- Smoothing – Fitting an approximating function to data
- Spline – Mathematical function defined piecewise by polynomials
- Sobolev mapping
- Weisstein, Eric W. "Smooth Function". mathworld.wolfram.com. Archived from the original on 2019-12-16. Retrieved 2019-12-13.
- "Smooth (mathematics)". TheFreeDictionary.com. Archived from the original on 2019-09-03. Retrieved 2019-12-13.
- "Smooth function - Encyclopedia of Mathematics". www.encyclopediaofmath.org. Archived from the original on 2019-12-13. Retrieved 2019-12-13.
- Warner, Frank W. (1983). Foundations of Differentiable Manifolds and Lie Groups. Springer. p. 5 [Definition 1.2]. ISBN 978-0-387-90894-6. Archived from the original on 2015-10-01. Retrieved 2014-11-28.
- Henri Cartan (1977). Cours de calcul différentiel. Paris: Hermann.
- Barsky, Brian A. (1981). The Beta-spline: A Local Representation Based on Shape Parameters and Fundamental Geometric Measures (Ph.D.). University of Utah, Salt Lake City, Utah.
- Brian A. Barsky (1988). Computer Graphics and Geometric Modeling Using Beta-splines. Springer-Verlag, Heidelberg. ISBN 978-3-642-72294-3.
- Richard H. Bartels; John C. Beatty; Brian A. Barsky (1987). An Introduction to Splines for Use in Computer Graphics and Geometric Modeling. Morgan Kaufmann. Chapter 13. Parametric vs. Geometric Continuity. ISBN 978-1-55860-400-1.
- van de Panne, Michiel (1996). "Parametric Curves". Fall 1996 Online Notes. University of Toronto, Canada. Archived from the original on 2020-11-26. Retrieved 2019-09-01.
- Taylor, Charles (1911). . In Chisholm, Hugh (ed.). Encyclopædia Britannica. Vol. 11 (11th ed.). Cambridge University Press. pp. 674–675.
- Barsky, Brian A.; DeRose, Tony D. (1989). "Geometric Continuity of Parametric Curves: Three Equivalent Characterizations". IEEE Computer Graphics and Applications. 9 (6): 60–68. doi:10.1109/38.41470. S2CID 17893586.
- Hartmann, Erich (2003). "Geometry and Algorithms for Computer Aided Design" (PDF). Technische Universität Darmstadt. p. 55. Archived (PDF) from the original on 2020-10-23. Retrieved 2019-08-31.
- Guillemin, Victor; Pollack, Alan (1974). Differential Topology. Englewood Cliffs: Prentice-Hall. ISBN 0-13-212605-2.