Answer: commutative but not associative.
- A associative but not commutative
- B commutative but not associative
- C both associative and commutative
- D neither
Correct answer: B. commutative but not associative
Explanation: |a − b| = |b − a| is commutative, but ||a−b|−c| ≠ |a−|b−c|| in general, so it is not associative.
Concept context
Types of relations, equivalence classes, one-one and onto functions, composition, and invertible functions