1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Bolean algebra problem

  1. Jan 16, 2009 #1
    I don't know if it's ok to put this thread here. I have to say that's the first time i use boolean algebra and i'm not sure id i used the good theorem proprely. Sorry for the bad english. Thanks everyone.

    1. The problem statement, all variables and given/known data

    Solve this equation without using the Karnaugh table



    2. Relevant equations

    a'b'cd'+a'b'cd+a'bc'd+a'bcd+ab'cd+abc'd

    3. The attempt at a solution

    a'b'cd'+a'b'cd+a'bc'd+a'bcd+ab'cd+abc'd=

    1+a'b'cd+a'bc'd+a'bcd+ab'cd=

    1+b'cd*(a'+a)+a'bc'd+a'bcd=

    1+b'cd*1+a'bc'd+a'bcd=

    1+b'cd+a'bc'd+a'bcd=

    1+b'cd+a'bd*1=

    1+b'cd+a'bd
     
  2. jcsd
  3. Jan 17, 2009 #2
    The first step is incorrect (where did that 1 come from!), but suppose this step was correct, in particular
    [tex]F = 1 + \overline{a} \overline{b} c d + \overline{a} b \overline{c} d + \overline{a} b c d + a \overline{b} c d[/tex]

    Let [tex]F = 1 + X[/tex] where [tex]X = \overline{a} \overline{b} c d + \overline{a} b \overline{c} d + \overline{a} b c d + a \overline{b} c d[/tex].

    Apply theorem [tex]1 + X = 1[/tex] to conclude immediately that [tex]F = 1[/tex].

    But, it is impossible for the original function to be reduced to [tex]F = 1 + X= 1[/tex] because your function is in canonical form (each term is a minterm containing all 4 variables), and you have only 6 min-terms. Since for a function to equal logic 1, its canonical form should contain all min-terms, i.e [tex]2^4[/tex] in case of a 4 variable function. This is equivalent to having all cells in the Karnaugh map equals 1.

    You need to start over, and apply similar technique as you did correctly in your second, third and fourth steps. In particular apply commutative axiom (if needed) [tex]ABC = ACB[/tex], distributive axiom [tex]A (B + C) = AB + AC[/tex], theorem [tex]\overline{X} + X = 1[/tex], then theorem [tex]X 1 = X[/tex].

    Keep in mind an important "trick", when you group two terms [tex]\overline{a} \overline{b} c \overline{d} + \overline{a} \overline{b} c d[/tex] to produce a simplified term, see if you still need any one of the two to make further simplifications in the remaining terms of your function. This is due to theorem [tex]X + X Y = X[/tex]. It is equivalent to using a cell more than one time to simplify adjacent cells in a Karnaugh map.
     
    Last edited: Jan 17, 2009
  4. Jan 18, 2009 #3
    The one in the first resolution came from a'b'cd'+abc'd. Is it ok?
     
    Last edited: Jan 18, 2009
  5. Jan 18, 2009 #4
    No, please reread my previous reply, you just can't get a logic 1 no matter what!.

    I can see where your confusion is,
    The theorem [tex]X + \overline{X} = 1[/tex] is best read as
    The sum of an expression and its complement is always 1

    Now let us take [tex]X = \overline{a} \overline{b} c \overline{d} [/tex], it's complement [tex]\overline{X} \neq a b \overline{c} d[/tex], rather its complement is obtained by applying De Morgan theorem,

    [tex]\overline{X} = \overline{\overline{a} \overline{b} c \overline{d}} = a + b + \overline{c} + d[/tex]

    Here's an easy way to remember this, with complements you "flip" not only the variables, but also the operators. The ANDs becomes ORs and ORs becomes ANDs.

    To restate De Morgan Theorem(s)

    [tex]\overline{A + B} = \overline{A} \cdot \overline{B}[/tex]

    [tex]\overline{A \cdot B} = \overline{A} + \overline{B}[/tex]

    Here's a very important thing to notice. [tex]\overline{a} \overline{b} c \overline{d} [/tex] is [tex]\overline{a} \cdot \overline{b} \cdot c \cdot \overline{d}[/tex], there's an AND between the variables that was omitted. It is very common among students to forget that, especially when applying De Morgan Theorem(s).


    Also, when you are unsure, just do a truth table. You would have known that [tex]a b \overline{c} d[/tex] is not the complement of [tex]\overline{a} \overline{b} c \overline{d} [/tex].

    In case you are unsure how, derive the truth table for [tex]X = \overline{a} \overline{b} c \overline{d} [/tex].

    Let a new column, labeled [tex]\overline{X}[/tex], consist of all values of [tex]X[/tex] where 1s are flipped to 0s and 0s are flipped to 1s, that is the complement of [tex]X[/tex]

    Now you suspect [tex]a b \overline{c} d[/tex] is the complement of [tex]X[/tex], derive its truth table, and compare to [tex]\overline{X}[/tex]. You should find that they're quite different.
     
    Last edited: Jan 18, 2009
  6. Jan 18, 2009 #5
    Thanks now I understand the problem i will post the solution as soon as I get it.
     
  7. Jan 26, 2009 #6
    hello, sorry for the long time but i have got some problems to take care of before so here is the solution i have foun with your hints.

    a'b'cd'+a'b'cd+a'bc'd+a'bcd+ab'cd+abc'd

    a(bdc'+cdb')+b(cda'+da'c')+c(da'b'+a'b'd')

    ad(bc'+b'c)+b(da'(c+c'))+c(a'b'(d+d'))

    ad(b[tex]\oplus[/tex]c)+bda'+ca'b'

    ad(b[tex]\oplus[/tex]c)+a'(bd+b'c)
     
  8. Jan 26, 2009 #7
    a'b'cd'+a'b'cd+a'bc'd+a'bcd+ab'cd+abc'd
    =a'b'c(d'+d)+a'bd(c'+c)+ab'cd+abc'd
    =a'b'c + a'bd + ab'cd + abc'd

    Here we have a'bd, so we may introduce a'bc'd to get rid of the a in abc'd (reread my first reply), similary we have a'b'c, so introduce a'b'cd to get rid of the a in ab'cd
    = a'b'c + a'bd + ab'cd + abc'd + a'bc'd + a'b'cd
    = a'b'c + a'bd + (a + a')bc'd + (a + a')b'cd
    = a'b'c + a'bd + bc'd + b'cd

    This is the optimized sum of products expression, you should stop at this point.

    There's no need for the xor, unless you were told to use it! Similarly do not (by default) group a'b'c + a'bd to get a'(b'c + bd), it may appear simpler but it is unwanted sometimes as it introduces an additional level.
    For example, in a'b'c + a'bd, you have the OR coming from the general expression and you use only two ANDs, whereas the "simplified" a'.(b'.c + b.d) uses three ANDs and an additional OR!
     
    Last edited: Jan 26, 2009
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Bolean algebra problem
  1. Algebra problem (Replies: 1)

  2. Algebra problem (Replies: 2)

  3. Algebra Problems (Replies: 4)

  4. Algebra problem (Replies: 5)

  5. Problem with algebra (Replies: 3)

Loading...