Distributivity

In mathematics, and in particular in abstract algebra, distributivity is a property of binary operations that generalises the distributive law from elementary algebra. For example:
 4 · (2 + 3) = (4 · 2) + (4 · 3)
In the lefthand side of the above equation, the 4 multiplies the sum of 2 and 3; on the righthand side, it multiplies the 2 and the 3 individually, with the results added afterwards. Because these give the same final answer (20), we say that multiplication by 4 distributes over addition of 2 and 3. Since we could have put any real numbers in place of 4, 2, and 3 above, and still gotten a true equation, we say that multiplication of real numbers distributes over addition of real numbers.
Contents 
Definition
Given a set S and two binary operations * and + on S, we say that
 * is leftdistributive over + if, given any elements x, y, and z of S,
 x * (y + z) = (x * y) + (x * z);
 * is rightdistributive over + if, given any elements x, y, and z of S:
 (y + z) * x = (y * x) + (z * x);
 * is distributive over + if it is both left and rightdistributive.
Notice that when * is commutative, then the three above conditions are logically equivalent.
Examples
 Multiplication of numbers is distributive over addition of numbers, for a broad class of different kinds of numbers ranging from natural numbers to complex numbers and cardinal numbers.
 Multiplication of ordinal numbers, in contrast, is only leftdistributive, not rightdistributive.
 Matrix multiplication is distributive over matrix addition, even though it's not commutative.
 The union of sets is distributive over intersection, and intersection is distributive over union. Also, intersection is distributive over the symmetric difference.
 Logical disjunction ("or") is distributive over logical conjunction ("and"), and conjunction is distributive over disjunction. Also, conjunction is distributive over exclusive disjunction ("xor").
 For real numbers (or for any totally ordered set), the maximum operation is distributive over the minimum operation, and vice versa: max(a,min(b,c)) = min(max(a,b),max(a,c)) and min(a,max(b,c)) = max(min(a,b),min(a,c)).
 For integers, the greatest common divisor is distributive over the least common multiple, and vice versa: gcd(a,lcm(b,c)) = lcm(gcd(a,b),gcd(a,c)) and lcm(a,gcd(b,c)) = gcd(lcm(a,b),lcm(a,c)).
 For real numbers, addition distributes over the maximum operation, and also over the minimum operation: a + max(b,c) = max(a+b,a+c) and a + min(b,c) = min(a+b,a+c).
Distributivity is most commonly found in rings and distributive lattices.
A ring has two binary operations (commonly called "+" and "*"), and one of the requirements of a ring is that * must distribute over +. Most kinds of numbers (example 1) and matrices (example 3) form rings.
A lattice is another kind of algebraic structure with two binary operations, ^ and v. If either of these operations (say ^) distributes over the other (v), then v must also distribute over ^, and the lattice is called distributive. See also the article on distributivity (order theory).
Examples 4 and 5 are Boolean algebras, which can be interpreted either as a special kind of ring (a Boolean ring) or a special kind of distributive lattice (a Boolean lattice). Each interpretation is responsible for different distributive laws in the Boolean algebra. Examples 6 and 7 are distributive lattices which are not Boolean algebras.
Rings and distributive lattices are both special kinds of rigs, certain generalisations of rings. Those numbers in example 1 that don't form rings at least form rigs. Nearrigs are a further generalisation of rigs that are leftdistributive but not rightdistributive; example 2 is a nearrig.
Generalizations of distributivity
In several mathematical areas, generalized distributivity laws are considered. This may involve the weakening of the above conditions or the extension to infinitary operations. Especially in order theory one finds numerous important variants of distributivity, some of which include infinitary operations, others being defined in the presence of only one binary operation. Details of the according definitions and their relations are given in the article distributivity (order theory). This also includes the notion of a completely distributive lattice.
In the presence of an ordering relation, one can also weaken the above equalities by replacing = by either ≤ or ≥. Naturally, this will lead to meaningful concepts only in some situations. An application of this principle is the notion of subdistributivity as explained in the article on intervals.
External links
 Proof for children of distributive property with integer as multiplier, with an animation (http://www.algebra.com/algebra/homework/Distributiveproperty/proofofdistributiveproperty.lesson)
 Solver showing an animation for user supplied examples of distributive property (http://www.algebra.com/algebra/homework/Distributiveproperty/exampledistributivepropertyaddition.solver)de:Distributivgesetz
eo:Distribueco fr:Distributivité he:חוק הפילוג nl:Distributief ja:分配法則 pl:Rozdzielność sl:Distributivnost uk:Дистрибутивність zh:分配律