We know the equation mx-m = x + 2 about X. when we find the value of M, (1) the equation has no solution; (2) the equation has a unique solution

We know the equation mx-m = x + 2 about X. when we find the value of M, (1) the equation has no solution; (2) the equation has a unique solution

mx-x=m+2
(m-1)x=m+2
1、
If there is no solution, then the coefficient of X is equal to 0 and the constant term is not equal to 0
So M-1 = 0, M + 2 ≠ 0
So m = 1
2、
There is a unique solution
Then the coefficient of X is not equal to 0
m-1≠0
m≠1