It is the harmony of the diverse parts, their symmetry, their happy balance; in a word it is all that introduces order, all that gives unity, that permits us to see clearly and to comprehend at once both the ensemble and the details. H. Poincaré

Back in 2011, I started a long-term exploration with Mathematica. In particular, I got trapped in a binary fractal forest when testing Theo Grays Tree Bender. I found myself literally lost in a dark labyrinth. I had no choice other than trying to map the Platonic Universe I was in, hoping that I will finally find a way back home. First, I started to observe some strikingly organic patterns resembling real leaves and dragons.
Then, I got carried away. And then I got carried away more. And then I got carried away with how carried away I was getting carried away, and so on. It’s a freaking miracle I managed to eventually stop myself. - [Antonio Marquez-Raygoza]( The Sierpinski Triangle page to end most Sierpinski Triangle pages - Ideas - WOLFRAM COMMUNITY ;jsessionid=23938B1A3D5F4264EC03896472907F5C.wlp3?p_p_auth=fcF6mqrW)
Three years later here I am, out of the labyrinth and excited to be presenting my prime discovery made with the help of Mathematica 9. The 9 equations to rule them all. All the 2D self-contacting symmetric n-ary fractal trees, i.e. trees with no branch overlaps and no leaves disconnected.
For every angle th in the intervals Pi/b<th<Pi for Down Trees and 0<th<Pi-Pi/b for Up Trees there is one, and only one value r that satisfies the tip-to-tip self-contact condition (the tree has neither branch overlaps nor disconnected leaves). Thus, it seemed reasonable to think that algebraic expression for the self-contacting ratio rsc as function of th might exist. As a good tree worshiper I was, I believed that such equations existed, and after pushing the limits of Mathematica and the patience of my family, I finally found them all.
Example for b = 3 :

Equations for Up Self-Contacting Symmetric Trees:
-
b even:
-
b odd:
To have an idea of what are these equations doing, take a look again to the Up self-contacting symmetric ternary trees animation at the beginning of this post.

The PolarPlot of equations (8) and (9) determine the path to be spanned by the pair of outermost mother branches. If the tips of these two symmetrical branches lie below the curve, the trees leaves are completely disconnected to each other. If these pair of tips lie above the self-contacting curve, the leaves end up with overlaps.
These 9 equations tell us a myriad of properties about the lovely sierpinskis family of trees. For example each smooth piece that they draw is filled with self-contacting trees that are topologically equivalent to each other, i.e. they are holomorphic. the non-differentiable cracks that one found in between the smooth pieces of the self-contacting curves, represent topological critical points where the tip-to-tip self-contact changes abruptly, or in other words, a phase transition takes place.

Finally, let me outline that the properties of these 9 equations extend nicely to higher dimensions. For example, the Sierpinski triangle tree has the following higher-dimensional representation in 3D:
You can get your own Sierpinski tree from Shapeways. This one was generated and exported from Mathematica as an .stl file format by me (Geonat). As I mentioned in my previous post about dragon trees , I have generalized this special class of 2D fractals to the third dimension during my participation at the 2013 Wolfram Science Summer School. If you love fractals, then stay tuned to what is coming next (click the Follow button at the top of this discussion and I will keep you updated).

















. We take the first type.
.
a similar expression can be found:
