if the difference of the roots of equation x2 +kx+12=0 is 1,then find the positive value of k

The given equation is as,

Let the roots of the given equation is a and b. Given, the difference of the roots is 1.

Therefore,

We know that,

And,

Firstly we will solve equation (1) and (2). So, adding equation (1) and (2), we get,

Substitute value of a in equation (1), we get,

Now, Substitute value of a and b in equation (3), we get,

Thus, the positive value of k is 7.

**
**