How do i show if this is associative or not?

  • Thread starter Thread starter gavin123
  • Start date Start date
  • Tags Tags
    associative
Click For Summary

Homework Help Overview

The discussion revolves around determining whether a specific operation defined as (x*y) = x + 2y + 4 is associative. Participants are exploring the implications of this operation and how it interacts with other variables.

Discussion Character

  • Conceptual clarification, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants attempt to evaluate the associativity of the operation by substituting values and rewriting expressions. Some express uncertainty about their initial attempts, while others clarify the notation and the implications of using different symbols for the operation.

Discussion Status

The discussion includes various interpretations of the operation and its properties. Some participants have provided guidance on notation and the need for clarity in expressions. There is an ongoing exploration of whether the operation is associative, with differing opinions on the correctness of the approaches taken.

Contextual Notes

There is confusion regarding the use of the asterisk (*) as an operator, with suggestions to use a different symbol to avoid misunderstanding. Participants are also questioning the definitions and assumptions underlying the operation.

gavin123
Messages
10
Reaction score
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:
Physics news on Phys.org
gavin123 said:
first i did this but I'm not sure if it is correct
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.
 
I don't understand what you mean?
 
I think Svein means that instead of using the notation (x*y) = x + 2y + 4, you should use something like (x⊗y) = x + 2y + 4.

Using '*' as an operator confuses, as we are used to thinking of '*' as indicating multiplication of the quantities x and y.

By using the special ⊗ symbol as an operator, it becomes less confusing.

For example, if we wrote (6⊗y), that would mean 6 + 2y + 4;
likewise (x⊗6) would mean x + 2*6 + 4;
(g⊗x) = g + 2x + 4
 
Oh ok then did I write it out correctly
 
gavin123 said:
Oh ok then did I write it out correctly
It's not clear what you mean here.

To take one of the items from the OP:
(x ⊗ y) ⊗ z would mean finding out what (x ⊗ y) was first and then combining that quantity with z.

You could re-write the original expression as

(x ⊗ y) ⊗ z = (x ⊗ y) + 2z + 4 and then expand (x ⊗ y) according to the definition.
 
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
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.

When you write:
(x*y)*z = x+2y+4*z ,​
you really should use parentheses,
(x*y)*z = ( x+2y+4 )*z​

What you write after that is incorrect. It should be equal to ( x+2y+4 ) + 2z + 4 , etc.
 
Not showing all my steps, NOT associative.
The two sides give x+2y+2z+8 and x+2y+4z+12, so these are unequal.
 
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
 
  • #10
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
Yes.

But it's not clear, looking at that, whether those two expressions are equivalent.
 
  • #11
they are not the same
 
  • #12
gavin123 said:
they are not the same
i know that, but it's not all that clear from those two expressions.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K