The condition is

Suppose Then is a solution. If is another solution, let This gives which yields showing that the solution is unique.

Now suppose We have and Then either (1) and in which case and can take any arbitrary values and so there are infinitely many solutions, or (2) or in which case there is no solution in and

Hence the system has exactly one solution if and only if