GATE / CS ARCHIVE

GATE CSE 2017 SET 2 / QUESTION 24

GATE CSE 2017 Set 2 Q24

Digital Logic · Number Systems & Computer Arithmetic · Full GATE CSE 2017 Set 2 paper

GATE 2017 Set 2, Q24 1 mark · NAT
Report issue

Number Systems & Computer Arithmetic

Question 24, GATE 2017: The quadratic x²−13x+36=0 has its coefficients written in base b. Its roots in that same base are the single digits 5 and 6. Find b.
Tap to enlarge
Answer & solution

Official answer: 8.0

Our answer: 8

Step through it (5 steps)

1. Because 5 and 6 are single digits, their numerical values are 5 and 6, while the coefficient 13_b means b+3 and 36_b means 3b+6. The base must exceed 6 to admit all displayed digits.

2. For a monic quadratic, the sum of the roots equals the coefficient subtracted from x. Thus 5+6=b+3, which gives b=8.

3. Check the product condition as well: 5·6=30, and 36_8=3·8+6=30. Both coefficient relations agree, and digits 0 through 6 are legal in base 8. Hence the answer is 8, not a decimal interpretation of 13 and 36.

Original paper, page 10 · Answer key