create account

Mathematics - Discrete Mathematics - Boolean Algebra by drifter1

View this thread on: hive.blogpeakd.comecency.com
· @drifter1 ·
$6.26
Mathematics - Discrete Mathematics - Boolean Algebra
![](https://upload.wikimedia.org/wikipedia/commons/4/4a/Truth_table_for_AND%2C_OR%2C_and_NOT.png)

[[Image 1](https://commons.wikimedia.org/wiki/File:Truth_table_for_AND,_OR,_and_NOT.png)]

## Introduction

Hey it's a me again [@drifter1](https://peakd.com/@drifter1)!

Today we continue with **Mathematics**, and more specifically the branch of "**Discrete Mathematics**", in order to get into **Boolean Algebra**.

This will be a small introduction to the topic. For more information I highly suggest checking out Logic Design in general.

So, without further ado, let's get straight into it!

* * *

## Boolean Algebra

Boolean algebra is a branch of mathematics, which studies the algebra of 0 and 1, or false and true. It finds many applications in computer science, with logical circuits being the most direct application, but it's also useful in programming / coding in general.

* * *

## Boolean Operations

The three main boolean operations are:

- AND (conjunction)
- OR (disjunction)
- NOT (negation)

These are the same exact operations that were covered in the article about Propositional Logic.

### Notation

In Boolean algebra the AND and OR operations are commonly symbolized using multiplication and addition respectively, meaning that AND uses "*" or even nothing, and OR uses "+". Using the symbols ∧ and ∨ is of course also valid. Lastly, negation is usually represented by an apostrophe (') or an overline (-) instead of an tilde (~) in front of the respective boolean variable.

* * *

## Boolean Properties

Boolean operations satisfy the properties shown in the table below.

![](https://i.ibb.co/71kZKMP/boolean-properties.jpg)

Boolean algebra is basically a complemented, distributive lattice, with boolean operations AND (∧ or *), OR (∨ or +) and a unique complement or unary operation defined for each element. The elements are only two: 0 and 1.

* * *

## Boolean Expressions

Boolean expressions are expressions defined over boolean Algebra. Each element in such an expression is an boolean expression itself (i.e. 0 and 1 are boolean expressions on their own).

For example:

![](https://quicklatex.com/cache3/f2/ql_a6c9ab8c71c51ab1a83e6474a55261f2_l3.png)

is a valid boolean expressions with boolean variables x and y.

Such expressions are evaluated by assigning either 0 or 1 to each boolean variable, yielding a final result of 0 or 1.

### Equivalent Expressions

Of course, there can be multiple boolean expressions giving the same result for the same assignment of values. These so called equivalent expressions have the same truth table.

### Canonical Forms

It's common to write boolean expressions in either disjunctive or conjunctive normal form, and so basically as a sum of products (SOP) or a product of sums (POS). In a SOP, the product terms are known as min-terms (resulting in 1), whilst in a POS the sum terms are called max-terms (resulting in 0).

* * *

## RESOURCES:

### References

1. https://www.javatpoint.com/discrete-mathematics-tutorial
2. https://brilliant.org/wiki/discrete-mathematics/

### Images

1. [https://commons.wikimedia.org/wiki/File:Truth_table_for_AND,_OR,_and_NOT.png](https://commons.wikimedia.org/wiki/File:Truth_table_for_AND,_OR,_and_NOT.png)

Mathematical equations used in this article, have been generated using [quicklatex](http://quicklatex.com/).

Block diagrams and other visualizations were made using [draw.io](https://app.diagrams.net/).

* * *

## Previous articles of the series

* [Introduction](https://peakd.com/hive-163521/@drifter1/mathematics-an-introduction-to-discrete-mathematics) → Discrete Mathematics, Why Discrete Math, Series Outline
* [Sets](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-sets) → Set Theory, Sets (Representation, Common Notations, Cardinality, Types)
* [Set Operations](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-set-operations) → Venn Diagrams, Set Operations, Properties and Laws
* [Sets and Relations](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-sets-and-relations) → Cartesian Product of Sets, Relation and Function Terminology (Domain, Co-Domain and Range, Types and Properties)
* [Relation Closures](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-relation-closures) → Relation Closures (Reflexive, Symmetric, Transitive), Full-On Example
* [Equivalence Relations](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-equivalence-relations) → Equivalence Relations (Properties, Equivalent Elements, Equivalence  Classes, Partitions)
* [Partial Order Relations and Sets](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-partial-order-relations-and-sets) → Partial Order Relations, POSET (Elements, Max-Min, Upper-Lower Bounds), Hasse Diagrams, Total Order Relations, Lattices
* [Combinatorial Principles](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-combinatorial-principles) → Combinatorics, Basic Counting Principles (Additive, Multiplicative), Inclusion-Exclusion Principle (PIE)
* [Combinations and Permutations](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-combinations-and-permutations) → Factorial, Binomial Coefficient, Combination and Permutation (with / out repetition)
* [Combinatorics Topics](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-combinatorics-topics) → Pigeonhole Principle, Pascal's Triangle and Binomial Theorem, Counting Derangements
* [Propositions and Connectives](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-propositions-and-connectives) → Propositional Logic, Propositions, Connectives (∧, ∨, →, ↔ and ¬)
* [Implication and Equivalence Statements](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-implication-and-equivalence-statements) → Truth Tables, Implication, Equivalence, Propositional Algebra
* [Proof Strategies (part 1)](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-proof-strategies-part-1) → Proofs, Direct Proof, Proof by Contrapositive, Proof by Contradiction
* [Proof Strategies (part 2)](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-proof-strategies-part-2) → Proof by Cases, Proof by Counter-Example, Mathematical Induction
* [Sequences and Recurrence Relations](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-sequences-and-recurrence-relations) → Sequences (Terms, Definition, Arithmetic, Geometric), Recurrence Relations 
* [Probability](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-probability) → Probability Theory, Probability, Theorems, Example
* [Conditional Probability](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-conditional-probability) → Conditional Probability, Law of Total Probability, Bayes' Theorem, Full-On Example
* [Graphs](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-graphs) → Graph Theory, Graphs (Vertices, Types, Handshake Lemma)
* [Graphs 2](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-graphs-2) → Graph Representation (Adjacency Matrix and Lists), Graph Types and Properties (Isomorphic, Subgraphs, Bipartite, Regular, Planar)
* [Paths and Circuits](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-paths-and-circuits) → Paths, Circuits, Euler, Hamilton
* [Trees](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-trees) → Trees (Rooted, General and Binary), Tree Traversal, Spanning Trees
* [Common Graph Problems](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-common-graph-problems) → Shortest Path Problem, Graph Connectivity, Travelling Salesman Problem, Minimum Spanning Tree, Maximum Network Flow, Graph Coloring
* [Binary Operations](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-binary-operations) → Binary Operations (n-ary, Table Representation), Properties
* [Groups](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-groups) → Groups (Properties, Theorems, Finite and Infinite, Abelian, Cyclic, Product, Homo-, Iso- and Auto-morphism)
* [Group-like Structures (part 1)](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-group-like-structures-part-1) → Subgroups, Semigroups, Monoids
* [Group-like Structures (part 2)](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-group-like-structures-part-2) → Magma, Quasigroup, Groupoid
* [Rings](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-rings) → Rings (Axioms, Commutative and Non-Commutative, Semirings, Subrings, Rng)
* [Fields](https://peakd.com/hive-163521/@drifter1/mathematics-discrete-mathematics-fields) → Fields (Axioms, Subfields, Finite Fields, Field Extension)

* * *

## Final words | Next up

And this is actually it for today's post!

Not sure about the next article's topic yet.

See ya!

![](https://steemitimages.com/0x0/https://media.giphy.com/media/ybITzMzIyabIs/giphy.gif)

Keep on drifting!

Posted with [STEMGeeks](https://stemgeeks.net)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authordrifter1
permlinkmathematics-discrete-mathematics-boolean-algebra
categoryhive-163521
json_metadata{"tags":["mathematics","science","education","boolean","algebra","operations","properties","laws","expressions","stem"],"image":["https://upload.wikimedia.org/wikipedia/commons/4/4a/Truth_table_for_AND%2C_OR%2C_and_NOT.png","https://i.ibb.co/71kZKMP/boolean-properties.jpg","https://quicklatex.com/cache3/f2/ql_a6c9ab8c71c51ab1a83e6474a55261f2_l3.png","https://steemitimages.com/0x0/https://media.giphy.com/media/ybITzMzIyabIs/giphy.gif"],"links":["https://commons.wikimedia.org/wiki/File:Truth_table_for_AND,_OR,_and_NOT.png"],"app":"stemgeeks/0.1","format":"markdown","canonical_url":"https://stemgeeks.net/@drifter1/mathematics-discrete-mathematics-boolean-algebra"}
created2022-05-13 12:28:18
last_update2022-05-13 12:28:18
depth0
children2
last_payout2022-05-20 12:28:18
cashout_time1969-12-31 23:59:59
total_payout_value3.134 HBD
curator_payout_value3.123 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length9,210
author_reputation98,202,866,830,354
root_title"Mathematics - Discrete Mathematics - Boolean Algebra"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,168,878
net_rshares9,953,414,625,928
author_curate_reward""
vote details (51)
@curation-cartel ·
$0.02
![Don-1UP-Cheers-Cartel-250px.png](https://files.peakd.com/file/peakd-hive/curation-cartel/23wgDhXHXhDmLCUp4RXCi4QwSwg2eCBXYV3b8uBMLvQ7BDWDG4eFSyWTp58qTjfu5ULQD.png) |  <div class="phishy"><u><h4>You have received a __1UP__ from @luizeba!</h4></u></div> The following @oneup-cartel family members will soon upvote your post:<br> __<code>@stem-curator</code>__  <br>_And they will bring !PIZZA 🍕_ 
-|-

<sup>[Learn more](https://peakd.com/hive-102223/@flauwy/the-curation-cartel-1up-trigger-smart-voting-mana-and-high-delegation-returns-for-14-different-tribes) about our delegation service to earn daily rewards. Join the family on [Discord](https://discord.gg/H5mxvTrexm).</sup>
👍  
properties (23)
authorcuration-cartel
permlinkre-mathematics-discrete-mathematics-boolean-algebra-20220513t144657z
categoryhive-163521
json_metadata"{"app": "beem/0.24.26"}"
created2022-05-13 14:46:57
last_update2022-05-13 14:46:57
depth1
children0
last_payout2022-05-20 14:46:57
cashout_time1969-12-31 23:59:59
total_payout_value0.010 HBD
curator_payout_value0.011 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length679
author_reputation1,123,882,653,763
root_title"Mathematics - Discrete Mathematics - Boolean Algebra"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,172,583
net_rshares37,177,500,515
author_curate_reward""
vote details (1)
@luizeba ·
$0.02
!1UP
👍  
properties (23)
authorluizeba
permlinkre-drifter1-2022513t114019966z
categoryhive-163521
json_metadata{"tags":["mathematics","science","education","boolean","algebra","operations","properties","laws","expressions","stem"],"app":"ecency/3.0.23-vision","format":"markdown+html"}
created2022-05-13 14:40:21
last_update2022-05-13 14:40:21
depth1
children0
last_payout2022-05-20 14:40:21
cashout_time1969-12-31 23:59:59
total_payout_value0.010 HBD
curator_payout_value0.011 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4
author_reputation489,941,944,757,938
root_title"Mathematics - Discrete Mathematics - Boolean Algebra"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id113,172,373
net_rshares37,936,970,783
author_curate_reward""
vote details (1)