Golden ratio rectangles

408 Views Asked by At

I'm designing a layout and I would like to use four golden ratio rectangles. The total width of the layout is 960px. How do I find the height (x)? Below is a diagram of the layout.

2

There are 2 best solutions below

2
On BEST ANSWER

Finding the required height amounts to expressing $a$ and $c$ in terms of the height $h = a+b$. I will do this below; denote with $\phi$ the golden ratio.


We have that $\dfrac h a =\phi$, i.e. $a = \dfrac h \phi$. Now $d = \dfrac h2$, and $\dfrac c d = \phi$.

Using some trivial algebra, we obtain:

$$c = \phi d = \frac\phi2 h$$

Thus we have reduced to solving the equation:

$$960 = 2a + c = \left(\frac2\phi+\frac\phi 2\right)h$$

In conclusion, $h = \dfrac{960}{\frac2\phi+\frac\phi 2} \approx 469.42$.

1
On

golden ratio is

(a+b)/a = a/b

so assuming that a is width, and b is height, you have: $$ (960 + h)/960 = 960/h \\ 960^2 = 960h + h^2 $$ a simple quadratic equation to solve, and the result is $$ h = 480*(\sqrt 5-1) \approx 593.3 $$