The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+11 votes
744 views
A binary operation $\oplus$ on a set of integers is defined as $x \oplus y = x^{2}+y^{2}$. Which one of the following statements is **TRUE** about $\oplus$?


(A) Commutative but not associative

(B) Both commutative and associative

(C) Associative but not commutative

(D) Neither commutative nor associative
asked in Set Theory & Algebra by Veteran (14.6k points)
edited by | 744 views

1 Answer

+27 votes
Best answer
Answer is (A) Commutative but not associative.

$y \oplus x = y^2 + x^2 = x \oplus y$. Hence, commutative.

$ (x \oplus y) \oplus z = (x^2 + y^2) \oplus z = (x^2 + y^2)^2 + z^2$
$ x \oplus (y \oplus z) = x \oplus (y^2 + z^2) = x^2 + (y^2 + z^2)^2$

So, $( (x \oplus y) \oplus z) \neq (x \oplus (y \oplus z))$, hence not associative.
answered by Veteran (332k points)
selected by

This Will Help ....

 

 



Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

32,544 questions
39,231 answers
109,311 comments
36,613 users