Simplification of this Boolean expression

  • Thread starter Thread starter momentum
  • Start date Start date
  • Tags Tags
    Expression
Click For Summary

Discussion Overview

The discussion revolves around the simplification of a specific Boolean expression, B + !BA = B + A. Participants explore the laws of Boolean algebra and seek clarification on the correctness of the expression and its simplification methods.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants inquire about the simplification of the expression B + !BA and question which law applies to this simplification.
  • One participant suggests using a Venn diagram to visualize the expression B + !BA.
  • Another participant hints at exploring equivalent expressions, specifically asking about the form X + YZ.
  • A participant presents a proof for the theorem B + !BA = B + A, detailing the steps involved and discussing the implications of notation in Boolean algebra.
  • Concerns are raised about the clarity of notation in Boolean algebra, particularly regarding the use of integers and operators, and the relationship between Boolean algebra and propositional logic.
  • Participants mention the validity of the proof steps via truth tables and discuss the nature of Boolean algebra as a subset of formal logic.

Areas of Agreement / Disagreement

There is no consensus on the simplification process or the interpretation of the laws involved, as participants present differing viewpoints and methods for addressing the expression.

Contextual Notes

Participants express uncertainty regarding the formal classification of the steps as laws, depending on the axiom system in use. The discussion also highlights the potential confusion arising from the notation used in Boolean algebra.

momentum
Messages
111
Reaction score
0
Poster has been reminded to use the Template when starting schoolwork threads
How can we write the below red marker boolean expression to simplify the equation?

Which Law is this?

B+!BA=B+A

OGy9EPH.jpg


Is this correct?
 

Attachments

  • OGy9EPH.jpg
    OGy9EPH.jpg
    5.1 KB · Views: 895
Last edited by a moderator:
Physics news on Phys.org
momentum said:
How can we write the below red marker boolean expression to simplify the equation?

Which Law is this?

B+!BA=B+A

View attachment 225715

Is this correct?
Try drawing a Venn diagram of ##B+\bar BA##. That should show you how to answer your question.
 
  • Like
Likes   Reactions: momentum
momentum said:
B+!BA=B+A

Are you asking about how to show this?

If so, @tnich gives one way. Here is a hint for another way. What is an equivalent expression for

$$X + YZ?$$
 
  • Like
Likes   Reactions: momentum
Theorem: B+(!BA) = B+A
Proof:
B+!BA = (B + !B) (B + A) (distribution of "or" over "and")
= 1 (B + A) (tautology: B or !B = 1)
= B + A (by the definiion of "and", 1 X = X)
Q.E.D.

BTW, this is a hideous notation. "=" in this context really means "if and only if". And 1 really means "true". The repurposing of integers 0 and 1 and of the arithmetic operators is more confusing than helpful--especially since in regular algebra, addition does not distribute over multiplication: 1 + (2 * 3) <> (1 + 2) (1+ 3). Boolean algebra is a red-headed stepchild of abstract algebra--but the meat and potatoes of formal logic. It's also a great place to learn to do rigorous proofs.

All the above steps can be shown to be valid via truth tables. Whether or not they are also formal "laws" depends on the axiom system you are using.
Boolean algebra is really propositional logic--a subject that can be developed informally via truth tables (really a model for the theory) or formally via an axiom system in various ways. For example, 0 can be a constant and 1 defined as "!0" -- or the reverse. The idea is to have axioms and at least one rule of inference so one doesn't have to keep resorting to truth tables (which is like counting on your fingers) in order to evaluate complex expressions. Then you can get juicy results like proving that your axiom system is consistent and (for propositional logic) complete...and you're off to the races!

I know this is massive overkill for an (old) homework question, but theorems and proofs are rather important in mathematics. :-)

Whenever someone would introduce the late, great John von Neumann as a "computer scientist", he would always say, "I am a mathmatician. There is no such thing as computer science--it's all technology."
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
3K