SUPPORT THE WORK

# GetWiki

### invariant (mathematics)

ARTICLE SUBJECTS
news  →
unix  →
wiki  →
ARTICLE TYPES
feed  →
help  →
wiki  →
ARTICLE ORIGINS
invariant (mathematics)
[ temporary import ]
- the content below is remote from Wikipedia
- it has been imported raw for GetWiki
{{more inline|date=April 2015}}File:Endlessly interlaced pentagons and some translations.svg|thumb|upright=1.5|A wallpaper is invariant under an infinite number of translations, members of a group, of which the operation denoted by circ is the function compositionfunction compositionIn mathematics, an invariant is a property, held by a class of mathematical objects, which remains unchanged when transformations of a certain type are applied to the objects. The particular class of objects and type of transformations are usually indicated by the context in which the term is used. For example, the area of a triangle is an invariant with respect to isometries of the Euclidean plane. The phrases "invariant under" and "invariant to" a transformation are both used. More generally, an invariant with respect to an equivalence relation is a property that is constant on each equivalence class. Invariants are used in diverse areas of mathematics such as geometry, topology, algebra and discrete mathematics. Some important classes of transformations are defined by an invariant they leave unchanged, for example conformal maps are defined as transformations of the plane that preserve angles. The discovery of invariants is an important step in the process of classifying mathematical objects.

## Examples

A simple example of invariance is expressed in our ability to count. For a finite set of objects of any kind, there is a number to which we always arrive, regardless of the order in which we count the objects in the set. The quantity—a cardinal number—is associated with the set, and is invariant under the process of counting.An identity is an equation that remains true for all values of its variables. There are also inequalities that remain true when the values of their variables change.The distance between two points on a number line is not changed by adding the same quantity to both numbers. On the other hand, multiplication does not have this same property as addition, so distance is not invariant under multiplication.Angles and ratios of distances are invariant under scalings, rotations, translations and reflections. These transformations produce similar shapes, which is the basis of trigonometry. In contrast, angles and ratios are not invariant under non-uniform scaling (such as stretching). The sum of a triangle's interior angles (180Â°) is invariant under all the above operations. As another example, all circles are similar: they can be transformed into each other and the ratio of the circumference to the diameter is invariant (denoted by the Greek letter pi).Some more complicated examples:

### MU puzzle

The MU puzzle{{Citation
| last1 = Hofstadter| first1 = Douglas R.
| title = GÃ¶del, Escher, Bach: An Eternal Golden Braid
| publisher = Basic Books
| year = 1999
| origyear= 1979
| isbn = 0-465-02656-7
}}Here: Chapter I. is a good example of a logical problem where determining an invariant is of use for an impossibility proof. The puzzle asks one to start with the word MI and transform it into the word MU using in each step one of the following transformation rules:
1. If a string ends with an I, a U may be appended (xI â†’ xIU)
2. The string after the M may be completely duplicated (Mx â†’ Mxx)
3. Any three consecutive I's (III) may be replaced with a single U (xIIIy â†’ xUy)
4. Any two consecutive U's may be removed (xUUy â†’ xy)
An example derivation (superscripts indicating the applied rules) is
MI â†’2 MII â†’2 MIIII â†’3 MUI â†’2 MUIUI â†’1 MUIUIU â†’2 MUIUIUUIUIU â†’4 MUIUIIUIU â†’ ...
Is it possible to convert MI into MU using these four transformation rules only?One could spend many hours applying these transformation rules to strings. However, it might be quicker to find a property that is invariant to all rules (i.e. that isn't changed by any of them), and demonstrates that getting to MU is impossible. Logically looking at the puzzle, the only way to get rid of any I's is to have three consecutive I's in the string. This makes the following invariant interesting to consider:
The number of I's in the string is not a multiple of 3.
This is an invariant to the problem if for each of the transformation rules the following holds: if the invariant held before applying the rule, it will also hold after applying it. If we look at the net effect of applying the rules on the number of I's and U's we can see this actually is the case for all rules:
{| class=wikitable! Rule !! #I's !! #U's !! Effect on invariant
1 style="text-align: right;" +1 Number of I's is unchanged. If the invariant held, it still does.
2 style="text-align: right;" Ã—2 If n is not a multiple of 3, then 2Ã—n isn't either. The invariant still holds.
3 style="text-align: right;" +1 If n is not a multiple of 3, nâˆ’3 isn't either. The invariant still holds.
4 style="text-align: right;" âˆ’2 Number of I's is unchanged. If the invariant held, it still does.
The table above shows clearly that the invariant holds for each of the possible transformation rules, which basically means that whichever rule we pick, at whatever state, if the number of I's was not a multiple of three before applying the rule, it won't be afterwards either.Given that there is a single I in the starting string MI, and one is not a multiple of three, it's impossible to go from MI to MU as zero is a multiple of three.

## Invariant set

A subset S of the domain U of a mapping T: U â†’ U is an invariant set under the mapping when x in S Rightarrow T(x) in S. Note that the elements of S are not fixed, but rather the set S is fixed in the power set of U. (Some authors use the terminology setwise invariantBOOK, Barry Simon, Representations of Finite and Compact Groups, American Mathematical Soc., 978-0-8218-7196-6, 16, vs. pointwise invariantBOOK, Judith Cederberg, A Course in Modern Geometries, 1989, Springer, 978-1-4757-3831-5, 174, to distinguish between these cases.)For example, a circle is an invariant subset of the plane under a rotation about the circleâ€™s center. Further, a conical surface is invariant as a set under a homothety of space.An invariant set of an operation T is also said to be stable under T. For example, the normal subgroups that are so important in group theory are those subgroups that are stable under the inner automorphisms of the ambient group.{{harvtxt|Fraleigh|1976|p=103}}{{harvtxt|Herstein|1964|p=42}}{{harvtxt|McCoy|1968|p=183}}Other examples occur in linear algebra. Suppose a linear transformation T has an eigenvector v. Then the line through 0 and v is an invariant set under T. The eigenvectors span an invariant subspace which is stable under T.When T is a screw displacement, the screw axis is an invariant line, though if the pitch is non-zero, T has no fixed points.

## Formal statement

{{unreferenced section|date=February 2010}}The notion of invariance is formalized in three different ways in mathematics: via group actions, presentations, and deformation.

### Unchanged under group action

Firstly, if one has a group G acting on a mathematical object (or set of objects) X, then one may ask which points x are unchanged, "invariant" under the group action, or under an element g of the group.Very frequently one will have a group acting on a set X and ask which objects in an associated set F(X) are invariant. For example, rotation in the plane about a point leaves the point about which it rotates invariant, while translation in the plane does not leave any points invariant, but does leave all lines parallel to the direction of translation invariant as lines. Formally, define the set of lines in the plane P as L(P); then a rigid motion of the plane takes lines to lines â€“ the group of rigid motions acts on the set of lines â€“ and one may ask which lines are unchanged by an action.More importantly, one may define a function on a set, such as "radius of a circle in the plane" and then ask if this function is invariant under a group action, such as rigid motions.Dual to the notion of invariants are coinvariants, also known as orbits, which formalizes the notion of congruence: objects which can be taken to each other by a group action. For example, under the group of rigid motions of the plane, the perimeter of a triangle is an invariant, while the set of triangles congruent to a given triangle is a coinvariant.These are connected as follows: invariants are constant on coinvariants (for example, congruent triangles have the same perimeter), while two objects which agree in the value of one invariant may or may not be congruent (two triangles with the same perimeter need not be congruent). In classification problems, one seeks to find a complete set of invariants, such that if two objects have the same values for this set of invariants, they are congruent.For example, triangles such that all three sides are equal are congruent under rigid motions, via SSS congruence, and thus the lengths of all three sides form a complete set of invariants for triangles. The three angle measures of a triangle are also invariant under rigid motions, but do not form a complete set as incongruent triangles can share the same angle measures. However, if one allows scaling in addition to rigid motions, then the AAA similarity criterion shows that this is a complete set of invariants.

### Independent of presentation

Secondly, a function may be defined in terms of some presentation or decomposition of a mathematical object; for instance, the Euler characteristic of a cell complex is defined as the alternating sum of the number of cells in each dimension. One may forget the cell complex structure and look only at the underlying topological space (the manifold) â€“ as different cell complexes give the same underlying manifold, one may ask if the function is independent of choice of presentation, in which case it is an intrinsically defined invariant. This is the case for the Euler characteristic, and a general method for defining and computing invariants is to define them for a given presentation and then show that they are independent of the choice of presentation. Note that there is no notion of a group action in this sense.The most common examples are:

### Unchanged under perturbation

Thirdly, if one is studying an object which varies in a family, as is common in algebraic geometry and differential geometry, one may ask if the property is unchanged under perturbation â€“ if an object is constant on families or invariant under change of metric, for instance.

## Invariants in computer science

{{For|other uses of the word "invariant" in computer science|invariant (disambiguation)}}In computer science, one can encounter invariants that can be relied upon to be true during the execution of a program, or during some portion of it. It is a logical assertion that is always held to be true during a certain phase of execution. For example, a loop invariant is a condition that is true at the beginning and end of every execution of a loop.Invariants are especially useful when reasoning about whether a computer program is correct. The theory of optimizing compilers, the methodology of design by contract, and formal methods for determining program correctness, all rely heavily on invariants.Programmers often use assertions in their code to make invariants explicit. Some object oriented programming languages have a special syntax for specifying class invariants.

### Automatic invariant detection in imperative programs

Abstract interpretation tools can compute simple invariants of given imperative computer programs. The kind of properties that can be found depend on the abstract domains used. Typical example properties are single integer variable ranges like 0

- content above as imported from Wikipedia
- "invariant (mathematics)" does not exist on GetWiki (yet)
- time: 1:33pm EDT - Tue, Mar 19 2019
[ this remote article is provided by Wikipedia ]
LATEST EDITS [ see all ]
GETWIKI 09 MAY 2016
GETWIKI 18 OCT 2015
M.R.M. Parrott
Biographies
GETWIKI 20 AUG 2014
GETWIKI 19 AUG 2014
GETWIKI 18 AUG 2014
Wikinfo
Culture
CONNECT