I need help in simplifying a Boolean expression.












0














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




















  • 1




    Does $p+q$ mean $pland q$? Does $pq$ mean $plor q$?
    – J.G.
    Dec 9 at 16:37










  • + is OR, * is AND, ~is NOT; p+q was p∨q and pq was p∧q if i recall correctly
    – Andres Eelma
    Dec 9 at 16:45












  • Thanks for clarifying.
    – J.G.
    Dec 9 at 16:48










  • My bad, I didn't realize using asteriks to show multiplication would make the text italics and whatnot.
    – Andres Eelma
    Dec 9 at 16:54










  • use pland q for $pland q$, and use plor q for $plor q$, and use sim for $sim$ :)
    – Nosrati
    Dec 9 at 16:55


















0














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




















  • 1




    Does $p+q$ mean $pland q$? Does $pq$ mean $plor q$?
    – J.G.
    Dec 9 at 16:37










  • + is OR, * is AND, ~is NOT; p+q was p∨q and pq was p∧q if i recall correctly
    – Andres Eelma
    Dec 9 at 16:45












  • Thanks for clarifying.
    – J.G.
    Dec 9 at 16:48










  • My bad, I didn't realize using asteriks to show multiplication would make the text italics and whatnot.
    – Andres Eelma
    Dec 9 at 16:54










  • use pland q for $pland q$, and use plor q for $plor q$, and use sim for $sim$ :)
    – Nosrati
    Dec 9 at 16:55
















0












0








0







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















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 at 16:58









Rócherz

2,7762721




2,7762721










asked Dec 9 at 16:35









Andres Eelma

33




33








  • 1




    Does $p+q$ mean $pland q$? Does $pq$ mean $plor q$?
    – J.G.
    Dec 9 at 16:37










  • + is OR, * is AND, ~is NOT; p+q was p∨q and pq was p∧q if i recall correctly
    – Andres Eelma
    Dec 9 at 16:45












  • Thanks for clarifying.
    – J.G.
    Dec 9 at 16:48










  • My bad, I didn't realize using asteriks to show multiplication would make the text italics and whatnot.
    – Andres Eelma
    Dec 9 at 16:54










  • use pland q for $pland q$, and use plor q for $plor q$, and use sim for $sim$ :)
    – Nosrati
    Dec 9 at 16:55
















  • 1




    Does $p+q$ mean $pland q$? Does $pq$ mean $plor q$?
    – J.G.
    Dec 9 at 16:37










  • + is OR, * is AND, ~is NOT; p+q was p∨q and pq was p∧q if i recall correctly
    – Andres Eelma
    Dec 9 at 16:45












  • Thanks for clarifying.
    – J.G.
    Dec 9 at 16:48










  • My bad, I didn't realize using asteriks to show multiplication would make the text italics and whatnot.
    – Andres Eelma
    Dec 9 at 16:54










  • use pland q for $pland q$, and use plor q for $plor q$, and use sim for $sim$ :)
    – Nosrati
    Dec 9 at 16:55










1




1




Does $p+q$ mean $pland q$? Does $pq$ mean $plor q$?
– J.G.
Dec 9 at 16:37




Does $p+q$ mean $pland q$? Does $pq$ mean $plor q$?
– J.G.
Dec 9 at 16:37












+ is OR, * is AND, ~is NOT; p+q was p∨q and pq was p∧q if i recall correctly
– Andres Eelma
Dec 9 at 16:45






+ is OR, * is AND, ~is NOT; p+q was p∨q and pq was p∧q if i recall correctly
– Andres Eelma
Dec 9 at 16:45














Thanks for clarifying.
– J.G.
Dec 9 at 16:48




Thanks for clarifying.
– J.G.
Dec 9 at 16:48












My bad, I didn't realize using asteriks to show multiplication would make the text italics and whatnot.
– Andres Eelma
Dec 9 at 16:54




My bad, I didn't realize using asteriks to show multiplication would make the text italics and whatnot.
– Andres Eelma
Dec 9 at 16:54












use pland q for $pland q$, and use plor q for $plor q$, and use sim for $sim$ :)
– Nosrati
Dec 9 at 16:55






use pland q for $pland q$, and use plor q for $plor q$, and use sim for $sim$ :)
– Nosrati
Dec 9 at 16:55












1 Answer
1






active

oldest

votes


















0














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





















    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














    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


























      0














      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
























        0












        0








        0






        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












        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 at 8:14









        Luca Carai

        19618




        19618






























            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.





            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.




            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

            Bressuire

            Cabo Verde

            Gyllenstierna