# Similarity (geometry)

Two geometrical objects are called **similar** if they both have the same shape, or one has the same shape as the mirror image of the other. More precisely, one can be obtained from the other by uniformly scaling (enlarging or shrinking), possibly with additional translation, rotation and reflection. This means that either object can be rescaled, repositioned, and reflected, so as to coincide precisely with the other object. If two objects are similar, each is congruent to the result of a particular uniform scaling of the other. A modern and novel perspective of similarity is to consider geometrical objects similar if one appears congruent to the other when zoomed in or out at some level.

For example, all circles are similar to each other, all squares are similar to each other, and all equilateral triangles are similar to each other. On the other hand, ellipses are *not* all similar to each other, rectangles are not all similar to each other, and isosceles triangles are not all similar to each other.

If two angles of a triangle have measures equal to the measures of two angles of another triangle, then the triangles are similar. Corresponding sides of similar polygons are in proportion, and corresponding angles of similar polygons have the same measure.

This article assumes that a scaling can have a scale factor of 1, so that all congruent shapes are also similar, but some school text books specifically exclude congruent triangles from their definition of similar triangles by insisting that the sizes must be different if the triangles are to qualify as similar.

## Similar triangles

In geometry two triangles, and , are **similar** if and only if corresponding angles are congruent and the lengths of corresponding sides are proportional.^{} It can be shown that two triangles having congruent angles (*equiangular triangles*) are similar, that is, the corresponding sides can be proved to be proportional. This is known as the *AAA similarity theorem*.^{} Due to this theorem, several authors simplify the definition of similar triangles to only require that the corresponding three angles are congruent.^{}

There are several statements each of which is necessary and sufficient for two triangles to be similar:

1. The triangles have two congruent angles,^{} which in Euclidean geometry implies that all their angles are congruent.^{} That is:

- If is equal in measure to , and is equal in measure to , then this implies that is equal in measure to and the triangles are similar.

2. All the corresponding sides have lengths in the same ratio:^{}

- . This is equivalent to saying that one triangle (or its mirror image) is an enlargement of the other.

3. Two sides have lengths in the same ratio, and the angles included between these sides have the same measure.^{} For instance:

- and is equal in measure to .

This is known as the *SAS Similarity Criterion*.^{}

When two triangles and are similar, one writes^{}^{:p. 22}

- .

There are several elementary results concerning similar triangles in Euclidean geometry:^{}

- Any two equilateral triangles are similar.
- Two triangles, both similar to a third triangle, are similar to each other (transitivity of similarity of triangles).
- Corresponding altitudes of similar triangles have the same ratio as the corresponding sides.
- Two right triangles are similar if the hypotenuse and one other side have lengths in the same ratio.
^{}

Given a triangle and a line segment one can, with straightedge and compass, find a point *F* such that . The statement that the point *F* satisfying this condition exists is *Wallis's Postulate*^{} and is logically equivalent to Euclid's Parallel Postulate.^{} In hyperbolic geometry (where Wallis's Postulate is false) similar triangles are congruent.

In the axiomatic treatment of Euclidean geometry given by G.D. Birkhoff (see Birkhoff's axioms) the SAS Similarity Criterion given above was used to replace both Euclid's Parallel Postulate and the SAS axiom which enabled the dramatic shortening of Hilbert's axioms.^{}

## Other similar polygons

The concept of similarity extends to polygons with more than three sides. Given any two similar polygons, corresponding sides taken in the same sequence (even if clockwise for one polygon and counterclockwise for the other) are proportional and corresponding angles taken in the same sequence are equal in measure. However, proportionality of corresponding sides is not by itself sufficient to prove similarity for polygons beyond triangles (otherwise, for example, all rhombi would be similar). Likewise, equality of all angles in sequence is not sufficient to guarantee similarity (otherwise all rectangles would be similar). A sufficient condition for similarity of polygons is that corresponding sides and diagonals are proportional.

## Similar curves

Several types of curves have the property that all examples of that type are similar to each other. These include:

- Circles
- Parabolas
^{} - Hyperbolas of a specific eccentricity
^{} - Ellipses of a specific eccentricity
^{} - Catenaries
^{[]} - Graphs of the logarithm function for different bases
- Graphs of the exponential function for different bases
- Logarithmic spirals

## Similarity in Euclidean space

A **similarity** (also called a **similarity transformation** or **similitude**) of a Euclidean space is a bijection *f* from the space onto itself that multiplies all distances by the same positive real number *r*, so that for any two points *x* and *y* we have

where "*d*(*x*,*y*)" is the Euclidean distance from *x* to *y*.^{} The scalar *r* has many names in the literature including; the *ratio of similarity*, the *stretching factor* and the *similarity coefficient*. When *r* = 1 a similarity is called an isometry (rigid motion). Two sets are called **similar** if one is the image of the other under a similarity.

Similarities preserve planes, lines, perpendicularity, parallelism, midpoints, inequalities between distances and line segments.^{} Similarities preserve angles but do not necessarily preserve orientation, *direct similitudes* preserve orientation and *opposite similitudes* change it.^{}

The similarities of Euclidean space form a group under the operation of composition called the *similarities group S*.^{} The direct similitudes form a normal subgroup of *S* and the Euclidean group *E(n)* of isometries also forms a normal subgroup.^{} The similarities group *S* is itself a subgroup of the affine group, so every similarity is an affine transformation.

One can view the Euclidean plane as the complex plane,^{} that is, as a 2-dimensional space over the reals. The 2D similarity transformations can then be expressed in terms of complex arithmetic and are given by (direct similitudes) and (opposite similitudes) where *a* and *b* are complex numbers, *a* ≠ 0. When |*a*| = 1, these similarities are isometries.

## Ratios of sides, of areas, and of volumes

The ratio between the areas of similar figures is equal to the square of the ratio of corresponding lengths of those figures (for example, when the side of a square or the radius of a circle is multiplied by three, its area is multiplied by nine — i.e. by three squared). The altitudes of similar triangles are in the same ratio as corresponding sides. If a triangle has a side of length *b* and an altitude drawn to that side of length *h* then a similar triangle with corresponding side of length *kb* will have an altitude drawn to that side of length *kh*. The area of the first triangle is, *A* = *bh*/2, while the area of the similar triangle will be *A** = *(kb)(kh)*/2 = *k*^{2}*A*. Similar figures which can be decomposed into similar triangles will have areas related in the same way. The relationship holds for figures that are not rectifiable as well.

The ratio between the volumes of similar figures is equal to the cube of the ratio of corresponding lengths of those figures (for example, when the edge of a cube or the radius of a sphere is multiplied by three, its volume is multiplied by 27 — i.e. by three cubed).

Galileo's square–cube law concerns similar solids. If the ratio of similitude (ratio of corresponding sides) between the solids is *k*, then the ratio of surface areas of the solids will be *k*^{2}, while the ratio of volumes will be *k*^{3}.

## Similarity in general metric spaces

In a general metric space (*X*, *d*), an exact **similitude** is a function *f* from the metric space X into itself that multiplies all distances by the same positive scalar *r*, called f's contraction factor, so that for any two points *x* and *y* we have

Weaker versions of similarity would for instance have *f* be a bi-Lipschitz function and the scalar *r* a limit

This weaker version applies when the metric is an effective resistance on a topologically self-similar set.

A self-similar subset of a metric space (*X*, *d*) is a set *K* for which there exists a finite set of similitudes with contraction factors such that *K* is the unique compact subset of *X* for which

These self-similar sets have a self-similar measure with dimension *D* given by the formula

which is often (but not always) equal to the set's Hausdorff dimension and packing dimension. If the overlaps between the are "small", we have the following simple formula for the measure:

## Topology

In topology, a metric space can be constructed by defining a **similarity** instead of a distance. The similarity is a function such that its value is greater when two points are closer (contrary to the distance, which is a measure of **dissimilarity:** the closer the points, the lesser the distance).

The definition of the similarity can vary among authors, depending on which properties are desired. The basic common properties are

- Positive defined:
- Majored by the similarity of one element on itself (
**auto-similarity**): and

More properties can be invoked, such as **reflectivity** () or **finiteness** (). The upper value is often set at 1 (creating a possibility for a probabilistic interpretation of the similitude).

## Self-similarity

Self-similarity means that a pattern is **non-trivially similar** to itself, e.g., the set {.., 0.5, 0.75, 1, 1.5, 2, 3, 4, 6, 8, 12, ..} of numbers of the form where ranges over all integers. When this set is plotted on a logarithmic scale it has one-dimensional translational symmetry: adding or subtracting the logarithm of two to the logarithm of one of these numbers produces the logarithm of another of these numbers. In the given set of numbers themselves, this corresponds to a similarity transformation in which the numbers are multiplied or divided by two.

## See also

- Congruence (geometry)
- Hamming distance (string or sequence similarity)
- Inversive geometry
- Jaccard index
- Proportionality
- Semantic similarity
- Similarity search
- on Numerical taxonomy
- Homoeoid (shell of concentric, similar ellipsoids)
- Solution of triangles

## Notes

## References

- Henderson, David W.; Taimina, Daina (2005),
*Experiencing Geometry/Euclidean and Non-Euclidean with History*(3rd ed.), Pearson Prentice-Hall, ISBN 978-0-13-143748-7 - Jacobs, Harold R. (1974),
*Geometry*, W.H. Freeman and Co., ISBN 0-7167-0456-0 - Pedoe, Dan (1988) [1970],
*Geometry/A Comprehensive Course*, Dover, ISBN 0-486-65812-0 - Sibley, Thomas Q. (1998),
*The Geometric Viewpoint/A Survey of Geometries*, Addison-Wesley, ISBN 978-0-201-87450-1 - Smart, James R. (1998),
*Modern Geometries*(5th ed.), Brooks/Cole, ISBN 0-534-35188-3 - Stahl, Saul (2003),
*Geometry/From Euclid to Knots*, Prentice-Hall, ISBN 978-0-13-032927-1 - Venema, Gerard A. (2006),
*Foundations of Geometry*, Pearson Prentice-Hall, ISBN 978-0-13-143700-5 - Yale, Paul B. (1968),
*Geometry and Symmetry*, Holden-Day

## Further reading

- Judith N. Cederberg (1989, 2001)
*A Course in Modern Geometries*, Chapter 3.12 Similarity Transformations, pp. 183–9, Springer ISBN 0-387-98972-2 . - H.S.M. Coxeter (1961,9)
*Introduction to Geometry*, §5 Similarity in the Euclidean Plane, pp. 67–76, §7 Isometry and Similarity in Euclidean Space, pp 96–104, John Wiley & Sons. - Günter Ewald (1971)
*Geometry: An Introduction*, pp 106, 181, Wadsworth Publishing. - George E. Martin (1982)
*Transformation Geometry: An Introduction to Symmetry*, Chapter 13 Similarities in the Plane, pp. 136–46, Springer ISBN 0-387-90636-3 .

## External links

- Animated demonstration of similar triangles