1.


- 因此,这些陈述是相同的
2.




3.
- a.

- x2 = 9 表示 x 可以是 3
- 32 - 6*3 - 3 = 0 为假
- 因此该句子为假
- b.

- 为了使该方程为假,我们需要一个 x 使 x2=9 和 x2 - 6x - 3 = 0 同时为假。
- 使 x2=9 为真的 x 值为 x=3 和 x=-3
- 使 x2 - 6x - 3 = 0 为真的 x 值为

- 由于所有 x 值都不相同,因此不存在任何使该语句为真的数字。
4. (该解决方案来自汤姆·兰姆)。令 (x+y)w+z = a NAND b,其中 a 和 b 可以是 x、y、w、z 中的任何一个,或者另一个 NAND 运算符。
因此
和
,都需要进一步的 NAND 运算符。令 a = c NAND d,并令 b = e NAND f。
因此 d=w, e=f=z,c=x+y。令 c = g NAND h。
现在 g=x' 且 h=y',我们仍然需要更多 NAND 运算符。令 g = i NAND j 并令 h = k NAND l。

因此, i=j=x 且 k=l=y。
现在将所有变量代回,你应该得到: (x+y)w+z={[(x NAND x) NAND (y NAND y)] NAND w} NAND (z NAND z)
另一种方法 AND、OR 和 NOT 都可以用 NAND 表示。因此,任何布尔表达式都可以完全用 NAND 表示。这种性质被称为 NAND 的普遍性。请记住 x NAND y = (xy)'
首先,
- NOT x = x' = x'x' = (xx)' = x NAND x
同样,
- x OR y = x + y = (x'y')' = (x NAND x) NAND (y NAND y)
还有
- x AND y = xy = (xy)' ' = (x NAND y) NAND (x NAND y)
现在
- (x + y)w = ((x NAND x) NAND (y NAND y)) NAND w
所以
- (x + y)w + z = ((((x NAND x) NAND (y NAND y)) NAND w) NAND (((x NAND x) NAND (y NAND y)) NAND w)) NAND (z NAND z)