Consider the following equation: $$x_{n+1} = ax_n + b$$
Under which circumstances is there a fixed point solution? Under which circumstances is there a period 2 solution?
So for the first question I just rewrote it to $x=ax+b$ and I got $ x = \dfrac{b}{1-a}$. So my answer was there exists a fixed point for $ a \neq 1$.
I did something similar for the second solution, and I ended up with $x = \dfrac{ab+a}{1-a^2}$, so there exists a period 2 solution for $ a \neq 1$ and $a \neq -1$. (and I believe $\dfrac{b}{1-a} \neq \dfrac{ab+a}{1-a^2}$, but I'm not sure and I wouldn't know how to write that concisely).
Is this correct, or am I missing something here which would make the problem more extensive?
A fixed point solution exists iff
$$ x = ax + b, $$
has a solution.
If $a \neq 1$, the fixed point solution is given by
$$ x = \frac{b}{1 - a}. $$
If $a = 1$, $x = x + b$ has a solution iff $b = 0$, in which case you have infinitely many solution.
Therefore, the conclusion is $a \neq 1$ or $a = 1, b = 0$.
A period 2 solution exists iff
$$ x \neq ax + b, x = a^2x + b(a + 1), $$
has a solution.
If $a \neq \pm 1$, then
$$ x = \frac{b}{1 - a} $$
which is a fixed point solution.
If $a = 1$, then for a solution to exist $b = 0$, but then the solution is a fixed point solution.
If $a = -1$, then for a solution to exists $b$ can be anything, in which case you have infinitely many solution.
Therefore, the conclusion is $a = -1$.