Question

In: Computer Science

prove A(A+B) = A using truth table

prove A(A+B) = A using truth table

Solutions

Expert Solution

Solution

A B (A+B) A(A+B)
0 0 0 0
0 1 1 0
1 0 1 1
1 1 1 1

Since taking a look at all combination of A and B bits the A(A+B) produces same result as A, so A(A+B) = A

Explanation

In order to explain above truth table we need to understand the the concept of logic or boolean operations.

Logic operations

Logic operations include any operations that manipulate Boolean values. Boolean values are either true or false. The true value can be represented as 1 and false can be represented as 0.

Basic boolean operations

AND

A B A ^ B
0 0 0
0 1 0
1 0 0
1 1 1

The AND operations produce 0 if one of the operand is 0 and it produces 1 if all operands are 1.

The AND operations can represented with out an symbol like AB or using . (dot) or using & or ^.

OR

A B A v B
0 0 0
0 1 1
1 0 1
1 1 1

The OR operations produce 1 if one of the operand is 1 and it produces 0 if all operands are 1.

The OR operations can be represented with | or + or v.

NOT

Though not required to understand this question, this operation is must to know operation among basic boolean operations.

A A'
0 1
1 0

NOT operation toggles the bit or boolean value , that's if the operand is 0 then it will produce 1 and if the operand is 1 it will produce 0.

Our question

Our question simply is A(A+B) that A ^ (A v B).

When writing the truth table we take each term' value.Here the terms are A,B, AvB, A^(AvB).

A B (A+B) A(A+B)
0 0 0 0
0 1 1 0
1 0 1 1
1 1 1 1

Using the above knowledge we write our truth table. Since only two major terms A and B variables are used we only need to bother two bit data. That our truth table columns will contain all the two combinations of 0 and 1.

So when we write them all we can clearly see that (look at bold part) A and A(A+B) has same result on each row.

So we can conclude A (A+B) = A.

Hope this cleared your doubts and Have a nice day :)


Related Solutions

Part #1 Prove the following by using a Truth Table: x + !xy = x +...
Part #1 Prove the following by using a Truth Table: x + !xy = x + y Part #2 Prove the following by using a Truth Table: x(!x + y) = xy Part #3 Simplify the following Boolean expression using Karnaugh maps: ABC + ABC + ABC Part #4 Simplify the following Boolean expression using Karnaugh maps: ABC + ABC + ABC Part #5 Simplify the following Boolean expression using Karnaugh maps: ABCD + ABCD + ABCD + ABCD Part...
Prove or disprove using a Truth Table( De Morgan's Law) ¬(p∧q) ≡ ¬p∨¬q
Prove or disprove using a Truth Table( De Morgan's Law) ¬(p∧q) ≡ ¬p∨¬q Show the Truth Table for (p∨r) (r→¬q)
1. write a truth table using this symbol: --> 2. write the inputs for the truth...
1. write a truth table using this symbol: --> 2. write the inputs for the truth table to the left of the --> and write the outputs for the truth table to the right of the --> 3. write the compliment, or NOT using ' As an example: The truth table for AND is written this way: A B --> A AND B 0 0 --> 0 0 1 --> 0 1 0 --> 0 1 1 --> 1 or...
1. write a truth table using this symbol: --> 2. write the inputs for the truth...
1. write a truth table using this symbol: --> 2. write the inputs for the truth table to the left of the --> and write the outputs for the truth table to the right of the --> 3. write the compliment, or NOT using ' As an example: The truth table for AND is written this way: A B --> A AND B 0 0 --> 0 0 1 --> 0 1 0 --> 0 1 1 --> 1 or...
Discrete math question Prove that ¬(q→p)∧(p∧q∧s→r)∧p is a contradiction without using truth table
Discrete math question Prove that ¬(q→p)∧(p∧q∧s→r)∧p is a contradiction without using truth table
Answer the following questions: (a) Show that the following is a tautology by using truth table...
Answer the following questions: (a) Show that the following is a tautology by using truth table and using list of equivalences. (This problem should be solved using 2 different methods mentioned above). ((¬p −→ q) ∧ (¬p −→ ¬q)) −→ p (b) Show that the compound propositions are logically equivalent, by using truth table and using list of equivalences. ¬p ∨ (r −→ ¬q) and (¬p ∨ ¬q) ∨ ¬r (c) Show that the propositions ¬p ∨ (¬r ∨ q)...
Prove the following equivalences without using truth tables, and specify at each step of your proof...
Prove the following equivalences without using truth tables, and specify at each step of your proof the equivalence law you are using. (a) ¬ (p ∨ (¬ p ∧ q)) ≡ ¬ p ∧ ¬ q (b) ( x → y) ∧ ( x → z) ≡ x → ( y ∧ z) (c) (q → (p → r)) ≡ (p → (q → r)) (d) ( Q → P) ∧ ( ¬Q → P) ≡ P
Symbolize the following arguments then check for validity using a truth table. To simplify, leave the...
Symbolize the following arguments then check for validity using a truth table. To simplify, leave the parenthetical parts out of your symbolization. All of the arguments are based loosely on arguments in Chapter One of The Branded Mind by Eric Du Plessis. A.(The primary function of emotions is to direct attention, so) If your client’s purchase was motivated by emotion then it was related to attention. Your client’s purchase was (motivated by a desire for well-being or cultural acceptance and...
write a program that will print a truth table for p ^ ~q. Using C++ please.
write a program that will print a truth table for p ^ ~q. Using C++ please.
Construct a truth table for the statement [q∨(~r∧p)]→~p. Complete the truth table below by filling in...
Construct a truth table for the statement [q∨(~r∧p)]→~p. Complete the truth table below by filling in the blanks. (T or F) p q r ~r ~r∧p q∨(~r∧p) ~p [q∨(~r∧p)]→~p T T T T T F T F T T F F
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT