On the equation KX & # 178; + (2k-1) x + k-1 = 0 of X, there is only integer root. K is an integer. Find the value of K

On the equation KX & # 178; + (2k-1) x + k-1 = 0 of X, there is only integer root. K is an integer. Find the value of K

A:
The equation KX & # 178; + (2k-1) x + k-1 = 0 has only integer roots
Using cross phase multiplication to divide
kx k-1
*
x 1
The equation is as follows
(kx+k-1)(x+1)=0
1) When k = 0, x = - 1
2) When k is not 0: X1 = - 1, X2 = (1-k) / k = 1 / k-1 is an integer
So: k = 1 or K = - 1
To sum up, k = 0 or K = - 1 or K = 1