ArticleslgStudy

mathematics

Bent function

Bent 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 Bent function rather than just read about it. In short: In the mathematical field of combinatorics, a bent function is a Boolean function that is maximally non-linear; it is as different as possible from the set of all linear and affine functions when measured by Hamming distance between truth tables. Concretely, this means the maximum correlation between the output of the function and a linear function is minimal.

Bent function — main illustration
Bent function — illustration

Key takeaways

  • Bent 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 Bent function to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Bent function from memory before moving on to harder problems.

Reference excerpt

In the mathematical field of combinatorics, a bent function is a Boolean function that is maximally non-linear; it is as different as possible from the set of all linear and affine functions when measured by Hamming distance between truth tables. Concretely, this means the maximum correlation between the output of the function and a linear function is minimal. In addition, the derivatives of a bent function are balanced Boolean functions, so for any change in the input variables there is a 50 percent chance that the output value will change. The maximal nonlinearity means approximating a bent function by an affine (linear) function is hard, a useful property in the defence against linear cryptanalysis. In addition, detecting a change in the output of the function yields no information about what change occurred in the inputs, making the function immune to differential cryptanalysis. Bent functions were defined and named in the 1960s by Oscar Rothaus in research not published until 1976. They have been extensively studied for their applications in cryptography, but have also been applied to spread spectrum, coding theory, and combinatorial design. The definition can be extended in several ways, leading to different classes of generalized bent functions that share many of the useful properties of the original. It is known that V. A. Eliseev and O. P. Stepchenkov studied bent functions, which they called minimal functions, in the USSR in 1962. However, their results have still not been declassified. Bent functions are also known as perfectly nonlinear (PN) Boolean functions. Certain functions that are as close as possible to perfect nonlinearity (e.g. for functions of an odd number of bits, or vectorial functions) are known as almost perfectly nonlinear (APN).

Walsh transform Bent functions are defined in terms of the Walsh transform. The Walsh transform of a Boolean function f:ℤ2n→ℤ2 is the function f̂:ℤ2n→ℤ given by

f̂(a)=∑x∈ℤ2n(−1)f(x)+a⋅x, where a · x = a1x1 + a2x2 + … + anxn (mod 2) is the dot product in Zn2. Alternatively, let S0(a) = { x ∈ Zn2 : f(x) = a · x } and S1(a) = { x ∈ Zn2 : f(x) ≠ a · x }. Then |S0(a)| + |S1(a)| = 2n and hence

f̂(a)=|S0(a)|−|S1(a)|=2|S0(a)|−2n. For any Boolean function f and a ∈ Zn2, the transform lies in the range

−2n≤f̂(a)≤2n. Moreover, the linear function f0(x) = a · x and the affine function f1(x) = a · x + 1 correspond to the two extreme cases, since

f̂0(a)=2n, f̂1(a)=−2n. Thus, for each a ∈ Zn2 the value of f̂(a) characterizes where the function f(x) lies in the range from f0(x) to f1(x).

Definition and properties Rothaus defined a bent function as a Boolean function f:ℤ2n→ℤ2 whose Walsh transform has constant absolute value. Bent functions are in a sense equidistant from all the affine functions, so they are equally hard to approximate with any affine function. The simplest examples of bent functions, written in algebraic normal form, are F(x1, x2) = x1x2 and G(x1, x2, x3, x4) = x1x2 ⊕ x3x4. This pattern continues: x1x2 ⊕ x3x4 ⊕ … ⊕ xn−1xn is a bent function ℤ2n→ℤ2 for every even n, but there is a wide variety of other bent functions as n increases. The sequence of values (−1)f(x), with x ∈ Zn2 taken in lexicographical order, is called a bent sequence; bent functions and bent sequences have equivalent properties. In this ±1 form, the Walsh transform is easily computed as

f̂(a)=W(2n)(−1)f(a), where W(2n) is the natural-ordered Walsh matrix and the sequence is treated as a column vector. Rothaus proved that bent functions exist only for even n, and that for a bent function f, |f̂(a)|=2n/2 for all a ∈ Zn2. In fact, f̂(a)=2n/2(−1)g(a), where g is also bent. In this case, ĝ(a)=2n/2(−1)f(a), so f and g are considered dual functions. Every bent function has a Hamming weight (number of times it takes the value 1) of 2n−1 ± 2n/2−1, and in fact agrees with any affine function at one of those two numbers of points. So the nonlinearity of f (minimum number of times it equals any affine function) is 2n−1 − 2n/2−1, the maximum possible. Conversely, any Boolean function with nonlinearity 2n−1 − 2n/2−1 is bent. The degree of f in algebraic normal form (called the nonlinear order of f) is at most ⁠n/2⁠ (for n > 2). Although bent functions are vanishingly rare among Boolean functions of many variables, they come in many different kinds. There has been detailed research into special classes of bent functions, such as the homogeneous ones or those arising from a monomial over a finite field, but so far the bent functions have defied all attempts at a complete enumeration or classification. If f is a bent function on the elementary abelian group V = F22m, then Hf = ((−1)f(x+y))x,y ∈ V is a Hadamard matrix, and the support of f (or its complement) is a Hadamard difference set in V. This construction gives a Hadamard matrix developed over a noncyclic group; whether a real circulant (cyclic) Hadamard matrix of order greater than 4 can exist at all is the subject of Ryser's conjecture on circulant Hadamard matrices, a long-standing open problem in combinatorics.

Constructions There are several types of constructions for bent functions.

Combinatorial constructions: iterative constructions, Maiorana–McFarland construction, partial spreads, Dillon's and Dobbertin's bent functions, minterm bent functions, bent iterative functions Algebraic constructions: monomial bent functions with exponents of Gold, Dillon, Kasami, Canteaut–Leander and Canteaut–Charpin–Kuyreghyan; Niho bent functions, etc.

… excerpt ends here. Continue reading the full article.

Illustrations

Bent function: The four 2-ary Boolean functions with Hamming weight 1 are bent; i.e., their nonlinearity is 1 (these Hadamard matrices show the Hamming distance to each of the eight linear and affine functions).
The following formula shows that a 2-ary function is bent when its nonlinearity is 1:
.mw-parser-output .glossary dt{margin-top:0.4em}.mw-parser-output .glossary dt+dt{margin-top:-0.2em}.mw-parser-output .glossary .templatequote{margin-top:0;margin-bottom:-0.5em}
22−1−222−1=2−1=1
The four 2-ary Boolean functions with Hamming weight 1 are bent; i.e., their nonlinearity is 1 (these Hadamard matrices show the Hamming distance to each of the eight linear and affine functions). The following formula shows that a 2-ary function is bent when its nonlinearity is 1: .mw-parser-output .glossary dt{margin-top:0.4em}.mw-parser-output .glossary dt+dt{margin-top:-0.2em}.mw-parser-output .glossary .templatequote{margin-top:0;margin-bottom:-0.5em} 22−1−222−1=2−1=1
Bent function: The Boolean function x1x2⊕x3x4 is bent; i.e., its nonlinearity is 6 (which is what these Hadamard Matrices show).
The following formula shows that a 4-ary function is bent when its nonlinearity is 6:

24−1−242−1=8−2=6
The Boolean function x1x2⊕x3x4 is bent; i.e., its nonlinearity is 6 (which is what these Hadamard Matrices show). The following formula shows that a 4-ary function is bent when its nonlinearity is 6: 24−1−242−1=8−2=6

Worked examples

Example 1 — a first encounter with Bent function

Start with the simplest possible case. Write down what Bent 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 Bent 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 Bent 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 Bent function

In research
Bent 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 Bent 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
Bent function is common in secondary-school and first-year university syllabi. It links to neighbouring topics Boolean algebra, Combinatorics, Symmetric-key cryptography, so understanding it makes those chapters shorter.
In everyday life
Look for Bent 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 “Bent function” →

How to study Bent function in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Bent 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 Bent function out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Bent function in simple terms?

In the mathematical field of combinatorics, a bent function is a Boolean function that is maximally non-linear; it is as different as possible from the set of all linear and affine functions when measured by Hamming distance between truth tables. Concretely, this means the maximum correlation betwe…

Why does Bent 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 Bent 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 Bent function.

Tags

  • Boolean algebra
  • Combinatorics
  • Symmetric-key cryptography
  • Theory of cryptography

Keep exploring