Question
Consider a quadratic equation with coefficients in a base . The solutions of this equation in the same base are and . Then
Official answer and solution
- Official answer
- 8
- From
- Official GATE 2017 answer key
Solution
Relate the sum and product of the roots in base to the polynomial coefficients.
For a quadratic equation with roots and in base :
- Sum of roots .
- Product of roots .
From the equation :
- The coefficient of is .
Equating to the sum of roots: - Check the constant term with :This matches the product of roots perfectly.
Hence, the base is .
Final answer
8
Common trap
Applying base 10 arithmetic to the coefficients and .
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2017 Computer Science and Information Technology (CS) Session 2
- Question
- 24 of 65, printed as CS Q.24
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.