← 2014 Paper 2

UPSC 2014 Maths Optional Paper 2 Q8b — Step-by-Step Solution

15 marks · Section B

Boolean algebra · Numerical Analysis · asked 15× in 13 yrs · Read the full method →

Question

For any Boolean variables xx and yy, show that x+xy=xx+xy=x.

Technique

Boolean-algebra absorption law; can prove via distributivity + 1+y=11+y=1, truth table, or logical reasoning.

Solution

This is the absorption law in Boolean algebra. Three equivalent proofs.

Proof 1 — Algebraic manipulation

x+xy=x1+xy=x(1+y).x+xy=x\cdot 1+x\cdot y=x(1+y).

In Boolean algebra, 1+y=11+y=1 for any yy (since OR with 11 is always 11). So

x+xy=x1=x.x+xy=x\cdot 1=x.

Proof 2 — Truth table

xxyyxyxyx+xyx+xy
00000000
00110000
11000011
11111111

The last column matches the first column (xx). So x+xy=xx+xy=x for all values of x,yx,y.

Proof 3 — Logical interpretation

x+xyx+xy says ”xx is true, OR (xx AND yy) is true.” If xx is false: both disjuncts are false. If xx is true: the first disjunct is already true. So the whole expression equals xx.

Answer

  x+xy=x.  \boxed{\;x+xy=x.\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 13 years, mapped. Get the take-away PDF free.