00:01
All right, we need to prove de morgan's laws, which state that the complement of xy is equal to the complement of x or the complement of y, and that the complement of x or y is equal to the complement of x times the complement of y.
00:38
So, once again, we are going to use the truth table, and since there are only two variables, x and y, the table is only going to be four rows long.
00:51
So, let's cover all our bases, 0 ,0, 1, 1, and 1, and 1, and then we're going to write down our xy, and then the complement of that are, and then we're going to compare that with the complement of x, and then we're going to compare that with the complement of x, complement of y, and then the addition between complement of x and complement of y.
01:26
So let's go.
01:28
X, y is going to be zero everywhere except where both x and y are 1.
01:34
So we get 0 ,000, and 1.
01:39
And taking the complement of the xy, we get 1 -1 -1 -0.
01:46
And then we take the complement of x, which makes this 1 -1 -0.
01:53
And then the complement of y, which makes this 1 -010.
01:59
And then we compare these two columns, and everywhere where at least one entry is 1, we get a 1, which makes this 1 -1 -1 -0.
02:12
And we can see that the complements of x -y is identical to the complement of x or the complement of y.
02:24
So we can see that this law is true.
02:29
But we're not done.
02:30
We need to do it for the second statement of the demorgans law as well...