I need help in simplifying a Boolean expression.
$begingroup$
My starting point was (A+D)*(A+B+C)*(~A+C+~D)
And I should end at ~A*B*D +A*~D +C*D
(according to online solvers.)
But when I do it by hand on a paper I end up with this:
~A*B*D +A*~D +C*D +A*C
And for the life of me I can't figure out how to simplify and get rid of the extra +A*C
boolean-algebra
$endgroup$
|
show 1 more comment
$begingroup$
My starting point was (A+D)*(A+B+C)*(~A+C+~D)
And I should end at ~A*B*D +A*~D +C*D
(according to online solvers.)
But when I do it by hand on a paper I end up with this:
~A*B*D +A*~D +C*D +A*C
And for the life of me I can't figure out how to simplify and get rid of the extra +A*C
boolean-algebra
$endgroup$
1
$begingroup$
Does $p+q$ mean $pland q$? Does $pq$ mean $plor q$?
$endgroup$
– J.G.
Dec 9 '18 at 16:37
$begingroup$
+ is OR, * is AND, ~is NOT; p+q was p∨q and pq was p∧q if i recall correctly
$endgroup$
– Andres Eelma
Dec 9 '18 at 16:45
$begingroup$
Thanks for clarifying.
$endgroup$
– J.G.
Dec 9 '18 at 16:48
$begingroup$
My bad, I didn't realize using asteriks to show multiplication would make the text italics and whatnot.
$endgroup$
– Andres Eelma
Dec 9 '18 at 16:54
$begingroup$
usepland q
for $pland q$, and useplor q
for $plor q$, and usesim
for $sim$ :)
$endgroup$
– Nosrati
Dec 9 '18 at 16:55
|
show 1 more comment
$begingroup$
My starting point was (A+D)*(A+B+C)*(~A+C+~D)
And I should end at ~A*B*D +A*~D +C*D
(according to online solvers.)
But when I do it by hand on a paper I end up with this:
~A*B*D +A*~D +C*D +A*C
And for the life of me I can't figure out how to simplify and get rid of the extra +A*C
boolean-algebra
$endgroup$
My starting point was (A+D)*(A+B+C)*(~A+C+~D)
And I should end at ~A*B*D +A*~D +C*D
(according to online solvers.)
But when I do it by hand on a paper I end up with this:
~A*B*D +A*~D +C*D +A*C
And for the life of me I can't figure out how to simplify and get rid of the extra +A*C
boolean-algebra
boolean-algebra
edited Dec 9 '18 at 16:58
Rócherz
2,7762721
2,7762721
asked Dec 9 '18 at 16:35
Andres EelmaAndres Eelma
33
33
1
$begingroup$
Does $p+q$ mean $pland q$? Does $pq$ mean $plor q$?
$endgroup$
– J.G.
Dec 9 '18 at 16:37
$begingroup$
+ is OR, * is AND, ~is NOT; p+q was p∨q and pq was p∧q if i recall correctly
$endgroup$
– Andres Eelma
Dec 9 '18 at 16:45
$begingroup$
Thanks for clarifying.
$endgroup$
– J.G.
Dec 9 '18 at 16:48
$begingroup$
My bad, I didn't realize using asteriks to show multiplication would make the text italics and whatnot.
$endgroup$
– Andres Eelma
Dec 9 '18 at 16:54
$begingroup$
usepland q
for $pland q$, and useplor q
for $plor q$, and usesim
for $sim$ :)
$endgroup$
– Nosrati
Dec 9 '18 at 16:55
|
show 1 more comment
1
$begingroup$
Does $p+q$ mean $pland q$? Does $pq$ mean $plor q$?
$endgroup$
– J.G.
Dec 9 '18 at 16:37
$begingroup$
+ is OR, * is AND, ~is NOT; p+q was p∨q and pq was p∧q if i recall correctly
$endgroup$
– Andres Eelma
Dec 9 '18 at 16:45
$begingroup$
Thanks for clarifying.
$endgroup$
– J.G.
Dec 9 '18 at 16:48
$begingroup$
My bad, I didn't realize using asteriks to show multiplication would make the text italics and whatnot.
$endgroup$
– Andres Eelma
Dec 9 '18 at 16:54
$begingroup$
usepland q
for $pland q$, and useplor q
for $plor q$, and usesim
for $sim$ :)
$endgroup$
– Nosrati
Dec 9 '18 at 16:55
1
1
$begingroup$
Does $p+q$ mean $pland q$? Does $pq$ mean $plor q$?
$endgroup$
– J.G.
Dec 9 '18 at 16:37
$begingroup$
Does $p+q$ mean $pland q$? Does $pq$ mean $plor q$?
$endgroup$
– J.G.
Dec 9 '18 at 16:37
$begingroup$
+ is OR, * is AND, ~is NOT; p+q was p∨q and pq was p∧q if i recall correctly
$endgroup$
– Andres Eelma
Dec 9 '18 at 16:45
$begingroup$
+ is OR, * is AND, ~is NOT; p+q was p∨q and pq was p∧q if i recall correctly
$endgroup$
– Andres Eelma
Dec 9 '18 at 16:45
$begingroup$
Thanks for clarifying.
$endgroup$
– J.G.
Dec 9 '18 at 16:48
$begingroup$
Thanks for clarifying.
$endgroup$
– J.G.
Dec 9 '18 at 16:48
$begingroup$
My bad, I didn't realize using asteriks to show multiplication would make the text italics and whatnot.
$endgroup$
– Andres Eelma
Dec 9 '18 at 16:54
$begingroup$
My bad, I didn't realize using asteriks to show multiplication would make the text italics and whatnot.
$endgroup$
– Andres Eelma
Dec 9 '18 at 16:54
$begingroup$
use
pland q
for $pland q$, and use plor q
for $plor q$, and use sim
for $sim$ :)$endgroup$
– Nosrati
Dec 9 '18 at 16:55
$begingroup$
use
pland q
for $pland q$, and use plor q
for $plor q$, and use sim
for $sim$ :)$endgroup$
– Nosrati
Dec 9 '18 at 16:55
|
show 1 more comment
1 Answer
1
active
oldest
votes
$begingroup$
By applying the distributive law you get that $(A lor D) land (A lor B lor C)land ( sim A lor C , lor sim D)$ is equivalent to
$$
(A land A land sim A) lor (A land A land C) lor (A land A land sim D) lor (A land B land sim A) lor (A land B land C) lor (A land B land sim D) lor (A land C land sim A) lor (A land C land C) lor (A land C land sim D) lor (D land A land sim A) lor (D land A land C) lor (D land A land sim D) lor (D land B land sim A) lor (D land B land C) lor (D land B land sim D) lor (D land C land sim A) lor (D land C land C) lor (D land C land sim D)
$$
We now delete all the disjuncts that are equivalent to $0$ and we get rid of all the redundant terms. We get that the original expression is equivalent to
$$
(A land C) lor (A land sim D) lor (A land B land C) lor (A land B land sim D) lor (A land C ) lor (A land C land sim D) lor (D land A land C) lor (D land B land sim A) lor (D land B land C) lor (D land C land sim A) lor (D land C)
$$
We now erase the disjuncts that are smaller than another disjunct.
$$
(A land C) lor (A land sim D) lor (D land B land sim A) lor (D land C)
$$
Which, by commutativity of $land$, is equivalent to the expression you got. Therefore your solution was right.
Note that your solution is equivalent to $ (sim A land B land D) lor (A land sim D) lor (C land D)$. Indeed, by the distributive law and the fact that $D , lor sim D$ is equivalent to $1$, your solution is equivalent to
$$
(sim A land B land D) lor (A land sim D) lor (C land D) lor (A land C land D) lor (A land C land sim D).
$$
Since the two last disjuncts are smaller than the third and second ones, it is equivalent to
$$
(sim A land B land D) lor (A land sim D) lor (C land D) .
$$
$endgroup$
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%2f3032580%2fi-need-help-in-simplifying-a-boolean-expression%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
By applying the distributive law you get that $(A lor D) land (A lor B lor C)land ( sim A lor C , lor sim D)$ is equivalent to
$$
(A land A land sim A) lor (A land A land C) lor (A land A land sim D) lor (A land B land sim A) lor (A land B land C) lor (A land B land sim D) lor (A land C land sim A) lor (A land C land C) lor (A land C land sim D) lor (D land A land sim A) lor (D land A land C) lor (D land A land sim D) lor (D land B land sim A) lor (D land B land C) lor (D land B land sim D) lor (D land C land sim A) lor (D land C land C) lor (D land C land sim D)
$$
We now delete all the disjuncts that are equivalent to $0$ and we get rid of all the redundant terms. We get that the original expression is equivalent to
$$
(A land C) lor (A land sim D) lor (A land B land C) lor (A land B land sim D) lor (A land C ) lor (A land C land sim D) lor (D land A land C) lor (D land B land sim A) lor (D land B land C) lor (D land C land sim A) lor (D land C)
$$
We now erase the disjuncts that are smaller than another disjunct.
$$
(A land C) lor (A land sim D) lor (D land B land sim A) lor (D land C)
$$
Which, by commutativity of $land$, is equivalent to the expression you got. Therefore your solution was right.
Note that your solution is equivalent to $ (sim A land B land D) lor (A land sim D) lor (C land D)$. Indeed, by the distributive law and the fact that $D , lor sim D$ is equivalent to $1$, your solution is equivalent to
$$
(sim A land B land D) lor (A land sim D) lor (C land D) lor (A land C land D) lor (A land C land sim D).
$$
Since the two last disjuncts are smaller than the third and second ones, it is equivalent to
$$
(sim A land B land D) lor (A land sim D) lor (C land D) .
$$
$endgroup$
add a comment |
$begingroup$
By applying the distributive law you get that $(A lor D) land (A lor B lor C)land ( sim A lor C , lor sim D)$ is equivalent to
$$
(A land A land sim A) lor (A land A land C) lor (A land A land sim D) lor (A land B land sim A) lor (A land B land C) lor (A land B land sim D) lor (A land C land sim A) lor (A land C land C) lor (A land C land sim D) lor (D land A land sim A) lor (D land A land C) lor (D land A land sim D) lor (D land B land sim A) lor (D land B land C) lor (D land B land sim D) lor (D land C land sim A) lor (D land C land C) lor (D land C land sim D)
$$
We now delete all the disjuncts that are equivalent to $0$ and we get rid of all the redundant terms. We get that the original expression is equivalent to
$$
(A land C) lor (A land sim D) lor (A land B land C) lor (A land B land sim D) lor (A land C ) lor (A land C land sim D) lor (D land A land C) lor (D land B land sim A) lor (D land B land C) lor (D land C land sim A) lor (D land C)
$$
We now erase the disjuncts that are smaller than another disjunct.
$$
(A land C) lor (A land sim D) lor (D land B land sim A) lor (D land C)
$$
Which, by commutativity of $land$, is equivalent to the expression you got. Therefore your solution was right.
Note that your solution is equivalent to $ (sim A land B land D) lor (A land sim D) lor (C land D)$. Indeed, by the distributive law and the fact that $D , lor sim D$ is equivalent to $1$, your solution is equivalent to
$$
(sim A land B land D) lor (A land sim D) lor (C land D) lor (A land C land D) lor (A land C land sim D).
$$
Since the two last disjuncts are smaller than the third and second ones, it is equivalent to
$$
(sim A land B land D) lor (A land sim D) lor (C land D) .
$$
$endgroup$
add a comment |
$begingroup$
By applying the distributive law you get that $(A lor D) land (A lor B lor C)land ( sim A lor C , lor sim D)$ is equivalent to
$$
(A land A land sim A) lor (A land A land C) lor (A land A land sim D) lor (A land B land sim A) lor (A land B land C) lor (A land B land sim D) lor (A land C land sim A) lor (A land C land C) lor (A land C land sim D) lor (D land A land sim A) lor (D land A land C) lor (D land A land sim D) lor (D land B land sim A) lor (D land B land C) lor (D land B land sim D) lor (D land C land sim A) lor (D land C land C) lor (D land C land sim D)
$$
We now delete all the disjuncts that are equivalent to $0$ and we get rid of all the redundant terms. We get that the original expression is equivalent to
$$
(A land C) lor (A land sim D) lor (A land B land C) lor (A land B land sim D) lor (A land C ) lor (A land C land sim D) lor (D land A land C) lor (D land B land sim A) lor (D land B land C) lor (D land C land sim A) lor (D land C)
$$
We now erase the disjuncts that are smaller than another disjunct.
$$
(A land C) lor (A land sim D) lor (D land B land sim A) lor (D land C)
$$
Which, by commutativity of $land$, is equivalent to the expression you got. Therefore your solution was right.
Note that your solution is equivalent to $ (sim A land B land D) lor (A land sim D) lor (C land D)$. Indeed, by the distributive law and the fact that $D , lor sim D$ is equivalent to $1$, your solution is equivalent to
$$
(sim A land B land D) lor (A land sim D) lor (C land D) lor (A land C land D) lor (A land C land sim D).
$$
Since the two last disjuncts are smaller than the third and second ones, it is equivalent to
$$
(sim A land B land D) lor (A land sim D) lor (C land D) .
$$
$endgroup$
By applying the distributive law you get that $(A lor D) land (A lor B lor C)land ( sim A lor C , lor sim D)$ is equivalent to
$$
(A land A land sim A) lor (A land A land C) lor (A land A land sim D) lor (A land B land sim A) lor (A land B land C) lor (A land B land sim D) lor (A land C land sim A) lor (A land C land C) lor (A land C land sim D) lor (D land A land sim A) lor (D land A land C) lor (D land A land sim D) lor (D land B land sim A) lor (D land B land C) lor (D land B land sim D) lor (D land C land sim A) lor (D land C land C) lor (D land C land sim D)
$$
We now delete all the disjuncts that are equivalent to $0$ and we get rid of all the redundant terms. We get that the original expression is equivalent to
$$
(A land C) lor (A land sim D) lor (A land B land C) lor (A land B land sim D) lor (A land C ) lor (A land C land sim D) lor (D land A land C) lor (D land B land sim A) lor (D land B land C) lor (D land C land sim A) lor (D land C)
$$
We now erase the disjuncts that are smaller than another disjunct.
$$
(A land C) lor (A land sim D) lor (D land B land sim A) lor (D land C)
$$
Which, by commutativity of $land$, is equivalent to the expression you got. Therefore your solution was right.
Note that your solution is equivalent to $ (sim A land B land D) lor (A land sim D) lor (C land D)$. Indeed, by the distributive law and the fact that $D , lor sim D$ is equivalent to $1$, your solution is equivalent to
$$
(sim A land B land D) lor (A land sim D) lor (C land D) lor (A land C land D) lor (A land C land sim D).
$$
Since the two last disjuncts are smaller than the third and second ones, it is equivalent to
$$
(sim A land B land D) lor (A land sim D) lor (C land D) .
$$
answered Dec 10 '18 at 8:14
Luca CaraiLuca Carai
31119
31119
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.
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%2f3032580%2fi-need-help-in-simplifying-a-boolean-expression%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
1
$begingroup$
Does $p+q$ mean $pland q$? Does $pq$ mean $plor q$?
$endgroup$
– J.G.
Dec 9 '18 at 16:37
$begingroup$
+ is OR, * is AND, ~is NOT; p+q was p∨q and pq was p∧q if i recall correctly
$endgroup$
– Andres Eelma
Dec 9 '18 at 16:45
$begingroup$
Thanks for clarifying.
$endgroup$
– J.G.
Dec 9 '18 at 16:48
$begingroup$
My bad, I didn't realize using asteriks to show multiplication would make the text italics and whatnot.
$endgroup$
– Andres Eelma
Dec 9 '18 at 16:54
$begingroup$
use
pland q
for $pland q$, and useplor q
for $plor q$, and usesim
for $sim$ :)$endgroup$
– Nosrati
Dec 9 '18 at 16:55