In Euclidean geometry, two objects are similar if they have the same shape, or if 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. This is because two ellipses can have different width to height ratios, two rectangles can have different length to breadth ratios, and two isosceles triangles can have different base angles.
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.Template:Citation needed
Two triangles, Template:Math and Template:Math 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.Template:Sfn 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.Template:Sfn 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.<ref>For instance, Template:Harvnb and Template:Harvnb.</ref>
There are several criteria each of which is necessary and sufficient for two triangles to be similar:
Any two pairs of angles are congruent,<ref>Euclid's Elements, Book VI, Proposition 4.</ref> which in Euclidean geometry implies that all three angles are congruent:Template:Efn
This is equivalent to saying that one triangle (or its mirror image) is an enlargement of the other.
Any two pairs of sides are proportional, and the angles included between these sides are congruent:<ref>Euclid's Elements, Book VI, Proposition 6.</ref>
This is known as the SAS similarity criterion.Template:Sfn 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.
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.<ref>Template:Cite book</ref> There are several equivalent conditions in this case, such as the right triangles having an acute angle of the same measure, or having the lengths of the legs (sides) being in the same proportion.
In the axiomatic treatment of Euclidean geometry given by George David 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.Template:Sfn
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.
Similarities preserve planes, lines, perpendicularity, parallelism, midpoints, inequalities between distances and line segments.Template:Sfn Similarities preserve angles but do not necessarily preserve orientation, direct similitudes preserve orientation and opposite similitudes change it.Template:Sfn
One can view the Euclidean plane as the complex plane,Template:Efn 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
<math>f(z) = az + b</math> (direct similitudes), and
<math>f(z) = a\overline z + b</math> (opposite similitudes),
Template:Main
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 Template:Mvar and an altitude drawn to that side of length Template:Mvar then a similar triangle with corresponding side of length Template:Mvar will have an altitude drawn to that side of length Template:Mvar. The area of the first triangle is <math>A = \tfrac{1}{2}bh,</math> while the area of the similar triangle will be
<math display=block>A' =\frac{1}{2} \cdot kb \cdot kh = k^2A.</math>
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 Template:Mvar, then the ratio of surface areas of the solids will be Template:Math, while the ratio of volumes will be Template:Math.
On the first image below the title, on the left, one or another similarity shrinks a regular polygon into a concentric one, the vertices of which are each on a side of the previous polygon. This rotational reduction is repeated, so the initial polygon is extended into an abyss of regular polygons. The center of the similarity is the common center of the successive polygons. A red segment joins a vertex of the initial polygon to its image under the similarity, followed by a red segment going to the following image of vertex, and so on to form a spiral. Actually we can see more than three direct similarities on this first image, because every regular polygon is invariant under certain direct similarities, more precisely certain rotations the center of which is the center of the polygon, and a composition of direct similarities is also a direct similarity. For example we see the image of the initial regular pentagon under a homothety of negative ratio Template:Mvar, which is a similarity of ±180° angle and a positive ratio equal to Template:Mvar.
This direct similarity that transforms triangle Template:Math into triangle Template:Math can be decomposed into a rotation and a homothety of same center Template:Mvar in several manners. For example, Template:Math, the last decomposition being only represented on the image. To get Template:Mvar we can also compose in any order a rotation of −45° angle and a homothety of ratio Template:Tmath
which is often (but not always) equal to the set's Hausdorff dimension and packing dimension. If the overlaps between the Template:Math are "small", we have the following simple formula for the measure:
Template:More citations needed section
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
The upper value is often set at 1 (creating a possibility for a probabilistic interpretation of the similitude).
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 Template:Section link and Template:Section link sections of this article.
Self-similarity means that a pattern is non-trivially similar to itself, e.g., the set Template:Math of numbers of the form Template:Math where Template:Mvar 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.
Template:Expand section
The intuition for the notion of geometric similarity already appears in human children, as can be seen in their drawings.<ref>Template:Cite thesis</ref> Certain perceptual categorization models in psychology are based on geometric similarity, assuming that learning involves the storage of specific instances (i.e. of general object specifications) in memory. The categorization of another object ist subsequently based on the similarity of the object to the instances in memory.<ref>Template:Cite book</ref>
Coxeter, H. S. M. (1969) [1961]. "§5 Similarity in the Euclidean Plane". pp. 67–76. "§7 Isometry and Similarity in Euclidean Space". pp. 96–104. Introduction to Geometry. John Wiley & Sons.