Contents
Distributive property
In mathematics, the distributive property of binary operations is a generalization of the distributive law, which asserts that the equality is always true in elementary algebra. For example, in elementary arithmetic, one has 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 ,\land,) and the logical or (denoted ,\lor,) distributes over the other.
Definition
Given a set S and two binary operators ,, and ,+, on S, 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 ,\cdot., If the operation denoted \cdot is not commutative, there is a distinction between left-distributivity and right-distributivity: 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. One example of an operation that is "only" right-distributive is division, which is not commutative: In this case, left-distributivity does not apply: 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 \R 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: Thus, to calculate 6 \cdot 16 in one's head, one first multiplies 6 \cdot 10 and 6 \cdot 6 and add the intermediate results. Written multiplication is also based on the distributive law. Second example (with variables): Third example (with two sums):Here the distributive law was applied twice, and it does not matter which bracket is first multiplied out. Fourth example:Here the distributive law is applied the other way around compared to the previous examples. Consider Since the factor 6 a^2 b occurs in all summands, it can be factored out. That is, due to the distributive law one obtains
Matrices
The distributive law is valid for matrix multiplication. More precisely, for all l \times m-matrices A, B and m \times n-matrices C, as well as for all l \times m-matrices A and m \times 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
Propositional logic
Rule of replacement
In standard truth-functional propositional logic, 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 where "", also written ,\equiv,, is a metalogical symbol representing "can be replaced in a proof with" or "is logically equivalent to".
Truth functional connectives
is a property of some logical connectives of truth-functional propositional logic. The following logical equivalences demonstrate that distributivity is a property of particular connectives. The following are truth-functional tautologies.
Distributivity and rounding
In approximate arithmetic, such as floating-point arithmetic, the distributive property of multiplication (and division) over addition may fail because of the limitations of arithmetic precision. For example, the identity fails in decimal arithmetic, regardless of the number of significant digits. Methods such as banker's rounding may help in some cases, as may increasing the precision used, but ultimately some calculation errors are inevitable.
In rings and other structures
Distributivity is most commonly found in semirings, notably the particular cases of rings and distributive lattices. A semiring has two binary operations, commonly denoted ,+, and ,, and requires that ,, must distribute over ,+. A ring is a semiring with additive inverses. A lattice is another kind of algebraic structure with two binary operations, If either of these operations distributes over the other (say ,\land, distributes over ,\lor), then the reverse also holds (,\lor, distributes over ,\land,), and the lattice is called distributive. See also. A Boolean algebra 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. Similar structures without distributive laws are near-rings and near-fields instead of rings and division rings. The operations are usually defined to be distributive on the right but not on the left.
Generalizations
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, such as the infinite distributive law; others being defined in the presence of only binary operation, such as 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 ,\leq, or ,\geq. Naturally, this will lead to meaningful concepts only in some situations. An application of this principle is the notion of sub-distributivity as explained in the article on interval arithmetic. In category theory, if and are monads on a category C, a distributive law is a natural transformation such that is a lax map of monads S \to S and is a colax map of monads This is exactly the data needed to define a monad structure on : the multiplication map is and the unit map is See: distributive law between monads. A generalized distributive law has also been proposed in the area of information theory.
Antidistributivity
The ubiquitous identity that relates inverses to the binary operation in any group, namely which is taken as an axiom in the more general context of a semigroup with involution, has sometimes been called an antidistributive property (of inversion as a unary operation). In the context of a near-ring, which removes the commutativity of the additively written group and assumes only one-sided distributivity, one can speak of (two-sided) distributive elements but also of antidistributive elements. The latter reverse the order of (the non-commutative) addition; assuming a left-nearring (i.e. one which all elements distribute when multiplied on the left), then an antidistributive element a reverses the order of addition when multiplied to the right: In the study of propositional logic and Boolean algebra, the term antidistributive law is sometimes used to denote the interchange between conjunction and disjunction when implication factors over them: These two tautologies are a direct consequence of the duality in De Morgan's laws.
This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.
Wikipedia® is a registered trademark of the
Wikimedia Foundation, Inc.
Bliptext is not
affiliated with or endorsed by Wikipedia or the
Wikimedia Foundation.