# Difference between revisions of "Pythagorean Tree"

Pythagorean Tree, in 2 Dimensions
Fields: Algebra and Fractals
Image Created By: Enri Kina and John Wallison

Pythagorean Tree, in 2 Dimensions

A Pythagorean Tree is a fractal that is created out of squares. The space between the squares in each iteration creates a right triangle. The top line of the square becomes the hypotenuse of the triangle above it.

# Basic Description

This animation shows how the angles of the triangle affect the shape of the tree.

The Pythagorean Tree begins with a square that has a right triangle branching off of it. The hypotenuse of the triangle must always be the one that is directly connected to the square. When the right triangle is created, the legs of said triangle then become one of the sides of two brand new squares. Important to note is that the length of the legs is not changed during this creation, so the squares are smaller than the big one. The sum of the areas of the two smaller squares is equal to the area of the big square. The interesting thing about the tree is that the right triangle can have any valid value of the non right angles. When the angles of the triangle are changed, one is made bigger, and the other is made smaller. Length of sides corresponds to measure of angles, so the sides change too. Since the leg is bigger, the square created using that leg is also bigger, creating the illusion of a tilt.

# A More Mathematical Explanation

Note: understanding of this explanation requires: *Basic Algebra

In this image, the original square has an area of 36, meaning its side [...]

In this image, the original square has an area of 36, meaning its side length s = 6. This can be put into the Pythagorean theorem, $a^2 + b^2 = c^2$, to get $a^2 + b^2 = 6^2$. This means the sum of the areas of the two branched-off squares will always be equal to the original square. These areas are dependent on the side lengths of the right triangle in the middle, which in turn are dependent the angles. With the hypotenuse 6 and angle $\theta$, the length of side b can be found with $sin\theta = \frac{b}{6}$. If $\theta$ = 60º, then b would equal, about, 5.196.

If $\theta$ = 60º, then sin$\theta$ = $\frac{b}{6}$ = 5.196...