In mathematics, specifically in abstract algebra, power associativity is a property of a binary operation that is a weak form of associativity.
An algebra (or more generally a magma) is said to be power-associative if the subalgebra generated by any element is associative. Concretely, this means that if an element
x
*
x*(x*(x*x))=(x*(x*x))*x=(x*x)*(x*x)
Every associative algebra is power-associative, but so are all other alternative algebras (like the octonions, which are non-associative) and even non-alternative flexible algebras like the sedenions and Okubo algebras. Any algebra whose elements are idempotent is also power-associative.
Exponentiation to the power of any positive integer can be defined consistently whenever multiplication is power-associative. For example, there is no need to distinguish whether x3 should be defined as (xx)x or as x(xx), since these are equal. Exponentiation to the power of zero can also be defined if the operation has an identity element, so the existence of identity elements is useful in power-associative contexts.
Over a field of characteristic 0, an algebra is power-associative if and only if it satisfies
[x,x,x]=0
[x2,x,x]=0
[x,y,z]:=(xy)z-x(yz)
Over an infinite field of prime characteristic
p>0
p=2
[x,x2,x]=0
[xn-2,x,x]=0
n=3,2k
k=2,3...)
p=3
[xn-2,x,x]=0
n=4,5,3k
k=1,2...)
p=5
[xn-2,x,x]=0
n=3,4,6,5k
k=1,2...)
p>5
[xn-2,x,x]=0
n=3,4,pk
k=1,2...)
A substitution law holds for real power-associative algebras with unit, which basically asserts that multiplication of polynomials works as expected. For f a real polynomial in x, and for any a in such an algebra define f(a) to be the element of the algebra resulting from the obvious substitution of a into f. Then for any two such polynomials f and g, we have that .