Logical algebra is also called switch algebra or Boolean algebra.
Logical operation:
(1) logical addition: A+B=C or A∨B=C,
When at least one of A and B is 1, C= 1.
When a and b are not 1, C=0.
Addition table: 0+0=0
0+ 1= 1,
1+0= 1
1+ 1=0(0 means on, 1 means off)
(2) logical multiplication: A×B=C or a ∨ b = c.
When a and b are both temporary, C= 1,
C=0 when at least one of A and B is 0.
Multiplication table:
0×0=0,
0× 1=0
1×0=0,
1× 1= 1
(3) Logical negation: 0 (with bars on it) = 1, 1 (with bars on it) =0.
Meaning: A bar above 0 indicates (not 0), so it can only be 1.
Basic relationship:
A+0=A,A 0=0
A+ 1= 1,A 1=A
A+A=A,A A=A
A+A (plus one above) = 1, A A (one) =0.
A (plus the above two) = a.
A+B=B+A,AB=BA,
(A+B)+C=A+(B+C)
AB+AC=A(B+C)
A+AB=A,A(A+B)=A
There are some not commonly used ones, so I won't list them one by one.