In this paper the method of circuit synthesis using transformation of trees with pathological elements is discussed. The generalization and mathematical proof of equivalent transformations of trees with mirror and/or nullor pathological elements are presented. Algorithm of generating equivalent trees with these pathological elements is also suggested. It is based on tagging of the vertices (nodes) by taking into account a type of pathological elements between these nodes and preserving these tags during transformations of trees. Illustrative example of universal filter synthesis by means of proposed algorithm is included.