(b) - 3 and - 4
Let the roots of the quadratic equation x2 + px + q = 0 be α and β. According to the given condition, A starts with a wrong value of p and obtains the roots as 2 and 6. But this time, the value of q is correct.
∴ q = Product of roots = αβ = 2 × 6 = 12.
According to the second condition, B starts with a wrong value of q and obtains the roots as 2 and –9. But this time, the value of p is correct.
∴ p = sum of roots = α + β = 2 + (–9) = –7 ...(i)
∴ (α - β)2 = (α + β)2 – 4ab = (–7)2 – 4.12 = 49 – 48 = 1
⇒ α - β = 1 ...(ii)
∴ Solving equations (i) and (ii), we get α = – 3 and β = – 4.