Boolean Logic Simplification: AB+A'B'=?

70,245

It's the XNOR function, which typically doesn't occur often enough to warrant its own operator. It's the negation of XOR, though, which can be seen by applying De Morgan's law twice.

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

or by simply comparing truth tables

A  B    A ^ B   AB + A'B'
-------------------------
0  0      0        1
0  1      1        0
1  0      1        0
1  1      0        1

(Put another way, XNOR is equivalence for two arguments, so you can think of A XNOR B as an operator that converts comparison to a value. A XNOR B equals 1 if A == B is true, 0 if it is false.)

Share:
70,245
Ridowan Ahmed
Author by

Ridowan Ahmed

Energetic and experienced information systems professional with a passion for working with people, processes, and technology with a focus on using the Salesforce platform. I have experience in business application development. Involved in product testing, management, and development of new business opportunities. Skills include: ● Implementing and enhancing Salesforce Sales Cloud, Service Cloud, Community Cloud, and Lightning Platform applications. ● Leading and executing all phases of the System Development Life Cycle (SDLC) as a project coordinator (waterfall and hybrid waterfall/agile) and as a member responsible for task completion. ● Participating in agile development as a Scrum Master, Product Tester, and Development Team Member. ● Managing and providing customer support and service.

Updated on February 04, 2021

Comments

  • Ridowan Ahmed
    Ridowan Ahmed over 3 years

    I have some problem simplifying the equation AB+A'B'= ? Is there any straight forward answer like AB'+A'B = A^B ; (^)=XOR sign ?

    • Tennyson H
      Tennyson H about 8 years
      This is not a programming question, rather it is a Math question. Please ask it on math.stackexchange.com with the logic tag.
    • Ridowan Ahmed
      Ridowan Ahmed about 8 years
      yeah, seems you're right . I'm a CSE student and I've found this problem on my CSE231 course named Digital Logic. I'm was eager to find the solution so I din't give it much thought. I will be careful next time .
  • Stranger Forever
    Stranger Forever over 3 years
    I think there is a minor mistake in this answer. AA'=0 and not 1.
  • chepner
    chepner over 3 years
    Indeed; not sure what I was thinking, but the following step was done correctly, as if I had typed 0 instead of 1.
  • Stranger Forever
    Stranger Forever over 3 years
    Yes yes, the following steps were all correctly done..