In mathematics, the distributive property of binary operations is a generalization of the distributive law, which asserts that the equality x⋅(y+z)=x⋅y+x⋅z is always true in elementary algebra. For example, in elementary arithmetic, one has 2⋅(1+3)=(2⋅1)+(2⋅3). Therefore, one would say that multiplication distributes over addition. This basic property of numbers is part of the definition of most algebraic structures that have two operations called addition and multiplication, such as complex numbers, polynomials, matrices, rings, and fields. It is also encountered in Boolean algebra and mathematical logic, where each of the logical and (denoted ∧) and the logical or (denoted ∨) distributes over the other.
Definition Given a set S and two binary operators ∗ and + on S,
the operation ∗ is left-distributive over (or with respect to) + if, given any elements x,y, and z of S, x∗(y+z)=(x∗y)+(x∗z);
the operation ∗ is right-distributive over + if, given any elements x,y, and z of S, (y+z)∗x=(y∗x)+(z∗x);
and the operation ∗ is distributive over + if it is left- and right-distributive. When ∗ is commutative, the three conditions above are logically equivalent.
Meaning The operators used for examples in this section are those of the usual addition + and multiplication ⋅. If the operation denoted ⋅ is not commutative, there is a distinction between left-distributivity and right-distributivity: a⋅(b±c)=a⋅b±a⋅c (left-distributive) (a±b)⋅c=a⋅c±b⋅c (right-distributive) . In either case, the distributive property can be described in words as: To multiply a sum (or difference) by a factor, each summand (or minuend and subtrahend) is multiplied by this factor and the resulting products are added (or subtracted). If the operation outside the parentheses (in this case, the multiplication) is commutative, then left-distributivity implies right-distributivity and vice versa, and one talks simply of distributivity. One example of an operation that is "only" right-distributive is division, which is not commutative: (a±b)÷c=a÷c±b÷c. In this case, left-distributivity does not apply: a÷(b±c)≠a÷b±a÷c The distributive laws are among the axioms for rings (like the ring of integers) and fields (like the field of rational numbers). Here multiplication is distributive over addition, but addition is not distributive over multiplication. Examples of structures with two operations that are each distributive over the other are Boolean algebras such as the algebra of sets or the switching algebra. Multiplying sums can be put into words as follows: When a sum is multiplied by a sum, multiply each summand of a sum with each summand of the other sum (keeping track of signs) then add up all of the resulting products.
Examples
Real numbers In the following examples, the use of the distributive law on the set of real numbers ℝ is illustrated. When multiplication is mentioned in elementary mathematics, it usually refers to this kind of multiplication. From the point of view of algebra, the real numbers form a field, which ensures the validity of the distributive law.
First example (mental and written multiplication)During mental arithmetic, distributivity is often used unconsciously: 6⋅16=6⋅(10+6)=6⋅10+6⋅6=60+36=96
Thus, to calculate 6⋅16 in one's head, one first multiplies 6⋅10 and 6⋅6 and add the intermediate results. Written multiplication is also based on the distributive law.
Second example (with variables) 3a2b⋅(4a−5b)=3a2b⋅4a−3a2b⋅5b=12a3b−15a2b2
Third example (with two sums) (a+b)⋅(a−b)=a⋅(a−b)+b⋅(a−b)=a2−ab+ba−b2=a2−b2=(a+b)⋅a−(a+b)⋅b=a2+ba−ab−b2=a2−b2
Here the distributive law was applied twice, and it does not matter which bracket is first multiplied out.
Fourth exampleHere the distributive law is applied the other way around compared to the previous examples. Consider 12a3b2−30a4bc+18a2b3c2.
Since the factor 6a2b occurs in all summands, it can be factored out. That is, due to the distributive law one obtains 12a3b2−30a4bc+18a2b3c2=6a2b(2ab−5a2c+3b2c2).
Matrices The distributive law is valid for matrix multiplication. More precisely, (A+B)⋅C=A⋅C+B⋅C for all l×m-matrices A,B and m×n-matrices C, as well as A⋅(B+C)=A⋅B+A⋅C for all l×m-matrices A and m×n-matrices B,C. Because the commutative property does not hold for matrix multiplication, the second law does not follow from the first law. In this case, they are two different laws.
Other examples Multiplication of ordinal numbers, in contrast, is only left-distributive, not right-distributive. The cross product is left- and right-distributive over vector addition, though not commutative. For sets, union and intersection distribute over each other:A∩(B∪C)=(A∩B)∪(A∩C)A∪(B∩C)=(A∪B)∩(A∪C). Logical disjunction ("or") is distributive over logical conjunction ("and"), and vice versa. For real numbers (and 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). For binomial multiplication, distribution is sometimes referred to as the FOIL Method (First terms ac, Outer ad, Inner bc, and Last bd) such as: (a+b)⋅(c+d)=ac+ad+bc+bd. In all semirings, including the complex numbers, the quaternions, polynomials, and matrices, multiplication distributes over addition: u(v+w)=uv+uw,(u+v)w=uw+vw. In all algebras over a field, including the octonions and other non-associative algebras, multiplication distributes over addition.
Propositional logic
Rule of replacement In standard truth-functional propositional logic, distribution in logical proofs uses two valid rules of replacement to expand individual occurrences of certain logical connectives, within some formula, into separate applications of those connectives across subformulas of the given formula. The rules are (P∧(Q∨R))⇔((P∧Q)∨(P∧R)) and (P∨(Q∧R))⇔((P∨Q)∧(P∨R)) where "⇔", also written ≡, is a metalogical symbol representing "can be replaced in a proof with" or "is logically equivalent to".
… excerpt ends here. Continue reading the full article.
