ArticleslgStudy

mathematics

Flat function

Flat function is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Flat function rather than just read about it. In short: In real analysis, a real function is defined to be flat at a point in its domain if all its derivatives or partial derivatives exist at that point and equal 0. A real function is locally constant (that is, constant in at least one neighbourhood) of a point in the interior of its domain if and only if the function is flat and analytic at that point.

Flat function — main illustration
Flat function — illustration

Key takeaways

  • Flat function belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Flat function to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Flat function from memory before moving on to harder problems.

Reference excerpt

In real analysis, a real function is defined to be flat at a point in its domain if all its derivatives or partial derivatives exist at that point and equal 0. A real function is locally constant (that is, constant in at least one neighbourhood) of a point in the interior of its domain if and only if the function is flat and analytic at that point. An example of a function that is flat only at an isolated point is f:ℝ→ℝ such that f(0)=0 and that for all x∈ℝ, x≠0 implies f(x)=e−1/x2; the function f is flat only at 0. Since f is not analytic at 0, the extension of f to ℂ is not holomorphic at 0, since for complex functions, holomorphicity at a point implies analyticity at that point.

Examples of construction of non-trivial flat functions By a non-trivial flat function, what is meant is a function that, at least at one point in the interior of its domain, is flat but not locally constant.

Construction of univariate flat functions Let a be a positive real number and let g:S→ℝ (where S⊆ℝ is a neighbourhood of a point x0∈ℝ) be such that g(x0)=0 and that for all x∈S, x≠x0 implies g(x)=exp⁡(−|x−x0|−a). Then g is flat at x0.

Construction of multivariate flat functions Let G:ℝ→ℝ be flat at 0, and let H:P→ℝ (where n∈ℕ, 𝐱0 is an n-dimensional real coordinate vector, and P⊆ℝn is a neighbourhood of 𝐱0) be such that for all 𝐱∈P,H(𝐱)=G(||𝐱−𝐱0||), where for all 𝐩∈ℝn, ||𝐩|| denotes the Euclidean norm of 𝐩. Then H is flat at 𝐱0.

A necessary condition for flatness and local non-constancy Let S⊆ℝn for some n∈ℕ and let F:S→ℝ be flat at a point x0 in the interior of S. Also let it be the case that for every neighbourhood N of x0, there exists an x∈N such that F(x)≠F(x0), that is, that F is not locally constant at x0. Then F is non-analytic at x0.

Proof Assume the contrary, that is, that F is analytic at x0. Since F is flat at x0, the Taylor series of F at x0 is constant and equal to F(x0). Since it is assumed that F is analytic at x0, then there exists a neighbourhood N of x0 such that for all x∈N, F(x)=F(x0). This contradicts that for every neighbourhood N of x0, there exists an x∈N such that F(x)≠F(x0). Hence, by contradiction, F is non-analytic at x0.

A sufficient condition for flatness Let S⊆ℝn for some n∈ℕ and let F:S→ℝ be infinitely differentiable at a point x0 in the interior of S. Also let it be the case that for every neighbourhood N of x0, there exists an x∈N such that F is flat at x. Then F is flat at x0.

Proof Assume the contrary, that is, that F is not flat at x0. Then there exists a k∈ℕ such that a k-th partial derivative of F (call it Fk) is non-zero at x0, that is, Fk(x0)=r for some r∈ℝ such that r≠0. Since F is infinitely differentiable at x0, then Fk is continuous at x0. Since r≠0, then |r|/2>0. Then there exists a neighbourhood N of x0 such that for all x∈N, |Fk(x)−Fk(x0)|<|r|/2, which means |Fk(x)−r|<|r|/2, or, in other words, Fk(x) lies in the open interval (min⁡{r/2,3r/2},max⁡{r/2,3r/2}). Since r≠0, 0∉(min⁡{r/2,3r/2},max⁡{r/2,3r/2}), so Fk(x)≠0, which means that there exists a k∈ℕ such that a k-th partial derivative of F is non-zero at x. This contradicts that F is flat at at least one point in every neighbourhood of x0. Hence, by contradiction, F is flat at x0. The above results can be used to show that a bump function is flat and non-analytic at each boundary point of the closure of its support.

Flatness of smooth interpolations

Let s1∈ℝ and s2∈ℝ be such that s1<s2. Let I1⊂ℝ be an interval with non-empty interior, with supremum s1, and containing s1; and let I2⊂ℝ be an interval with non-empty interior, with infimum s2, and containing s2. In the following, continuity, one-sided continuity, one-sided limits, differentiability and smoothness of a real coordinate vector-valued function are respectively given by continuity, one-sided continuity, one-sided limits, differentiability and smoothness of the function in each coordinate. Let n∈ℕ. Let 𝐫1:I1→ℝn be continuously differentiable at every point in the interior of I1, left-continuous at s1 and have the left-hand limit of its derivatives of all orders be finite at s1; also let ||𝐫1′(s)||=1 for all s∈int⁡(I1). Let 𝐫2:I2→ℝn be continuously differentiable at every point in the interior of I2, right-continuous at s2 and have the right-hand limit of its derivatives of all orders be finite at s2; also let ||𝐫2′(s)||=1 for all s∈int⁡(I2). Let curves C1 and C2 be the images of the domains of 𝐫1 and 𝐫2, respectively. Both C1 and C2 inhabit ℝn. A smooth interpolation between C1 and C2, between the points 𝐫1(s1) and 𝐫2(s2), is the image of the domain of a function 𝐫0:(s1,s2)→ℝn such that the left-hand limit of 𝐫0 at s1 is 𝐫1(s1), the right-hand limit of 𝐫0 at s2 is 𝐫2(s2), and for all k∈ℕ, the left-hand limit of the k-th derivative of 𝐫0 at s1 is equal to the right-hand limit of the k-th derivative of 𝐫1 at s1, and the right-hand limit of the k-th derivative of 𝐫0 at s2 is equal to the left-hand limit of the k-th derivative of 𝐫2 at s2. A smooth interpolation between C1 and C2 is defined to have G∞ continuity (geometric continuity of all orders) with C1 and C2. Let 𝐫:I1∪(s1,s2)∪I2→ℝn be such that: for all s∈I1, 𝐫(s)=𝐫1(s); for all s∈(s1,s2), 𝐫(s)=𝐫0(s); and for all s∈I2, 𝐫(s)=𝐫2(s). If C1 and C2 are straight line segments, 𝐫 is necessarily flat at s1 and s2. If C1 and C2 are non-collinear straight line segments, there necessarily exists a point in [s1,s2] at which 𝐫 is non-analytic. If the end segments of the smooth interpolation are not straight-segment extensions of line segments C1 and C2, 𝐫 is necessarily non-analytic at s1 and s2.

See also Bump function Continuous function Differentiable function Smoothness Analytic function Support (mathematics) Non-analytic smooth function

References Glaister, P. (December 1991), A Flat Function with Some Interesting Properties and an Application, The Mathematical Gazette, Vol. 75, No. 474, pp. 438–440, JSTOR 3618627

Illustrations

Flat function: The graph of f:ℝ→ℝ such that f(0)=0 and that for all x∈ℝ, x≠0 implies f(x)=e−1/x2
The graph of f:ℝ→ℝ such that f(0)=0 and that for all x∈ℝ, x≠0 implies f(x)=e−1/x2

Worked examples

Example 1 — a first encounter with Flat function

Start with the simplest possible case. Write down what Flat function claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Flat function before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Flat function ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Flat function

In research
Flat function appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Flat function in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Flat function is common in secondary-school and first-year university syllabi. It links to neighbouring topics Algebraic geometry, Differential calculus, Differential structures, so understanding it makes those chapters shorter.
In everyday life
Look for Flat function outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Flat function” →

How to study Flat function in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Flat function means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Flat function out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Flat function in simple terms?

In real analysis, a real function is defined to be flat at a point in its domain if all its derivatives or partial derivatives exist at that point and equal 0. A real function is locally constant (that is, constant in at least one neighbourhood) of a point in the interior of its domain if and only…

Why does Flat function matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Flat function?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Flat function.

Tags

  • Algebraic geometry
  • Differential calculus
  • Differential structures
  • Mathematical analysis stubs
  • Real analysis
  • Smooth functions

Keep exploring