The Boolean Expression (p ⋀~ q) ∨ q ∨ (~p ⋀ q) is equivalent to
We will simplify the given expression step by step using Boolean algebra laws.
Expression: (p ∧ ¬q) ∨ q ∨ (¬p ∧ q)
Notice that q appears in multiple terms. We can factor q from the last two terms:
q ∨ (¬p ∧ q) = q ∧ (1 ∨ ¬p) [Since A ∨ (B ∧ A) = A ∧ (1 ∨ B)]
But it's simpler to use the identity: A ∨ (B ∧ A) = A
So, q ∨ (¬p ∧ q) = q
Thus, the expression becomes: (p ∧ ¬q) ∨ q
Now, we have (p ∧ ¬q) ∨ q. This can be rewritten using distribution:
(p ∨ q) ∧ (¬q ∨ q)
But ¬q ∨ q is always true (T), so:
(p ∨ q) ∧ T = p ∨ q
Therefore, the entire expression simplifies to p ∨ q.
The expression is equivalent to: p q
Key Boolean Laws:
Note: In this problem, we used the absorption law implicitly: and the distributive law to simplify .