What I learn as a basic theory of associative is that $$(a \times b) \times c = a \times (b \times c) \text{ and } (a+b)+c = a+(b+c).$$
However when doing my exercises on this topic, I came across questions with only 2 variables. Eg. $a^2+b^2$. Is this associative and why?
The binary operation is given as $a * b = a^2 + b^2$.
HINTS
If $a*b := a^2 + b^2$, what is $(a*b)*c$ and what is $a*(b*c)$? Can you check if they are the same?