# Similarity (geometry)

In Euclidean geometry, two objects are similar if they 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 reducing), 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.

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.

Two congruent shapes are similar, with a scale factor of 1. However, some school textbooks 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.[citation needed]

Two triangles, ABC and A′B′C′, are similar if and only if corresponding angles have the same measure: this implies that they are similar if and only if the lengths of corresponding sides are proportional.[1] 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.[2] Note that the "AAA" is a mnemonic: each one of the three A's refers to an "angle". Due to this theorem, several authors simplify the definition of similar triangles to only require that the corresponding three angles are congruent.[3]

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

This is known as the SAS similarity criterion.[8] The "SAS" is a mnemonic: each one of the two S's refers to a "side"; the A refers to an "angle" between the two sides.

Symbolically, we write the similarity and dissimilarity of two trianglesABC and A′B′C′ as follows:[9]: p. 22

There are several elementary results concerning similar triangles in Euclidean geometry:[10]

Given a triangle ABC and a line segment DE one can, with ruler and compass, find a point F such that ABC ∼ △DEF. The statement that the point F satisfying this condition exists is Wallis's postulate[12] and is logically equivalent to Euclid's parallel postulate.[13] 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.[8]

Similar triangles provide the basis for many synthetic (without the use of coordinates) proofs in Euclidean geometry. Among the elementary results that can be proved this way are: the angle bisector theorem, the geometric mean theorem, Ceva's theorem, Menelaus's theorem and the Pythagorean theorem. Similar triangles also provide the foundations for right triangle trigonometry.[14]

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.

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

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.[17] 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 transformation). Two sets are called similar if one is the image of the other under a similarity.

where AOn(ℝ) is an n × n orthogonal matrix and t ∈ ℝn is a translation vector.

Similarities preserve planes, lines, perpendicularity, parallelism, midpoints, inequalities between distances and line segments.[18] Similarities preserve angles but do not necessarily preserve orientation, direct similitudes preserve orientation and opposite similitudes change it.[19]

The similarities of Euclidean space form a group under the operation of composition called the similarities group S.[20] The direct similitudes form a normal subgroup of S and the Euclidean group E(n) of isometries also forms a normal subgroup.[21] 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,[22] 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 f(z) = az + b (direct similitudes) and f(z) = az + b (opposite similitudes), where a and b are complex numbers, a ≠ 0. When |a| = 1, these similarities are isometries.

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 = 1/2bh, while the area of the similar triangle will be A′ = 1/2(kb)(kh) = k2A. 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 k2, while the ratio of volumes will be k3.

If a similarity has exactly one invariant point:  a point that the similarity keeps unchanged,  then this only point is called “center” of the similarity.

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 set constructed with two similitudes z'=0.1[(4+i)z+4] and z'=0.1[(4+7i)z*+5-2i]

These self-similar sets have a self-similar measure μD 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 fs(K) are "small", we have the following simple formula for the measure:

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

Note that, in the topological sense used here, a similarity is a kind of measure. This usage is not the same as the similarity transformation of the § In Euclidean space and § In general metric spaces sections of this article.

The intuition for the notion of geometric similarity already appears in human children, as can be seen in their drawings.[23]