Boolean algebra identities - Discrete Math
- Which of the following demonstrates a correct application of the consensus theorem in Boolean algebra? The consensus theorem states that . Answer: The consensus theorem removes the term built from the two terms that contain a variable and its complement. Its dual form is ; with , , , the factor is redundant, so . The other identities fail. Dropping instead of the consensus term is wrong: at the left side is 1 and the right side is 0. Dropping from is not consensus; at the sides are 1 and 0. Dropping from fails at , where the sides are 1 and 0.
- Consider the Boolean identity . If we generalize this to , which of the following correctly explains why this identity holds? Answer: By the distributive law: Applying the distributive law to : we get . Using the idempotent law , the complement law , and the identity law for addition with 0: . Since and , we get . Choice A incorrectly uses , Choice B omits the step, and Choice D incorrectly factors the expression.
- In Boolean algebra, which of the following expressions is equivalent to after applying De Morgan's laws and simplification? Answer: First, recognize that ĀB + AB̄ is the XOR operation (A ⊕ B). So we have (A ⊕ B)¯ · (A + B). The complement of XOR is the XNOR operation: (A ⊕ B)¯ = AB + ĀB̄. Therefore, the expression becomes (AB + ĀB̄)(A + B). Expanding: AB(A + B) + ĀB̄(A + B) = AB·A + AB·B + ĀB̄·A + ĀB̄·B = AB + AB + 0 + 0 = AB. Choice A gives the unsimplified product-of-sums form. Choice B represents XNOR but doesn't account for the (A + B) factor. Choice C represents XOR, which is the opposite of what we want.
- A Boolean function is to be minimized. After applying the consensus theorem and other reduction identities, which term can be eliminated? Answer: The term can be eliminated because it is the consensus of and The consensus theorem states that (the term can be eliminated). Here, we can rewrite as . We need terms of the form . Looking at - this doesn't directly fit. However, we can check if is the consensus of the other terms. For consensus, we need to imply in some cases. Actually, is indeed the consensus term and can be eliminated, leaving .
- The Boolean identity is known as the absorption law. Which of the following expressions demonstrates the dual form of this absorption law? Answer: showing that multiplication absorbs addition when terms share variables In Boolean algebra, every law has a dual obtained by swapping + with · and 0 with 1. The absorption law has the dual . We can verify this: (using idempotency and the original absorption law). Choice A correctly states this dual form. Choice B is just commutativity, Choice C is the same law with complements (not the dual), and Choice D incorrectly states that when it actually equals .
- Which of the following Boolean expressions is NOT equivalent to the others? Answer: When you encounter Boolean equivalence problems, your goal is to simplify each expression to its most basic form and compare the results. Boolean algebra follows specific rules like De Morgan's laws, distributive properties, and complement rules. Let's work through each expression systematically. For option A, , use the distributive property: . Since and , this simplifies to , which is the XOR operation . Option B, , is already in simplified form and represents the XNOR operation (true when both inputs are the same). For option C, , apply De Morgan's law. The first term . The second term (by De Morgan's law again). So this becomes , which matches option B. Option D, , is literally the XNOR operation, equivalent to . Options B, C, and D all simplify to (XNOR), while option A simplifies to (XOR). These are complements of each other. Study tip: When checking Boolean equivalence, always simplify to sum-of-products form and watch for XOR versus XNOR patterns—they're frequently confused on exams.
- The Boolean expression simplifies to which of the following? Answer: When simplifying Boolean expressions, your goal is to systematically apply Boolean algebra laws to reduce the expression to its simplest form. This problem tests your ability to work with complements, distribution, and absorption laws. Let's simplify step by step. First, apply De Morgan's law to the complement: . Using De Morgan's again: . Now our expression becomes: . Expanding the first two terms using distribution: . So we have: . Distributing: . Choice A gives the intermediate step but isn't fully simplified. Choice B shows , which is what we had before applying the final term. Choice C represents the original expression (exclusive OR) multiplied by , but doesn't account for the complement. Choice D correctly gives , the final simplified result. Remember: when simplifying Boolean expressions, work systematically through complement laws, distribution, and always check if further reduction is possible using absorption or consensus laws.
- Consider the Boolean expression . Which of the following is the simplified form after applying Boolean algebra identities? Answer: Expanding : First expand (since ). Then multiply by : (using idempotent laws). Since and , we get .
- Using the Boolean algebra identity , which expression is equivalent to ? Answer: A three-way XOR is 1 exactly when an odd number of inputs are 1, which is what the given identity lists: 111, 001, 010 and 100. Its complement is 1 exactly when an even number of inputs are 1: 000, 011, 101 and 110. Those minterms are , , and , so the complement is . The sum is the original XOR, not its complement. The sum containing in place of includes the odd-parity term 111. The sum mixes two odd-parity terms (111 and 010) with two even ones.
- Consider the Boolean function . Using Boolean algebra identities, which expression represents the complement ? Answer: Reading each term as abc, F contains the minterms 101, 011, 111 and 000, that is m(0, 3, 5, 7). The complement contains the other four minterms of a 3-variable function: 001, 010, 100 and 110, which are , , and ; the order of the terms does not matter. A sum that includes (111) or (101) includes a minterm already in F, so it cannot be the complement. A sum that includes (000) makes the same mistake with F's only all-zero term and leaves out . Checking each term against the list of F's minterms is the quickest test.
- In Boolean algebra, the expression simplifies to which of the following? Answer: by the complement law since we have a term and its complement The expression has the form where . By the complement law in Boolean algebra, for any Boolean expression . Therefore, . Choice A shows an incorrect expansion, Choice C stops at an intermediate step without completing the simplification, and Choice D gives the wrong result (that would be XOR of A and B).