Studying for a test and can't work out how to do two questions on the sample test.
(1) Suppose a sequence of numbers $a_1$, $a_2$, $\dots$ is defined recursively by: $$a_1 = 1\qquad\text{and}\qquad a_{n+1} = \frac{a_n}{a_n + 1}$$
Prove, using mathematical induction, that for each integer $n\ge 1$
$$a_n = \frac{1}{n}.$$
(2) Using mathematical induction, prove that the formula $$ g^n = \begin{pmatrix}1 & 0 \\ -2n & 1\end{pmatrix}$$ where $$ g = \begin{pmatrix}1 & 0 \\ -2 & 1\end{pmatrix}$$ is correct for each integer $n \geq 1$.
If someone could show me how there done would be a big help thanks.
Hints:
$$\bullet\;\;\;\;\;\;\;\;\;\;\;\;\;a_{n+1}=\frac{a_n}{a_n+1}\stackrel{\text{Ind. Hypot.}}=\frac{\frac1n}{\frac1n+1}=\frac1{n+1}$$
Since I've no idea what $\,g\,$ is in the second question I can't help there.