跳到正文

个人记录

斐波那契数列及黄金分割比

xz001约 8 分钟
原文
文章信息与版本

文章信息

发布
2025年7月26日
收录
2025年12月12日
更新
2026年11月16日
篇幅
约 8 分钟

版本

  1. v1当前

中考题:已知斐波那契数列 fn=fn−1+fn−2f_n=f_{n-1}+f_{n-2},f0=0,f1=1f_0=0,f_1=1,fn−1fn\frac{f_{n-1}}{f_n} 会趋近于一个定值 qq,求 qq。

解:定义符号 ∑i=lrf(x)\sum_{i=l}^{r}f(x) 表示 f(l)+f(l+1)+f(l+2)+...+f(r)f(l)+f(l+1)+f(l+2)+...+f(r),∞\infty 表示无穷。

设函数 F(x)=∑i=0∞fnxnF(x)=\sum_{i=0}^{\infty }f_nx^n

则

F(x)=∑i=0∞fnxnF(x)=\sum_{i=0}^{\infty }f_nx^n =f0+f1x+∑i=2∞fnxn=f_0+f_1x+\sum_{i=2}^{\infty }f_nx^n =f0+f1x+∑i=2∞(fn−1+fn−2)xn=f_0+f_1x+\sum_{i=2}^{\infty }(f_{n-1}+f_{n-2})x^n =f0+f1x+∑i=2∞fn−1xn+∑i=2∞fn−2xn=f_0+f_1x+\sum_{i=2}^{\infty }f_{n-1}x^n+\sum_{i=2}^{\infty }f_{n-2}x^n =f0+f1x+x∑i=2∞fn−1xn−1+x2∑i=2∞fn−2xn−2=f_0+f_1x+x\sum_{i=2}^{\infty }f_{n-1}x^{n-1}+x^2\sum_{i=2}^{\infty }f_{n-2}x^{n-2} =f0+f1x+x∑i=1∞fnxn+x2∑i=0∞fn−2xn−2=f_0+f_1x+x\sum_{i=1}^{\infty }f_{n}x^{n}+x^2\sum_{i=0}^{\infty }f_{n-2}x^{n-2} =f0+f1x+x(∑i=0∞fnxn−f0)+x2∑i=0∞fn−2xn−2=f_0+f_1x+x(\sum_{i=0}^{\infty }f_{n}x^{n}-f_0)+x^2\sum_{i=0}^{\infty }f_{n-2}x^{n-2} =f0+f1x+x(F(x)−f0)+x2F(x)=f_0+f_1x+x(F(x)-f_0)+x^2F(x) =f0+f1x+xF(x)−f0x+x2F(x)=f_0+f_1x+xF(x)-f_0x+x^2F(x) =f0+f1x−f0x+xF(x)+x2F(x)=f_0+f_1x-f_0x+xF(x)+x^2F(x) ∴F(x)−xF(x)−x2F(x)=f0+f1x−f0x\therefore F(x)-xF(x)-x^2F(x)=f_0+f_1x-f_0x ∴(1−x−x2)F(x)=f0+f1x−f0x\therefore (1-x-x^2)F(x)=f_0+f_1x-f_0x ∴F(x)=f0+f1x−f0x1−x−x2\therefore F(x)=\frac{f_0+f_1x-f_0x}{1-x-x^2} ∵f0=0,f1=1\because f_0=0,f_1=1 ∴F(x)=x1−x−x2\therefore F(x)=\frac{x}{1-x-x^2} =−xx2+x−1=\frac{-x}{x^2+x-1} =−x(x−−1+52)(x−−1−52)=\frac{-x}{(x-\frac{-1+\sqrt 5}{2})(x-\frac{-1-\sqrt 5}{2})} =−x(−1+52−x)(−1−52−x)=\frac{-x}{(\frac{-1+\sqrt 5}{2}-x)(\frac{-1-\sqrt 5}{2}-x)} =(−1+52)(−1−52)−x(1−x(−1+52)(1−x(−1−52))=(\frac{-1+\sqrt 5}{2})(\frac{-1-\sqrt 5}{2})\frac{-x}{(1-\frac{x}{(\frac{-1+\sqrt 5}{2})}(1-\frac{x}{(\frac{-1-\sqrt 5}{2})})} =(−1+52)(−1−52)−x(1−1+52x)(1−1−52x)=(\frac{-1+\sqrt 5}{2})(\frac{-1-\sqrt 5}{2})\frac{-x}{(1-\frac{1+\sqrt 5}{2}x)(1-\frac{1-\sqrt 5}{2}x)} =(−1)×−x(1−1+52x)(1−1−52x)=(-1)\times \frac{-x}{(1-\frac{1+\sqrt 5}{2}x)(1-\frac{1-\sqrt 5}{2}x)} =x(1−1+52x)(1−1−52x)=\frac{x}{(1-\frac{1+\sqrt 5}{2}x)(1-\frac{1-\sqrt 5}{2}x)}

设其等于 A1(1−1+52x)+B1(1−1−52x)A\frac{1}{(1-\frac{1+\sqrt 5}{2}x)}+B\frac{1}{(1-\frac{1-\sqrt 5}{2}x)}

则

A1(1−1+52x)+B1(1−1−52x)A\frac{1}{(1-\frac{1+\sqrt 5}{2}x)}+B\frac{1}{(1-\frac{1-\sqrt 5}{2}x)} =A(1−1−52x)+B(1−1+52x)(1−1+52x)(1−1−52x)=\frac{A(1-\frac{1-\sqrt 5}{2}x)+B(1-\frac{1+\sqrt 5}{2}x)}{(1-\frac{1+\sqrt 5}{2}x)(1-\frac{1-\sqrt 5}{2}x)} =A+B−1−52Ax−1+52Bx(1−1+52x)(1−1−52x)=\frac{A+B-\frac{1-\sqrt 5}{2}Ax-\frac{1+\sqrt 5}{2}Bx}{(1-\frac{1+\sqrt 5}{2}x)(1-\frac{1-\sqrt 5}{2}x)} =(A+B)−(1−52A+1+52B)x(1−1+52x)(1−1−52x)=\frac{(A+B)-(\frac{1-\sqrt 5}{2}A+\frac{1+\sqrt 5}{2}B)x}{(1-\frac{1+\sqrt 5}{2}x)(1-\frac{1-\sqrt 5}{2}x)} ∵(A+B)−(1−52A+1+52B)x(1−1+52x)(1−1−52x)=x(1−1+52x)(1−1−52x)\because \frac{(A+B)-(\frac{1-\sqrt 5}{2}A+\frac{1+\sqrt 5}{2}B)x}{(1-\frac{1+\sqrt 5}{2}x)(1-\frac{1-\sqrt 5}{2}x)}=\frac{x}{(1-\frac{1+\sqrt 5}{2}x)(1-\frac{1-\sqrt 5}{2}x)} ∴(A+B)−(1−52A+1+52B)x=x\therefore (A+B)-(\frac{1-\sqrt 5}{2}A+\frac{1+\sqrt 5}{2}B)x=x { A+B=0 −(1−52A+1+52B)=1\begin{cases} & \text{ } A+B=0 \\ & \text{ } -(\frac{1-\sqrt 5}{2}A+\frac{1+\sqrt 5}{2}B)=1 \end{cases}

解得:

{ A=55 B=−55\begin{cases} & \text{ } A=\frac{\sqrt 5}{5}\\ & \text{ } B=-\frac{\sqrt 5}{5} \end{cases}

诸如 11−px\frac{1}{1-px} 这样的式子

∵(1−px)(1+px+p2x2+...)=1\because (1-px)(1+px+p^2x^2+...)=1

∴11−px=1+px+p2x2+...\therefore \frac{1}{1-px}=1+px+p^2x^2+...

∴F(x)=A1(1−1+52x)+B1(1−1−52x)=A[1+1+52x+(1+52)2x2+...]+B[1+1−52+(1−52)2x2+...]\therefore F(x)=A\frac{1}{(1-\frac{1+\sqrt 5}{2}x)}+B\frac{1}{(1-\frac{1-\sqrt 5}{2}x)}=A[1+\frac{1+\sqrt 5}{2}x+(\frac{1+\sqrt 5}{2})^2x^2+...]+B[1+\frac{1-\sqrt 5}{2}+(\frac{1-\sqrt 5}{2})^2x^2+...]

F(x)F(x) 中 xnx^n 的系数 fn=A(1+52)n+B(1−52)n=55(1+52)n+(−55)(1−52)n=55((1+52)n−(1−52)n)f_n=A(\frac{1+\sqrt 5}{2})^n+B(\frac{1-\sqrt 5}{2})^n=\frac{\sqrt 5}{5}(\frac{1+\sqrt 5}{2})^n+(-\frac{\sqrt 5}{5})(\frac{1-\sqrt 5}{2})^n=\frac{\sqrt 5}{5}((\frac{1+\sqrt 5}{2})^n-(\frac{1-\sqrt 5}{2})^n)

然后 q=fn−1fn=55[(1+52)n−1−(1−52)n−1]55[(1+52)n−(1−52)n]=[(1+52)n−1−(1−52)n−1][(1+52)n−(1−52)n]q=\frac{f_{n-1}}{f_n}=\frac{\frac{\sqrt 5}{5}[(\frac{1+\sqrt 5}{2})^{n-1}-(\frac{1-\sqrt 5}{2})^{n-1}]}{\frac{\sqrt 5}{5}[(\frac{1+\sqrt 5}{2})^n-(\frac{1-\sqrt 5}{2})^n]}=\frac{[(\frac{1+\sqrt 5}{2})^{n-1}-(\frac{1-\sqrt 5}{2})^{n-1}]}{[(\frac{1+\sqrt 5}{2})^{n}-(\frac{1-\sqrt 5}{2})^n]}

因为 −1<1−52<0-1<\frac{1-\sqrt 5}{2}<0,所以当 nn 趋近于 ∞\infty 时,(1−52)n(\frac{1-\sqrt 5}{2})^n 无限接近于 00。

∴q=[(1+52)n−1−(1−52)n−1][(1+52)n−(1−52)n]=(1+52)n−1(1+52)n=1(1+52)=5−12\therefore q=\frac{[(\frac{1+\sqrt 5}{2})^{n-1}-(\frac{1-\sqrt 5}{2})^{n-1}]}{[(\frac{1+\sqrt 5}{2})^{n}-(\frac{1-\sqrt 5}{2})^n]}=\frac{(\frac{1+\sqrt 5}{2})^{n-1}}{(\frac{1+\sqrt 5}{2})^{n}}=\frac{1}{(\frac{1+\sqrt 5}{2})}=\frac{\sqrt 5-1}{2}

这个 qq 就是黄金分割比。

原文