Please have a look :
Problem
The function $f$ defined by $f(x)= \frac{ax+b}{cx+d}$, where $a$,$b$,$c$ and $d$ are nonzero real numbers, has the properties $f(19)=19$, $f(97)=97$ and $f(f(x))=x$ for all values except $\frac{-d}{c}$. Find the unique number that is not in the range of $f$.
The solution can be found here
It states, without proof, that if we have the functional equality:
$$\frac{px+q}{rx+s}=x$$ then $r=q=0.$
At the first solution, line $3$ why does it have to be $q = r = 0$? [ I understand that the opposite is true, i.e. , if $q = r = 0 $ then the fraction reduces to $x$ when $p = s$ ]