Idempotency (Boolean Algebra Theorem)

  • Thread starter Thread starter JJBladester
  • Start date Start date
  • Tags Tags
    Algebra Theorem
Click For Summary

Discussion Overview

The discussion revolves around the application of the idempotency theorem in Boolean algebra, specifically whether it holds for logic expressions with multiple variables. Participants explore the validity of the expression ABC∙ABC = ABC and its implications in the context of switching algebra.

Discussion Character

  • Homework-related
  • Debate/contested
  • Exploratory

Main Points Raised

  • One participant questions if the idempotency theorem, defined for single variables, applies to multi-variable logic expressions.
  • Another participant suggests drawing a truth table to test the validity of the expression ABC∙ABC = ABC.
  • Some participants assert that idempotency is valid for multi-variable terms based on their truth table results.
  • A participant mentions their professor's claim that the theorem is only for single input and output logic, expressing confusion over this assertion.
  • There is a proposal to let X = A ∧ B ∧ C to demonstrate the theorem's applicability to multi-variable expressions.
  • Participants discuss rewriting the original expression using associativity and idempotency theorems for single variables.
  • One participant emphasizes that the theorem holds for any variable with a truth value, supporting the application to multi-variable logic expressions.

Areas of Agreement / Disagreement

Participants express differing views on the applicability of the idempotency theorem to multi-variable logic expressions. While some argue it is valid, others reference a professor's claim that it is limited to single input and output logic, leading to an unresolved discussion.

Contextual Notes

There are references to different interpretations of the idempotency theorem and its application, as well as varying definitions of logical operations among participants. The discussion reflects uncertainty regarding the scope of the theorem as presented in educational materials.

Who May Find This Useful

Students and educators in the fields of mathematics, computer science, and electrical engineering may find this discussion relevant, particularly those studying Boolean algebra and logic design.

JJBladester
Gold Member
Messages
281
Reaction score
2

Homework Statement



The idempotency theorem X∙X=X is defined for one variable, but does it apply to logic expressions with multiple variables?

Example:
ABC∙ABC = ABC

Is this valid?

Homework Equations



Switching algebra single-variable theorems:

X+X = X
X∙X = X

The Attempt at a Solution



My book gives single-variable and general theorems in its switching algebra section. The single-variable theorem is listed above. The general idempotency theorems are:

X+...+X = X
X∙X...∙X = X

However, it says nothing about whether or not the expression ABC∙ABC = ABC can be made.
 
Physics news on Phys.org
Hi JJBladester. The dot is AND, I presume? Could you draw a truth table to test whether A.B.C = ❲A.B.C❳.❲A.B.C❳
 
Idempotency (Multiple Variables)

NascentOxygen said:
Hi JJBladester. The dot is AND, I presume? Could you draw a truth table to test whether A.B.C = (A.B.C).(A.B.C)

I use the middle dot for AND and the plus symbol for OR. Some authors use the ampersand symbol or even a period to mean AND.

I've drawn the truth table below and it appears that idempotency is valid for multi-variable terms because F3=F1&F2. Am I correct?

idempotency.jpg


My professor claims that "the theorem is for single input and single output logic" but I don't know if that's correct because of my table above...
 
You know that X \land X = X is true, so why not just let X = A \land B \land C?
 
milesyoung said:
You know that X \land X = X, so why not just let X = A \land B \land C?

I believe what you suggested is valid. This is why I am utterly confused why my professor said that the idempotency theorem is "for single input and single output logic".

I could also re-write the original expression as:

(A∙B∙C)∙(A∙B∙C)=(A∙A)(B∙B)∙(C∙C)=A∙B∙C

Which uses the associativity theorem and then applies the idempotency theorem to single variables.

My book says "In all of the [switching algebra] theorems, it is possible to replace each variable with an arbitrary logic expression" which seems to back up what you said (let X = A∙B∙C).
 
Your theorem states that X \land X = X is true for any X, where X is a variable that has a truth value. A \land B \land C has a truth value so it follows that (A \land B \land C) \land (A \land B \land C) = A \land B \land C.
 
It looks like you have it all figured out.
 
Yep!

NascentOxygen said:
It looks like you have it all figured out.

Yep, thanks to you and miles. You've helped me on various things in the past. As I work my way through my degree I am always pleasantly surprised at the helpfulness of PF members.
 
I'm not entirely sure what your professor meant, but you were critical and did good work in proving what you thought to be true.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
6K
Replies
5
Views
11K