Understanding Demorgan's Theorem for Logic Gates

  • Thread starter Thread starter hell18
  • Start date Start date
  • Tags Tags
    Theorem
AI Thread Summary
DeMorgan's Theorem explains how negation interacts with logical operations, specifically conjunction (AND) and disjunction (OR). It states that the negation of a conjunction is equivalent to the disjunction of the negations, and vice versa. For example, ~(A & B) is equivalent to (~A V ~B), meaning if both A and B are not true, at least one must be false. This theorem is particularly useful in logic circuit design, especially when converting logic to NAND or NOR gates for efficiency. Understanding this theorem helps restructure logic to meet specific requirements in digital design.
hell18
Messages
21
Reaction score
0
when using Demorgan's Theorem i didn't understand why it had to be used as logic gates AND or OR?.

e.g.

not x and y not x or not y


in other words when facing a situation with 2 logic gates the same you make them the opposite of each other to get the answer?
 
Mathematics news on Phys.org
Your post is difficult to understand. DeMorgans shows how the negation distributes over the conjunction and disjunction.
For example
~(A & B) <--> (~A V ~B)
This makes sense. The left hand side says
"It is not the case that both A and B are true."
The right hand side says,
"Either A is not true or B is not true."
Clearly these say the same thing since if A and B aren't both true, then one of them has to be false. And if one of either A or B is false, then they can't both be true.
 
Well I'm not quite sure what you are asking either, but maybe I can help.

when using Demorgan's Theorem i didn't understand why it had to be used as logic gates AND or OR?.

The only answer I can come up with would be to restate the definition of these gates, and/or restate how they operate. I don't really see the point of this so I will move on.


in other words when facing a situation with 2 logic gates the same you make them the opposite of each other to get the answer?

Well, I'm not sure what you mean by "the answer", but by applying DeMorgan's theorem you will have restructured your logic to meet whatever requirements were initially set out. If you are using a technique called "Technology Mapping" (which in most cases is used to convert all your logic to NAND or NOR gates) then DeMorgan's is the theorem you would apply. Usually these gates are faster and hence the reason you might be looking for different logic.
 
Funny, I was just thinking of this on the way home and then used GOOGLE and found this

site.

Some of the folks, on the august site, were having some problems with this, so I thought it

through and here is what I concluded. Anything I did incorrectly, please advise!

Proving DeMorgan's Law:

To Prove: (AB)'=A'+B'

From AB, then (AB)' will be TRUE for all other combination of AB

i.e.: A'B+AB'+A'B' are TRUE.

A'B+AB'+A'B'= A'B+AB'+A'B'+A'B'=B'(A+A')+A'(B+B')=A'+B'

General Expansion Case:

(ABC)'=A'+D' [SETTING BC=D]=A'+(BC)'=A'+B'+C'
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...

Similar threads

Replies
7
Views
1K
Replies
1
Views
5K
3
Replies
105
Views
6K
Replies
12
Views
2K
Back
Top