Could you show me how to prove the following to be associative? Please take me through the process step by step.
$$a*b=a+b+2ab$$
Where $*$ is a binary operation and $a$ and $b$ are real numbers.
I have got this far:
$$(a*b)*c=a*(b*c)$$ So $$(a+b+2ab)*c$$ And $$a*(b+c+2bc)$$
I am not sure what the next step would be.
Many thanks, Conor
The operation $*$ will be associative iff $$a*(b*c)=(a*b)*c$$
So let's compute both sides of equation:
$$a*(b*c)=a*(b+c+2bc)=a+b+c+2bc+2ab+2ac+4abc$$
$$(a*b)*c=(a+b+2ab)*c=a+b+2ab+c+2ac+2bc+4abc$$
Since they are the same, the operation is associative.