PHI, the golden ratio 黄金分割比

转载自 http://paulbourke.net/miscellaneous/miscnumbers/

1. Definition

将一个线段分成两段,那么长的部分与短的那部分的比率等于整个线段与长的部分的比率时,

      

这个条件可被解释为 $\frac{a}{1-a}=\frac{1}{a}$.即如下的二项式: $a^2+a-1=0$,方程有两个解, $-\phi$,和$\phi-1$。

$$\therefore \phi = \frac{\sqrt{5}+1}{2} \approx 1.618$$
这是古希腊数学中初始定义,我们一般用$\phi-1$
$$\phi-1 = \frac{\sqrt{5}-1}{2} \approx 0.618$$

2. 常见关系式

\begin{align*}
& \phi^2=1+\phi \qquad \phi^3 = 1+2\phi\\
& \frac{1}{\phi}=\phi-1 \qquad \frac{1}{\phi^2} = 2-\phi\\
& \sin(18)=\frac{\phi-1}{2} \qquad \cos(36)=\frac{\phi}{2}\\
& \phi^{x+1}=\phi^{x}+\phi^{x-1}
\end{align*}

3. Continued_fraction 连分式

关于一些常见连分式,参见Wiki之Continued_fraction .

        

phi = sqrt(1 + sqrt(1 + sqrt(1 + sqrt(1 + .....))))

4. Relationship to the Fibonnaci series

(1).Ratio

当斐波那契数列趋向$\infty$时,$a_{n-1}/a_{n}$趋近于$\phi-1$

\begin{align*}
&1\quad 1\quad 2\quad 3\quad 5\quad 8\quad 13\quad 21\quad 34\quad 55\quad 89\cdots\\
&1\quad 0.5 \quad 0.67 \quad 0.6\quad 0.625 \quad 0.6154 \quad 0.619 \quad 0.6176\quad 0.6182\cdots
\end{align*}

(2).Phi Fibonnaci series

数列满足下面两个条件:

\begin{align*}
&(a).u_{n+1}=u_{n}+u_{n-1}\\
&(b).\frac{u_{n+1}}{u_{n}}=constant\\
\end{align*}

验证可知,这样的数列有且仅有一个: 
$$1,phi,1+phi,2+3phi,3+5phi,5+6phi,\cdots$$

5. 2 dimensional golden ratio 二维黄金分割比

由原来的一维线段归纳推导出来的定义为: "find a rectangle such that when a square is removed the remaining rectangle has the same proportions as the original". The solution to this is a rectangle with the ratio of its sides being phi.

        

These rectangles can be inscribed in a so called logarithmic(对数的) spiral(螺旋) also known as equiangular(等角) spirals. Such spirals and occur frequently in nature, for example: shells(贝壳), sunflowers, and pine cones(松果). The limit point of the spiral is called the "eye of God".

6.Phi Pyramid

          

[Math]PHI, the golden ratio的更多相关文章

  1. The golden ratio: 1.618

    http://www.chinaz.com/design/2015/1109/467968_2.shtml The golden ratio: 1.618 a/b=b/(a+b) The Fibona ...

  2. ACM学习历程——HDU4814 Golden Radio Base(数学递推) (12年成都区域赛)

    Description Golden ratio base (GRB) is a non-integer positional numeral system that uses the golden ...

  3. Applying Eigenvalues to the Fibonacci Problem

    http://scottsievert.github.io/blog/2015/01/31/the-mysterious-eigenvalue/ The Fibonacci problem is a ...

  4. Perl包和模块(内容来自beginning perl)

    单文件版的perl程序只能用于构建较小的脚本程序.当代码规模较大时,应该遵循下面两条规则来构建程序.这样能将程序的各个部分按功能一个一个地细化,便于维护,也便于后续开发. 能复用的代码放进函数 能复用 ...

  5. python turtle 例子 海归绘图

          太阳花 1 # coding=utf-8 2 import turtle 3 import time 4   5 # 同时设置pencolor="red", fillc ...

  6. ThreadLocal源码分析

    1.概述 ThreadLocal,可以理解为线程的局部变量,作用就是为每一个使用该变量的线程都提供一个变量值的副本,每一个线程都可以独立地改变自己的副本,而不会和其它线程的副本冲突. ThreadLo ...

  7. Think Python - Chapter 03 - Functions

    3.1 Function callsIn the context of programming, a function is a named sequence of statements that p ...

  8. hdu 1527 取石子游戏(Wythoff Game)

    题意:Wythoff Game 思路:Wythoff Game #include<iostream> #include<stdio.h> #include<math.h& ...

  9. <转>机器学习笔记之奇异值分解的几何解释与简单应用

    看到的一篇比较好的关于SVD几何解释与简单应用的文章,其实是有中文译本的,但是翻译的太烂,还不如直接看英文原文的.课本上学的往往是知其然不知其所以然,希望这篇文能为所有初学svd的童鞋提供些直观的认识 ...

随机推荐

  1. openwrt的编译系统在哪里对程序进行开机自动启动配置

    答:在include/rootfs.mk里的宏prepare_rootfs中进行的

  2. 【bzoj2563】阿狸和桃子的游戏(贪心+构造)

    题目传送门:bzoj2563 先膜拜一波PoPoQQQ的题解:BZOJ 2563 阿狸和桃子的游戏 贪心 其实我们可以这样看:把一条边的权值均分到两个端点,那么取到两个端点就能得到这条边的边权,如果只 ...

  3. 2017 ACM/ICPC Asia Regional Shenyang Online array array array

    2017-09-15 21:05:41 writer:pprp 给出一个序列问能否去掉k的数之后使得整个序列不是递增也不是递减的 先求出LIS,然后倒序求出最长递减子序列长度,然后判断去k的数后长度是 ...

  4. Mac Homebrew安装php56 到phpstorm过程问题汇总

    Mac自带版本是php5.5,本来是用homebrew安装xdebug 命令:brew install php55-xdebug 但是安装之后使用phpstorm还是有问题.php -v 并没有显示有 ...

  5. servlet初始化参数

    使用<context-param>标签初始化的参数是被应用程序中所有的servlet所共享.但是有时候我们需要为某一个特定的servlet配置参数,这个时候我们就需要使用servlet初始 ...

  6. struts2中<s:checkboxlist/>的用法详解

    Html代码 选择角色<br> <s:checkboxlist list="#request.roleuserList" listKey="roleId ...

  7. gulp+es6构建页面

    遇到的问题: 1.es6如何使用,定义一个demo.js //demo.js export default class demo { // 构造函数 constructor(){ //在构造函数中调用 ...

  8. cygwin 获取root高级权限

    cygwin安装完成后没有passwd文件解决方法 ​

  9. python3安装tensorflow遇到的问题

    1. 使用命令:sudo pip3 install --upgrade \ https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow ...

  10. 常数PK系列汇总

    常数PK系列说明: 在AC的情况下得分=\(\sum_{i=1}^{10}{1000-runtime\_on\_point_i}\) RE会显示UKE UPD:之前的数据太水,导致好多题都在9000分 ...