Question
Question: The Boolean expression \(\left( {p \wedge q} \right) \vee \left( {\left( { \sim q} \right) \vee p} \...
The Boolean expression (p∧q)∨((∼q)∨p) is equivalent to
A.∼p∨q
B.∼q∨p
C.p∨q
D.(∼p)∨(∼q)
Solution
Here we need to find the expression which is equivalent to the given Boolean expression. Here we will use the truth table to find an equivalent solution of the given Boolean expression. We will make two tables, in which the first table will include the given Boolean expression and the second table will contain the equivalent expression of the given Boolean expression.
Complete step-by-step answer:
The given Boolean expression is (p∧q)∨((∼q)∨p).
Now, we will draw our first truth table of this Boolean expression.
First column will include the term p , second column will contain q , third column will contain p∧q, fourth column will contain ∼q , fifth column will contain (∼q)∨p and the last column will contain resultant Boolean expression i.e. (p∧q)∨((∼q)∨p).
p | q | p∧q | ∼q | (∼q)∨p | (p∧q)∨((∼q)∨p) |
---|---|---|---|---|---|
T | T | T | F | T | T |
T | F | F | T | T | T |
F | T | F | F | F | F |
F | F | F | T | T | T |
Now, we will draw the second truth table in which the first column will include the term p , second column will contain q , third column will contain ∼p and the fourth column will contain ∼p∨q
p | q | ∼p | ∼p∨q |
---|---|---|---|
T | T | F | T |
T | F | F | F |
F | T | T | T |
F | F | T | T |
We can see from both these table that the given Boolean expression (p∧q)∨((∼q)∨p) is equivalent to ∼p∨q.
Hence, the correct option is option A.
Note: Since we have used the Boolean algebra here. Boolean algebra is defined as the category of algebra in which the variable’s values are the truth values i.e. true and false and the operations which are used or performed in Boolean algebra are – conjunction, disjunction and negation.