Given, λx2−(λ+3)x+3=0 with roots α<β , and α1−β1=31
Sum of the roots, α+β=λλ+3,αβ=λ3
Now, α1−β1=αββ−α
So, αββ−α=31
⇒β−α=3αβ=λ1
Now using, (β−α)2=(α+β)2−4αβ
(λ1)2=(λλ+3)2−λ12
or, 1=(λ+3)2−12λ
or, 1=λ2+6λ+9−12λ =λ2−6λ+9
or, λ2−6λ+8=0
or, (λ−2)(λ−4)=0
or, λ=2,4
On putting the values and checking the discriminants, we observe that both give real and distinct roots, so both are valid.
So, the sum of all the values of λ is 2+4=6