Boolean Algebra Trouble

In summary, Boolean Algebra is a branch of mathematics that deals with logical statements and operations. It uses variables and logical operators such as AND, OR, and NOT to manipulate and analyze these statements. A Boolean expression is a combination of variables, logical operators, and parentheses that can be evaluated to a single Boolean value (true or false). A truth table is a table that shows all possible combinations of input values for a Boolean expression and the resulting output value, used to determine logical equivalence and simplify expressions. Some common mistakes in Boolean algebra include using incorrect logic operators, forgetting parentheses, and not following the correct rules. Boolean algebra is used in computer science for designing and analyzing digital circuits, programming, data representation and manipulation in databases, and in algorithms and
  • #1
mad_monkey_j
33
0

Homework Statement



1.
Simplify the following problem using boolean algebra:
(p+q'r')(p'q'+r)

2.
Use algebra or karnaugh maps to simplify the following circuit:
(z+xy')+yx+xzy'

Homework Equations


Boolean algebra rules and demorgan's law

The Attempt at a Solution



1. (p+q'r')(p'q'+r)
=pq'p'+pr+q'r'p'q'+q'r'r
=0q'+pr+'q'r'p+0q
=pr+q'r'p'
=0r+q'r'
=00+q'
=q'
Not sure if correct

2.(z+xy')+yx+x(z+y')
=zxy'+yx+xzy'
=zxy'+1x+xz
=x(zy'+z)
=xz
Not sure about this one either
 
Last edited:
Physics news on Phys.org
  • #2
mad_monkey_j said:

Homework Statement



1.
Simplify the following problem using boolean algebra:
(p+q'r')(p'q'+r)

2.
Use algebra or karnaugh maps to simplify the following circuit:
(z+xy')+yx+xzy'


Homework Equations


Boolean algebra rules and demorgan's law


The Attempt at a Solution



1. (p+q'r')(p'q'+r)
=pq'p'+pr+q'r'p'q'+q'r'r
=0q'+pr+'q'r'p+0q
=pr+q'r'p'
OK to there. Then next equation is wrong. Use the identity a + a'b = a + b.
=0r+q'r'
=00+q'
=q'
Not sure if correct

2.(z+xy')+yx+x(z+y')
=zxy'+yx+xzy'

What rule did you use to get that step?
 
  • #3
So i get
pr+q' for the first one
and i used demorgan's law to get to the second step in the second question
 
  • #4
mad_monkey_j said:
So i get
pr+q' for the first one
and i used demorgan's law to get to the second step in the second question

Actually, after looking at it a bit more leisurely than I did this morning, I think you should have just stopped at pr + q'r'p' which is correct. I don't think my suggestion was good.

For the second one, use the associative law to group the two center terms first to get started.
 

1. What is Boolean Algebra?

Boolean Algebra is a branch of mathematics that deals with logical statements and operations. It uses variables and logical operators such as AND, OR, and NOT to manipulate and analyze these statements.

2. What is a Boolean expression?

A Boolean expression is a combination of variables, logical operators, and parentheses that can be evaluated to a single Boolean value (true or false).

3. What is a truth table?

A truth table is a table that shows all possible combinations of input values for a Boolean expression and the resulting output value. It is used to determine the logical equivalence of two expressions and to simplify complex Boolean expressions.

4. What are some common mistakes in Boolean algebra?

Some common mistakes in Boolean algebra include using incorrect logic operators, forgetting to use parentheses to indicate the order of operations, and not following the correct rules of Boolean algebra.

5. How is Boolean algebra used in computer science?

Boolean algebra is used in computer science to design and analyze digital circuits, create logical expressions for programming, and to represent and manipulate data in databases. It is also used in computer algorithms and decision-making processes.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
6K
  • Calculus and Beyond Homework Help
Replies
15
Views
28K
  • Engineering and Comp Sci Homework Help
Replies
15
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
9
Views
4K
  • Classical Physics
Replies
1
Views
992
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
4K
Back
Top