Question

Consider the system of linear equations given below.

ax+y=bax + y = b
16x+ay=2416x + ay = 24

Suppose the values of aa and bb are chosen such that the system of linear equations produce multiple solutions. Then the product of aa and bb is __________. (answer in integer)

Official answer and solution
Official answer
24
From
Official GATE 2026 answer key

Solution

Use the condition a16=1a=b24\frac{a}{16} = \frac{1}{a} = \frac{b}{24} for two linear equations in two variables to have infinitely many solutions.

For a 2×22 \times 2 linear system to have multiple (infinitely many) solutions, the two equations must be proportional:

a16=1a=b24\frac{a}{16} = \frac{1}{a} = \frac{b}{24}

From 1a=b24\frac{1}{a} = \frac{b}{24}, cross-multiplying directly gives:

a⋅b=24a \cdot b = 24

(Specifically, a2=16⇒a=±4a^2 = 16 \Rightarrow a = \pm 4 and b=±6b = \pm 6, and in both cases ab=24ab = 24.)

Final answer

24

Common trap

Solving only for a=4a = 4 and forgetting that the question asks for the product abab, or overlooking that ab=24ab = 24 holds for both a=4a = 4 and a=−4a = -4.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2026 Computer Science and Information Technology - Session 2 (CS2)
Question
31 of 65
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.