NDA · Question 54
If x³ + y³ = (100010111)₂ and x + y = (11111)₂, then what is (x - y)² + xy equal to?
Show answer & explanationShow explanation
Answer: (B) (1001)₂
Converting to decimal: x³ + y³ = (100010111)₂ = 256 + 16 + 4 + 2 + 1 = 279, and x + y = (11111)₂ = 16 + 8 + 4 + 2 + 1 = 31. Using the identity x³ + y³ = (x + y)(x² - xy + y²) = (x + y)[(x - y)² + xy], we get 279 = 31[(x - y)² + xy] ⇒ (x - y)² + xy = 279/31 = 9 = (1001)₂. Hence, option (b) is correct.