∗:R×R→Rando:R×R→R defined as a∗b=|a−b| and a∘b=a,∀a,b∈R.Show that * is commutative but not associative, o is associative but not commutative. Further, show that ∀a,b,c∈R,a∗(b∘c)=(a∗b)∘(a∗c). (If it is so, we say that the operation * distributes over the operation o). Does o distribute over? Justify your answer.
a∗b=b∗a∀a,b∈R
* is commutative.
Checking associative for *
* is associative if,
(a * b) * c = a * (b * c)
Now,
(a * b) * c = (|a - b|) * c
= ||a - b|- c|
And,
a * (b * c) = a * (|b - c|)
= |a - |b - c||
Since,
(a∗b)∗c≠a∗(b∗c)
* is not associative.
Check commutative for o.
Given: a o b = a
o is commutative if,
a o b = a and b o a = b
Since aob≠boa,
o is not commutative.
Checking associative for o
o is associative if,
(a o b) o c = a o (b o c)
Now,
(a o b)o c = a o c
= a
And,
a o (b o c) = a o b
= a
Since (a o b) o c = a o (b o c)
o is an associative.
* distributes over o
* distrubutes over o if a * (b o c) =
(a * b) o (a * c), ∀a,b,c∈R
Now,
a * (boc) = a * b
= |a - b|
And,
(a * b) o (a * c) = |a - b|o|a - c| = |a - b|
Since
a * (boc) = (a* b) o (a * c), ∀a,b,c∈R
∴ * distributes over o.
o distributes over *
o distributes over * If,
ao ( b * c) = (aob) * (aoc), ∀a,b,c∈R
Now,
a o (b * c) = a o |b - c| = a
(a o b) * (a o c) = a * a
= |a - a|
= |0| = 0
Since,
a∘(b∗c)≠(a∘b)∗(a∘c)
o does not distribute over *