Associativity (algebra)

format_list_bulleted Contenido keyboard_arrow_down
ImprimirCitar

La association is a property in algebra and the propositional logic that is fulfilled if given three or more elements any of a particular set, it is verified that there is a operation: {displaystyle circledcirc}to fulfil equality:

a (b c)=(a b) c{displaystyle acircledcirc (bcircledcirc c)=(acircledcirc b)circledcirc c}

That is, in an associative expression with two or more successive occurrences of the same associative operator, the order in which the operations are executed does not alter the result, as long as and when the sequence of the operands is kept intact. In other words, rearranging the parentheses in an associative expression does not change its final value.

The sum and the product of real numbers fulfill the associative property, being valid the equalities:

a+(b+c)=(a+b)+c{displaystyle a+(b+c)=(a+b)+c}

for addition and multiplication:

a⋅ ⋅ (b⋅ ⋅ c)=(a⋅ ⋅ b)⋅ ⋅ c{displaystyle acdot (bcdot c)=(acdot b)cdot c}


In both, the placement of the brackets does not alter the result. Notice that the operands have been kept in their original position within the expression. Many important operations are non-associative, for example subtraction and exponentiation. Expressions that contain both associative operations and non-associative operations result in expressions non-associative.

Do not confuse associativity with commutativity, which states that you can change the order of the operands without affecting the final result.

Formal notation

Sea A a set in which an internal binary operation has been defined {displaystyle circledcirc} such as

:A× × AΔ Δ A(a,b) c=a b{displaystyle {begin{array}{rccl}circledcirc: strangerAtimes A hypolongrightarrow &Alongrightarrow (a,b) strangerlongmapsto &c=acircledcirc bend{array}}}}}}

It is said that the operation {displaystyle circledcirc} That's it. associative Yes:

Русский Русский a,b,c한 한 A:a (b c)=(a b) c{displaystyle forall a,b,cin A;:quad acircledcirc (bcircledcirc c)=(acircledcirc b)circledcirc c}

The associative law can also be expressed in functional notation like this:

f(f(x,and),z)=f(x,f(and,z)){displaystyle f(f(x,y),z)=f(x,f(y,z)),}

Addition and subtraction

Starting from the set of natural numbers

N={1,2,3,4,...... !{displaystyle mathbb {N} ={1,2,3,4,dots }}

for the addition operation, defined as:

+:N× × NΔ Δ N(a,b) c=a+b{displaystyle {begin{array}{rccl}+: strangermathbb {N} times mathbb {N} &longrightarrow &mathbb {N} \mathbb {n}{n}{longmathbb {n}{n}{longmathbb}{n}{longmathbb {n}}}{longmathb}{longmapsto > }}}}}{longmathblongmathbb}}}}}}}{long

(N,+){displaystyle (mathbb {N}+),} has the associative property, since:

Русский Русский a,b,c한 한 N:a+(b+c)=(a+b)+c{displaystyle forall a,b,cin mathbb {N} ;:quad a+(b+c)=(a+b)+c}

For example:

5+(3+2)=(5+3)+2{displaystyle 5+(3+2)=(5+3)+2}

However, for the subtraction operation, defined as:

− − :N× × NΔ Δ N(a,b) c=a− − b{displaystyle {begin{array}{rccl}-: strangermathbb {N} times mathbb {N} &longrightarrow &mathbb {N} \mathbb {n}{n}{longmathbb {n}{n}{n}{longmathbb}{n}{longmathbb}}{longmathb}{longmapsto > }}}}}}{longmathblongmathbb}}}}{longmathblongmathblongmathbb}}}{longmathbb

(N,− − ){displaystyle (mathbb {N}-),} No. has the associative property, since:

Русский Русский a,b,c한 한 N:a− − (b− − c)I was. I was. (a− − b)− − c{displaystyle forall a,b,cin mathbb {N} ;:quad a-(b-c)neq (a-b)-c}

For example:

5− − (3− − 2)I was. I was. (5− − 3)− − 2{displaystyle 5-(3-2)neq (5-3)-2}

Examples

The addition of real numbers is associative.
  • Concatenation of character strings "hola", " ", "mundo" can be computed by concatenating the first two character strings (resulting in "hola ") and then the third string of characters ("mundo"), or alternatively, joining the second and third string of characters (resulting in " mundo") and concatenating the first string of characters ("hola") with that result. The two methods produce the same final result. Concatenation of character strings is associative (but No. is switching).
  • In arithmetic, the addition and multiplication of real numbers are associative. Because of its associativeness, the grouping by parenthesis can be omitted without ambiguity. This is,
(x+and)+z=x+(and+z)=x+and+z(xand)z=x(andz)=xandz!for everythingx,and,z한 한 R.{displaystyle left.{begin{matrix}(x+y)+z=x+(y+z)=x+y+zquad \(x,y)z=x(y,z)=x,y,zqquad qquad qquad quad \quad \},end{matrixbox}{ !
An example of the association of the sum is:
(2+3)+7=5+7=12=2+(3+7)=2+10=12{displaystyle (2+3)+7=5+7=12quad =quad 2+(3+7)=2+10=12}
and of the association of multiplication
(2⋅ ⋅ 3)⋅ ⋅ 7=6⋅ ⋅ 7=42=2⋅ ⋅ (3⋅ ⋅ 7)=2⋅ ⋅ 21=42{displaystyle (2cdot 3)cdot 7=6cdot 7=42quad =quad 2cdot (3cdot 7)=2cdot 21=42}
However, the subtraction No. is associative,
2− − (3− − 1)=0I was. I was. (2− − 3)− − 1=− − 2{displaystyle 2-(3-1)=0quad neq quad (2-3)-1=-2}
And neither is division,
(4:2):2=1I was. I was. 4:(2:2)=4{displaystyle (4:2):2=1quad neq quad 4:(2:2)=4}.
nor the exposure, which is equally non-associative
2(23)=28=256I was. I was. (22)3=43=64{displaystyle 2^{(2^{3})}=2^{8}=256quad neq quad (2^{2})^{3}=4^{3}=64}
  • The addition and multiplication of complex numbers and quaternions are associative. The addition of octonions is also associative, but the multiplication of octonions is non-associative.
  • The maximum common dividing functions and minimum common multiple functions act associative.
mcd (mcd (x,and),z)=mcd (x,mcd (and,z))=mcd (x,and,z)mcm (mcm (x,and),z)=mcm (x,mcm (and,z))=mcm (x,and,z)!for everythingx,and,z한 한 Z.{displaystyle}{begin{matrix}operatorname {mcd} (operatorname {mcd} (x,y),z)=operatorname {mcd}{x,}{operatorname {mcd}{mcd} !
  • The intersection or union of assemblies are associative.
(A B) C=A (B C)=A B C(A B) C=A (B C)=A B C!for all setsA,B,C.{displaystyle left.{begin{matrix}(Acap B)cap C=Acap C)=Acap Bquad \(Acup B)cup C=Acup C=Acup (Bcup C)=Acup Bquad end{matrix}{right}{bsbox{for all the
  • Yes M It's some outfit. S denotes the set of all M a M, then the functional composition operation on S It's associative.
(f g) h=f (g h)=f g hfor everythingf,g,h한 한 S.{displaystyle (fcirc g)circ h=fcirc (gcirc h)=fcirc gcirc hqquad {mbox{for all}}f,g,hin S.}
  • More generally, given four sets M, N, P and Q, with h: M a N, g: N a Pand f: P a Q, then
(f g) h=f (g h)=f g h{displaystyle (fcirc g)circ h=fcirc (gcirc h)=fcirc gcirc h}
as in the previous example. In short, the composition of applications is always associative.
  • For a set with three elements A, B, and C, the following operation is associative.
× A B C
A A A A
B A B C
C A A A
This way, for example, A(BC)=(AB)C = A. This operation No. It's commutative.
  • Since the matrices represent linear transformation functions, with matrix multiplication representing functional composition, it can be concluded immediately that the matrix multiplication is associative.

In propositional logic

Replacement Rule

In standard propositional logic, association, or associativity are two valid replacement rules. These rules allow you to move parentheses in logical expressions used in logical tests. The rules are:

(P (Q R))Δ Δ ((P Q) R){displaystyle (Plor (Qlor R))Leftrightarrow (Plor Q)lor R)}
(P∧ ∧ (Q∧ ∧ R))Δ Δ ((P∧ ∧ Q)∧ ∧ R),lorcal2000{displaystyle (Pland (Qland R))Leftrightarrow (Pland Q)land R),local2000}

whereΔ Δ {displaystyle Leftrightarrow }"is a metalogical symbol that represents "can be replaced in a test by".

Truth function connectives

Associativity is a property of some logical connectives in the truth functions of propositional logic. The following logical equivalences show that associativity is a property of particular logical connectives. They are also tautologies of truth functions.

Associativity of disjunction:

((P Q) R)▪ ▪ (P (Q R)){displaystyle (Plor Q)lor R)leftrightarrow (Plor (Qlor R)}
(P (Q R))▪ ▪ ((P Q) R){displaystyle (Plor (Qlor R))leftrightarrow (Plor Q)lor R)}

Associativity of the conjunction:

((P∧ ∧ Q)∧ ∧ R)▪ ▪ (P∧ ∧ (Q∧ ∧ R)){displaystyle (Pland Q)land R)leftrightarrow (Pland R)}
(P∧ ∧ (Q∧ ∧ R))▪ ▪ ((P∧ ∧ Q)∧ ∧ R){displaystyle (Pland (Qland R))leftrightarrow (Pland Q)land R)}

Associativity of equivalence:

((P▪ ▪ Q)▪ ▪ R)▪ ▪ (P▪ ▪ (Q▪ ▪ R)){displaystyle (Pleftrightarrow Q)leftrightarrow R)leftrightarrow (Pleftrightarrow (Qleftrightarrow R)}
(P▪ ▪ (Q▪ ▪ R))▪ ▪ ((P▪ ▪ Q)▪ ▪ R){displaystyle (Pleftrightarrow (Qleftrightarrow R))leftrightarrow (Pleftrightarrow Q)leftrightarrow R)}

Contenido relacionado

Beam theory

In mathematics, a bundle F on a given topological space, X, yields, for every open set U of X, a set Fwith a richer structure. In turn, these structures, Fare...

Riemannian geometry

In differential geometry, Riemannian geometry is the study of differential manifolds with Riemannian metrics; that is to say, of an application that assigns a...

Vector (disambiguation)

The term vector can refer, in this encyclopedia, to any of the following...
Más resultados...
Tamaño del texto:
undoredo
format_boldformat_italicformat_underlinedstrikethrough_ssuperscriptsubscriptlink
save