Define x0=1 and xn+1=1+1+xn1. Write xn=qnpn with p0=q0=1 and pn+1=pn+2qn, qn+1=pn+qn.
Prove that xn→2 and estimate the error.
Prove that pn2−2qn2=(−1)n+1.
Deduce that 2−qnpn<2qn21.
Hint
For part 1, compute xn+1−2 in terms of xn−2. For part 2, compute pn+12−2qn+12 from the recurrences.
Show solutionHide solution
Solution
Consistency.1+1+p/q1=1+p+qq=p+qp+2q, so xn=qnpn indeed.
1. Since xn+1=1+xn2+xn, xn+1−2=1+xn2+xn−2−2xn=1+xn(1−2)(xn−2). All xn≥1, so ∣xn+1−2∣≤22−1∣xn−2∣<4∣xn−2∣. Hence ∣xn−2∣≤4−n∣x0−2∣→0: geometric convergence.
2. pn+12−2qn+12=(pn+2qn)2−2(pn+qn)2=−pn2+2qn2=−(pn2−2qn2). The sign alternates, and p02−2q02=−1, so pn2−2qn2=(−1)n+1.
3.2−qnpn=qn2(2+qnpn)∣2qn2−pn2∣=qn2(2+xn)1<2qn21, since 2+xn>2+1>2.
First terms.1,23,57,1217,2941,… and 32−2⋅22=1, 72−2⋅52=−1, 172−2⋅122=1.
Lesson. An iteration x↦cx+dax+b with a fixed point α contracts: compute xn+1−α as a multiple of xn−α.