LMD Async Tutoring

Addition is commutative. I.e order doesn’t matter. Both ‘and’ and ‘or’ are like this. Addition feels more like ‘and’ to me. 5 ‘and’ 6 = 11 makes sense.

A and B means both A and B together. Like you’re adding A to B or B to A.

1 add 0 is 1. but with and, 1 and 0 is 0. So it works kind of like multiplication in this respect (1 is the multiplicative identity, and 0 the additive identity)

The additive identity is 0. It can be added to any number without changing it’s identity.

what’s the ‘or’ identity? if you ‘or’ an input with ‘0’, you get the same output as the first input. That’s kind of similar.

Multiplication is commutative. The multiplicative identity is 1. Multiplication scales things. Multiplication can take more than 2 inputs.

What are some logical operators?

and
or
not
xor
equality
implies

Does ‘or’ make sense for either? I don’t think so. I don’t think any of the others do either. not - no, one input. xor… no? equality… hmm no? implies… no, order matters.

I think both addition and multiplication both have similarities to ‘and’. Moreso than others as far as I can see.