[guided]We want to prove the identity
\begin{align*}
[a_0, a_1, \ldots, a_n, \beta] &= \frac{\beta p_n + p_{n-1}}{\beta q_n + q_{n-1}}
\end{align*}
for every $n \geq 0$ and every $\beta > 0$. Why fix $\beta$ as a free parameter throughout the induction rather than prove the statement for a specific value? The key observation is that the inductive step unfolds the innermost two partial quotients — $a_n$ and $\beta$ — into a single new "parameter" $\gamma = a_n + 1/\beta$, and this collapsed value need not be a partial quotient of the original sequence. If we had only proved the identity for $\beta \in \mathbb{Z}_{\geq 1}$, we could not apply the inductive hypothesis at $\gamma$, which is a general positive real.
**Base case.** For $n = 0$, we compute both sides directly. The left side is
\begin{align*}
[a_0, \beta] &= a_0 + \frac{1}{\beta} = \frac{a_0 \beta + 1}{\beta}.
\end{align*}
The right side uses the initial data of the recurrences: $p_0 = a_0$, $p_{-1} = 1$, $q_0 = 1$, $q_{-1} = 0$, giving
\begin{align*}
\frac{\beta p_0 + p_{-1}}{\beta q_0 + q_{-1}} &= \frac{\beta a_0 + 1}{\beta \cdot 1 + 0} = \frac{\beta a_0 + 1}{\beta}.
\end{align*}
The two sides agree.
**Inductive step.** Suppose the identity holds at level $n-1$ for all positive real parameters. Fix $\beta > 0$. The trick is to fold the tail of the bracket: observe that the innermost piece of $[a_0, \ldots, a_n, \beta]$ is
\begin{align*}
a_n + \frac{1}{\beta},
\end{align*}
which we christen $\gamma$. Since $a_n \geq 1$ and $\beta > 0$, $\gamma > 0$, so $\gamma$ is a legitimate input for the inductive hypothesis at level $n-1$. Moreover, by the very definition of the continued fraction bracket,
\begin{align*}
[a_0, \ldots, a_{n-1}, a_n, \beta] &= [a_0, \ldots, a_{n-1}, \gamma].
\end{align*}
The inductive hypothesis applied at level $n-1$ to the parameter $\gamma$ yields
\begin{align*}
[a_0, \ldots, a_{n-1}, \gamma] &= \frac{\gamma p_{n-1} + p_{n-2}}{\gamma q_{n-1} + q_{n-2}}.
\end{align*}
Now we substitute $\gamma = a_n + 1/\beta$. Multiplying numerator and denominator by $\beta$ to clear the inner fraction:
\begin{align*}
\frac{\gamma p_{n-1} + p_{n-2}}{\gamma q_{n-1} + q_{n-2}} &= \frac{(\beta a_n + 1) p_{n-1} + \beta p_{n-2}}{(\beta a_n + 1) q_{n-1} + \beta q_{n-2}} = \frac{\beta(a_n p_{n-1} + p_{n-2}) + p_{n-1}}{\beta(a_n q_{n-1} + q_{n-2}) + q_{n-1}}.
\end{align*}
The recurrences now reduce the bracketed sums to $p_n$ and $q_n$:
\begin{align*}
&= \frac{\beta p_n + p_{n-1}}{\beta q_n + q_{n-1}}.
\end{align*}
This completes the inductive step and hence the proof of (ii).[/guided]