Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

In addition to the basic laws we discussed in this section, there are two important theorems, called DeMorgan’s theorems:

A+B=A·BandA·B=A+B

Prove DeMorgan’s theorems with a truth table of the form

A

B

A

B

A+B

A·B

A·B

A+B

0

0

1

1

1

1

1

1

0

1

1

0

0

0

1

1

1

0

0

1

0

0

1

1

1

1

0

0

0

0

0

0

Short Answer

Expert verified

Prove is provided below

Step by step solution

01

Define DeMorgan’s 1st law

DeMorgan’s First law states that the complement of the sum of all the terms is equal to the product of the complements of each term.

A+B=A·B

02

Define DeMorgan’s  2nd law

DeMorgan’s Second law state that the complement of the product of all terms is equal to the sum of complements of each term

A·B=A+B

03

Prove 1st theorem A+B=A·Busing the truth table

A+B=A·B

Proof:

Using complementarity laws, A+A=1andA·A=0

role="math" localid="1655189870848" A+B+A+B=1&A+B·A+B=0......(1)A+B+A·B=0&A+B·A·B=0......(2)

First, we have to prove A+B+A·B=0

=A+B+A·A+B+BA+BC=A+B·A+C=A+A+B·A+B+BCommutativeLaw

=1+B·A+1A+A=1=1·11+A=1=1

Now, we prove A+B·A·B=0

A+B·A+B=0=A+B·A+B(CommutativeLaw)=ABA+ABB(DistributiveLaw)=AAB+ABB(CommutativeLaw)=0·B+A·0A·A=0=0+0=0

Hence proved LHS=RHS

04

Prove 1st theorem  A·B=A+Busing the truth table

A·B=A+B

Proof:

Using complementarity laws, A+A=1,A·A=0

AB+AB=1&AB·AB=0......(1)AB+A+B=1&AB·A+B=0......(2)

First, we prove AB+A+B=1

=AB+A+B=A+B+AB(Commutativelaw)=A+B+A·A+B+BA+BC=A+B·A+C=1+B·1+A=1·1=1

LHS=RHS

Now we prove AB·A+B=0=ABA+ABB(Distributivelaw)=0·B+A·0=0+0=0

Hence proved LHS = RHS

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Question: B.23 [20] <§§B3, B.4, B.5> Repeat Exercise B.22, but for an unsigned divider rather than a multiplier.

Aside from the smart cell phones used by a billion people, list and describe four other types of computers.

B.20 [10] <§§B.3, B.4> Write down a Verilog module implementation of a 2-to-4 decoder (and/or encoder).

Assume a program requires the execution of50×106FP instructions, 110×106INT instructions,80×106L/S instructions, and16×106branch instructions. The CPI for each type of instruction is 1, 1, 4, and 2, respectively. Assume that the processor has a 2 GHz clock rate:

1.14.1 By how much must we improve the CPI of FP instructions if we want the program to run two times faster?

1.14.2 By how much must we improve the CPI of L/S instructions if we want the program to run two times faster?

1.14.3 By how much is the execution time of the program improved if the CPI of INT and FP instructions is reduced byand the CPI of L/S and Branch is reduced by?

B.24 [15] <§B.5> The ALU supported set on less than (slt) using just the sign bit of the adder. Let’s try a set on less than operation using the values -7ten and 6ten. To make it simpler to follow the example, let’s limit the binary representations to 4 bits: 1001two and 0110two. 1001two – 0110two = 1001two + 1010two = 0011two This result would suggest that -7 > 6, which is clearly wrong. Hence, we must factor in overflow in the decision. Modify the 1-bit ALU in Figure B.5.10 on page B-33 to handle slt correctly. Make your changes on a photocopy of this figure to save time.

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free