How can I solve a boolean algebra problem without using a Karnaugh table?

  • Thread starter Truthlover
  • Start date
  • Tags
    Algebra
In summary: AND coming...a'(b'c + bd) = (a'b'c + b)d.The xor can be useful in these cases, but it is not necessary in this case.In summary, the equation has an error in the first step which causes a'b'cd'+a'b'cd+a'bc'd+a'bcd+ab'cd+abc'd to not equal 1. However, if the steps are followed correctly, the equation can be solved to
  • #1
Truthlover
25
0
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.

Homework Statement



Solve this equation without using the Karnaugh table



Homework Equations



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

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
 
Physics news on Phys.org
  • #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 anyone 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:
  • #3
The one in the first resolution came from a'b'cd'+abc'd. Is it ok?
 
Last edited:
  • #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:
  • #5
Thanks now I understand the problem i will post the solution as soon as I get it.
 
  • #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)
 
  • #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:

1. What is Bolean algebra and how is it used in problem solving?

Bolean algebra is a branch of mathematics that deals with logical operations on propositions. It is used in problem solving to simplify complex logical expressions and to determine the truth value of a statement based on given inputs.

2. What are the basic principles of Bolean algebra?

The basic principles of Bolean algebra include the laws of identity, domination, commutativity, and distributivity. These principles help in simplifying logical expressions and solving Bolean algebra problems.

3. How do you solve a Bolean algebra problem?

To solve a Bolean algebra problem, you need to first simplify the logical expressions using the basic principles. Then, you can use truth tables or Venn diagrams to determine the truth value of the statement. Finally, you can verify the solution by substituting the values in the original expression.

4. What are some applications of Bolean algebra in real life?

Bolean algebra has many applications in real life, such as in computer programming, digital electronics, and database design. It is also used in decision making and problem solving in various fields including engineering, economics, and law.

5. What are the common mistakes made in Bolean algebra problems?

Some common mistakes in Bolean algebra problems include forgetting to apply the basic principles, using incorrect symbols, and making errors while filling out truth tables or Venn diagrams. It is important to carefully check each step and to practice regularly to avoid these mistakes.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
14
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
3K
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
4K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
5K
Back
Top