ArticleslgStudy

mathematics

Pseudo-Boolean function

Pseudo-Boolean 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 Pseudo-Boolean function rather than just read about it. In short: In mathematics and optimization, a pseudo-Boolean function is a function of the form f : B n → R , {\displaystyle f:\mathbf {B} ^{n}\to \mathbb {R} ,} where B = {0, 1} is a Boolean domain and n is a nonnegative integer called the arity of the function. A Boolean function is then a special case, where the values are also restricted to 0 or 1.

Key takeaways

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

Reference excerpt

In mathematics and optimization, a pseudo-Boolean function is a function of the form

f : B n → R , {\displaystyle f:\mathbf {B} ^{n}\to \mathbb {R} ,}

where B = {0, 1} is a Boolean domain and n is a nonnegative integer called the arity of the function. A Boolean function is then a special case, where the values are also restricted to 0 or 1.

Representations Any pseudo-Boolean function can be written uniquely as a multi-linear polynomial:

f ( x ) = a + ∑ i a i x i + ∑ i < j a i j x i x j + ∑ i < j < k a i j k x i x j x k + … {\displaystyle f({\boldsymbol {x}})=a+\sum _{i}a_{i}x_{i}+\sum _{i<j}a_{ij}x_{i}x_{j}+\sum _{i<j<k}a_{ijk}x_{i}x_{j}x_{k}+\ldots }

The degree of the pseudo-Boolean function is simply the degree of the polynomial in this representation. In many settings (e.g., in Fourier analysis of pseudo-Boolean functions), a pseudo-Boolean function is viewed as a function f {\displaystyle f} that maps { − 1 , 1 } n {\displaystyle \{-1,1\}^{n}} to R {\displaystyle \mathbb {R} } . Again in this case we can uniquely write f {\displaystyle f} as a multi-linear polynomial:

f ( x ) = ∑ I ⊆ [ n ] f ^ ( I ) ∏ i ∈ I x i , {\displaystyle f(x)=\sum _{I\subseteq [n]}{\hat {f}}(I)\prod _{i\in I}x_{i},} where f ^ ( I ) {\displaystyle {\hat {f}}(I)} are Fourier coefficients of f {\displaystyle f} and [ n ] = { 1 , . . . , n } {\displaystyle [n]=\{1,...,n\}} .

Optimization Minimizing (or, equivalently, maximizing) a pseudo-Boolean function is NP-hard. This can easily be seen by formulating, for example, the maximum cut problem as maximizing a pseudo-Boolean function.

Submodularity The submodular set functions can be viewed as a special class of pseudo-Boolean functions, which is equivalent to the condition

f ( x ) + f ( y ) ≥ f ( x ∧ y ) + f ( x ∨ y ) , ∀ x , y ∈ B n . {\displaystyle f({\boldsymbol {x}})+f({\boldsymbol {y}})\geq f({\boldsymbol {x}}\wedge {\boldsymbol {y}})+f({\boldsymbol {x}}\vee {\boldsymbol {y}}),\;\forall {\boldsymbol {x}},{\boldsymbol {y}}\in \mathbf {B} ^{n}\,.}

This is an important class of pseudo-boolean functions, because they can be minimized in polynomial time. Note that minimization of a submodular function is a polynomially solvable problem independent on the presentation form, for e.g. pesudo-Boolean polynomials, opposite to maximization of a submodular function which is NP-hard, Alexander Schrijver (2000).

Roof Duality If f is a quadratic polynomial, a concept called roof duality can be used to obtain a lower bound for its minimum value. Roof duality may also provide a partial assignment of the variables, indicating some of the values of a minimizer to the polynomial. Several different methods of obtaining lower bounds were developed only to later be shown to be equivalent to what is now called roof duality.

Quadratizations If the degree of f is greater than 2, one can always employ reductions to obtain an equivalent quadratic problem with additional variables. One possible reduction is

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Pseudo-Boolean function

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

In research
Pseudo-Boolean 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 Pseudo-Boolean 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
Pseudo-Boolean function is common in secondary-school and first-year university syllabi. It links to neighbouring topics Mathematical optimization, so understanding it makes those chapters shorter.
In everyday life
Look for Pseudo-Boolean 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.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Pseudo-Boolean function in 20 minutes

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

Frequently asked questions

What is Pseudo-Boolean function in simple terms?

In mathematics and optimization, a pseudo-Boolean function is a function of the form f : B n → R , {\displaystyle f:\mathbf {B} ^{n}\to \mathbb {R} ,} where B = {0, 1} is a Boolean domain and n is a nonnegative integer called the arity of the function. A Boolean function is then a special case, whe…

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

Tags

  • Mathematical optimization

Keep exploring