Boolean Expression Simplification

  • Thread starter Thread starter mad_monkey_j
  • Start date Start date
  • Tags Tags
    Expression
Click For Summary

Homework Help Overview

The discussion revolves around simplifying Boolean expressions, specifically two expressions: (x'y' + xy' + x'y) and (p + q'p)(p + qr). Participants are exploring the application of Boolean algebra laws to achieve simplification.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts various simplification methods for both expressions but expresses uncertainty about the correctness of their steps. Some participants suggest applying specific Boolean algebra laws and question the validity of certain transformations. Others inquire about the process of selecting which rules to apply during simplification.

Discussion Status

Participants are actively discussing the simplification process, with some offering guidance on potential mistakes and suggesting alternative approaches. There is a recognition of errors in the original poster's attempts, and some clarification on the application of Boolean laws is being provided.

Contextual Notes

There appears to be confusion regarding the application of Boolean algebra laws, and participants are questioning assumptions about the simplification process. The original poster's attempts indicate a struggle with the rules and their order of application.

mad_monkey_j
Messages
33
Reaction score
0

Homework Statement


Simplify the following expressions
(x'y'+xy'+x'y)

(p+q'p)(p+qr)


Homework Equations


Laws of boolean algebra

The Attempt at a Solution


For the first one I've found many ways to solve it... something isn't right here
(x'y'+xy'+x'y)
=x'(y'+y)+xy'
=x'+xy'
=x'+x+y'
=y'

OR

=y'(x'+x)+x'y
=y'+x'y
=y'+x'+y
=x'
I'm definantly doing something wrong here... probably making up laws :biggrin:

For the second I'm not sure if the last line is even possible
(p+q'p)(p+qr)
=pp+pqr+ppq'+q'qr
=p+pqr+pq'+0
=p+pqr
=p? Can I do that with pqr having 3 variables?
 
Physics news on Phys.org
mad_monkey_j said:
=x'+xy'
=x'+x+y'
=y'
That is wrong. Apply:

a+a'b=a+b

For the second question, replace the fist factor by p+q'p=p. You made a mistake in the derivation, but the result is p.

ehild
 
Ahh so the first is
=x'+y'

and with the second if I change it to:
p(p+qr)
won't I end up with
=p+pqr in the end anyway?

Also how do you know what rule you're supose to use? Is there a specific order or is it just whatever you notice first?
 
mad_monkey_j said:
and with the second if I change it to:
p(p+qr)
won't I end up with
=p+pqr in the end anyway?

I said the result was correct. You made a mistake as the last term was q'qpr, but it canceled because of q'q.

mad_monkey_j said:
Also how do you know what rule you're suppose to use? Is there a specific order or is it just whatever you notice first?

There are no general recipes.
Use what you notice first, but it helps if you notice when something cancels, for example E+a=E, a+a'=E, aa'=0. Factor out what you can, so a+ab=a(E+b)=a. But it is not a rule; sometimes you need to apply other tricks.

ehild
 
ehild said:
I said the result was correct. You made a mistake as the last term was q'qpr, but it canceled because of q'q.



There are no general recipes.
Use what you notice first, but it helps if you notice when something cancels, for example E+a=E, a+a'=E, aa'=0. Factor out what you can, so a+ab=a(E+b)=a. But it is not a rule; sometimes you need to apply other tricks.

ehild

Ahh fair enough, thanks for the help.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
27K
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K