460 views
0 votes
0 votes
#Discrete_Maths
#Logic

I have a doubt in the following concept.
Suppose we're given:
(A v B) ^ ( B v C)...when we open the brackets, do we apply distributive law or just open it..as in
1. A v B ^ B v C = A v B ^ C
2. ((A v B) ^ B) v ((A v B) ^ C) ( by distributive law)

Which one of the above is correct and why? Also, when exactly do we apply distributive law? I see that sometimes, the brackets are opened just like that and in other cases, distributive law is used. How to differentiate what to do when?

Please help!

1 Answer

1 votes
1 votes
(A v B) ^ ( B v C)
Here precedence of bracket is more.
Hence A v B & B v C will be evaluated 1st. Then  ^

As per your 1st statement
 A v B ^ B v C  ,   here precedence of   ^ is more.
It means   A v (B ^ B) v C    which is A v B  v C.

(A v B) ^ ( B v C)   &  A v B  v C  are not same.
Draw truth table to be clear.
Draw truth table ((A v B) ^ B) v ((A v B) ^ C) too..  You will get same as (A v B) ^ ( B v C)

Related questions