# Finding the SOP expression for the XOR gate and the circuit for it

Would the sum of products expression look like so: $\overline{A}\cdot B+A\cdot\overline{B}=Z$ ? And the corresponding circuit should look like so?

Sorry for the bad drawing. I'm just wondering if this is how this concept works, but surprisingly this is not in any obvious google results.

Thanks for any help!

• Does the circuit produce the truth table it should? You can check that yourself just be seeing what would happen as you put in each pair of inputs. – jramsay42 Feb 9 '18 at 3:08
• Yes, it produces the truth table that it should. If my circuit is correct and I drew that from the SOP expression then that also means my SOP expression is correct. Thank you. – JustHeavy Feb 9 '18 at 3:10
• AKA Exclusive OR – AlmostDone Feb 9 '18 at 3:25
• Just let you know, you can notate negation like so: $\overline{A}$ using this syntax \overline{A} and for the multiplication dot, you can do \cdot. – KingDuken Feb 9 '18 at 4:57