hi everyone!
I read a blog write about formula of a^b = a'b + ab' and i dont understand. Someone can explain it for me pls :((
(sorry i'm poor E).
link: https://www.homeworklib.com/qaa/1383353/2prove-that-a-xor-b-a-xor-c-a-xor-b-b-xor
# | User | Rating |
---|---|---|
1 | tourist | 3880 |
2 | jiangly | 3669 |
3 | ecnerwala | 3654 |
4 | Benq | 3627 |
5 | orzdevinwang | 3612 |
6 | Geothermal | 3569 |
6 | cnnfls_csy | 3569 |
8 | jqdai0815 | 3532 |
9 | Radewoosh | 3522 |
10 | gyh20 | 3447 |
# | User | Contrib. |
---|---|---|
1 | awoo | 161 |
2 | maomao90 | 160 |
3 | adamant | 157 |
4 | maroonrk | 154 |
5 | -is-this-fft- | 148 |
5 | SecondThread | 148 |
7 | Petr | 147 |
7 | atcoder_official | 147 |
9 | TheScrasse | 145 |
9 | nor | 145 |
hi everyone!
I read a blog write about formula of a^b = a'b + ab' and i dont understand. Someone can explain it for me pls :((
(sorry i'm poor E).
link: https://www.homeworklib.com/qaa/1383353/2prove-that-a-xor-b-a-xor-c-a-xor-b-b-xor
Name |
---|
Auto comment: topic has been updated by _Bunny (previous revision, new revision, compare).
lol, that whole blog is shit. (a xor b) + (a xor c) = (a xor b) + (b xor c) is not true. U got (a xor b) on both sides, so basically ur saying that (a xor c) = (b xor c) which doesn't make sense. Simplest example you can prove it yourself is a = 1, b = 0, c = 1
It's not wrong. it's just that the blog is in the context of boolean algebra, where, in fact, a^b = a'b + ab'. Here, ' symbol represents the negation of the boolean value of the variables.
In boolean algebra, a^b is true when a is false and b true OR a is true and b is false, predicate that is represented with a' and b or a and b' which is just written as a'b + ab'