Given that for $a,b$ reals and $a\neq 1$ $$ \begin{pmatrix} a & b \\ 0 & 1 \\ \end{pmatrix}^n=\begin{pmatrix} a^n & b \frac {a^n-1}{a-1} \\ 0 & 1 \\ \end{pmatrix} $$
Stillwell claims that these matrices lie on a line in $\mathbb R ^4$. This looks obviously false. What am I missing?
Later I understood what I missed. Consider the affine line in $\mathbb R^4$ $(1,0,0,1)+t(a-1,b,0,0)$. When $t=0$ we get $(1,0,0,1)$. When $t=1$, we get $(a,b,0,1)$. When $t=\frac {a^n-1}{a-1}$ we get $(a^n,\frac{a^n-1}{a-1}b,0,1)$. These vectors in $\mathbb R^4$ correspond in the obvious way to $2\times 2$ matrices.
Hint: Let us first identify $2\times 2$ matrices with $\mathbb{R}^4$ by
$$ \begin{pmatrix} a & b \\ c & d \end{pmatrix} \mapsto (a,b,c,d).$$
Under this identification the collection of (orientation-preserving) affine automorphisms of $\mathbb{R}^2$ is sent to one half of the $2$-dimensional affine subspace of $\mathbb{R}^4$ defined by
$$c=0,d=1.$$
We can further identify this affine subspace with $\mathbb{R}^2$ by
$$(a,b,0,1)\mapsto (a,b).$$
Thus the iterates of an anonymous affine automorphism will lie in a two dimensional affine halfspace. If $a=1$, we are in the translational part of the affine group, and the iterates lie on a vertical line. Similarly if $b=0$, then we are in the linear part of the affine group and the iterates lie on a horizontal line (if $a=1$ and $b=0$ simultaneously we see only one point).
If $a\neq1$, then one can use one of the many ways of writing down the expression of a line from two or more points and verifying that all points, as well as $(1,0)$, lie on the line (e.g. one can write down the equation of the line passing through $(1,0)$ and $(a,b)$, and then verify that the $n$th iterate also satisfies the equation). Here is a humble interactive graph: https://www.desmos.com/calculator/whii61qcp1 (Here negative iterates are also drawn.)
Finally it's clear that any affine line in the last $\mathbb{R}^2$ corresponds to an affine line in $\mathbb{R}^4$.