[Math]PHI, the golden ratio
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的更多相关文章
- 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 ...
- ACM学习历程——HDU4814 Golden Radio Base(数学递推) (12年成都区域赛)
Description Golden ratio base (GRB) is a non-integer positional numeral system that uses the golden ...
- Applying Eigenvalues to the Fibonacci Problem
http://scottsievert.github.io/blog/2015/01/31/the-mysterious-eigenvalue/ The Fibonacci problem is a ...
- Perl包和模块(内容来自beginning perl)
单文件版的perl程序只能用于构建较小的脚本程序.当代码规模较大时,应该遵循下面两条规则来构建程序.这样能将程序的各个部分按功能一个一个地细化,便于维护,也便于后续开发. 能复用的代码放进函数 能复用 ...
- python turtle 例子 海归绘图
太阳花 1 # coding=utf-8 2 import turtle 3 import time 4 5 # 同时设置pencolor="red", fillc ...
- ThreadLocal源码分析
1.概述 ThreadLocal,可以理解为线程的局部变量,作用就是为每一个使用该变量的线程都提供一个变量值的副本,每一个线程都可以独立地改变自己的副本,而不会和其它线程的副本冲突. ThreadLo ...
- Think Python - Chapter 03 - Functions
3.1 Function callsIn the context of programming, a function is a named sequence of statements that p ...
- hdu 1527 取石子游戏(Wythoff Game)
题意:Wythoff Game 思路:Wythoff Game #include<iostream> #include<stdio.h> #include<math.h& ...
- <转>机器学习笔记之奇异值分解的几何解释与简单应用
看到的一篇比较好的关于SVD几何解释与简单应用的文章,其实是有中文译本的,但是翻译的太烂,还不如直接看英文原文的.课本上学的往往是知其然不知其所以然,希望这篇文能为所有初学svd的童鞋提供些直观的认识 ...
随机推荐
- bootstrap-datetimepicker日期控件下载
bootstrap-datetimepicker.js bootstrap-datetimepicker.zh-CN.js bootstrap-datetimepicker.min.css 下载网站: ...
- consul 小結
Consul Config 使用Git做版本控制的实现 https://segmentfault.com/a/1190000013807641 服务发现 - consul 的介绍.部署和使用 http ...
- HttpServletResponse response详解
//内容类型和编码格式可以被调用多次,最后一次将覆盖之前的设置 //内容类型和编码格式必须在 //设置内容类型getWriter和getOutputStream方法之前调用,否则不起作用 //若未设置 ...
- 数据库的ACID特性详解
ACID是指在 数据库管理系统(DBMS)中事物所具有的四个特性:原子性.一致性.隔离性.持久性 事物:在数据库系统中,一个事务是指由一系列连续的数据库操作组成的一个完整的逻辑过程.这组操作执行前后, ...
- 微信小程序:scroll-view的bug
flex:1并不能使scroll-view的高度固定,需要添加高度height:1rpx(数值大于0)就行
- python脚本8_打印对顶三角形
#打印对顶三角形 a = int(input('>>>')) for i in range(-a,a+1): if i < 0: i = -i print(" &qu ...
- git-----初始化配置添加用户名和密码
Git是分布式版本控制系统,GitHub 是最大的 Git 版本库托管商,是成千上万的开发者和项目能够合作进行的中心. 大部分 Git 版本库都托管在 GitHub,很多开源项目使用 GitHub 实 ...
- 小米2S手机 - Charles无法安装证书 因为无法读取证书
1.不要使用小米原装的浏览器安装证书 2.使用第三方浏览器安装,如我使用的是UC浏览器 3.使用第三方浏览器安装的证书格式是".pem"格式问卷 4.将这个文件放入小米的downl ...
- Linux内建命令和外部命令
Linux命令有内部命令(内建命令)和外部命令之分,内部命令和外部命令功能基本相同,但也有些细微差别. [内部命令 vs. 外部命令] (1)内部命令实际上是shell程序的一部分,其中包含的是一些比 ...
- IOS-github优秀开源项目大全
github优秀开源项目大全-iOS 前言 本文旨在搜集github上优秀的开源项目 本文搜集的项目都是用于iOS开发 本文会持续更新… 完整客户端 ioctocat github的iOS客户端,目前 ...