Simplifying boolean algebra expression that contains XOR
How can i simplify followed boolean algebra expression; Normally i express as simplify without XOR also this expresion contains both XOR and multiple variables.
(((A + B)' * C') ⊕ ((A' + B') * C')' ) * A
⊕ : XOR
boolean-algebra
add a comment |
How can i simplify followed boolean algebra expression; Normally i express as simplify without XOR also this expresion contains both XOR and multiple variables.
(((A + B)' * C') ⊕ ((A' + B') * C')' ) * A
⊕ : XOR
boolean-algebra
What've you tried? What rules do you know and/or are you allowed to use?
– Marnix Klooster
Nov 11 '15 at 8:39
add a comment |
How can i simplify followed boolean algebra expression; Normally i express as simplify without XOR also this expresion contains both XOR and multiple variables.
(((A + B)' * C') ⊕ ((A' + B') * C')' ) * A
⊕ : XOR
boolean-algebra
How can i simplify followed boolean algebra expression; Normally i express as simplify without XOR also this expresion contains both XOR and multiple variables.
(((A + B)' * C') ⊕ ((A' + B') * C')' ) * A
⊕ : XOR
boolean-algebra
boolean-algebra
asked Nov 11 '15 at 7:40
user289053user289053
11
11
What've you tried? What rules do you know and/or are you allowed to use?
– Marnix Klooster
Nov 11 '15 at 8:39
add a comment |
What've you tried? What rules do you know and/or are you allowed to use?
– Marnix Klooster
Nov 11 '15 at 8:39
What've you tried? What rules do you know and/or are you allowed to use?
– Marnix Klooster
Nov 11 '15 at 8:39
What've you tried? What rules do you know and/or are you allowed to use?
– Marnix Klooster
Nov 11 '15 at 8:39
add a comment |
2 Answers
2
active
oldest
votes
Lets say X = (A + B)' * C') and Y = ((A' + B') * C')'
We know that XOR can be represented as
$X ⊕ Y = Xoverline Y + overline X Y$
So, first simplify the inners and once you have the simplified version, you can deal with the outer A.
add a comment |
I've never been a fan of the boolean algebra notation, so this is not a direct answer to your question, but more how I would do this simplification using propositional logic notation.$
newcommand{calc}{begin{align} quad &}
newcommand{op}[1]{\ #1 quad & quad unicode{x201c}}
newcommand{hints}[1]{mbox{#1} \ quad & quad phantom{unicode{x201c}} }
newcommand{hint}[1]{mbox{#1} unicode{x201d} \ quad & }
newcommand{endcalc}{end{align}}
newcommand{ref}[1]{text{(#1)}}
newcommand{then}{Rightarrow}
newcommand{followsfrom}{Leftarrow}
newcommand{true}{text{true}}
newcommand{false}{text{false}}
$
Translated into that notation, you're asked to simplify $$
big(lnot (A lor B) land lnot C ;notequiv; lnot ((lnot A lor lnot B) land C)big) ;land; A
$$
We can do that as in the following calculation:
$$calc
big(lnot (A lor B) land lnot C ;notequiv; lnot ((lnot A lor lnot B) land C)big) ;land; A
op=hint{use $;A;$ on other side of the rightmost $;land;$}
big(lnot (true lor B) land lnot C ;notequiv; lnot ((false lor lnot B) land C)big) ;land; A
op=hint{simplify}
big(false ;notequiv; lnot (lnot B land C)big) ;land; A
op=hint{simplify $;false notequiv P;$ to $;P;$; DeMorgan}
(B lor lnot C) ;land; A
endcalc$$
And now it is trivial to translate that back to boolean algebra notation...
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1523748%2fsimplifying-boolean-algebra-expression-that-contains-xor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Lets say X = (A + B)' * C') and Y = ((A' + B') * C')'
We know that XOR can be represented as
$X ⊕ Y = Xoverline Y + overline X Y$
So, first simplify the inners and once you have the simplified version, you can deal with the outer A.
add a comment |
Lets say X = (A + B)' * C') and Y = ((A' + B') * C')'
We know that XOR can be represented as
$X ⊕ Y = Xoverline Y + overline X Y$
So, first simplify the inners and once you have the simplified version, you can deal with the outer A.
add a comment |
Lets say X = (A + B)' * C') and Y = ((A' + B') * C')'
We know that XOR can be represented as
$X ⊕ Y = Xoverline Y + overline X Y$
So, first simplify the inners and once you have the simplified version, you can deal with the outer A.
Lets say X = (A + B)' * C') and Y = ((A' + B') * C')'
We know that XOR can be represented as
$X ⊕ Y = Xoverline Y + overline X Y$
So, first simplify the inners and once you have the simplified version, you can deal with the outer A.
answered Nov 11 '15 at 11:20
cryptocrypto
1276
1276
add a comment |
add a comment |
I've never been a fan of the boolean algebra notation, so this is not a direct answer to your question, but more how I would do this simplification using propositional logic notation.$
newcommand{calc}{begin{align} quad &}
newcommand{op}[1]{\ #1 quad & quad unicode{x201c}}
newcommand{hints}[1]{mbox{#1} \ quad & quad phantom{unicode{x201c}} }
newcommand{hint}[1]{mbox{#1} unicode{x201d} \ quad & }
newcommand{endcalc}{end{align}}
newcommand{ref}[1]{text{(#1)}}
newcommand{then}{Rightarrow}
newcommand{followsfrom}{Leftarrow}
newcommand{true}{text{true}}
newcommand{false}{text{false}}
$
Translated into that notation, you're asked to simplify $$
big(lnot (A lor B) land lnot C ;notequiv; lnot ((lnot A lor lnot B) land C)big) ;land; A
$$
We can do that as in the following calculation:
$$calc
big(lnot (A lor B) land lnot C ;notequiv; lnot ((lnot A lor lnot B) land C)big) ;land; A
op=hint{use $;A;$ on other side of the rightmost $;land;$}
big(lnot (true lor B) land lnot C ;notequiv; lnot ((false lor lnot B) land C)big) ;land; A
op=hint{simplify}
big(false ;notequiv; lnot (lnot B land C)big) ;land; A
op=hint{simplify $;false notequiv P;$ to $;P;$; DeMorgan}
(B lor lnot C) ;land; A
endcalc$$
And now it is trivial to translate that back to boolean algebra notation...
add a comment |
I've never been a fan of the boolean algebra notation, so this is not a direct answer to your question, but more how I would do this simplification using propositional logic notation.$
newcommand{calc}{begin{align} quad &}
newcommand{op}[1]{\ #1 quad & quad unicode{x201c}}
newcommand{hints}[1]{mbox{#1} \ quad & quad phantom{unicode{x201c}} }
newcommand{hint}[1]{mbox{#1} unicode{x201d} \ quad & }
newcommand{endcalc}{end{align}}
newcommand{ref}[1]{text{(#1)}}
newcommand{then}{Rightarrow}
newcommand{followsfrom}{Leftarrow}
newcommand{true}{text{true}}
newcommand{false}{text{false}}
$
Translated into that notation, you're asked to simplify $$
big(lnot (A lor B) land lnot C ;notequiv; lnot ((lnot A lor lnot B) land C)big) ;land; A
$$
We can do that as in the following calculation:
$$calc
big(lnot (A lor B) land lnot C ;notequiv; lnot ((lnot A lor lnot B) land C)big) ;land; A
op=hint{use $;A;$ on other side of the rightmost $;land;$}
big(lnot (true lor B) land lnot C ;notequiv; lnot ((false lor lnot B) land C)big) ;land; A
op=hint{simplify}
big(false ;notequiv; lnot (lnot B land C)big) ;land; A
op=hint{simplify $;false notequiv P;$ to $;P;$; DeMorgan}
(B lor lnot C) ;land; A
endcalc$$
And now it is trivial to translate that back to boolean algebra notation...
add a comment |
I've never been a fan of the boolean algebra notation, so this is not a direct answer to your question, but more how I would do this simplification using propositional logic notation.$
newcommand{calc}{begin{align} quad &}
newcommand{op}[1]{\ #1 quad & quad unicode{x201c}}
newcommand{hints}[1]{mbox{#1} \ quad & quad phantom{unicode{x201c}} }
newcommand{hint}[1]{mbox{#1} unicode{x201d} \ quad & }
newcommand{endcalc}{end{align}}
newcommand{ref}[1]{text{(#1)}}
newcommand{then}{Rightarrow}
newcommand{followsfrom}{Leftarrow}
newcommand{true}{text{true}}
newcommand{false}{text{false}}
$
Translated into that notation, you're asked to simplify $$
big(lnot (A lor B) land lnot C ;notequiv; lnot ((lnot A lor lnot B) land C)big) ;land; A
$$
We can do that as in the following calculation:
$$calc
big(lnot (A lor B) land lnot C ;notequiv; lnot ((lnot A lor lnot B) land C)big) ;land; A
op=hint{use $;A;$ on other side of the rightmost $;land;$}
big(lnot (true lor B) land lnot C ;notequiv; lnot ((false lor lnot B) land C)big) ;land; A
op=hint{simplify}
big(false ;notequiv; lnot (lnot B land C)big) ;land; A
op=hint{simplify $;false notequiv P;$ to $;P;$; DeMorgan}
(B lor lnot C) ;land; A
endcalc$$
And now it is trivial to translate that back to boolean algebra notation...
I've never been a fan of the boolean algebra notation, so this is not a direct answer to your question, but more how I would do this simplification using propositional logic notation.$
newcommand{calc}{begin{align} quad &}
newcommand{op}[1]{\ #1 quad & quad unicode{x201c}}
newcommand{hints}[1]{mbox{#1} \ quad & quad phantom{unicode{x201c}} }
newcommand{hint}[1]{mbox{#1} unicode{x201d} \ quad & }
newcommand{endcalc}{end{align}}
newcommand{ref}[1]{text{(#1)}}
newcommand{then}{Rightarrow}
newcommand{followsfrom}{Leftarrow}
newcommand{true}{text{true}}
newcommand{false}{text{false}}
$
Translated into that notation, you're asked to simplify $$
big(lnot (A lor B) land lnot C ;notequiv; lnot ((lnot A lor lnot B) land C)big) ;land; A
$$
We can do that as in the following calculation:
$$calc
big(lnot (A lor B) land lnot C ;notequiv; lnot ((lnot A lor lnot B) land C)big) ;land; A
op=hint{use $;A;$ on other side of the rightmost $;land;$}
big(lnot (true lor B) land lnot C ;notequiv; lnot ((false lor lnot B) land C)big) ;land; A
op=hint{simplify}
big(false ;notequiv; lnot (lnot B land C)big) ;land; A
op=hint{simplify $;false notequiv P;$ to $;P;$; DeMorgan}
(B lor lnot C) ;land; A
endcalc$$
And now it is trivial to translate that back to boolean algebra notation...
answered Nov 12 '15 at 7:21
Marnix KloosterMarnix Klooster
4,20322146
4,20322146
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1523748%2fsimplifying-boolean-algebra-expression-that-contains-xor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What've you tried? What rules do you know and/or are you allowed to use?
– Marnix Klooster
Nov 11 '15 at 8:39