Math 124 Problem Set 5
2. We establish both identities by induction.
Claim:
.
Since and ,
. This establishes the base case. Now
suppose that
. Then
.
The numerator is just the definition of ; this proves the
claim.
Claim:
.
Since and ,
. This establishes the base case. Now
suppose that
. Then
.
The numerator is just the definition of ; this proves the
claim.
3. If we compute in PARI, where
the result is
. The imaginary part is effectively 0, so we wish to guess
the rational number that gives the real part. The command
gives
, suggesting that
a good guess for our rational number is given by the continued
fraction
. This value is
.
4i. Let
. Then
, so
. Solving for yields
.
4ii. First we compute
. This
gives
. Solving for
yields
, so
. Now
, so our
final answer is
.
4iii. This is
. As above, if
then
. This
simplifies to
, so
. Therefore our desired answer is
.
5. For all three parts we use contfrac in PARI to find
the continued fraction and prove that the answer is correct.
5i. We claim that
. Let
; then
, so
. Now
as desired.
5ii. We claim that
. Let
; then
, so
. This gives
. Then
5iii. We claim that
. Let
; then
, so
. Solving for gives
, as desired.
6i. First we compute
. Let
; then
. This
gives
, so
. Now
as desired.
6ii. Using the previous part, we know that
. We can try successive convergents
until two agree up to four decimal places; once such convergent
is .
7. In PARI, use convergents(contfrac(Pi)) to obtain the
convergents of the continued fraction of . We can now test
convergents for property described in the problem, noting that
smaller denominators are more likely to work. One convergent
that satisfies the property is , since and
. The next is , since
and
. A third is
, since
while
.
8. In PARI, the command contfrac(exp(2)) gives