Question
Check the commutativity and associativity of the following binary operations:
'*' on N defined by a * b = gcd(a, b) for all a, b ∈ N.

Answer

Commutativity: Let $\text{a, b}\in\text{N}.$ Then,

a * b = gcd(a, b)

= gcd(b, a)

= b * a

Therefore,

a * b = b * a, $\forall\ \text{a, b}\in\text{N}$ 

Thus '*' is commutative on N.

Associativity: Let $\text{a, b, c}\in\text{N}.$ Then,

a * (b * c) = a * [gcd(a, b)]

= gcd(a, b, c)

(a * b) * c = [gcd(a, b)] * c

= gcd(a, b, c)

Therefore,

a * (b * c) = (a * b) * c, $\forall\ \text{a, b, c}\in\text{N}$

Thus, '*' is not associative on N.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

An unbiased die is thrown twice. A success is getting a number greater than 4. Find the probability distribution of the number of successes.
Solve the following equation for x:
$2\tan^{-1}(\sin\text{x})=\tan^{-1}(2\sin\text{x}),\text{x}\neq\frac{\pi}{2}.$
If f : R → R be the function defined by f(x) = 4x3 + 7, show that f is a bijection.
Two groups are competing for the position on the Board of directors of a corporation. The probabilities that the first and the second groups will win are 0.6 and 0.4 respectively. Further, if the first group wins, the probability of introducing a new product is 0.7 and the corresponding probability is 0.3 if the second group wins. Find the probability that the new product introduced was by the second group.
If $\text{A}=\begin{bmatrix}2 & 3 \\ 5 & -2 \end{bmatrix}$ be sech that A-1 = kA, then find the value of k.
Evaluate the following integrals:
$\int\Big(\frac{1}{\log\text{x}}-\frac{1}{(\log\text{x})^2}\Big)\text{dx}$
Dot product of a vector with $\hat{\text{i}}+\hat{\text{j}}-3\hat{\text{k}},\hat{\text{i}}+3\hat{\text{j}}-2\hat{\text{k}}$ and $2\hat{\text{i}}+\hat{\text{j}}+4\hat{\text{k}}$ are 0, 5 and 8 respectively. Find the vector.
Using determinants show that the following points are collinear:
(2, 3), (-1, -2) and (5, 8)
Find the vector and cartesian equations of a plane passing through the point (1, -1, 1) and normal to the line joining the points (1, 2, 5) and (-1, 3, 1)
Find the integrals of the functions in Exercises:
$\frac{\cos2\text{x}}{(\cos\text{x}+\sin\text{x})^2}$