Source: wikibot/balanced-boolean-function

= Balanced boolean function
{wiki=Balanced_boolean_function}

A balanced Boolean function is one that has an equal number of output values of 0 and 1 for all possible combinations of its input variables. In other words, for a Boolean function with \\( n \\) input variables, there are \\( 2^n \\) possible input combinations. A balanced Boolean function will produce a 1 for exactly half of these combinations and a 0 for the other half.