Simplifying boolean expressions

In summary, the conversation discusses simplifying a Boolean expression to a minimum number of literals. The attempt at a solution involves reordering the expression and using XOR. The final simplified expression has 5 literals, but it is questioned if it is the most simplified term.
  • #1
Pi Face
76
0

Homework Statement


Simplify the following Boolean expressions to a minimum number of literals
(a+b+c')(a'b'+c)

2. The attempt at a solution
Whenever I tried this I made no progress in reducing the number of literals, I just reordered the expression.

(a+b+c')(a'b'+c)
=aa'b'+a'bb'+a'b'c'+ac+bc+cc'
=0b'+a'0+a'b'c'+ac+bc+0
=0+0+a'+b'+c'+ac+bc+0
=a'b'c'+ac+bc
=a'b'c'+c(a+b)

I began with 6 literals and ended with 6. What else can I try?
 
Physics news on Phys.org
  • #2
Pi Face said:

Homework Statement


Simplify the following Boolean expressions to a minimum number of literals
(a+b+c')(a'b'+c)

2. The attempt at a solution
Whenever I tried this I made no progress in reducing the number of literals, I just reordered the expression.

(a+b+c')(a'b'+c)
=aa'b'+a'bb'+a'b'c'+ac+bc+cc'
=0b'+a'0+a'b'c'+ac+bc+0
=0+0+a'+b'+c'+ac+bc+0
=a'b'c'+ac+bc
=a'b'c'+c(a+b)

I began with 6 literals and ended with 6. What else can I try?

Are you allowed to use XOR?
 
  • #3
It doesn't say we can't and we did cover it, however it doesn't show up in any of the other problems or examples so far
 
  • #4
I tried to use X(N)OR and this is what I came up with:

From
=a'b'c'+ac+bc

I can multiply ac and bc by (1) in the form (x+x')

=a'b'c'+ac(b+b')+bc(a+a')
=a'b'c'+abc+ab'c+abc+a'bc

Get rid of one of the two abc (redundant)

=a'b'c'+abc+ab'c+a'bc

Factor

=bc(a+a')+b'(ac+a'c')
=bc(1)+b'(aXORc)'
=bc+b'(aXORc)'

Now I have 5 literals, but is that really the most simplified term? I did all this work just to eliminate 1 literal :(
 
  • #5
Pi Face said:
a'b'c'+ac+bc

= c'·a'b' + c(a+b)

= c'·a'b' + c·(a'b')'

= ...
 

What is a boolean expression?

A boolean expression is a mathematical statement that can only have two possible values: true or false. It is often used in computer programming to make decisions based on certain conditions.

Why is it important to simplify boolean expressions?

Simplifying boolean expressions can make them easier to read and understand, which can help in debugging and troubleshooting code. It can also make the code more efficient and improve its performance.

How do you simplify boolean expressions?

To simplify a boolean expression, you can use various Boolean algebra rules and laws, such as De Morgan's laws, distributive law, and idempotent law. You can also use truth tables or Karnaugh maps to simplify more complex expressions.

What are the benefits of simplifying boolean expressions?

Simplifying boolean expressions can help reduce the number of steps needed to evaluate the expression, which can save time and effort. It can also help identify any errors or redundancies in the code.

Can simplifying a boolean expression change its meaning?

Yes, simplifying a boolean expression can change its meaning if the simplification is not done correctly. It is essential to follow the rules and laws of Boolean algebra to ensure that the simplified expression is equivalent to the original one.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
10
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
7K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Precalculus Mathematics Homework Help
Replies
4
Views
919
  • Engineering and Comp Sci Homework Help
Replies
4
Views
981
Back
Top