Boolean expression needs simplifying

In summary, Steve Collins has constructed a truth table for the original problem and his simplification, and they agree.
  • #1
Steve Collins
46
0
I have attached the problem and my working. It would be much appreciated if someone could check through my working and let me know if I have slipped up anywhere.

Thanks in advance

Steve
 

Attachments

  • Scan0003.jpg
    Scan0003.jpg
    25.3 KB · Views: 438
Last edited:
Physics news on Phys.org
  • #2
Attachment not attached.
 
  • #3
I realized that I had made a couple of errors so I deleted the attachment. I have now reattached it above.

Also, I’ve just realized that A’+A=1… (the 0 I have put is incorrect)

So
A’+(AC) = (A’+A)+(A’+C) = 1 + (A’+C) = 1
B(1) = B

C(AB’+AC’+B) = AB’C+ACC’+BC = AB’C+BC = AB’C+BC (which somehow is the same answer as before)Cheers

Steve
 
Last edited:
  • #4
4th line:
~A+(AC) = (~A+A)(~A+C) = 1(~A+C) = (~A+C) --got lucky.

last line:
BC(1+~A) != BC
 
  • #5
ok I see,

1 + (A’+C) is actually 1(~A+C)

Thanks for your help lewando.
 
  • #6
What is your final simplification of the expression, Steve Collins?
 
  • #7
ac+bc

I've been staring at this one for a while:

~a~bc+~ab~c+a~b~c+abc

Can this be simplified at all?
 
Last edited:
  • #8
Steve Collins said:
ac+bc
Is this your answer to my question? If so, write it as c(a+b), though that is still wrong. The easiest way to check is to draw up two truth-tables, one for the original expression, and another for your simplification. They should agree.

Please explain what rule you used to go from the LHS to the RHS here:
A’+(AC) = (A’+A)+(A’+C)

I've been staring at this one for a while:

~a~bc+~ab~c+a~b~c+abc

Can this be simplified at all?
It can be simplified using exclusive-OR operations.
 
  • #9
I've been keeping my results in sum of products form as I find it easier to read when simulating in Proteus.

A'+(AC)=(A'+A)+(A'+C) Should have read A'+(AC)=(A'+A)(A'+C)

I have constructed a truth table for the original problem and my answer and they seem to concur.
 

Attachments

  • truth table.jpg
    truth table.jpg
    40.6 KB · Views: 419
  • #10
Steve Collins said:
I have constructed a truth table for the original problem and my answer and they seem to concur.
My mistake, I overlooked a closing parenthesis in your handwriting.
 
  • #11
NascentOxygen said:
It can be simplified using exclusive-OR operations.
If you need encouragement: it simplifies to entirely exclusive-ORs. :smile:

¬xy + x¬y = x⊕y
 
  • #12
Thanks for the help and sorry for the late reply… Not enough hours in the day!

With NascentOxygen’s direction I’ve discovered that this Boolean expression is for a full counter so my ultimate goal is to achieve:
a xor b xor c

I have got to my working below, but I am struggling to proceed. I think that I may be going down the wrong path or there is a rule that I cannot find after much searching.

~a~bc+~ab~c+a~b~c+abc
~a(~bc+b~c)+a(~b~c+bc)
~a(b xor c)+a~(b xor c)
 
  • #13
Steve Collins said:
my ultimate goal is to achieve:
a xor b xor c

I have got to my working below, but I am struggling to proceed. I think that I may be going down the wrong path or there is a rule that I cannot find after much searching.

~a~bc+~ab~c+a~b~c+abc
~a(~bc+b~c)+a(~b~c+bc)
~a(b xor c)+a~(b xor c)
If you are able to get this far, then you are almost done.

Your last expression matches ~x.y + x.~y
 
  • #14
Thank you NascentOxygen... Your help has been greatly appreciated.
 

Related to Boolean expression needs simplifying

1. What is a Boolean expression?

A Boolean expression is a mathematical statement that evaluates to either true or false. It is typically used in computer programming to make decisions based on certain conditions.

2. How do I know if a Boolean expression needs simplifying?

You can tell if a Boolean expression needs simplifying by looking for repeated variables or operations, unnecessary parentheses, or redundant clauses. Simplifying a Boolean expression can make it easier to read and understand.

3. Why is it important to simplify Boolean expressions?

Simplifying Boolean expressions can improve the efficiency of computer programs and reduce the chances of errors. It also makes the code easier to read and maintain, saving time and effort in the long run.

4. What are some strategies for simplifying Boolean expressions?

Some strategies for simplifying Boolean expressions include using the distributive property, combining like terms, and applying De Morgan's laws. It is also helpful to use truth tables or Boolean algebra rules to simplify complex expressions.

5. Can I use software to simplify Boolean expressions?

Yes, there are many online tools and software programs available that can simplify Boolean expressions. These tools can save time and help ensure accuracy when dealing with complex expressions.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
3
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
1K
  • Introductory Physics Homework Help
Replies
4
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
946
  • Engineering and Comp Sci Homework Help
Replies
5
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
22
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
911
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
18
Views
2K
Back
Top