I am trying to solve the following problem: (screenshot)
For which numbers $a$, $b$, $c$, and $d$ will the function$$f(x)=\frac{ax+b}{cx+d}$$ satisfy $f(f(x))=x$ for all $x$?
I have a solution, but I'm not sure if it's right, because it seems overly complex. Could someone check my solution please?
We know that $\frac{a\frac{ax+b}{cx+d}+b}{c\frac{ax+b}{cx+d}+d} = x$ for all real numbers $x$. However, this equality will only hold under 2 conditions:
$cx+d \ne 0$ for all real $x$, because if $cx+d = 0$, we would have an indeterminate form within the equation.
$(ca + cd)x + cb + d^2 \ne 0$ for all real $x$, for the same reason as above.
To ensure the above holds for all $x$, we must ensure that the $x$ such that each expression $= 0$ is not equal to a real number. Hence:
$cx+d=0$
$x=-d/c$
So $c=0$ to prevent $x$ from being a real number, and $d \ne 0$, to ensure the above expression never equals to $0$.
Hence:
$(ca + cd)x + cb + d^2 = 0$
By the same reasoning, $ca + cd=0$ and $cb + d^2 \ne 0$.
Given this, we can rearrange the above to form the quadratic: $(ca+cd)x^2 + (d^2 - a^2)x + ba + bd = 0$.
The only quadratic that outputs $0$ for all values is one where the coefficients all are equal to $0$.
Hence:
$ca + cd = 0$
$d^2 - a^2 = 0$
$ba + bd = 0$
Since $c=0$, there are 2 possibilities:
- $a=-d$, $d \ne 0$ and $b =$ all real numbers
- $a=d$, $d \ne 0$ and $b = 0$
I'm not sure if this is right though - it seems overly complex, especially the steps where I state that $cx+d \ne 0$ and $(ca + cd)x + cb + d^2 \ne 0$. Could someone check my solution, and provide me with the correct one, if mine is wrong?
Thanks so much in advance!