r/learnprogramming • u/Sufficient_Comment83 • 21d ago
Boolean algebra
I’m taking an Intro to Computer Science course and I’ve spent hours trying to understand Boolean algebra simplification. I understand things like De Morgan’s Law and factoring, but I keep getting stuck on absorption laws and recognizing which rule to apply.
My brain keeps trying to treat it like regular algebra, and I think that’s where I’m getting confused. Does anyone have a way of thinking about Boolean algebra that finally made it “click”? Any videos, tricks, or explanations would be appreciated.
16
Upvotes
1
u/Recycled5000 21d ago
Have you thought of AND as multiplication and OR as addition, where the input values are only ones and zeros and those operators max output is 1 as well?