Boolean function
Boolean function is a fundamental concept in computer science, mathematics, and various fields of engineering, particularly in digital electronics and logic design. A Boolean function is a mathematical function that takes one or more binary variables as input and produces a single binary output. The binary variables can only have two possible values: 0 or 1, often representing false and true, respectively, in logical operations. Boolean functions are the basis of binary decision-making and are extensively used in the design of digital circuits, algorithms, and computer programs.
Definition[edit]
A Boolean function can be formally defined as a function of the form \(f: B^n \rightarrow B\), where \(B = \{0, 1\}\) and \(n\) is a non-negative integer. The domain of the function is the set of all \(n\)-tuples of binary values, and the codomain is the set of binary values. For example, a Boolean function with two inputs can be represented as \(f(x, y)\), where \(x\) and \(y\) are binary inputs, and the function produces a binary output.
Representation[edit]
Boolean functions can be represented in several ways, including:
- Truth Tables: A truth table lists all possible combinations of input values and the corresponding output of the function.
- Boolean Algebra: Expressions using logical operators such as AND (\(\land\)), OR (\(\lor\)), NOT (\(\neg\)), XOR (exclusive or), etc.
- Logic Gates: Diagrams that represent the function using symbols for logic gates, which are the physical or virtual implementation of Boolean functions.
- Karnaugh Maps: A method for simplifying Boolean algebra expressions by organizing the truth table in a two-dimensional graphical form.
Types of Boolean Functions[edit]
Boolean functions can be categorized based on their properties:
- Linear and Nonlinear Functions: A Boolean function is linear if it can be expressed without using AND (\(\land\)) or OR (\(\lor\)) operations between variables. Otherwise, it is nonlinear.
- Symmetric Functions: A function is symmetric if its value depends only on the number of 1's in the input, not on the order of inputs.
- Monotonic Functions: A function is monotonic if, by changing any input from 0 to 1, the output does not decrease.
Applications[edit]
Boolean functions are used in a wide range of applications, including:
- Digital Logic Design: Designing and analyzing digital circuits, such as those in computers and other electronic devices.
- Algorithm Design: Developing algorithms for decision-making processes in computer programs.
- Cryptography: Designing cryptographic systems for secure communication.
- Information Retrieval: Querying databases and search engines using logical expressions.
See Also[edit]
External Links[edit]
- Wikimedia Commons - for images related to Boolean functions and digital logic.

This article is a mathematics-related stub. You can help WikiMD by expanding it!

This article is a computer science stub. You can help WikiMD by expanding it!
-
Binary Decision Tree
-
Logical Connectives Hasse Diagram
-
Three Input Boolean Circuit
Ad. Transform your health with W8MD Weight Loss, Sleep & MedSpa

Tired of being overweight?
Special offer:
Budget GLP-1 weight loss medications
- Semaglutide starting from $29.99/week and up with insurance for visit of $59.99 and up per week self pay.
- Tirzepatide starting from $45.00/week and up (dose dependent) or $69.99/week and up self pay
✔ Same-week appointments, evenings & weekends
Learn more:
- GLP-1 weight loss clinic NYC
- W8MD's NYC medical weight loss
- W8MD Philadelphia GLP-1 shots
- Philadelphia GLP-1 injections
- Affordable GLP-1 shots NYC
|
WikiMD Medical Encyclopedia |
Medical Disclaimer: WikiMD is for informational purposes only and is not a substitute for professional medical advice. Content may be inaccurate or outdated and should not be used for diagnosis or treatment. Always consult your healthcare provider for medical decisions. Verify information with trusted sources such as CDC.gov and NIH.gov. By using this site, you agree that WikiMD is not liable for any outcomes related to its content. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates, categories Wikipedia, licensed under CC BY SA or similar.
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian