👉 In mathematics, an invariant is a property that remains unchanged under certain transformations or operations. For example, if you have a group of numbers and you multiply them together, the result will be the identity element (a number that leaves all elements alone), because multiplying any number by 1 does not change it. An invariant is what stays the same after some sort of transformation or operation. So, for example, in linear algebra, if we add two vectors, the resulting vector will still have its components