I need help in simplifying a Boolean expression.












0












$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










share|cite|improve this question











$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$
    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


















0












$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










share|cite|improve this question











$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$
    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
















0












0








0





$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










share|cite|improve this question











$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






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








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$
    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
















  • 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 use plor q for $plor q$, and use sim 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












1 Answer
1






active

oldest

votes


















0












$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) .
$$






share|cite|improve this answer









$endgroup$













    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    0












    $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) .
    $$






    share|cite|improve this answer









    $endgroup$


















      0












      $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) .
      $$






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $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) .
        $$






        share|cite|improve this answer









        $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) .
        $$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 10 '18 at 8:14









        Luca CaraiLuca Carai

        31119




        31119






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Plaza Victoria

            In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

            How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...