In this exercise, we establish a useful matrix representation for affine transformations. We identify $\mathbb{R}^n$ with the $n$-dimensional affine subspace (as in Exercise 2.2.28)
$$
V_n=\left\{(\mathbf{x}, 1)^T=\left(x_1, \ldots, x_n, 1\right)^T\right\} \subset \mathbb{R}^{n+1}
$$
consisting of vectors whose last coordinate is fixed at $x_{n+1}=1$. (a) Show that multiplication of vectors $\left(\begin{array}{c}\mathbf{x} \\ 1\end{array}\right) \in V_n$ by the $(n+1) \times(n+1)$ affine matrix $\left(\begin{array}{cc}A & \mathbf{b} \\ 0 & 1\end{array}\right)$ coincides with the action (7.35) of an affine transformation on $\mathbf{x} \in \mathbb{R}^n$. (b) Prove that the composition law (7.37) for affine transformations corresponds to multiplication of their affine matrices. (c) Define the inverse of an affine transformation in the evident manner, and show that it corresponds to the inverse affine matrix.