Solution:
Let the roots be r1 and r2 with r1−r2=1 (without loss of generality, r1>r2).
From Vieta's formulas:
r1+r2r1r2=a=1
Since r1−r2=1, we can write:
r1=r2+1
Substitute into the sum:
(r2+1)+r2=a⟹2r2+1=a
From the product:
(r2+1)r2=1⟹r22+r2−1=0
Solve for r2:
r2=2−1±1+4=2−1±5
Since r1 and r2 are real, both values are possible.
Now, a=2r2+1:
For r2=2−1+5:
a1=2(2−1+5)+1=(−1+5)+1=5
For r2=2−1−5:
a2=2(2−1−5)+1=(−1−5)+1=−5
But the problem asks for positive values of a, so the only answer is:
a=5