- #1
gavin123
- 10
- 0
Homework Statement
(x*y)=x+2y+4
Homework Equations
The Attempt at a Solution
first i did this but I'm not sure if it is correct
(x*y)*z=x+2y+4*z=x+2y+4+z+1
x*(y*z)=x*y+2z+4=x+y+2z+4+1
Last edited:
No, it is not correct. Study the definition closely. Remember that x does not stand for "x", but for "any expression to the left of "*". Vice versa for y.gavin123 said:first i did this but I'm not sure if it is correct
It's not clear what you mean here.gavin123 said:Oh ok then did I write it out correctly
I don't see any problem in using the asterisk (*) for the operation defined here. Just be sure not to confuse it with traditional multiplication.gavin123 said:Homework Statement
(x*y)=x+2y+4
Homework Equations
The Attempt at a Solution
first i did this but I'm not sure if it is correct
(x*y)*z=x+2y+4*z=x+2y+4+z+1
x*(y*z)=x*y+2z+4=x+y+2z+4+1
Yes.gavin123 said:so if (x*y)=x+2y-xy Then
x*(y*z)=x+2(y+2z-yz)-x(y+2z-yz) and
(x*y)*z=(x+2y-xy)+2z-(x+2y-xy)z
i know that, but it's not all that clear from those two expressions.gavin123 said:they are not the same
Associativity is a property that describes how the order in which operations are performed does not affect the final result. In other words, changing the order of operations will not change the outcome of the calculation.
To determine if an operation is associative, you can use the associative property test. This test involves performing the operation on three elements, and if the result is the same regardless of the order in which the operation is performed, then the operation is associative.
Some examples of associative operations include addition, multiplication, and matrix multiplication. For example, (1 + 2) + 3 = 1 + (2 + 3) and (2 * 3) * 4 = 2 * (3 * 4), so both addition and multiplication are associative operations.
Some examples of non-associative operations include division, subtraction, and exponentiation. For example, (8 / 2) / 4 ≠ 8 / (2 / 4) and (2 - 1) - 3 ≠ 2 - (1 - 3), so both division and subtraction are non-associative operations.
Knowing if an operation is associative or not is important in mathematics because it can help simplify complex calculations and make them easier to understand. It also allows mathematicians to identify patterns and relationships between different operations.